svn updates for userfunctions

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Message
Author
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

svn updates for userfunctions

#1 Post by lisa » Mon Jan 28, 2013 4:36 am

After many many times of making new folders for different versions of rom and different versions of MM I decided easiest way to keep track of userfunctions is to just make up a SVN just for them, it is not part of the usual SVN for RoMbot.

Save this file to the rom/userfunctions folder
userfunction_loadsvn.lua
V 1.1
It prints a yellow message on MM if duplicate files are found in the normal userfunctions folder.
(610 Bytes) Downloaded 506 times
userfunfound.png
Then follow these steps for the SVN part.
1. Create a folder inside userfunctions folder and call it "loadsvn" ( obviously without the "" and must be exact )
2. right click the folder and do SVN Checkout.
3. add in this address for the url

Code: Select all

http://rombotuserfunctions.googlecode.com/svn

--=== Alternate option ===--

Create a folder in the micromacro/scripts folder and call it romglobal
Inside that folder create 2 new folders called, userfunctions and waypoints.
You can then use the SVN instructions above on the userfunctions folder.
It won't check for duplicate files though, unless rock added that in to the default bot already.
Folder set up should look like this.
romglobal.png
I will try to keep the files up to date, if for some reason I get slack or miss an updated userfunction just post on here and I will fix it up.
Also if you think a userfunction should be included that isn't included then post here with a link to it's topic on the forum.
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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: svn updates for userfunctions

#2 Post by lisa » Mon Jan 28, 2013 4:38 am

Listing the userfunctions here with Version number and link to the topic for it.

addon_Rock5s_Mail_Functions.lua // V1.80 // link

userfunction_BuyFromItemShop.lua // V1.3.1 // link

userfunction_catchcavy.lua // V 1.02 // link

userfunction_CleanBag.lua // V 2.5 // link

userfunction_craftitem.lua // V 1.2 // link

userfunction_Fusion_Functions.lua // V0.3 // link

userfunction_gmmonitor.lua // V 7.2 // link

userfunction_gotoportal.lua // V 2.1 // link

userfunction_GuildDonate.lua // V 1.44 // link

userfunction_itembuffs.lua // V 1.0 // link

userfunction_lisafunctions.lua // various weird userfunctions I use //

userfunction_logger.lua // V 2.3 // link

userfunction_LoginNextChar.lua // V 1.4 // link

userfunction_MountSpeedHack.lua // V 0.0 // link

userfunction_PlantCare.lua // V 3.0 // link

userfunction_profilechange.lua // V 1.1 // link

userfunction_QuestLogClass.lua // V 0.05 // link

userfunction_Rent.lua // V 1.0 // link

userfunction_setwindow.lua // V 1.6 // link

userfunction_soundalarm.lua // V 0.0 // link

userfunction_speedhack.lua // V 1.2 // link

userfunction_swimhack.lua // V 2.1 // link

userfunction_telefollow.lua // V 1.0 // link

userfunction_teleport.lua // V 2.1 // link

userfunction_travelTo.lua // beta 1 // http://www.solarstrike.net/phpBB3/viewt ... =27&t=4940

userfunction_wallhack.lua // V 1.11 // link

--=== removing ===--
userfunction_countmobs.lua // V 0.4 // use player:countMobs(inrange, onlyaggro, idorname)
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

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: svn updates for userfunctions

#3 Post by rock5 » Mon Jan 28, 2013 5:17 am

You do realise that from now on you could just keep one copy of all your userfunctions in the romglobal folder for all your versions of the bot?
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: svn updates for userfunctions

#4 Post by lisa » Mon Jan 28, 2013 5:28 am

yeah trouble I had was keeping upto date aswell, I had to work out which was old and which was new and then keep the new ones or just go through all of the userfunction topics to find the ones I use.

Atleast now, even if just for me, I can just do SVN update on the folder and bamm, all back to normal lol

It is mainly for me but I figured I would share the SVN for others to use aswell.

It is also getting painfully hard to find the userfunctions, have to forum search for anything and still get 100 results from anytime the userfunction has been mentioned in another topic.

I may even do the same for waypoints *shrug*

Seems I can't make it a sticky, I haven't got the POWER muahahhahhahah lol
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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: svn updates for userfunctions

#5 Post by lisa » Mon Jan 28, 2013 8:04 pm

Added instructions for using the romglobal system Rock added to the default bot.
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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: svn updates for userfunctions

#6 Post by lisa » Tue Feb 05, 2013 6:45 am

updated a couple and added userfunction_itembuffs.lua
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

User avatar
solembum05
Posts: 57
Joined: Tue Jun 19, 2012 8:29 am

Re: svn updates for userfunctions

#7 Post by solembum05 » Wed Feb 20, 2013 7:29 am

Very nice idea, and good work !

Can you add userfunction wallhack ?
Forget yesterday, live today and dream tomorrow.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: svn updates for userfunctions

#8 Post by lisa » Wed Feb 20, 2013 10:02 am

solembum05 wrote:Very nice idea, and good work !

Can you add userfunction wallhack ?
Done
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

Micke
Posts: 46
Joined: Sun Aug 15, 2010 10:07 am
Location: Germany

Re: svn updates for userfunctions

#9 Post by Micke » Sat Feb 23, 2013 5:34 am

hi lisa,

thnx for the userfunction repository !
but u could directly combine this with the common rombot folder:

1. svn:delete "micromacro\scripts\rom\userfunctions"
2. checkout trunk of userfunction repository to new folder "userfunctions" outside rombot tree
3. move this folder to micromacro\scripts\rom

i use this way to store my profiles and waypoints and so on in my own svn repository, combining them with svn connected mm and rom Folders.

in your case, if u wanna avoid to commit ur "settings" to common svn, u can checkout this folder tree with readonly rights.
Last edited by Micke on Sat Feb 23, 2013 6:16 am, edited 2 times in total.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: svn updates for userfunctions

#10 Post by lisa » Sat Feb 23, 2013 6:11 am

Micke wrote:u could directly combine this with the common rombot folder:
People could deffinately do that if they wanted, I put mine in the romglobal 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

Micke
Posts: 46
Joined: Sun Aug 15, 2010 10:07 am
Location: Germany

Re: svn updates for userfunctions

#11 Post by Micke » Sat Feb 23, 2013 6:41 am

but then your userfunction_loadsvn.lua isnt under sourcecontrol, that's not professional ^^.
but you are right, we need a better solution.

how about: to enhance default rombot, not only scan folder "userfunctions", "profiles", "waypoints" for files,
but also their subfolders.
it would make our both workarounds obsolete, and would be a self-explanatoring logic.

?!

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: svn updates for userfunctions

#12 Post by lisa » Sat Feb 23, 2013 6:21 pm

It was never my intention to make this part of default rombot, ever.

The whole point of using userfunctions is that they are functions the user wants, by adding them all to default bot you are assuming that every user wants them which is of course not correct.

I see no problem with the way this currently works.
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

Micke
Posts: 46
Joined: Sun Aug 15, 2010 10:07 am
Location: Germany

Re: svn updates for userfunctions

#13 Post by Micke » Sun Feb 24, 2013 12:38 pm

I see no problem with the way this currently works.
if it works, why did u wrote this thread ? ....
current functionality works, but its not handy.

maybe i was unclear on this point, wouldnt it be more intuitiv if rombot would load userfunctions also from "..rom\userfunctions\sunbfolder1\" by default ?

isnt that the function u've implemented in "userfunction_loadsvn.lua" ?

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: svn updates for userfunctions

#14 Post by botje » Sun Feb 24, 2013 12:49 pm

as far as i know it does that allready? O.o

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: svn updates for userfunctions

#15 Post by rock5 » Sun Feb 24, 2013 1:17 pm

I just tested it, it doesn't seem to.

You can't make the rom/userfunction an svn folder for Lisas repository but there is nothing stopping you from using the romglobal/userfunction as the repository.

And I want to remind people, you don't have to install all the userfunctions. You can click "Choose items" and only install the userfunctions you want. Pretty cool really.

Lisa, if I use the url you posted on the first post I end up with extra empty junk folders. If I add /truck to it I get only the userfunctions. Does that url need to be changed?
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: svn updates for userfunctions

#16 Post by botje » Sun Feb 24, 2013 1:38 pm

weird, when i had that folder in my userfunction folder, i had trouble with my cleanbag function, it didnt delete my items i had in the drop database.

when i deleted the one in the svn folder, it worked fine, so it seems it loads the one in the svn folder last, which had a empty drop database.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: svn updates for userfunctions

#17 Post by rock5 » Sun Feb 24, 2013 2:11 pm

Are you talking about global versus local? I designed it so local files always override global ones. I thought that would be logical.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: svn updates for userfunctions

#18 Post by botje » Sun Feb 24, 2013 5:04 pm

i dont use the global folder, i just have 1 rom folder.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: svn updates for userfunctions

#19 Post by lisa » Sun Feb 24, 2013 6:04 pm

botje wrote:weird, when i had that folder in my userfunction folder, i had trouble with my cleanbag function, it didnt delete my items i had in the drop database.when i deleted the one in the svn folder, it worked fine, so it seems it loads the one in the svn folder last, which had a empty drop database.
files are loaded alphabetically, so if you had userfunction_cleanbag it would be loaded before userfunction_loadsvn, so in that case the SVN one would over ride the one in userfunction folder.
rock5 wrote:Lisa, if I use the url you posted on the first post I end up with extra empty junk folders. If I add /truck to it I get only the userfunctions. Does that url need to be changed?
You probably had
http://rombotuserfunctions.googlecode.com/svn/trunk
Having the trunk on the end makes it add other folders and it gets all messed up, the address needs to be exactly as I posted it for it to work properly.
I think you can also use this but I haven't tested it

Code: Select all

http://rombotuserfunctions.googlecode.com/svn/trunk/userfunctions
Micke wrote:if it works, why did u wrote this thread ? ....
Because I added popular userfunctions to a seperate SVN that isn't part of the default bot.
Micke wrote:isnt that the function u've implemented in "userfunction_loadsvn.lua" ?
That file is to simply load userfunctions from the extra folder, no default bot does not normally include subfolders for userfunctions and I personally like it that way. I have backup folders in my userfunction folder so I can keep older versions. I don't see any need to include all subfolders.


I think I covered all the questions =)
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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: svn updates for userfunctions

#20 Post by lisa » Sun Mar 17, 2013 3:31 am

commited rev 13

A few updates to some userfunctions.
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

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests