Page 3 of 4

Re: Shaiya - ZS Shaiya Bot

Posted: Mon May 05, 2008 11:30 am
by Administrator
I can certainly see how this could make things easier to edit/add onto. It'll be interesting to see how you get it all to work, at the least. I'd say go for it, if you can get it to work easily. If it's too much work, I wouldn't worry about it too much.

Re: Shaiya - ZS Shaiya Bot

Posted: Tue May 06, 2008 2:33 am
by zer0
done, char files are now in xml format, and need to be converted to lua with Mozilla firefox (2.0.0.14).
IE7 for me wouldn't add any carriage returns.

unfortunately I couldn't make the battle round function implementation as tags. It's either a constraint of XSLT, or due to a lack of knowledge on my behalf. If someone could work this out for me, that'd be excellent! :D

Once, you are familiar with lua, you can just edit the char file directly, instead of having to translate the xml file every time.

edit: 0-01261b was released due to bad break action timings.

Re: Shaiya - ZS Shaiya Bot

Posted: Mon May 12, 2008 6:55 pm
by zer0
Hey,
how is everyone finding this release? Were they able to setup their char scripts ok??

Re: Shaiya - ZS Shaiya Bot

Posted: Tue May 20, 2008 5:50 am
by deaznracer
Thanks zerosignal. This is Good stuff. My first time programing with micromacro. It took me a whole day to program your bot, what you created work, for my characters. I also Modify some stuff to attack faster and lessen the scan target. I'm still trying to figure out how you get the offset and memory for the user's hp. How do you target the info status bar position? Because If i can learn that I can modify for the character to rest when there is no more blessing.

anyways, good stuff!

Re: Shaiya - ZS Shaiya Bot

Posted: Tue May 20, 2008 6:40 pm
by psydude
When my character sits down, he doesn't get up again..
That is the only problem, for the rest, awsome bot!

Re: Shaiya - ZS Shaiya Bot

Posted: Wed May 21, 2008 12:39 am
by bewok
this ZS bot suite for which version of micromacro?...im using v0.97 it say cant run the script...and wherecan i download v 0.96 at the main page of download seem no more of v0.96..thx

Re: Shaiya - ZS Shaiya Bot

Posted: Wed May 21, 2008 5:38 am
by zer0
It works fine with latest 0.97a, just tested then.

And for the others, it's just a matter of setting the right avatar config values. I'll write up some documentation explaining them when I get some free time.

Re: Shaiya - ZS Shaiya Bot

Posted: Thu May 29, 2008 2:00 am
by deaznracer
the new update crashed the zs bot. says "target.lua:123: bad argument #1 to 'memoryReadFloat' ((null))

anyone have any clue?

Re: Shaiya - ZS Shaiya Bot

Posted: Thu May 29, 2008 9:25 am
by zer0
this is not yet compatible with shaiya phase 3

Re: Shaiya - ZS Shaiya Bot

Posted: Tue Jun 03, 2008 5:12 pm
by RawR
Wed Jun 04 08:08:01 2008 : MicroMacro v0.97
Wed Jun 04 08:08:01 2008 : Processor Type: 2X 586, OS: Windows XP Service Pack 2
Wed Jun 04 08:08:01 2008 : Lua initialized successfully.
Wed Jun 04 08:08:01 2008 : Lua libs opened successfully.
Wed Jun 04 08:08:01 2008 : Lua glues exported.
Wed Jun 04 08:08:01 2008 : Keyboard layout: US English
Wed Jun 04 08:08:01 2008 : Configurations run.
Wed Jun 04 08:08:08 2008 : Executing script "zs_shaiya/main.lua".
==================================================

Wed Jun 04 08:08:08 2008 : macro_init()
Wed Jun 04 08:08:08 2008 : win_width: 1280, win_height: 1024

Wed Jun 04 08:08:08 2008 : WARNING: Failure reading memory from 0xA69720 at 0x2110ac8 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Wed Jun 04 08:08:08 2008 : Execution of zs_shaiya/main.lua complete.
Wed Jun 04 08:08:08 2008 : Execution success.
Wed Jun 04 08:08:08 2008 : Collecting garbage...
Wed Jun 04 08:08:08 2008 : 13KB freed.



Wed Jun 04 08:08:15 2008 : GC closed device context handle 0xA5C170.
Wed Jun 04 08:08:15 2008 : GC closed process handle 0x40.
Wed Jun 04 08:08:15 2008 : Lua state closed.



Anyone care to explain what da **** lol its doing my head in :(
followed everything down to the letter... :(

Re: Shaiya - ZS Shaiya Bot

Posted: Tue Jun 03, 2008 8:29 pm
by sez
doesnt work with E3

Re: Shaiya - ZS Shaiya Bot

Posted: Wed Jun 04, 2008 12:11 am
by RawR
so when will it, this bot is da bomb! :D

Re: Shaiya - ZS Shaiya Bot

Posted: Fri Jun 06, 2008 9:54 pm
by deaznracer
I can help you by giving my copy of a bot that i personally made specifically for Fighters of Light, but I copied some code functions from zs and elverion' program. So, untill they approve I can't.

I leave my char over night and it is still a live as long as i have enough HP pots.

Re: Shaiya - ZS Shaiya Bot

Posted: Fri Jun 06, 2008 10:01 pm
by Administrator
You've got my permission to use any of the code from the Shaiya bot without restriction. It is public domain. ZeroSignal's script is GPL, so you legally have the right to use segments of his code as allowed in the agreement. Based on exactly what you took from the ZS script, and how much, you may or may not need to release your script as GPL as well. Since it is GPL, I'm sure he won't have a problem with it, but it's nice of you to ask.

I just ask that if you want to release it here, please create a new topic. It's just to prevent confusion among other viewers and potential users, as well as to give your work more exposure.

Re: Shaiya - ZS Shaiya Bot

Posted: Tue Jun 10, 2008 10:08 pm
by RawR
deazn id love that, would make my life a little easier... but would i be able to use it via ASSASSIN i heard they are the ultimate soloing class to fast level...

or is there a better one

just trying to rush NM to HM, so i can use that account as a healbot HM for my UM

Re: Shaiya - ZS Shaiya Bot

Posted: Wed Jun 11, 2008 2:08 am
by deaznracer
It might work for ASSINS, but i can't gaurantee it because i don't play one :P

Hey zerosignal, I was looking at your script about the set_movement(). When you write into the address would the server recognize that the value has been changed? and be ban for it? or it is not recognizable?

by the way, Very nice written program, I hope you continue to support it.

Re: Shaiya - ZS Shaiya Bot

Posted: Wed Jun 11, 2008 9:32 am
by caccolone
anyone know if ZS bot now work with EP3 ? or he is working on it? I really need anti KS feature dammm or is useless for me -_-
another question guys, if you all dont mind, how you use the micromacro? I mean, if you go in one spot and run micromacro your guy will ks everyone,stuck on obstacle or bugged mobs ( this maybe now is solved) but you normally leave bot alone in the night or you always stay in front of PC for control what happen?


thanks

Re: Shaiya - ZS Shaiya Bot

Posted: Wed Jun 11, 2008 9:48 am
by deaznracer
i leave mine on at night.

Did you try to figure out how he created the anti ks by using getpixel?
Just copy that function and reconfigure it to work with the original shaiya bot.

The reason why it doesn't work because the avatar ptr changed. Offset are the same. and some other addresses were changed.

Re: Shaiya - ZS Shaiya Bot

Posted: Wed Jun 11, 2008 1:48 pm
by caccolone
yea Deaz I was waiting your bot , if you post it is good.
So i just need copy and paste the no ks function on my LUA ?

thanks again

Re: Shaiya - ZS Shaiya Bot

Posted: Wed Jun 11, 2008 2:31 pm
by deaznracer
Well. you would copy the code and reconfigure. The file name target.lua C:....zs_shaiya/classes/target.lua is zero's formula for telling if the target is damaged, dead, or full hp and what color is the mob. blue, green, yellow, etc....

there are other things that go along with it that needs to be configured.

The way i did it was take these functions pasted before the function main();.

Code: Select all

function init_window()
  win = findWindow("Shaiya");
  if(win == nil) then
    printf(error_init);
    macro_running = false;
  end
end
function init_process()
  proc = openProcess( findProcessByExe("game.exe") );
  if(proc == 0) then
    printf("error opening process.\n");
    macro_running = false;
  end
end
function init_hdc()
  hdc = openDC(get_win());
  local wx, wy, ww, wh = windowRect(get_win());

end
function get_hdc()
  return hdc;
end
function get_win()
  return win;
end
function debug_message(msg)
  if (g_debug) then
    print(msg);
    logMessage(msg);
  end
end
window_mode = false;

g_debug = true;

Then I would call these function after proc = openProcess(findProcessByExe("game.exe"));
inside the main();
and reprogram the Main() to use the target.lua

I hope this give an idea how i did lol. I am not a good teacher.