Page 12 of 18

Re: Shaiya[US] - ZS Shaiya Bot

Posted: Fri Mar 20, 2009 8:51 am
by chopstick19
Hey i was wondering if the shaiya bot still works for the new patch. It doesnt seem to work for me it shows this error message plz help me.

Code: Select all

MicroMacro v0.99
SolarImpact
http://solarimpact.servegame.com


Opening main.lua...

Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and load a new script.
-------------------------------------------------

Make sure you start the script when you have switched to the Game window!!
The macro is currently not running. Press the start key (Insert) to begin.
You may use () key to stop/pause the script.
Started.
macro_init()
interface=INTERFACE_1024X768
Shaiya Window process ID: 1311696
win_width: 1024, win_height: 768

WARNING: Failure reading memory from 0x1F54D18 at 0x834cf4 in memoryReadIntPtr()
. Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
 was completed.)
WARNING: Failure reading memory from 0x1F54D18 at 0x834cf4 in memoryReadIntPtr()
. Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
 was completed.)
WARNING: Failure reading memory from 0x1F54D18 at 0x834cf4 in memoryReadIntPtr()
. Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
 was completed.)
WARNING: Failure reading memory from 0x1F54D18 at 0x834cf4 in memoryReadIntPtr()
. Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
 was completed.)
WARNING: Failure reading memory from 0x1F54D18 at 0x834cf4 in memoryReadIntPtr()
. Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
 was completed.)
WARNING: Failure reading memory from 0x1F54D18 at 0x834cf4 in memoryReadIntPtr()
. Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
 was completed.)
WARNING: Failure reading memory from 0x1F54D18 at 0x834cf4 in memoryReadIntPtr()
. Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
 was completed.)
WARNING: Failure reading memory from 0x1F54D18 at 0x834cf4 in memoryReadIntPtr()
. Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
 was completed.)
WARNING: Failure reading memory from 0x1F54D18 at 0x834cf4 in memoryReadFloatPtr
(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory reque
st was completed.)
WARNING: Failure reading memory from 0x1F54D18 at 0x834cf4 in memoryReadFloatPtr
(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory reque
st was completed.)
WARNING: Failure reading memory from 0x1F54D18 at 0x834cf4 in memoryReadFloatPtr
(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory reque
st was completed.)
WARNING: Failure reading memory from 0x1F54D18 at 0x834cf4 in memoryReadFloatPtr
(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory reque
st was completed.)
WARNING: Failure reading memory from 0x1F54D18 at 0x834cf4 in memoryReadFloatPtr
(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory reque
st was completed.)
hp: 0
Cannot open file './/char/.xml' for reading.


Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>

Re: Shaiya[US] - ZS Shaiya Bot

Posted: Fri Mar 20, 2009 9:43 am
by sulfurio
AVATAR_PTR = 0x00836DD0
AVATAR_NAME_ADDRESS = 0x0083AC54

Thats what i found but still not working, seems it cant check the hp and skill timing
anyone can help ???
( Loooking at Administrator and Zero :P )

Re: Shaiya[US] - ZS Shaiya Bot

Posted: Fri Mar 20, 2009 10:18 am
by Yorkshire
What did you scan to get the AVATAR_NAME_ADDRESS ??? sulfurio ??

Re: Shaiya[US] - ZS Shaiya Bot

Posted: Fri Mar 20, 2009 11:32 am
by sulfurio
Yorkshire wrote:What did you scan to get the AVATAR_NAME_ADDRESS ??? sulfurio ??
Scanned the Avatar name (Text)

Re: Shaiya[US] - ZS Shaiya Bot

Posted: Sat Mar 21, 2009 3:12 am
by Yorkshire
After many hours scanning i managed to get it working allmost 100% try thease addresses.

AVATAR_PTR = 0x00836D34
AVATAR_NAME_ADDRESS = 0x0083AC54
--AVATAR_ACTION_ADDR = 0x006E6D80
MEM_ADDRESS_AVATAR_LEVEL = 0x00837850
--MAP_NAME = 0x1745A7E0

-- MESSAGE ADDRESSES
MEM_GAME_MESSAGE_OFFSET = 0x006f4d88
MEM_GAME_MESSAGE_INDEX = MEM_GAME_MESSAGE_OFFSET + 0x1404
MEM_GAME_MESSAGE_SIZE = 0x400
MEM_COMMON_MESSAGE_OFFSET = 0x0220D217

I used the mulit client go back a page to find it.


Its not perfect i know but it dose work till zero can maby help :)
i know some addreses still need scanning

Let me know if thease work guys thx.

Re: Shaiya[US] - ZS Shaiya Bot

Posted: Sat Mar 21, 2009 8:09 am
by chandell
Yorkshire wrote:After many hours scanning i managed to get it working allmost 100% try thease addresses.

AVATAR_PTR = 0x00836D34
AVATAR_NAME_ADDRESS = 0x0083AC54
--AVATAR_ACTION_ADDR = 0x006E6D80
MEM_ADDRESS_AVATAR_LEVEL = 0x00837850
--MAP_NAME = 0x1745A7E0

-- MESSAGE ADDRESSES
MEM_GAME_MESSAGE_OFFSET = 0x006f4d88
MEM_GAME_MESSAGE_INDEX = MEM_GAME_MESSAGE_OFFSET + 0x1404
MEM_GAME_MESSAGE_SIZE = 0x400
MEM_COMMON_MESSAGE_OFFSET = 0x0220D217

I used the mulit client go back a page to find it.


Its not perfect i know but it dose work till zero can maby help :)
i know some addreses still need scanning

Let me know if thease work guys thx.
Yep... It works ^.^
Thanks for the effort....

Re: Shaiya[US] - ZS Shaiya Bot

Posted: Sun Mar 22, 2009 7:51 am
by zer0
New release made to be compatible with latest Shaiya version 47.

See First post.

v0.0352b -
* Memory address offsets moved to config.xml.
* Removal of some redundant code.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue Mar 24, 2009 3:36 am
by Yorkshire
Ty zero exellent work i cant seem to get the vm bat working in vm tho. (Vmware)


.//classes/hook.lua:126: bad argument #2 to 'memoryReadString' ((null))

works fine with launch bat tho ??

Great work zero ty again.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Wed Mar 25, 2009 7:38 am
by zcarlz
v0.0352b
works good.... but sometimes it search for target too fast after killing mobs... make it search target--->attack---> pick up--->search target--->attack
Happens to me quite often

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Thu Mar 26, 2009 5:40 am
by zer0
Regarding v0.0352b:
It looks like it has a few bugs, I will make another minor release when I have tested it more extensively. ;)

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Fri Mar 27, 2009 6:21 am
by sulfurio
Thx for the update Zero , i have a question/idea about how to make it work better .
If we are able to change the text color of the mobs we want attack , we could make it attack only some mobs so our char dont go in a place we dont want .
Alot of time my char go stuck somewhere couse it attack other mobs ( green or cyan ) near the area i have choose. But in that different area my char stuck couse of bad mobs/environment.
Its possible to change for example the mobs text to pink ?

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Fri Mar 27, 2009 11:58 am
by nknwn666
sulfurio wrote:Thx for the update Zero , i have a question/idea about how to make it work better .
If we are able to change the text color of the mobs we want attack , we could make it attack only some mobs so our char dont go in a place we dont want .
Alot of time my char go stuck somewhere couse it attack other mobs ( green or cyan ) near the area i have choose. But in that different area my char stuck couse of bad mobs/environment.
Its possible to change for example the mobs text to pink ?
u cant change the mobs text color,but u can change what color mobs u want to attack in your avatar.xml

Code: Select all

<!--
 The avatar options are listed here, for a complete list, see ./classes/avatar.lua 
-->
−
<options>
<option name="hp_sit_multiplier" value="0.4"/>
<option name="mp_sit_multiplier" value="0.0"/>
<option name="sp_sit_multiplier" value="0.2"/>
<option name="target_difficulty_color_min" value="blue"/>
<option name="target_difficulty_color_max" value="yellow"/>
<!--<option name="waypoint_enabled" value="true" />-->
<!--<option name="" value="" />-->
</options>

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Fri Mar 27, 2009 2:28 pm
by sulfurio
lol i know it im not talking about the bot but about a client side mod to change the color of the mobs text.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Mar 30, 2009 1:23 am
by zer0
sulfurio wrote:lol i know it im not talking about the bot but about a client side mod to change the color of the mobs text.
A better idea would be to have an optional feature to allow of list of mob names that it can attack.

There is one big issue though, I tried to locate the target mob pointer with no success.
http://solarimpact.servegame.com/phpBB3 ... ?f=2&t=220

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Mar 30, 2009 10:48 am
by Intermezzo
Hello.
First at all i wanted to say: "Your bot is the best arround"
But i want to get it to work with the german Client. Any sugestions?

edit: Ok I have to change them Mem adress in Config. How do I find them? From a german bot i got this one for the Avatar_pointer 0x82B6B4. I believe its right cause the only error i get is that it can't read the Char.xml.

edit 2:
<config name="mem_avatar_pointer">0x82B6B4</config>
<config name="mem_avatar_name_offset">0x82E2BE</config>
<config name="mem_avatar_level_offset">0x82E210</config>

<config name="mem_text_message_offset">0x6E8CF8</config>
<config name="mem_text_message_offset_index">0x6E9708</config>
<config name="mem_text_message_size">0x400</config>
<config name="mem_text_message_common_offset">0x6E9100</config>
<config name="mem_text_message_entered_offset">0x2201AB3</config>

ok i think i've got allexcept off the text_message_size but the Bot only buffs and searches for targets. It always says "timed out"

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Wed Apr 01, 2009 5:38 am
by Intermezzo
couldn't anyone help me?

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Fri Apr 03, 2009 1:07 am
by zer0
v0.0353b - Released.

Should hopefully fix the targeting a bit more, also will hopefully avoid bugged monsters from occurring (0 HP Monsters).
Flee function was also improved a little.

See First post.

Intermezzo:
text_message_size won't change at all, at least I think their would be no difference among other language clients.

What you do need to do though is look in "classes/gui.lua" and the "GUI_TEXT" constants at the start will need to be localised into the language the client uses. Also if the Skill names are different in "data/skills.xml" they will also need to be localised.

In a future release I will move those GUI_TEXT constants into the config.xml file so localisation can be made a bit more easier.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Sat Apr 04, 2009 8:00 am
by Intermezzo
OK i didn't know that i've to chage the gui_txt constants. Now I#ve changed nearly all but i've a problem with GUI_TEXT_MESSAGE_SKILL_USED.

When i use concentration the Gui says in german "Konzentration Stufe 2 genutzt."
(Konzentration=concentration, Stufe=level, genutzt=used)
For GUI_TEXT_MESSAGE_SKILL_USED i use "%s(.*) genutzt." but it doesnt do the trick. How do i have to change it?

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Tue Apr 07, 2009 12:54 am
by intel123
i have two Problems one is the bot doesnt attack unless i hit attack key second when start hitting the mobs it keep attacking another mobs if anyone can help i will apreaciate it

im using windows Xp Proffesional


this is my character settings


<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="Ground Boom" level="3" />
<shortcut type="skill" mode="attack" bar="1" slot="3" name="Curse Raid" level="3" />
<shortcut type="skill" mode="attack" bar="1" slot="4" name="Panic" level="3" />
<!--<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="Hard Skin" level="3" />
<shortcut type="skill" mode="buff" bar="1" slot="8" name="Bash" level="2" />
<shortcut type="skill" mode="buff" bar="1" slot="9" name="Concentration" level="2" />
<shortcut type="skill" mode="buff" bar="1" slot="0" name="Tactical Formation" level="3" />
<!--<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="white" />
<option name="target_difficulty_color_max" value="orange" />
<!--<option name="waypoint_enabled" value="true" />-->
<!--<option name="" value="" />-->
</options>
</avatar>

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Fri Apr 10, 2009 2:05 am
by shakey

Code: Select all

Thu Apr 09 23:01:27 2009 : MicroMacro v0.99
Thu Apr 09 23:01:27 2009 : Processor Type: 2X 586, OS: Windows Vista | Windows Server 2008 Service Pack 1
Thu Apr 09 23:01:27 2009 : Lua initialized successfully.
Thu Apr 09 23:01:27 2009 : Lua libs opened successfully.
Thu Apr 09 23:01:27 2009 : LuaCoco is available.
Thu Apr 09 23:01:27 2009 : Lua glues exported.
Thu Apr 09 23:01:27 2009 : Keyboard layout: US English
Thu Apr 09 23:01:27 2009 : Configurations run.
Thu Apr 09 23:01:27 2009 : Executing script "main.lua".
==================================================

Thu Apr 09 23:01:30 2009 : macro_init()
Thu Apr 09 23:01:30 2009 : interface=INTERFACE_1280X1024
Thu Apr 09 23:01:30 2009 : Shaiya Window process ID: 1966968
Thu Apr 09 23:01:30 2009 : win_width: 1280, win_height: 1014

Thu Apr 09 23:01:30 2009 : name: 
Thu Apr 09 23:01:30 2009 : avatar_name: 
Thu Apr 09 23:01:30 2009 : WARNING: Failure reading memory from 0x173C0B8 at 0x834cf4 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Thu Apr 09 23:01:30 2009 : WARNING: Failure reading memory from 0x173C0B8 at 0x834cf4 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Thu Apr 09 23:01:30 2009 : WARNING: Failure reading memory from 0x173C0B8 at 0x834cf4 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Thu Apr 09 23:01:30 2009 : WARNING: Failure reading memory from 0x173C0B8 at 0x834cf4 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Thu Apr 09 23:01:30 2009 : WARNING: Failure reading memory from 0x173C0B8 at 0x834cf4 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Thu Apr 09 23:01:30 2009 : WARNING: Failure reading memory from 0x173C0B8 at 0x834cf4 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Thu Apr 09 23:01:30 2009 : WARNING: Failure reading memory from 0x173C0B8 at 0x834cf4 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Thu Apr 09 23:01:30 2009 : WARNING: Failure reading memory from 0x173C0B8 at 0x834cf4 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Thu Apr 09 23:01:30 2009 : WARNING: Failure reading memory from 0x173C0B8 at 0x834cf4 in memoryReadFloatPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Thu Apr 09 23:01:30 2009 : WARNING: Failure reading memory from 0x173C0B8 at 0x834cf4 in memoryReadFloatPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Thu Apr 09 23:01:30 2009 : WARNING: Failure reading memory from 0x173C0B8 at 0x834cf4 in memoryReadFloatPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Thu Apr 09 23:01:30 2009 : WARNING: Failure reading memory from 0x173C0B8 at 0x834cf4 in memoryReadFloatPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Thu Apr 09 23:01:30 2009 : WARNING: Failure reading memory from 0x173C0B8 at 0x834cf4 in memoryReadFloatPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)


stack traceback:
	...:\Users\Jessica\Desktop\Chris\micromacro\lib\lib.lua:476: in function 'startMacro'
	main.lua:175: in main chunk

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

Thu Apr 09 23:01:30 2009 : Cannot open file './/char/.xml' for reading.
Thu Apr 09 23:01:30 2009 : Execution of main.lua complete.
Thu Apr 09 23:01:30 2009 : Execution error: Runtime error
Thu Apr 09 23:01:30 2009 : Collecting garbage...
Thu Apr 09 23:01:30 2009 : GC closed process handle 0xDC.
Thu Apr 09 23:01:30 2009 : 162KB freed.



Seems to me it's not loading up the character.xml at all.