Page 16 of 20

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Thu Dec 20, 2012 9:16 pm
by vo2male
Just a quick question. Does the attached files (update.lua, addresses.lua, functions.lua) along with RC2 on the first post support patch 5.0.5 only? or does it mean these attached files support patch 5.0.1 to patch 5.0.5?
Because my server is still on patch 5.0.1 so i'm wondering where could i get the update.lua, adresses.lua, functions.lua that would also support 5.0.1.

Thanks :)

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Thu Dec 20, 2012 9:22 pm
by rock5
I suspect they work for 5.0.1 but I can't confirm it. Maybe you can. Have you tried them? Do they work?

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Thu Dec 20, 2012 10:03 pm
by vo2male
ill try it once i get home :). they just patched yesterday so my previous bots won't work unless i update to revision. But since this is already on public release, ill give it a go instead.
Thanks rock!

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Thu Dec 20, 2012 10:29 pm
by lisa
There is an error in RC2 update.lua though, not sure if he fixed it or not.

Code: Select all

error("Patch bytes = 0x90. Please restart the game before trying to run \"rom\update\" again.")
should be

Code: Select all

error("Patch bytes = 0x90. Please restart the game before trying to run \"rom\\update\" again.")
otherwise it errors saying something about the \u

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Fri Dec 21, 2012 12:24 am
by vo2male
ok i tried it today and this is what i got..

Code: Select all

Press the (End) key to stop/pause the script.
You can resume with the (Delete) key.
Addresses seem off, trying to update.
Scanning for updated addresses...
Patched addresses.actionBarPtr   (value: 0xA3410C, at: 0x5ECBA8)
Patched addresses.actualSpeed_offset     (value: 0x890, at: 0x5FD19F)
Patched addresses.bankOpenPtr    (value: 0xA3414C, at: 0x68B4B2)
Patched addresses.boundStatusOffset      (value: 0x40, at: 0x847853)
Patched addresses.camDistanceSave_offset         (value: 0x598, at: 0x62BB40)
Patched addresses.camDistance_offset1    (value: 0x55C, at: 0x62BAA6)
Patched addresses.camDistance_offset2    (value: 0x244, at: 0x43E4F9)
Patched addresses.camPtr_offset  (value: 0x584, at: 0x5EF335)
Patched addresses.camXUVec_offset        (value: 0x128, at: 0x44338B)
Patched addresses.camX_offset    (value: 0x104, at: 0x4432AE)
Patched addresses.castingBarPtr  (value: 0xA34208, at: 0x638371)
Patched addresses.charAlive_offset       (value: 0x228, at: 0x5EEF8B)
Patched addresses.charBattle_offset      (value: 0x84A, at: 0x5EFCA2)
Patched addresses.charClassInfoBase      (value: 0x9DF16C, at: 0x5ED97D)
Patched addresses.charClassInfoSize      (value: 0x424, at: 0x6B5E8D)
Patched addresses.charLastHitTime        (value: 0xA35ADC, at: 0x809776)
Patched addresses.charMaxExpTable_address        (value: 0xA2C8AC, at: 0x6262F6)

Patched addresses.charPtrMounted_offset  (value: 0x7C, at: 0x862A02)
Patched addresses.charPtr_offset         (value: 0x6B0, at: 0x5ECF02)
Patched addresses.charStance_offset      (value: 0x8C4, at: 0x5EF005)
Patched addresses.coolDownOffset         (value: 0xE8, at: 0x6B346C)
Patched addresses.cursorBase     (value: 0xA357FC, at: 0x5F6C7F)
Patched addresses.durabilityOffset       (value: 0x18, at: 0x6AFD9B)
Patched addresses.editBoxHasFocus_address        (value: 0xA315D4, at: 0x72F75D)

Patched addresses.eggPetMaxExpTablePtr   (value: 0xA2CB54, at: 0x7F19B1)
Patched addresses.functionMousePatchAddr         (value: 0x4B886C7, at: 0x62C076
)
Patched addresses.functionTargetPatchAddr        (value: 0xE8CD8B56, at: 0x5F296
F)
Patched addresses.gameTimeAddress        (value: 0x9DAA44, at: 0x60BD57)
Patched addresses.guildBankOpen_offset   (value: 0xBC, at: 0x853730)
Patched addresses.high9sBase     (value: 0x9F4E60, at: 0x6803E4)
Patched addresses.hotkeysKey_offset      (value: 0x54, at: 0x7D31AC)
Patched addresses.hotkeysPtr     (value: 0xA35820, at: 0x75E85A)
Patched addresses.hotkeys_offset         (value: 0x28, at: 0x7D3A44)
Patched addresses.idCardNPCOffset        (value: 0x364, at: 0x69D7D7)
Patched addresses.idOffset       (value: 0xC, at: 0x82FA6C)
Patched addresses.inUseOffset    (value: 0x1C, at: 0x7822DB)
Patched addresses.isInGame       (value: 0x9FAE5C, at: 0x640B15)
Patched addresses.itemCountOffset        (value: 0x10, at: 0x779A82)
Patched addresses.loadingScreenPtr       (value: 0xA35930, at: 0x5F6964)
Patched addresses.loadingScreen_offset   (value: 0xC, at: 0x7D55CE)
Patched addresses.macroBody_offset       (value: 0x118, at: 0x7DAA7F)
Patched addresses.maxDurabilityOffset    (value: 0x15, at: 0x6BAFC1)
Patched addresses.mousePtr_offset        (value: 0x85C, at: 0x609E57)
Patched addresses.moveKeysPressed_offset         (value: 0xBAC, at: 0x5ED5B8)
Patched addresses.nameOffset     (value: 0xC, at: 0x69D834)
Patched addresses.partyIconList_base     (value: 0xA359F0, at: 0x660672)
Patched addresses.partyLeader_address    (value: 0x9FBF18, at: 0x65BFF8)
Patched addresses.partyMemberList_address        (value: 0x9FAF2C, at: 0x5E6BC1)

Did not find any crashed game clients.
8:18am - Unable to find 'pawnCastingElapsed_offset' in module.


Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>
i used the files on the first post..

i have this userfunctions as well

Code: Select all

addon_Rock5s_Mail_Functions.lua
userfunction_cleanBag
userfunction_countmobs
userfunction_gmmonitor
userfunction_gotoportal
userfunction_loginnextchar
userfunction_partycheck
userfunction_partymonitoring
userfunction_profilechange
userfunction_setwindow
userfunction_speedhack
userfunction_swimhack
userfunction_teleport
userfunction_useGoodie_universal
userfunction_wallhack
i listed my userfunctions to let you know if any of them is causing conflicting issues with the RC2.

Game Version 5.0.1.2603

EDIT** btw what is the revision for my current game version?
i tried to revision my rom folder to 729 and i have this

Code: Select all

The game may have been updated or altered.
 It is recommended that you run rom/update.lua

Did not find any crashed game clients.
8:48am - Error while reading memory address for 'playerAddress'. Game seems to b
e changed!!! Please run 'rom/bot.lua update' AND install the new RoM Bot version
!

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Fri Dec 21, 2012 1:04 am
by lisa
I am going to go out on a limb and assume the adress is before the start location, purely because addresses usually end up further down in memory after a patch.

Give this a try
update.lua
(29.21 KiB) Downloaded 257 times
All I did was change
startloc = 0x870000,
to
startloc = 0x850000,
EDIT** btw what is the revision for my current game version?
i tried to revision my rom folder to 729 and i have this
My guess is 737


738 has this as comment.
Update for patch 5.0.2.2565

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Fri Dec 21, 2012 1:22 am
by vo2male
lisa wrote:I am going to go out on a limb and assume the adress is before the start location, purely because addresses usually end up further down in memory after a patch.

Give this a try
update.lua
All I did was change
startloc = 0x870000,
to
startloc = 0x850000,
EDIT** btw what is the revision for my current game version?
i tried to revision my rom folder to 729 and i have this
My guess is 737


738 has this as comment.
Update for patch 5.0.2.2565

Ill try the update.lua

btw i revisioned to 730.. ill try this version for a while :) thanks Lisa!

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Fri Dec 21, 2012 1:31 am
by vo2male
Here it is Lisa..

Code: Select all

9:29am - The 'ingamefunctions' folder, in the games 'interface/addons' folder, i
s out of date. Current version is 5, you have 3. To update, right-click the 'int
erface/addons/ingamefunctions' folder and select 'SVN Update' or copy the 'ingam
efunctions' folder from 'rom/devtools' to the games 'interface/addons' folder. T
hen restart the game.
I already copied the ingamfunctions folder of the RC2 to my runesofmagic/interface/addons folder

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Fri Dec 21, 2012 1:42 am
by rock5
If I remember correctly there were 2 5.0.1 versions. Revision 729 was the last revision for the first 5.0.1. I think 730 was the second 5.0.1 but I can't be sure because the version number wasn't added to the comments. If it is, then the last revision for that version was 737. You could try that.

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Fri Dec 21, 2012 2:04 am
by vo2male
rock5 wrote:If I remember correctly there were 2 5.0.1 versions. Revision 729 was the last revision for the first 5.0.1. I think 730 was the second 5.0.1 but I can't be sure because the version number wasn't added to the comments. If it is, then the last revision for that version was 737. You could try that.
i tried this rock but im having this issue

Code: Select all

Testing 'ingamefunctions' macro. If it gets stuck here, please update the 'ingam
efunctions' by copying the 'ingamefunctions' folder from 'rom/devtools' to the g
ames 'interface/addons' folder.
MACRO Test: ok
Did not find any crashed game clients.
10:0am - The 'ingamefunctions' folder, in the games 'interface/addons' folder, i
s out of date. Current version is 4, you have 3. To update, right-click the 'int
erface/addons/ingamefunctions' folder and select 'SVN Update' or copy the 'ingam
efunctions' folder from 'rom/devtools' to the games 'interface/addons' folder. T
hen restart the game.
i was not aware that there is version 4 of ingamfunctions folder :o

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Fri Dec 21, 2012 2:18 am
by rock5
Actually we are upto 5 with the current revision. Just copy it over as instructed and try again. Don't forget to restart the game.

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Fri Dec 21, 2012 2:26 am
by vo2male
rock5 wrote:Actually we are upto 5 with the current revision. Just copy it over as instructed and try again. Don't forget to restart the game.
I copied it as instructed..but im still having the same issue..
I'm sorry if im drifting my post off topic >_<

However, if i use the ingamefunctions folder from Revision 730 im having no issues.. why is that? what could be something that holds me from using 737's ingamefunctions folder?

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Fri Dec 21, 2012 2:32 am
by rock5
If you followed the error messages instructions exactly and get the same error then you must have either copied it to the wrong folder or previously copied it to the wrong folder. Do a search for ingamefunction.lua in the games interface/addons folder and see if you find any files where they shouldn't be.

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Fri Dec 21, 2012 2:58 am
by vo2male
i still have that issue.. i followed it accurately.. i even opened my ingamefunctions.lua from my game's ingamefunctions folder and found this

Code: Select all

IGF_INSTALLED = 4;	-- so we can detect if the addon is installed. The number is so we know what version is installed.
                    -- if any changes are made to any files in the 'ingamefunctions' folder, increment this number
					-- and change the check in 'settings.lua' to match this number.

the funny part is i can run my ksbot folder with ingamefunctions version 3 while my game has ingamfunctions version 4 :lol:


EDIT***
i found this on line 160 of my settings.lua.. is there something wrong with this?

Code: Select all

bot =	{ 		-- global bot values
		ClientLanguage,		-- ingame language of the game [ DE|RU|FR|ENUS|ENEU
		GetTimeFrequency,	-- calculated CPU frequency for calculating with the getTime() function
		LastSkillKeypressTime = getTime(),	-- remember last time we cast (press key)
		IgfAddon = false,	-- check if igf addon is active
		};

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Fri Dec 21, 2012 3:27 am
by rock5
Did you do the file search like I said?

Re: Heads up! Big update comming. Public Release RC2 ready.

Posted: Fri Dec 21, 2012 2:44 pm
by vo2male
rock5 wrote:Did you do the file search like I said?
Thanks rock! i did what you said and i found the culprit! :lol:
long time ago i made a backup folder of my ingamefunctions folder and put it inside the addons folder. renamed the folder to backups but i guess it can still be read ^__^

now im revisioned 737..

now im also testing the RC2 version..

Re: Heads up! Big update comming. Public Release RC3 ready.

Posted: Sat Dec 29, 2012 11:44 am
by rock5
I've released RC3.

Main differences are;
- Navigatable folders in in initial waypoint list (was already in the list on the first post)
- Wander mode now asks what distance you want to use so you don't have to keep changing the radius in your profile.

Other changes;
- Added getTEXT() function (was already in the list on the first post)
- Added getGameVersion() function and print out at startup.
- Made update.lua compatible with versions as early as 5.0.1.
- Window title now shows player name instead of profile name.

Add some of the bugs fixed;
- Fixed looting issues (I hope).
- Improved waypoint onload run sequencing.
- Fixed partyMemberList_address pattern (again)
- Fixed autouse was not supported in skills.xml even though it was being used. Now it works.
- Fixed bug with using item set skills

Re: Heads up! Big update comming. Public Release RC3 ready.

Posted: Sat Dec 29, 2012 12:00 pm
by botje
love the new way of choosing waypoints ^^

did you do something new for createpath allready?

like adding the quest commands? just wondering :P

Re: Heads up! Big update comming. Public Release RC3 ready.

Posted: Sat Dec 29, 2012 12:30 pm
by rock5
A while back I started making changes to createpath but I decided to hold off until after this RC is finally committed. I hope to only do a few bug fixes before committing so I'm not going to make other any other changes until then.

Re: Heads up! Big update comming. Public Release RC3 ready.

Posted: Sat Dec 29, 2012 12:42 pm
by kenzu38
Hey rock, I noticed in the skills xml that Mage/Rogue's Cursed Fangs is listed as a buff. Both in RC2 and RC3.

Now, I don't know if the file affects the bot or just a database but if it does, then I just wanna tell you that Cursed Fangs is almost the same as Mage/Scout's Fire Rose. Spammable DoT, except the range is shorter, 200.