Shaiya[US] - Shaiya Bot ZS

For any other game that doesn't have its own section.
Message
Author
sadow
Posts: 21
Joined: Mon May 25, 2009 10:19 am

Re: Shaiya[US] - Shaiya Bot ZS

#301 Post by sadow » Tue May 26, 2009 11:07 am

will do that in a sec, admin could u check my post in ur bot topic, having few little problems, bot working fine otherwise :)

sadow
Posts: 21
Joined: Mon May 25, 2009 10:19 am

Re: Shaiya[US] - Shaiya Bot ZS

#302 Post by sadow » Tue May 26, 2009 11:13 am

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)

User avatar
Administrator
Site Admin
Posts: 5313
Joined: Sat Jan 05, 2008 4:21 pm

Re: Shaiya[US] - Shaiya Bot ZS

#303 Post by Administrator » Tue May 26, 2009 11:44 am

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.

sadow
Posts: 21
Joined: Mon May 25, 2009 10:19 am

Re: Shaiya[US] - Shaiya Bot ZS

#304 Post by sadow » Tue May 26, 2009 11:50 am

i get the same error even if have 0 skills added to char.xml file... :o

sadow
Posts: 21
Joined: Mon May 25, 2009 10:19 am

Re: Shaiya[US] - Shaiya Bot ZS

#305 Post by sadow » Tue May 26, 2009 12:01 pm

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

User avatar
Administrator
Site Admin
Posts: 5313
Joined: Sat Jan 05, 2008 4:21 pm

Re: Shaiya[US] - Shaiya Bot ZS

#306 Post by Administrator » Tue May 26, 2009 12:02 pm

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.
Attachments
zs_shaiya.zip
(55.36 KiB) Downloaded 506 times

sadow
Posts: 21
Joined: Mon May 25, 2009 10:19 am

Re: Shaiya[US] - Shaiya Bot ZS

#307 Post by sadow » Tue May 26, 2009 12:06 pm

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

sadow
Posts: 21
Joined: Mon May 25, 2009 10:19 am

Re: Shaiya[US] - Shaiya Bot ZS

#308 Post by sadow » Tue May 26, 2009 12:17 pm

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

vvayinsane
Posts: 148
Joined: Fri Mar 21, 2008 9:10 pm

Re: Shaiya[US] - Shaiya Bot ZS

#309 Post by vvayinsane » Tue May 26, 2009 4:43 pm

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?

sadow
Posts: 21
Joined: Mon May 25, 2009 10:19 am

Re: Shaiya[US] - Shaiya Bot ZS

#310 Post by sadow » Wed May 27, 2009 6:05 am

1024x768

vvayinsane
Posts: 148
Joined: Fri Mar 21, 2008 9:10 pm

Re: Shaiya[US] - Shaiya Bot ZS

#311 Post by vvayinsane » Wed May 27, 2009 10:56 am

shadow any luck getting the bot 2 work?

vvayinsane
Posts: 148
Joined: Fri Mar 21, 2008 9:10 pm

Re: Shaiya[US] - Shaiya Bot ZS

#312 Post by vvayinsane » Fri May 29, 2009 1:01 am

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.

User avatar
Administrator
Site Admin
Posts: 5313
Joined: Sat Jan 05, 2008 4:21 pm

Re: Shaiya[US] - Shaiya Bot ZS

#313 Post by Administrator » Fri May 29, 2009 3:50 am

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.

shakey
Posts: 56
Joined: Sun Nov 16, 2008 4:02 am

Re: Shaiya[US] - Shaiya Bot ZS

#314 Post by shakey » Fri May 29, 2009 12:58 pm

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.

shakey
Posts: 56
Joined: Sun Nov 16, 2008 4:02 am

Re: Shaiya[US] - Shaiya Bot ZS

#315 Post by shakey » Sat May 30, 2009 2:52 pm

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.

chopstick19
Posts: 12
Joined: Wed Feb 04, 2009 6:32 am

Re: Shaiya[US] - Shaiya Bot ZS

#316 Post by chopstick19 » Tue Jun 02, 2009 3:05 am

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

zer0
Posts: 213
Joined: Sat Feb 16, 2008 11:55 pm

Re: Shaiya[US] - Shaiya Bot ZS

#317 Post by zer0 » Wed Jun 03, 2009 8:21 am

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.

User avatar
Administrator
Site Admin
Posts: 5313
Joined: Sat Jan 05, 2008 4:21 pm

Re: Shaiya[US] - Shaiya Bot ZS

#318 Post by Administrator » Wed Jun 03, 2009 3:44 pm

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.

Yorkshire
Posts: 21
Joined: Wed Mar 18, 2009 5:16 pm

Re: Shaiya[US] - Shaiya Bot ZS

#319 Post by Yorkshire » Tue Jun 16, 2009 6:02 am

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.

Yorkshire
Posts: 21
Joined: Wed Mar 18, 2009 5:16 pm

Re: Shaiya[US] - Shaiya Bot ZS

#320 Post by Yorkshire » Wed Jun 17, 2009 4:42 pm

bah still no joy getting it to target :(

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests