Hey guys hows it going .. im new to this and im looking for some assistance .. i got my rombot up and fully working ...
however i cannot for the life of me figure out how to add in new scripts, rombot wiki isnt very helpful on this topic and when i tried googleing all i got was RSBot help .. and ive looked threw 25 pages of forums here with no luck
ive tried just putting the file in the script/rom folder as a .XML .. and ive tried putting it in just the scripts folder
if anyone can give me an indepth guide on how to add new scripts it would be much appreciated
New to this ...
Re: New to this ...
what do you mean add in new scripts? are you saying you are getting scripts from others and they don't have the file extension .xml ?
all waypoint files go in the
scripts/rom/waypoints
folder
all waypoint files go in the
scripts/rom/waypoints
folder
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: New to this ...
ok sweet thanks lisa i couldnt figure out where to put the file was my issure =P got it now thx!
-
imaginethat
- Posts: 61
- Joined: Sun Jul 10, 2011 10:39 pm
Re: New to this ...
Hi
I have been using the "userfunctions.lua" file (currently over 1000 lines) to add all my functions into. When I need to add code to a waypoint file, I generally try to create a function, as I probably need to add it to other waypoint files, so just add the function call in the waypoint file.
Am I able to split this userfunctions.lua file up into grouped function files? and what is the deal with the "userfunctions" folder. Can I create any old file (correctly named "addon_blablabla_functions.lua" and it do the same job as the userfunctions.lua file?
Is there anything magical about an "addon" as opposed to a file containing general functions?
Do I need to watch out for anything if using the userfunctions folder?
My functions are all working as expected, but I might be missing an easier way of organising things.
I have been using the "userfunctions.lua" file (currently over 1000 lines) to add all my functions into. When I need to add code to a waypoint file, I generally try to create a function, as I probably need to add it to other waypoint files, so just add the function call in the waypoint file.
Am I able to split this userfunctions.lua file up into grouped function files? and what is the deal with the "userfunctions" folder. Can I create any old file (correctly named "addon_blablabla_functions.lua" and it do the same job as the userfunctions.lua file?
Is there anything magical about an "addon" as opposed to a file containing general functions?
Do I need to watch out for anything if using the userfunctions folder?
My functions are all working as expected, but I might be missing an easier way of organising things.
Re: New to this ...
any file in the userfunctions folder with name
userfunction_blahblah.lua
will be loaded by bot.
I've got 26 userfunction files in my userfunctions folder, makes it easier to organise =)
userfunction_blahblah.lua
will be loaded by bot.
I've got 26 userfunction files in my userfunctions folder, makes it easier to organise =)
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
imaginethat
- Posts: 61
- Joined: Sun Jul 10, 2011 10:39 pm
Re: New to this ...
awesome, thanks Lisa.
Looks like the userfunctions folder is my new home.
Looks like the userfunctions folder is my new home.