Page 1 of 1

Addresses

Posted: Thu Dec 16, 2010 10:08 pm
by leahcim2468
I seen some people who have problems from their bot due to addresses but somehow mine is different? anyone know how to fix? thx its in the ss

Re: Addresses

Posted: Thu Dec 16, 2010 10:20 pm
by jduartedj
You just wrote the address on the file with an illegal symbol or something.... that line should be:

Code: Select all

	staticInventory = 0x999999,
where 0x999999 is the address you want to change.

and use a good editor not just notepad. try Notepad++, maybe you used an illegal symbol due to saving in a wrong enconding.

Re: Addresses

Posted: Thu Dec 16, 2010 10:25 pm
by lisa
I'd say you have just added in a < into the file. Mine doesn't have any < at all in it.

Re: Addresses

Posted: Fri Dec 17, 2010 3:28 am
by rock5
You probably have an SVN conflict when you updated. When SVN has a conflict it sometimes adds comments in the file that starts with '<'. Try right-clicking the addresses file and selecting "TortoiseSVN/Revert" to make sure it's an exact copy.

Re: Addresses

Posted: Fri Dec 17, 2010 3:45 pm
by Dwarrowdelver
This will probably be for Gold Egg collectors only, As I just used one of the original Chicken.xml scripts with a few minor changes of my own.

Im no programmer - but heres what solved my issue. After using SVN Update - in each of the lua scripts the bot tells you there is an error for , modifications have been made showing the version changes - like those below.

<<<<<<< .mine
Throw staticEquipBase = 0x9B4B44,
staticInventory = 0x9C3B88,
staticTablePtr = 0xA0C0D4,
staticTableSize = 0xA0C0D0,
staticbase_char = 0x9B5284,
staticbase_macro = 0xA0AA2C,
staticpattern_char = 0x63C554,
staticpattern_macro = 0x749A35,
=======
Keep staticEquipBase = 0x9B6BAC,
staticInventory = 0x9C3B88,
staticTablePtr = 0xA0C0D4,
staticTableSize = 0xA0C0D0,
staticbase_char = 0x9B5284,
staticbase_macro = 0xA0AA2C,
staticpattern_char = 0x63CC44,
staticpattern_macro = 0x749925,
>>>>>>> .r543

First - In addresses make sure the following is in place as suggested in other threads:

tablesBase = 0x9DAB24,

I removed the sections of code I marked with Throw, every time it pointed out another code section I repeated the process, keeping the section r543 related. Basically deleting only the items between (and including):

<<<<<<< .mine
and
=======

Afterwards deleting all remaining: (leaving code in the section untouched)

=======
(left Code)
>>>>>>> .r543

In my case Addresses in the Rom Directory and 2 more in the classes section (inventory/item) had similar code, after removal I had other problems. So I tried a few things which failed - But when I copied the attached 2 files from the last versions classes folder I was using ... the bot started to work as normal. (dont ask me which version it is - I just keep patching as required)

I will leave it to you guys to sort the hows and whys ;)

Re: Addresses

Posted: Fri Dec 17, 2010 10:53 pm
by leahcim2468
i fixed it by using rock5's solution. thx