Search found 213 matches

by zer0
Wed Nov 19, 2008 6:40 am
Forum: Everything else
Topic: Shaiya[US] - Shaiya Bot ZS
Replies: 351
Views: 167090

Re: Shaiya - ZS Shaiya Bot - v0.03b

I like the update but.... Tue Nov 18 14:02:48 2008 : ...shakey\Desktop\micromacro\scripts\zs_shaiya/main.lua:22: cannot open C:/Users/shakey/Desktop/micromacro/scripts/zs_shaiya/scripts/zs_shaiya/lib/utils.lua: No such file or directory it's adding an extra folder into the path somehow. Saying ther...
by zer0
Tue Nov 18, 2008 4:43 pm
Forum: Misc tools
Topic: ZS Waypoint Editor
Replies: 3
Views: 10465

Re: ZS Waypoint Editor

Hmm, it's just the process name, so just entering "game" should work if the executable is "game.exe". Make sure that a map is created first. The user should be marked with a black "x" if it works. The whole process attaching/reading feature is still buggy, and it was sl...
by zer0
Tue Nov 18, 2008 4:39 pm
Forum: Game cheating & modding
Topic: C# - Reading Memory from a process
Replies: 6
Views: 5943

Re: C# - Reading Memory from a process

Apologies, when using external references, it's usually good manners, to let others know that with everyone's help I managed to solve the issue. :)
by zer0
Tue Nov 18, 2008 4:27 pm
Forum: Everything else
Topic: Shaiya[US] - Shaiya Bot ZS
Replies: 351
Views: 167090

Re: Shaiya - ZS Shaiya Bot - v0.03b

Sounds like the old script is more trouble than it's worth. :D I have uploaded a new version 0.31b which should not have the issues you have described. I've only briefly tested it for about 10mins or so, so I can't be certain everything works (obvious errors usually crash it after killing a couple o...
by zer0
Tue Nov 18, 2008 7:44 am
Forum: Everything else
Topic: Shaiya[US] - Shaiya Bot ZS
Replies: 351
Views: 167090

Re: Shaiya - ZS Shaiya Bot - v0.03b

@shakey It looks like it hasn't included "./lib/utils.lua" which is why you received the debug_message error, and the is_number error. In main.lua what are the lines 19 & 20? g_script_dir = "./scripts/zs_shaiya/" --g_script_dir = getExecutionPath() .. "/" Should be ...
by zer0
Sun Nov 16, 2008 10:47 pm
Forum: Everything else
Topic: Shaiya[US] - Shaiya Bot ZS
Replies: 351
Views: 167090

Re: Shaiya - ZS Shaiya Bot - v0.03b

I was using 0.98 during testing, the Deprecated line was active, though the new line has been added, for compatibility to 0.99 it's just a matter of commenting the old line, and un-commenting the new: In main.lua, line 19 & 20. --g_script_dir = "scripts/zs_shaiya/" g_script_dir = getEx...
by zer0
Wed Nov 12, 2008 8:33 pm
Forum: Everything else
Topic: Shaiya[US] - Shaiya Bot ZS
Replies: 351
Views: 167090

Re: Shaiya - ZS Shaiya Bot - v0.03b

Thanks for the heads up, I'll have to modify and fix it up.
by zer0
Wed Nov 12, 2008 9:05 am
Forum: Everything else
Topic: Shaiya[US] - Shaiya Bot ZS
Replies: 351
Views: 167090

Re: Shaiya - ZS Shaiya Bot - v0.03b

How's it going for everyone, any issues they have come across? Most of the skills in './data/skills.xml' need adding, and a bit of fixing. Here is my latest: skills.xml For my next release I am experimenting with Finite State Machines, so functions like flee, and other functions that are time impera...
by zer0
Tue Nov 11, 2008 6:48 am
Forum: MicroMacro general & support
Topic: mod XML lua
Replies: 5
Views: 1736

Re: mod XML lua

Yeah I understand, ZS Shaiya is up to about 3500 lines of code now, and there is quite a bit of cleaning up, error handling and optimisation to do (it's all a learning experience for me). Hey I found that I need to parse XML data and convert a value or an attribute from a string to a number or boole...
by zer0
Tue Nov 11, 2008 12:07 am
Forum: MicroMacro general & support
Topic: mod XML lua
Replies: 5
Views: 1736

Re: mod XML lua

It was only because I had modified the XML and broken it, that's why I added it.

It gave me a chance to look at the code a bit, so I'm more than happy to help. Over the holiday season, I might start taking a look at the Micromacro source, and familiarising myself with the code base.
by zer0
Mon Nov 10, 2008 6:07 am
Forum: MicroMacro general & support
Topic: mod XML lua
Replies: 5
Views: 1736

mod XML lua

Hey Elverion, I've been using the mod XML Parser as u know, I ran into a parser error, which had me stumped for a bit, so I decided to add error handling for the parse() call in the open function, here it is: function open(filename) callbacks = { StartElement = startElement, EndElement = endElement,...
by zer0
Mon Nov 10, 2008 2:25 am
Forum: Misc tools
Topic: ZS Waypoint Editor
Replies: 3
Views: 10465

ZS Waypoint Editor

edit: Apologies, I keep on deleting the thread by accident. Description A Simple Tool to edit Two-Dimensional Waypoints on an Image. Can edit the waypoint.xml file that belongs to the ZS Shaiya Script v0.03b and up. http://solarimpact.servegame.com/phpBB3/viewtopic.php?f=3&t=145 Here are the Sh...
by zer0
Sun Nov 09, 2008 5:59 pm
Forum: Everything else
Topic: Shaiya[US] - Shaiya Bot ZS
Replies: 351
Views: 167090

Re: Shaiya - ZS Shaiya Bot - v0.03b

thanks elverion. :D
by zer0
Sun Nov 09, 2008 9:24 am
Forum: MicroMacro general & support
Topic: Arguments passed into function display, but error out as nil
Replies: 5
Views: 2405

Re: Arguments passed into function display, but error out as nil

I'm glad that the code is going to good use, I tried to make them fairly general so they can be applied to other games that have keyboard based movement. Check out the ZS Shaiya version 0-03b, the move_to, rotate_to functions were improved somewhat (now in avatar_actions.lua), so it corrects itself ...
by zer0
Sun Nov 09, 2008 9:09 am
Forum: Everything else
Topic: Shaiya[US] - Shaiya Bot ZS
Replies: 351
Views: 167090

Re: Shaiya - ZS Shaiya Bot - v0.03b

I've just released a new version 0-03b that uses XML for most of the data. The benefits are that character scripts are much easier to understand. :D See Top . edit: Here is the link for the ZS Waypoint Editor for those who want to edit the waypoint.xml file. http://solarimpact.servegame.com/phpBB3/v...
by zer0
Fri Nov 07, 2008 12:58 am
Forum: MicroMacro general & support
Topic: registerTimer() - How to call a class function
Replies: 10
Views: 3466

Re: registerTimer() - How to call a class function

Ahh I get what ur saying now. I had some code which produced the same effect so I had to have the timer call a function, that in turn calls the class function. I think this is because using self:some_function(), is actually just syntactic sugar for my_class.some_function(self), and the registerTimer...
by zer0
Thu Nov 06, 2008 6:17 am
Forum: MicroMacro general & support
Topic: registerTimer() - How to call a class function
Replies: 10
Views: 3466

Re: registerTimer() - How to call a class function

Yeah I often accidentally use "." instead of ":". :) And the error that it generates doesn't isolate the issue down easily. ;)
by zer0
Wed Nov 05, 2008 8:13 am
Forum: Everything else
Topic: Shaiya[US] - Shaiya Bot ZS
Replies: 351
Views: 167090

Re: Shaiya - ZS Shaiya Bot - v0.02b

the Avatar_class functions need to be polymorphed, with user created functions. I only briefly looked at it but I think loadString() should work, thanks. edit: ahh yeah xml special characters, hmm maybe the lua is better left in the separate file, when I get the new version out perhaps u can take a ...
by zer0
Tue Nov 04, 2008 10:05 pm
Forum: Everything else
Topic: Shaiya[US] - Shaiya Bot ZS
Replies: 351
Views: 167090

Re: Shaiya - ZS Shaiya Bot - v0.02b

I've migrated a few data based things over to XML, Waypoints, Skill, most Character Data (except the Avatar_class overidden functions), and some global values. One question I do have is there a way I can place Lua in XML, and have it read a load the XML, so I can have all Character data in the one f...