Page 16 of 18

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 11:07 am
by sadow
will do that in a sec, admin could u check my post in ur bot topic, having few little problems, bot working fine otherwise :)

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 11:13 am
by sadow
Tue May 26 19:12:21 2009 : macro_init()
Tue May 26 19:12:21 2009 : interface=INTERFACE_1024X768
Tue May 26 19:12:21 2009 : Shaiya Window process ID: 3147588
Tue May 26 19:12:21 2009 : win_width: 1025, win_height: 768

Tue May 26 19:12:21 2009 : skill: Piercing Shot 1
Tue May 26 19:12:21 2009 : skill: Rapid Shot 1
Tue May 26 19:12:21 2009 : skill: Nailed Shot 1

stack traceback:
D:\micromacroza\micromacro\lib\lib.lua:476: in function 'startMacro'
main.lua:175: in main chunk

----------TRACEBACK END----------

Tue May 26 19:12:21 2009 : .//classes/shortcuts/skill.lua:35: attempt to concatenate local 'name' (a nil value)

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 11:44 am
by Administrator
I don't know what changes you have or haven't made that results you in not seeing the errors that I am seeing, but again, one of your skills is not listed in data/skills.xml. Remove Battle Cry from your character's XML file, and try again.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 11:50 am
by sadow
i get the same error even if have 0 skills added to char.xml file... :o

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 12:01 pm
by sadow
okey i have been doing some testing and the bot does "work" when i keep the skills that are already in character xml by default, if i add rapid shot / piercing shot and ranger buffs it starts to whine about nil value :o

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 12:02 pm
by Administrator
I don't know what you did wrong, then. Delete all of the files you have. Download MicroMacro 1.0 beta here. Then download the attachment and put it in your scripts folder. You should not need any other files after this.

Recreate your profile from scratch (do not use the one you currently have) and see if it works.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 12:06 pm
by sadow
well i found the problem was i left 1 attack slot emply when i have rapid shot 2x in the line it does work, but now it still only does the buffs, half of time it timeouts, but it doesnt do any attack skills or autoattack... :i

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 12:17 pm
by sadow
well now the bot works execpt it doesnt attack :D it used buff-s and moves the camera around...
in micromacro it just says avatar cycle target 3 4 and keeps doing it

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 4:43 pm
by vvayinsane
I notice i get that also if my Monster bar is under my player bar. Also what screen size are u useing on the game?

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Wed May 27, 2009 6:05 am
by sadow
1024x768

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Wed May 27, 2009 10:56 am
by vvayinsane
shadow any luck getting the bot 2 work?

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Fri May 29, 2009 1:01 am
by vvayinsane

Code: Select all

<config name="mem_text_message_offset">0x6fc648</config>
<config name="mem_text_message_offset_index">0x1404</config>
I cant seem to find them. I tried but like admin says what do we look for.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Fri May 29, 2009 3:50 am
by Administrator
I found the mem_text_message_offset, so that one is new. I just don't know what the mem_text_message_offset_index is for. mem_text_message_size shouldn't have changed; so we don't need to update this. mem_text_message_common_offset has also been updated and is working to the best of my knowledge. Finally, mem_text_message_entered_offset is another one which I don't know what it is for.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Fri May 29, 2009 12:58 pm
by shakey

Code: Select all

Fri May 29 09:36:45 2009 : ...omacro/scripts/zs_shaiya/classes/shortcuts/skill.lua:99: bad argument #1 to 'keyboardPress' ((null))
Fri May 29 09:36:45 2009 : Execution error: Runtime error
I get it to run good until it goes to use Deadly Strike level 3. I've added it to the skills.lua. And the formatting is correct. The bot runs fine otherwise. For now I'll just remove the skill and trouble shoot as I have time.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Sat May 30, 2009 2:52 pm
by shakey
So I figured out MY problem. I forgot to put the slot number in for the 5th skill. That fixed everything and it's going smooth.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue Jun 02, 2009 3:05 am
by chopstick19
hey vvayinsane, I downloaded the new "gui" and "config" scripts you posted and applied it already, but I don't know what to do in order to bypass game guard. Was there already a new bypass that's already out?

-Thanks

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Wed Jun 03, 2009 8:21 am
by zer0
Sorry everyone been very busy with Private Server stuff.

mem_text_message_offset is the address offset for the game message you see in the game console. Trade messages are also stored in this.
I believe the message is a Circular Queue data pattern.
mem_text_message_index_offset is the index that the current message is in (0-4) last time I checked.
They are used mainly to check whether a skill has been pulled off successfully or not.
You can search by not doing anything in the game, and wait till people talk in trade, then search for the first address that has the string "[Trade]". The index offset has a fixed difference from the mem_text_message_offset, so for the original values subtracting mem_text_message_offset and mem_text_message_index_offset will give you the difference I will hard code all that in, so it's easier in the future.

mem_text_message_entered_offset is for reading user entered text which is not necessary for the bots operation from what I remember.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Wed Jun 03, 2009 3:44 pm
by Administrator
Sorry everyone been very busy with Private Server stuff.
I hope that's going well for you. You have permission to advertise your server here on these forums if you would like.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue Jun 16, 2009 6:02 am
by Yorkshire
Im getting the spinning buffing and not targeting problem tryed everything swapping gui ect ect anyone got this working yet ????? if i can get it to target i should be okay tnx.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Wed Jun 17, 2009 4:42 pm
by Yorkshire
bah still no joy getting it to target :(