Page 15 of 18

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon May 25, 2009 11:30 pm
by basiclight
Tue May 26 00:16:04 2009 : .//classes/xml_data.lua:135: XML Parse Error.
File: .//char/Link.xml
Line: 1
Column: 1
Message: syntax error
Tue May 26 00:16:04 2009 : Execution of main.lua complete.
Tue May 26 00:16:04 2009 : Execution error: Runtime error
Tue May 26 00:16:04 2009 : Collecting garbage...
Tue May 26 00:16:04 2009 : GC closed process handle 0x94.
Tue May 26 00:16:04 2009 : 161KB freed.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 12:01 am
by vvayinsane
basiclight no matter what you do your are going to have errors. What you need todo is delete macro folder. Redownload micromacrol and zs_shaiya_v0-036b.zip. Do the changes needed and run the bot again.

That should fix your problem

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 3:04 am
by sadow
still not working, i redownloaded micromacro, shaiya za and made changes to config and avatar.lua but now i get message
Skill: rapid Shot 1
" .//classes/shortcuts/skill.lua:35: attempt to concatenate local ´name´ <a nil valua>

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 3:28 am
by vvayinsane
Dude post your char xml file and the skill file. Ill take a look at it. What i think happen you messed up on spelling somewhere

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 3:35 am
by sadow
char.xml
<avatar>
<shortcuts>
<!-- These are your action shortcuts -->
<shortcut type="action" mode="attack" bar="1" slot="1" />
<shortcut type="action" mode="pickup" bar="1" slot="6" />
<!-- These are your skill attack shortcuts -->
<shortcut type="skill" mode="attack" bar="1" slot="2" name="Rapid Shoy" level="1" />
<shortcut type="skill" mode="attack" bar="1" slot="3" name="Piercing Shot" level="1" />
<shortcut type="skill" mode="attack" bar="1" slot="4" name="Bull's Eye" level="1" />
<!--<shortcut type="skill" mode="attack" bar="1" slot="" name="" level="" />-->
<!-- These are your skill buff shortcuts -->
<shortcut type="skill" mode="buff" bar="1" slot="7" name="Long Range" level="1" />
<shortcut type="skill" mode="buff" bar="1" slot="8" name="Marksman Song" level="1" />
<shortcut type="skill" mode="buff" bar="1" slot="9" name="Sharp Shooter" level="1" />
<shortcut type="skill" mode="buff" bar="1" slot="0" name="Battle Cry" level="1" />
<!--<shortcut type="skill" mode="buff" bar="1" slot="" name="" level="" />-->
<!-- These are your potion shortcuts - Only bar 1 and 2 (if 2nd shortcut bar is open) supported. -->
<shortcut type="potion" mode="hp" bar="2" slot_start="1" slot_end="6" tolerance="65" />
<shortcut type="potion" mode="sp" bar="2" slot_start="7" slot_end="8" tolerance="50" />
<shortcut type="potion" mode="mp" bar="2" slot_start="9" slot_end="0" tolerance="50" />
<!--<shortcut type="potion" mode="" bar="2" slot_start="" slot_end="" tolerance="" />-->
</shortcuts>
<!-- The avatar options are listed here, for a complete list, see ./classes/avatar.lua -->
<options>
<option name="mp_sit_multiplier" value="0.2" />
<option name="sp_sit_multiplier" value="0.2" />
<option name="target_difficulty_color_min" value="blue" />
<!--<option name="waypoint_enabled" value="true" />-->
<!--<option name="" value="" />-->
</options>
</avatar>


Skill.xml
<?xml version="1.0"?>
<skills>
<skill>
<name>Aggravation</name>
<level index="1" sp="88" recharge="3" />
</skill>
<skill>
<name>Agility</name>
<duration>300</duration>
<level index="1" mp="50" sp="5" />
</skill>
<skill>
<name>Arouse Blow</name>
<level index="1" mp="10" sp="20" />
<level index="2" mp="30" sp="48" />
</skill>
<skill>
<name>Aura of Peace</name>
<duration>1800</duration>
<level index="1" mp="85" recharge="3" />
</skill>
<skill>
<name>Bash</name>
<duration>300</duration>
<level index="1" mp="40" sp="5" />
<level index="2" mp="70" sp="15" />
<level index="3" mp="100" sp="25" />
</skill>
<skill>
<name>Body Protector</name>
<duration>300</duration>
<level index="1" mp="60" sp="60" />
<level index="2" mp="250" sp="100" />
</skill>
<skill>
<name>Concentration</name>
<duration>300</duration>
<level index="1" mp="40" sp="5" />
<level index="2" mp="70" sp="15" />
<level index="3" mp="100" sp="25" />
</skill>
<skill>
<name>Curse Raid</name>
<level index="1" mp="5" sp="15" recharge="20" />
<level index="2" mp="15" sp="30" recharge="20" />
<level index="3" mp="35" sp="60" recharge="20" />
</skill>
<skill>
<name>Deadly Strike</name>
<level index="1" recharge="10" sp="100" range="2" />
<level index="2" recharge="10" sp="150" range="2" />
</skill>
<skill>
<name>Demon Hushing</name>
<level index="1" mp="52" sp="155" />
<level index="2" mp="63" sp="210" />
<level index="3" mp="71" sp="280" />
</skill>
<skill>
<name>Double Damage</name>
<level index="1" recharge="10" sp="25" range="2" />
<level index="2" recharge="10" sp="55" range="2" />
<level index="3" recharge="10" sp="85" range="2" />
</skill>
<skill>
<name>Dragon Slayer</name>
<level index="1" recharge="600" mp="20" sp="130" />
<level index="2" recharge="600" mp="30" sp="185" />
<level index="3" recharge="600" mp="45" sp="265" />
</skill>
<skill>
<name>Dual-weapon Storm</name>
<level index="1" recharge="15" sp="180" />
<level index="2" recharge="15" sp="250" />
<level index="3" recharge="15" sp="340" />
</skill>
<skill>
<name>Eagle Eye</name>
<level index="1" recharge="180" mp="25" sp="60" />
<level index="2" recharge="180" mp="35" sp="75" />
<level index="3" recharge="180" mp="65" sp="105" />
</skill>
<skill>
<name>Earth Spikes</name>
<level index="1" cast="3" mp="585" />
</skill>
<skill>
<name>Fatal Hit</name>
<level index="1" sp="19" recharge="5" />
<level index="2" sp="51" recharge="8" />
</skill>
<skill>
<name>Fire Ball</name>
<level index="1" mp="38" />
</skill>
<skill>

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 3:38 am
by vvayinsane
Check Your spelling... Rapid Shot not Rapid Shoy

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 3:41 am
by sadow
well i did it but it doesnt still work, im adding all the skills missing from skill.xml atm but once it knows all the skills it whines about something :D

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 3:43 am
by vvayinsane
is it saying timed out?

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 3:46 am
by sadow
ue May 26 11:44:35 2009 : macro_init()
Tue May 26 11:44:35 2009 : interface=INTERFACE_1024X768
Tue May 26 11:44:35 2009 : Shaiya Window process ID: 65682
Tue May 26 11:44:35 2009 : win_width: 160, win_height: 120

Tue May 26 11:44:35 2009 : WARNING: Failure reading memory from 0x22BDAF0 at 0x83ddf4 in memoryReadIntPtr(). Error code 299 (Vain osa ReadProcessMemory- tai WriteProcessMemory-pyynnöstä suoritettiin.)

Tue May 26 11:44:35 2009 : WARNING: Failure reading memory from 0x22BDAF0 at 0x83ddf4 in memoryReadIntPtr(). Error code 299 (Vain osa ReadProcessMemory- tai WriteProcessMemory-pyynnöstä suoritettiin.)

Tue May 26 11:44:35 2009 : WARNING: Failure reading memory from 0x22BDAF0 at 0x83ddf4 in memoryReadIntPtr(). Error code 299 (Vain osa ReadProcessMemory- tai WriteProcessMemory-pyynnöstä suoritettiin.)

Tue May 26 11:44:35 2009 : WARNING: Failure reading memory from 0x22BDAF0 at 0x83ddf4 in memoryReadIntPtr(). Error code 299 (Vain osa ReadProcessMemory- tai WriteProcessMemory-pyynnöstä suoritettiin.)

Tue May 26 11:44:35 2009 : WARNING: Failure reading memory from 0x22BDAF0 at 0x83ddf4 in memoryReadIntPtr(). Error code 299 (Vain osa ReadProcessMemory- tai WriteProcessMemory-pyynnöstä suoritettiin.)

Tue May 26 11:44:35 2009 : WARNING: Failure reading memory from 0x22BDAF0 at 0x83ddf4 in memoryReadIntPtr(). Error code 299 (Vain osa ReadProcessMemory- tai WriteProcessMemory-pyynnöstä suoritettiin.)

Tue May 26 11:44:35 2009 : WARNING: Failure reading memory from 0x22BDAF0 at 0x83ddf4 in memoryReadIntPtr(). Error code 299 (Vain osa ReadProcessMemory- tai WriteProcessMemory-pyynnöstä suoritettiin.)

Tue May 26 11:44:35 2009 : WARNING: Failure reading memory from 0x22BDAF0 at 0x83ddf4 in memoryReadFloatPtr(). Error code 299 (Vain osa ReadProcessMemory- tai WriteProcessMemory-pyynnöstä suoritettiin.)

Tue May 26 11:44:35 2009 : WARNING: Failure reading memory from 0x22BDAF0 at 0x83ddf4 in memoryReadFloatPtr(). Error code 299 (Vain osa ReadProcessMemory- tai WriteProcessMemory-pyynnöstä suoritettiin.)

Tue May 26 11:44:35 2009 : WARNING: Failure reading memory from 0x22BDAF0 at 0x83ddf4 in memoryReadFloatPtr(). Error code 299 (Vain osa ReadProcessMemory- tai WriteProcessMemory-pyynnöstä suoritettiin.)

Tue May 26 11:44:35 2009 : WARNING: Failure reading memory from 0x22BDAF0 at 0x83ddf4 in memoryReadFloatPtr(). Error code 299 (Vain osa ReadProcessMemory- tai WriteProcessMemory-pyynnöstä suoritettiin.)

Tue May 26 11:44:35 2009 : WARNING: Failure reading memory from 0x22BDAF0 at 0x83ddf4 in memoryReadFloatPtr(). Error code 299 (Vain osa ReadProcessMemory- tai WriteProcessMemory-pyynnöstä suoritettiin.)

Tue May 26 11:44:35 2009 : hp: 0

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

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

Tue May 26 11:44:35 2009 : Cannot open file './/char/.xml' for reading.
Tue May 26 11:44:35 2009 : Execution of main.lua complete.
Tue May 26 11:44:35 2009 : Execution error: Runtime error
Tue May 26 11:44:35 2009 : Collecting garbage...
Tue May 26 11:44:35 2009 : GC closed process handle 0xB0.
Tue May 26 11:44:35 2009 : 163KB freed.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 3:51 am
by sadow
i did and i replaced both in my shaiya za folder, had to change the install path still in config.ini since mine isint on c folder

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 3:52 am
by vvayinsane
Your playing the us version of shaiya right.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 3:55 am
by sadow
yea, now i replaced the files again after edidint skills.xml and avatar file and it seems to work now, gotta config a little bit, ill post results in a while

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 3:57 am
by sadow
okey i got new problem, the bot does use all buffskills etc, but somehow it doesnt target anymobs and attack them and the camera just moves around, how to fix this ?

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 4:03 am
by vvayinsane
that wont be the only problem you get..lol...Next is the point im stuck it is timed out... Do you see the monster bar? Drag that all the way to the far left of your screen. It will be on your player bars.(hp,mp,sp)

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 6:49 am
by sadow
well i did move the monster bar but it still doesnt target/attack them, will there be a fix to that ?

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 9:05 am
by vvayinsane
The bot does attack. Did you make sure you download the fix gui.lua file i posted a few post back?

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 9:37 am
by sadow
yes i did and the bot does use all the buff skills tho, but somehow i cant manage to make it use attack skills either autoattack, btw could u check my post on the other bot topic about problems im having there if u know how to fix those, tnx

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 9:54 am
by Administrator
I never had to move the monster's health bar for it to work for me. It even seemed to properly detect the monster's color. I jumped straight to the skill timout problem. It looks like the script is checking the system chat for the text that says you've casted a skill. I'm pretty sure the problem is with the addresses it's reading from. I could use some help looking for updated addresses if you are able to do so.

EDIT:

Code: Select all

<config name="mem_text_message_offset">0x6fc648</config>
<config name="mem_text_message_offset_index">0x1404</config>
<config name="mem_text_message_size">0x400</config>
<config name="mem_text_message_common_offset">0x22142EC</config>
<config name="mem_text_message_entered_offset">0x21d3ff0</config>
I see some improvement! It no longer times out (entirely). No idea what the mem_text_message_offset_index and mem_text_message_entered_offset are for, though.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 10:22 am
by sadow
Tue May 26 18:20:54 2009 : skill: Rapid 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 18:20:54 2009 : .//classes/shortcuts/skill.lua:35: attempt to concatenate local 'name' (a nil value)

whats wrong with my rapid shot ? :o

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue May 26, 2009 10:51 am
by Administrator
sadow wrote:Tue May 26 18:20:54 2009 : skill: Rapid 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 18:20:54 2009 : .//classes/shortcuts/skill.lua:35: attempt to concatenate local 'name' (a nil value)

whats wrong with my rapid shot ? :o
Looks like Rapid Shot is fine. I even tested it myself here. I think your problem is Bull's Eye. I don't even see that in the skill database, so I would suggest removing it from your character's config file, then try again.