Shaiya[US] - Shaiya Bot ZS

For any other game that doesn't have its own section.
Message
Author
zer0
Posts: 213
Joined: Sat Feb 16, 2008 11:55 pm

Re: Shaiya[US] - ZS Shaiya Bot

#141 Post by zer0 » Wed Jan 28, 2009 7:38 pm

Remove these:

Code: Select all

<shortcut type="skill" mode="buff" bar="1" slot="" name="" level="" />
<shortcut type="skill" mode="buff" bar="1" slot="" name="" level="" />
If you don't want a skill loaded you should comment it out like this:

Code: Select all

<!--<shortcut type="skill" mode="buff" bar="1" slot="7" name="Agility" level="3" />-->
New release 0-0351b (just removed the avatar name debug messages).

tjatlarge
Posts: 5
Joined: Tue Jan 27, 2009 12:30 am

Re: Shaiya[US] - ZS Shaiya Bot

#142 Post by tjatlarge » Wed Jan 28, 2009 9:12 pm

Thanks Zero, i dont know what i'd do without you......ok yes i do, i'd be failing my classes because i stayed up all night grinding. I'll let you know if it all works out.

Edit: didn't want to double post so here are my results

as you can see i have a ranger but when i use that .lua with the ranger skills i get this:

Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
skill: Agility pressed
skill: used
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
target_color: 0
Avatar: cycle_target()
target_color_min: 3
target_color_max: 4
target_color: 0

So there was no attacking but spamming buffs, and it would only target the monsters never pressing the attack button(the monsters were green). I used the avatar.lua that came with the bot and i figured that that one didn't attack either but it did spam a wider array of buttons so i just moved my attack button there and ::poof:: i was grinding.

SO: what did i do wrong in my avatar.lua to where it wont attack with skills at all? And what can be done to stop changing monsters soo much? (or so fast at least)
Thanks in advance.
Last edited by tjatlarge on Thu Jan 29, 2009 12:21 am, edited 2 times in total.

zcarlz
Posts: 16
Joined: Fri Dec 19, 2008 5:34 am

Re: Shaiya[US] - ZS Shaiya Bot

#143 Post by zcarlz » Thu Jan 29, 2009 12:16 am

Well I got this error when trying new release

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: 983088
win_width: 1024, win_height: 768

WARNING: Failure reading memory from 0xA364A8 at 0x834cf4 in memoryReadIntPtr().
Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
WARNING: Failure reading memory from 0xA364A8 at 0x834cf4 in memoryReadIntPtr().
Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
WARNING: Failure reading memory from 0xA364A8 at 0x834cf4 in memoryReadIntPtr().
Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
WARNING: Failure reading memory from 0xA364A8 at 0x834cf4 in memoryReadIntPtr().
Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
WARNING: Failure reading memory from 0xA364A8 at 0x834cf4 in memoryReadIntPtr().
Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
WARNING: Failure reading memory from 0xA364A8 at 0x834cf4 in memoryReadIntPtr().
Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
WARNING: Failure reading memory from 0xA364A8 at 0x834cf4 in memoryReadIntPtr().
Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
WARNING: Failure reading memory from 0xA364A8 at 0x834cf4 in memoryReadIntPtr().
Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
WARNING: Failure reading memory from 0xA364A8 at 0x834cf4 in memoryReadFloatPtr(
). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory reques
t was completed.)
WARNING: Failure reading memory from 0xA364A8 at 0x834cf4 in memoryReadFloatPtr(
). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory reques
t was completed.)
WARNING: Failure reading memory from 0xA364A8 at 0x834cf4 in memoryReadFloatPtr(
). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory reques
t was completed.)
WARNING: Failure reading memory from 0xA364A8 at 0x834cf4 in memoryReadFloatPtr(
). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory reques
t was completed.)
WARNING: Failure reading memory from 0xA364A8 at 0x834cf4 in memoryReadFloatPtr(
). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory reques
t 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>

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

Re: Shaiya[US] - ZS Shaiya Bot

#144 Post by vvayinsane » Thu Jan 29, 2009 12:46 am

Got bot working perfecly..only problem i have is when the bot my whole screen becomes unfrozzen once standing.

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

Re: Shaiya[US] - ZS Shaiya Bot

#145 Post by zer0 » Thu Jan 29, 2009 6:15 am

tjatlarge have a look through this:
zer0 wrote:
einherjar wrote:I've a problem with bot again. My charcter hit 1-3 times on one mobs then turn to other mobs and do it again. He didn't kill any mobs. How to fix?

P.S Thx for answering my previous question.
Close Shaiya down, if your using Vista run it as Administrator. When your in do not move the Status info bar (Mobs HP Bar), or have any bars covering it, then re-try.

Also if you using Vista disable Window Previewing, start, right-click Properties, un-tick "Show Windows Previews (thumbnails)".
zcarlz wrote:Well I got this error when trying new release
See above.

Also make sure you are using release 40 here:
http://forum.cheatengine.org/viewtopic. ... 30#3551875
vvayinsane wrote:Got bot working perfecly..only problem i have is when the bot my whole screen becomes unfrozzen once standing.
Not sure I fully understand what you mean, can you explain it more?

zcarlz
Posts: 16
Joined: Fri Dec 19, 2008 5:34 am

Re: Shaiya[US] - ZS Shaiya Bot

#146 Post by zcarlz » Thu Jan 29, 2009 7:57 am

It works like charm now ^^
Thanks for your help zer0

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

Re: Shaiya[US] - ZS Shaiya Bot

#147 Post by vvayinsane » Thu Jan 29, 2009 7:41 pm

Sorry when i posted above it was late and i was tired. What problem im haven is that when the bot sits to heal my game frizzys. The game will unfriz once the character fully heals. If the game doesnt unfrizze that will be becuase im being attacked so i just disable the bot and the game unfrizz

zcarlz
Posts: 16
Joined: Fri Dec 19, 2008 5:34 am

Re: Shaiya[US] - ZS Shaiya Bot

#148 Post by zcarlz » Thu Jan 29, 2009 8:00 pm

vvayinsane wrote:Sorry when i posted above it was late and i was tired. What problem im haven is that when the bot sits to heal my game frizzys. The game will unfriz once the character fully heals. If the game doesnt unfrizze that will be becuase im being attacked so i just disable the bot and the game unfrizz
Yep... It happens to me too

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

Re: Shaiya[US] - ZS Shaiya Bot

#149 Post by zer0 » Thu Jan 29, 2009 9:26 pm

Ahh ok.

open "classes/Avatar.lua", line 788:

Code: Select all

      --yrest(SIT_CYCLE_DELAY)
      coroutine.yield()
Change it back by making it:

Code: Select all

      yrest(SIT_CYCLE_DELAY)
      --coroutine.yield()
Does that fix your issue?

zcarlz
Posts: 16
Joined: Fri Dec 19, 2008 5:34 am

Re: Shaiya[US] - ZS Shaiya Bot

#150 Post by zcarlz » Fri Jan 30, 2009 3:00 am

zer0 wrote:Ahh ok.

open "classes/Avatar.lua", line 788:

Code: Select all

      --yrest(SIT_CYCLE_DELAY)
      coroutine.yield()
Change it back by making it:

Code: Select all

      yrest(SIT_CYCLE_DELAY)
      --coroutine.yield()
Does that fix your issue?
Yep.... that fix it... Thanks a lot

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

Re: Shaiya[US] - ZS Shaiya Bot

#151 Post by shakey » Fri Jan 30, 2009 4:55 pm

Anyone tried making a Pagan bot yet? I'm gonna try and make one for the wifey and could use some advice.

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

Re: Shaiya[US] - ZS Shaiya Bot

#152 Post by zer0 » Sat Jan 31, 2009 11:03 pm

I've tried briefly, it works but not very well because the bot has been designed to battle one mob at a time.

However, I have been able to get a Guardian bot running via a Virtual Machine that done a ok job at luring mobs.

You have to do a few extra things though.

In My_Avatar.xml in the options:

Set fight target enabled to false so the avatar won't bother trying to kill the mob once he has targeted it.
Set quick_fight_enabled to false so the avatar does not react to taking damage.
You probably want to set picking up items to false.
And lower the look around arc to 90 degrees so it will target new mobs faster.

Code: Select all

<option name="fight_target_enabled" value="false" />
<option name="quick_fight_enabled" value="false" />
<option name="pickup_enabled" value="false" />
<option name="look_around_arc" value="90" />
You may want to reduce the hp/sp/mp sit multipliers too so it will not sit down so often.

Lastly you have to override the Avatar_class function battle_round_start.

You do this by in the char folder, create a new file called "My_Avatar.lua" (Name of your avatar).
We will make it so he will just cast the first skill in the xml file, and attack if that doesn't work and the mobs hp is full.

Code: Select all

function Avatar_class:battle_round_start()
    if (g_avatar:check_use_skill(g_avatar.skill[1])) then
        return
    end
    if (Gui:get_target_status() == target_status.full) then
        Avatar_actions:attack()
    end
end
This is a bit to take in, but hopefully it explains how to do a bit more with different classes other than warrrior/fighters.

Then on my normal PC, I chose a Pagan and could AoE after the Guard pulled in a bunch of mobs (I controlled the Pagan).


Also here is a custom lua functions file for an Assassin/Ranger.

Code: Select all

g_skill_prev_index = 0

function Avatar_class:battle_round_start()
  --g_skill_prev_index = 0
  Avatar_actions:attack()
end

function Avatar_class:battle_round()
  local l_next_index = (g_skill_prev_index + 1)
  local l_ready = g_avatar.skill[l_next_index]:available(g_avatar.mp, g_avatar.sp)
  if (l_ready) then
    local l_used = g_avatar.skill[l_next_index]:use()
    if (l_used == SKILL_USED) then
      if (l_next_index ~= table_len(g_avatar.skill)) then
        g_skill_prev_index = l_next_index
      end
    elseif (l_used == SKILL_PREV_REQ) then
      g_skill_prev_index = 0
    end
    return
  end
  Avatar_actions:attack()
  g_skill_prev_index = 0
end
To explain it in summary, It makes sure that the previous skill was performed before moving on to the other ones. For example:
Fatal Hit -> Tetanus -> Aggravation

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

Re: Shaiya[US] - ZS Shaiya Bot

#153 Post by shakey » Sun Feb 01, 2009 12:13 am

If I run launch.bat I get this.

Code: Select all

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

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

Sat Jan 31 20:07:48 2009 : .//functions.lua:159: C:\AeriaGames\Shaiya\ CONFIG.INI: No such file or directory
Sat Jan 31 20:07:48 2009 : Execution of main.lua complete.
Sat Jan 31 20:07:48 2009 : Execution error: Runtime error
Sat Jan 31 20:07:48 2009 : Collecting garbage...
Sat Jan 31 20:07:48 2009 : 84KB freed.
But if I run the launch_vm.bat I don't. But it feels like the vm doesn't run as well. I'm constantly having to tweak things.

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

Re: Shaiya[US] - ZS Shaiya Bot

#154 Post by zer0 » Sun Feb 01, 2009 1:04 am

You need to set the Shaiya install path in config.xml.
For example:

Code: Select all

<config name="install_path">C:\Program Files\Shaiya\</config>
launch_vm.bat was intended to run in a virtual machine (slow), and loads the file config_vm.xml up.
You must have changed the path in config_vm.xml and not config.xml by accident.

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

Re: Shaiya[US] - ZS Shaiya Bot

#155 Post by shakey » Sun Feb 01, 2009 4:58 pm

There was an extra space after Shaiya\

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

Re: Shaiya[US] - ZS Shaiya Bot

#156 Post by vvayinsane » Sun Feb 01, 2009 11:40 pm

How does the way point work.

1. how to activate it
2. How to add my own way points
3. How to find my way points to add

Thanks

intel123
Posts: 14
Joined: Mon Dec 01, 2008 9:11 am

Re: Shaiya[US] - ZS Shaiya Bot

#157 Post by intel123 » Mon Feb 02, 2009 4:58 pm

If anyone can Help me i will apreciate it
i been try to running Shaiya in VMWare Workstation and Virstual Machine. The GG and Updater bypasses ok, but then I get in it told me that i needs directX9.0c or latest graphic driver error

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

Re: Shaiya[US] - ZS Shaiya Bot

#158 Post by zer0 » Mon Feb 02, 2009 7:18 pm

vvayinsane wrote:How does the way point work.

1. how to activate it
2. How to add my own way points
3. How to find my way points to add

Thanks
The waypoint Editor has not been released yet. My script does things a little differently. The bot moves according to a waypoint file which is edited and created via the ZS Waypoint Editor.
intel123 wrote:If anyone can Help me i will apreciate it
i been try to running Shaiya in VMWare Workstation and Virstual Machine. The GG and Updater bypasses ok, but then I get in it told me that i needs directX9.0c or latest graphic driver error
I'm using VMWare Workstation 6.5.1 which is still in beta I think, and you need to Install the "VMWare tools" to the guest virtual machine.
You also need to have directX 9.0c or higher installed.

atallisa
Posts: 6
Joined: Mon Feb 02, 2009 8:21 pm

Re: Shaiya[US] - ZS Shaiya Bot

#159 Post by atallisa » Mon Feb 02, 2009 8:58 pm

ok here is my issue

i start the bot, and the camera revolves and it spams this in the micromacro window

Code: Select all

hp: 0
WARNING: Failure reading memory from 0xA837F8 at 0x834cf4 in memoryReadIntPtr().
 Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
WARNING: Failure reading memory from 0xA837F8 at 0x834cf4 in memoryReadIntPtr().
 Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
WARNING: Failure reading memory from 0xA837F8 at 0x834cf4 in memoryReadIntPtr().
 Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
WARNING: Failure reading memory from 0xA837F8 at 0x834cf4 in memoryReadIntPtr().
 Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
WARNING: Failure reading memory from 0xA837F8 at 0x834cf4 in memoryReadIntPtr().
 Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
WARNING: Failure reading memory from 0xA837F8 at 0x834cf4 in memoryReadIntPtr().
 Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
WARNING: Failure reading memory from 0xA837F8 at 0x834cf4 in memoryReadIntPtr().
 Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
WARNING: Failure reading memory from 0xA837F8 at 0x834cf4 in memoryReadIntPtr().
 Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)

it spams it alot. like alot alot
and thats all it seems to do :|

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

Re: Shaiya[US] - ZS Shaiya Bot

#160 Post by zer0 » Mon Feb 02, 2009 11:54 pm

atallisa wrote:ok here is my issue

i start the bot, and the camera revolves and it spams this in the micromacro window

it spams it alot. like alot alot
and thats all it seems to do :|
http://solarimpact.servegame.com/phpBB3 ... 2449#p2449

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests