Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

[DLib] Simple Script Loader


  • Please log in to reply
32 replies to this topic

#1
Krystian

Krystian

    Member

  • Contributor
  • 20 posts

Simple Script Loader

 

Since GoS loader is in the alpha stage, I present this simple, yet flexible script loader.

 

Features

  • Loaded scripts list, for quick review.
  • All scripts list to enable/disable a specific script.
  • The loader will show only scripts from Scripts folder, not libraries from Common and not scripts loaded by default by GoS (testscript1-3)

Download:   https://raw.githubus...testscript3.lua

Required DLib: http://gamingonstero...tions-and-more/

 

957eeb9f10c552f9ce41a95820556f5a.png


  • 4

#2
TristanabestOne

TristanabestOne

    Brazilian Supp

  • Local Support
  • 1,083 posts
  • LocationBrazil

Good idea


  • 0

#3
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

no more {championName}.lua? Kreygasm

 

GJ

 

 

===========================

EDIT:

Did you set limit number of scripts load?

I can only load two scripts....if I put 3 scripts in script folder, the loader can't even load one of them :grumpycat:


Edited by ilovesona, 02 August 2015 - 07:58 .

  • 1

#4
Krystian

Krystian

    Member

  • Contributor
  • 20 posts

Huh? I tested it and it works even with scripts with special characters in name or scripts producing errors(in this case the script won't load but also loader wont crash).

 

7d5346978edac0747a5a7e9c91fb3922.png


  • 0

#5
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

Huh? I tested it and it works even with scripts with special characters in name or scripts producing errors(in this case the script won't load but also loader wont crash).

 

7d5346978edac0747a5a7e9c91fb3922.png

can you check again? maybe you upload the old version or smth....it work well when I have only two lua

OSHWPoP.png

 

 
 
EDIT: here is your lib md5, maybe it can help you
MD5
GOSUtility.dll bc2d2d3217d8fbbec48d2192dc463f9d
curl.exe f19741c0dea2bf02e9fc35d5770f01bc
DLib.lua 18ce72e6be25a6fd053b456855106fde
 

Edited by ilovesona, 02 August 2015 - 10:38 .

  • 1

#6
Krystian

Krystian

    Member

  • Contributor
  • 20 posts

Ok, indeed there is a problem with the new .dll that doesn't require lua51. I tested it only if throws errors because i copied into it original lua source and didn't change anything.

I was still using the old version ;p

I'll try to fix it.


  • 0

#7
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

Ok, indeed there is a problem with the new .dll that doesn't require lua51. I tested it only if throws errors because i copied into it original lua source and didn't change anything.

I was still using the old version ;p

I'll try to fix it.

 

ok, but any temporarily solution? like put lua51.dll to common or something like that :ph34r: ?


  • 0

#8
Krystian

Krystian

    Member

  • Contributor
  • 20 posts

temporary solution would be to put lua51 and use old gosutility

 

But now everything is fixed, let autoupdater update scripts and redownload manually the newest GOSUtility.


  • 1

#9
CROnino

CROnino

    Member

  • Members
  • 10 posts
Krystian where have you been all this time Kappa
  • 0

#10
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

temporary solution would be to put lua51 and use old gosutility

 

But now everything is fixed, let autoupdater update scripts and redownload manually the newest GOSUtility.

ok, it work now, but I don't know why I need "manually" download again?

 

The auto updater should download it for me, isn't it? Doge 

 

 

Anyway, thx for very fast fix the loader, I'm going to change my all script to use this loader instead testscriptXXX KappaHD 


  • 0

#11
Krystian

Krystian

    Member

  • Contributor
  • 20 posts

ok, it work now, but I don't know why I need "manually" download again?

 

The auto updater should download it for me, isn't it? Doge

 

 

Anyway, thx for very fast fix the loader, I'm going to change my all script to use this loader instead testscriptXXX KappaHD

Autoupdater can only download lua scripts for security, now it's impossible for random script to wreck your computer even using my dll. My dll allows to save .lua files only inside Scripts folder and to do webrequests to 3 servers(github, lolking and op.gg). If random script could download random dll it would end badly for our privacy and data :D
My dll is opensource, i didn't plan to update it but as you can see it was bugged.


  • 0

#12
cLeAzyyy

cLeAzyyy

    Member

  • Members
  • 12 posts

Ok, i have now 2 problems first i get 2 Menu's and the second i get a crash when i press Space,V,X or C .But i think the crash comes from Baseult.lua 

 

crash: vZRxf.jpg

 

2 menu's: 77hVg.jpg

 

Greetings,

 

cLeAzyyy


  • 0

#13
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

Ok, i have now 2 problems first i get 2 Menu's and the second i get a crash when i press Space,V,X or C .But i think the crash comes from Baseult.lua 

 

crash: vZRxf.jpg

 

2 menu's: 77hVg.jpg

 

Greetings,

 

cLeAzyyy

try disable AA range circle


  • 0

#14
cLeAzyyy

cLeAzyyy

    Member

  • Members
  • 12 posts

try disable AA range circle

Nah still the Error :/ 


  • 0

#15
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

Nah still the Error :/ 

disable all draw circle, just found you have so many circle :P 


  • 0

#16
cLeAzyyy

cLeAzyyy

    Member

  • Members
  • 12 posts

disable all draw circle, just found you have so many circle :P

Already did, but i think i found the problem ... gonna edit if i found it 


  • 0

#17
WizKalibog

WizKalibog

    Advanced Member

  • Members
  • 174 posts
  • LocationSA PILIPINAS KONG MINAMAHAL

oh nice


  • 0

#18
Akateshi

Akateshi

    Advanced Member

  • Members
  • 30 posts
  • LocationRomania

Well for me loads everything but scrips wont...idk why... just say ex: (name).lua failed to load... :( any fix?


  • 0

#19
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

Can you add a detail error msg when loader fail load?

 

I'm using your loader to load script, but when it's broken, you just pop a toast said it "fail to load"...


  • 0

#20
rpgfreak128

rpgfreak128

    Advanced Member

  • Members
  • 37 posts

Baseult wont load


  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users