ROM Bot Help - guildBankOpen_offset

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
mahbunchai
Posts: 9
Joined: Sun Jul 15, 2012 3:06 am

ROM Bot Help - guildBankOpen_offset

#1 Post by mahbunchai » Sun Jul 15, 2012 3:34 am

Hi everyone! i already gave up 2 days of reading and finding the solution for my problem. im a noob on this stuff but im trying to learn..
To make it short im having this error:
ss
ss

after i typed rom/update.lua, it can't find my guildBankOpen_offset in module


i went back to my address.lua and opened it. i saw that there is this line guildBankOpen_offset = 0xBC
i cross-matched it to the revision 725 from
rom-bot.googlecode.com/svn/trunk/rom/addresses.lua
and it was exactly the same
My /micromacro/scripts/rom folder is checked green and all the files and folders in it.

Next i did is, i went back again to my addresses.lua (though it was checked green), i right clicked it - SVN update.
and this is the log i got,
ss 2
ss 2
the message contained in it is this:
- Fixed swim address. IMPORTANT: YOU WILL NEED TO DOWNLOAD THE NEW VERSION OF 'userfunction_swimhack'.
- Improved clicktocast targeting. Now it finds the optimal place to click to get the most mobs.
- Speed up AutoSell, again. Now it can sell 180 items in about 9s. Hopefully it wont cause problems on slower machines. *crosses fingers*
- Added level 71 'hot' and 'mot' pots.
- Added requested skills and most skills to level 20 for Warlock and Champion. Also, added SCOUT_CREATE_TENDRILS and fixed range of DRUID_SUMMON_SANDSTORM.
- Added a few missing mounts.
- Added camera.Distance value and camera:setDistance(dist) function for controlling camera distance from player.
- If you don't give your egg pets a unique name it now defaults to the name of the creature instead of being nil.
- Fixed bug in item class that caused items of 0 'Worth' to retain the worth of a previous item in the slot instead of updating.
- Fixed issue when trying to update player during loading screen that caused player:update.lua() to stop working.
- The known issue, of the edit bot flag being incorrect on startup, was causing stores to sometime close in the middle of selling. Now it fixes the flag on startup so that it wont cause problems during selling.
- Fixed issue of bodies remaining targeted while waiting for aggro. It now clears the target so that it can acquire the new one.
- player:aimAt(target) now checks to see if the target is actually a pawn before trying to update it. This was necessary for the improved clicktocast targeting.
- Changed the way addresses are 'nopped' (changed to 0x90). Now the number of bytes nopped depends on the number of bytes in the corresponding patch address.
- Added support to 'distance' for tables. Eg. 'distance(player, pawn)'.
I don't know why my address.lua updated from revision 724 yet I am using revision 725. (see first picture)
Also, i downloaded that file userfunction_swimhack.lua but i don't know where to put it or how to make it work :o

I even followed lisa's siggy troubleshoot
Can't get bot to work? follow these instructions before posting, thank you.
1. SVN update micromacro/scripts/rom folder
2. SVN revert micromacro/scripts/rom folder
3. delete Runes of Magic/Interface/Addons/ingamefunctions folder
4. copy micromacro/scripts/rom/devtools/ingamefunctions folder to Runes of Magic/Interface/Addons folder
5. restart game
my ROM version is 4.0.6.2542
I searched for a patch thread here for my rom's version, but there was none.
I am a noob and i'd like some help and to learn. However, before i ask for help i always try to figure it out myself first. Maybe my self troubleshoot is not enough?

Thanks for your time guys and i really appreciate your help =)

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

Re: ROM Bot Help - guildBankOpen_offset

#2 Post by rock5 » Sun Jul 15, 2012 4:10 am

Those addresses seem to match game client version 4.0.6 so I'm assuming you are playing on a private server that doesn't stay up to date.

Normally we suggest using the version of the bot that works for that client. In that case I would suggest rev 687 which was the last version before patch 4.0.7. But that does mean you will miss out on any new stufff that has been coded in since.

Or we could try something new and try fixing the current verion. It should be fairly simple to do. The most likely reason it doesn't find the guild address is because the range that it looks in is wrong. So try this
1. Open "update.lua" in a text editor.
2. Search for the address name "guildBankOpen_offset". You should find the pattern it uses. It looks like this

Code: Select all

	guildBankOpen_offset = {
		pattern = string.char(
			0xD9, 0x9E, 0xFF, 0xFF, 0xFF, 0xFF,
			0xC6, 0x86, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
			0xE8, 0xFF, 0xFF, 0xFF, 0xFF,
			0x5E,
			0x83, 0xC4),
		mask = "xx????xx?????x????xxx",
		offset = 8,
		startloc = 0x850000,
	},
3. Change the startloc value to something a bit lower "0x840000".

Then I'm pretty sure that will find it. You will most likely get a few more such messages and have to repeat the above step for each. Let me know how you go.
  • 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: ROM Bot Help - guildBankOpen_offset

#3 Post by lisa » Sun Jul 15, 2012 4:11 am

mahbunchai wrote:my ROM version is 4.0.6.2542
Your server uses an old version of the game, so you need to use an old version of the bot aswell.

Right click rom folder
TortoiseSVN
Update to revision

Tick Revision
in the text box to the right of the tick put in
690

Then right click rom folder and do SVN revert.

You will need to use an old version of the swimhack aswell, You may even need to learn how to use ollyDBG in order to get the correct address for the swim hack. Try this topic.
http://www.solarstrike.net/phpBB3/viewt ... =21&t=2580

Or what rock said =)
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: ROM Bot Help - guildBankOpen_offset

#4 Post by rock5 » Sun Jul 15, 2012 4:30 am

lisa wrote:mahbunchai wrote:
my ROM version is 4.0.6.2542
Duh! *Slaps forehead*

I was going to say the current swim hack is backward compatible but that version of the bot doesn't have the swim hack bytes in the addresses.lua, so yeah, you need old swim hack if you use it.

Missed a few points last time.
mahbunchai wrote:I don't know why my address.lua updated from revision 724 yet I am using revision 725. (see first picture)
That's because addresses.lua didn't change in 725. Not all files do.
mahbunchai wrote:Also, i downloaded that file userfunction_swimhack.lua but i don't know where to put it or how to make it work
Just to be clear, you need to update the swim hack for revision 724 if you use it. Obviously if you don't use it then you don't need to. If you want to start using it just put the file in the userfunctions folder and then you can switch fly on and off in your waypoint files using the "fly()" and "flyoff()" commands.
  • 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

mahbunchai
Posts: 9
Joined: Sun Jul 15, 2012 3:06 am

Re: ROM Bot Help - guildBankOpen_offset

#5 Post by mahbunchai » Sun Jul 15, 2012 4:35 am

Thank you so much for your response..You see, im really new to this game and to this bot, but i love reading stuffs i don't know :o
ill give it a shot and update you both on that : )
ima try rock5's version first..

mahbunchai
Posts: 9
Joined: Sun Jul 15, 2012 3:06 am

Re: ROM Bot Help - guildBankOpen_offset

#6 Post by mahbunchai » Sun Jul 15, 2012 4:59 am

rock5 wrote:Those addresses seem to match game client version 4.0.6 so I'm assuming you are playing on a private server that doesn't stay up to date.

Normally we suggest using the version of the bot that works for that client. In that case I would suggest rev 687 which was the last version before patch 4.0.7. But that does mean you will miss out on any new stufff that has been coded in since.
i revisioned to 687:
help1.jpg
so i guess ill have a lot of update to do on my profile >_<


oh and about your query if im on a private server, im playing on an Arab server runes of might (they just actually changed the last word but everything else is the same)

rock5 wrote:Or we could try something new and try fixing the current verion. It should be fairly simple to do. The most likely reason it doesn't find the guild address is because the range that it looks in is wrong. So try this
1. Open "update.lua" in a text editor.
2. Search for the address name "guildBankOpen_offset". You should find the pattern it uses. It looks like this

Code: Select all

	guildBankOpen_offset = {
		pattern = string.char(
			0xD9, 0x9E, 0xFF, 0xFF, 0xFF, 0xFF,
			0xC6, 0x86, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
			0xE8, 0xFF, 0xFF, 0xFF, 0xFF,
			0x5E,
			0x83, 0xC4),
		mask = "xx????xx?????x????xxx",
		offset = 8,
		startloc = 0x850000,
	},
3. Change the startloc value to something a bit lower "0x840000".

Then I'm pretty sure that will find it. You will most likely get a few more such messages and have to repeat the above step for each. Let me know how you go.
I did this and still it pointed to the address.lua and prompted me to update..

P.S. i also noticed that my rombot version stayed the same, is there any rombot version lower than 3.29 that would be compatible to my RoM's patch version?
Last edited by mahbunchai on Sun Jul 15, 2012 5:09 am, edited 1 time in total.

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

Re: ROM Bot Help - guildBankOpen_offset

#7 Post by lisa » Sun Jul 15, 2012 5:07 am

In order to do the second option Rock mentioned you need to have files fully updated to current.

So do the SVN update on the rom folder and SVN revert on the rom folder and then open up the file rom/update.lua and look for the code Rock posted and edit as instructed, then try the rom/update again.
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

mahbunchai
Posts: 9
Joined: Sun Jul 15, 2012 3:06 am

Re: ROM Bot Help - guildBankOpen_offset

#8 Post by mahbunchai » Sun Jul 15, 2012 5:41 am

lisa wrote:In order to do the second option Rock mentioned you need to have files fully updated to current.

So do the SVN update on the rom folder and SVN revert on the rom folder and then open up the file rom/update.lua and look for the code Rock posted and edit as instructed, then try the rom/update again.
Thanks a lot! this made a big progress on my situation :mrgreen:
Now the only problem i need to fix is that my bot keeps pushing on mountains or terrains that can't be walked on..
progress1.jpg
after 10 tries of my bot finding a waypoint, my ROM disconnected. is there a kind of code here that would just walk pass through on obstacles and mountains (glitch or something?)

one more thing, inside my rom folder, the address.lua and update.lua has a red ! besides them.. do i need to svn update them?

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

Re: ROM Bot Help - guildBankOpen_offset

#9 Post by lisa » Sun Jul 15, 2012 6:57 am

mahbunchai wrote:one more thing, inside my rom folder, the address.lua and update.lua has a red ! besides them.. do i need to svn update them?
In this case no, you see because you run an old version of the game then your addresses will always be different to the current version of the bot, so expect them to always have a red icon.
mahbunchai wrote:Now the only problem i need to fix is that my bot keeps pushing on mountains or terrains that can't be walked on..
The bot tries to go directly to it's destination, what this tells me is the waypoint file you are trying to use isn't even in the same zone as your character, so you will have to move your character to be where the waypoint is trying to do it's work.
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

mahbunchai
Posts: 9
Joined: Sun Jul 15, 2012 3:06 am

Re: ROM Bot Help - guildBankOpen_offset

#10 Post by mahbunchai » Sun Jul 15, 2012 7:04 am

lisa wrote:The bot tries to go directly to it's destination, what this tells me is the waypoint file you are trying to use isn't even in the same zone as your character, so you will have to move your character to be where the waypoint is trying to do it's work.
ok now i see.. so i have to study now about way points =)

thanks lisa and rock5! you can now close this thread ^_^

mahbunchai
Posts: 9
Joined: Sun Jul 15, 2012 3:06 am

Re: ROM Bot Help - guildBankOpen_offset

#11 Post by mahbunchai » Sun Jul 15, 2012 2:13 pm

I have one question.
How can i use createpath.bat if my keyboard does not have a num pad key or same as the laptops have? i opened the createpath.lua and found this:
setStartKey(settings.hotkeys.START_BOT.key);
setStopKey(settings.hotkeys.STOP_BOT.key);

wpKey = key.VK_NUMPAD1; -- insert a movement point
harvKey = key.VK_NUMPAD2; -- insert a harvest point
saveKey = key.VK_NUMPAD3; -- save the waypoints
merchantKey = key.VK_NUMPAD4; -- target merchant, repair and buy stuff
targetNPCKey = key.VK_NUMPAD5; -- target NPC and open dialog waypoint
choiceOptionKey = key.VK_NUMPAD6; -- insert choiceOption
mouseClickKey = key.VK_NUMPAD7; -- Save MouseClick
restartKey = key.VK_NUMPAD9; -- restart waypoints script
resetKey = key.VK_NUMPAD8; -- restart waypoints script and discard changes
codeKey = key.VK_NUMPAD0; -- add comment to last WP.
targetObjKey = key.VK_DECIMAL; -- target an object and action it.
i was thinking of editing the keys but im afraid i might alter it incorrectly..

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

Re: ROM Bot Help - guildBankOpen_offset

#12 Post by lisa » Sun Jul 15, 2012 6:54 pm

That's exactly what to edit
key.VK_NUMPAD1
Just change to what you want.
examples

key.VK_F1
key.VK_Q
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

mahbunchai
Posts: 9
Joined: Sun Jul 15, 2012 3:06 am

Re: ROM Bot Help - guildBankOpen_offset

#13 Post by mahbunchai » Wed Jul 18, 2012 2:14 am

Hi again! I'm doing quite progress on my bot and now trying some trial and error..

i just found out that the Lootomatic link in the wiki is outdated.. could someone please update that link??

thanks!

http://rom.curse.com/downloads/rom-addo ... matic.aspx

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

Re: ROM Bot Help - guildBankOpen_offset

#14 Post by rock5 » Wed Jul 18, 2012 2:39 am

Curse is not reliable for old addons. Better sticking with curseforge although you probably wiont find old qaddons using their search engine. Just use google like so.

Code: Select all

site:rom.curseforge.com lootomatic
  • 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

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest