Page 17 of 18

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Wed Jun 24, 2009 1:45 pm
by Yorkshire
Had to give up on this bot gutted cause i love this bot it just wont target at all if anyone can help me sort this out would be greatfull.hope theres a update soon zs.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Fri Jun 26, 2009 12:03 am
by vvayinsane
I gave up on this bot. I did iget it working somewhat but it wasnt very good. I have started using the fighter bot. Not as good as this bot but it works a WHOLE lot better

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Sat Jul 04, 2009 5:33 pm
by Rishijin
It works fine for me, except that sometimes it buffs without regard to the fact that it just buffed. It's a nice bot for being macro based.

Now, the fighter bot which seems to be what other people are using instead of this...I can't get that one to work lol.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Sun Jul 05, 2009 6:21 pm
by Rishijin
Okay I ran into a problem using the waypoints.
I got the editor, and seemingly set it up right, and created a new waypoint chart using the editor. I named the map what it is called in game, I set the dimensions to 2047, and saved it in data folder.
When I run the bot, it has the following error when it tries to go to a waypoint.

Code: Select all

move_next_waypoint()
.//lib/utils.lua:49: attempt to perform arithmetic on field 'y' (a nil value)
I don't see what I would fix in utils.lua line 49, so I am stuck here.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 2:55 pm
by shakey
I seem to be missing my config.ini

Can anyone post theirs up? I did a fresh install but it's missing.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 4:08 pm
by Administrator
Rishijin wrote:Okay I ran into a problem using the waypoints.
I got the editor, and seemingly set it up right, and created a new waypoint chart using the editor. I named the map what it is called in game, I set the dimensions to 2047, and saved it in data folder.
When I run the bot, it has the following error when it tries to go to a waypoint.

Code: Select all

move_next_waypoint()
.//lib/utils.lua:49: attempt to perform arithmetic on field 'y' (a nil value)
I don't see what I would fix in utils.lua line 49, so I am stuck here.
Add

Code: Select all

printf("points - A: %s, B: %s\n", point_a, point_b)
above line 47 ( "local l_d = {" ), save it, run it again. Post the results.

This script package is largely broken and hasn't been updated in a long time. Unless you're trying to fix it, I would suggest just using something else.

I seem to be missing my config.ini

Can anyone post theirs up? I did a fresh install but it's missing.
It's in the data folder.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 6:42 pm
by shakey
That's where it SHOULD be.. but is not.

and now

Code: Select all

Mon Jul 06 15:47:41 2009 : MicroMacro v1.0
Mon Jul 06 15:47:41 2009 : Processor Type: 2X 586, OS: Windows Vista Service Pack 2
Mon Jul 06 15:47:41 2009 : LuaCoco is available.
Mon Jul 06 15:47:41 2009 : Lua glues exported.
Mon Jul 06 15:47:41 2009 : Keyboard layout: US English
Mon Jul 06 15:47:41 2009 : Executing script 'main.lua'
==================================================

Mon Jul 06 15:47:41 2009 : cannot open main.lua: No such file or directory
Mon Jul 06 15:47:41 2009 : Execution error: Error reading file

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 6:51 pm
by Administrator
Download the package again and re-extract it. You might also have faulty zip software. I've tested both packages, and they both contain config.xml in the data folder.

EDIT:
After extracting, you should have a zs_shaiya folder. Place this folder into micromacro/scripts/. Yes, you must put the whole folder; copying just the contents will not work, because the scripts use relative paths.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 7:02 pm
by shakey
C:\Users\Jessica\Desktop\Chris\micromacro\scripts\zs_shaiya

It's in there. I re-re-re-extracted it and it's there now. But now I'm getting that main.lua error. grr

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 7:09 pm
by Rishijin
Add

Code: Select all

printf("points - A: %s, B: %s\n", point_a, point_b)
above line 47 ( "local l_d = {" ), save it, run it again. Post the results.
This is what I got.

Code: Select all

move_next_waypoint()
points - A: table: 00AE1F48, B: table: 00AB19F8
.//lib/utils.lua:50: attempt to perform arithmetic on field 'y' (a nil value)
Are these the mem addresses for the x and y?

This script package is largely broken and hasn't been updated in a long time. Unless you're trying to fix it, I would suggest just using something else.
I am indeed trying to fix it. It deserves to be fixed. I am also going to update it so that it doesn't use any keystrokes. I am new to this, but I am very determined to get it done. As is the help you've provided already, any further help would be greatly appreciated.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 7:13 pm
by shakey

Code: Select all

Mon Jul 06 16:12:00 2009 : macro_init()
Mon Jul 06 16:12:00 2009 : Shaiya Window process ID: 853864
Mon Jul 06 16:12:00 2009 : findProcessByWindow() returned 0. Process not found or other error occured.
Mon Jul 06 16:12:00 2009 : Error attempting to open process 0x0. Error code: 87 (The parameter is incorrect.).
Mon Jul 06 16:12:00 2009 : findProcessByWindow() exited with error code 87 (The parameter is incorrect.).
Mon Jul 06 16:12:00 2009 : Error attempting to open process 0x0. Error code: 87 (The parameter is incorrect.).
Mon Jul 06 16:12:00 2009 : win_width: 1680, win_height: 1000


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

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

Mon Jul 06 16:12:00 2009 : scripts/zs_shaiya/classes/hook.lua:126: bad argument #1 to 'memoryReadString' ((null))
Mon Jul 06 16:12:00 2009 : Execution error: Runtime error

I fixed my main path error. But now this damned thing.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 7:16 pm
by Rishijin
I think you might be trying to use too high of a resolution for one thing.
I've gotten this to work using 1024x768 and 800x600.
As for the other stuff, I'm not sure.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 7:17 pm
by shakey
Yeah, I just cut it down to 1280x1024 and am still getting the same thing.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 7:21 pm
by shakey
Nope, tried, 800x600 and 1024x768 also.


At one point I had this supporting ALL resolutions. But alas. EP kicked my nuts.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 7:29 pm
by Rishijin
Did you disable Game Guard?

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 7:34 pm
by shakey
Yup.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 7:40 pm
by Administrator
That error does indicate that it was unable to find the window. This could be because of GameGuard, your anti-virus software, or because the window name changed.

Edit: My mistake; read it wrong. It found the window, but was unable to find the process that owned that window.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 7:43 pm
by Rishijin
If on vista, you might want to check to see if you are running it with privileges.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 7:47 pm
by shakey
Mind posting a link to a known NO-gg? I made my own so it's possible it's still active. And I'll run it with admin again, just to check.

Re: Shaiya[US] - Shaiya Bot ZS

Posted: Mon Jul 06, 2009 7:49 pm
by Administrator