Search found 4474 matches

by Administrator
Mon Nov 03, 2008 3:34 am
Forum: Runes of Magic
Topic: [Help] Runes Of Magic
Replies: 29
Views: 15248

Re: [Help] Runes Of Magic

I'm sorry to hear that. With so little information, it'd be hard for me to help you anyways. Once the game is in open beta, I'll get around to messing with it.
by Administrator
Sun Nov 02, 2008 8:59 pm
Forum: Off topic
Topic: Protection Error 103
Replies: 3
Views: 2276

Re: Protection Error 103

Looks like a semaphore problem. How are you opening and attaching? You should open the game first, then open CE. Now click the computer icon in the top-left and select the game's executable in the list and click OK. I know, this would seem obvious, but a semaphore problem could arise if you are tryi...
by Administrator
Sun Nov 02, 2008 8:28 pm
Forum: Everything else
Topic: Shaiya[US] - Shaiya Bot ZS
Replies: 351
Views: 127269

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

Part of the problem is the changes to include(). The newest version will automatically try to include from the current working path, so there's no need for 'g_script_dir'. include("lib/utils.lua") should work just fine. As a quick work around, this also works: g_script_dir = getExecutionPa...
by Administrator
Sun Nov 02, 2008 7:53 pm
Forum: Runes of Magic
Topic: [Help] Runes Of Magic
Replies: 29
Views: 15248

Re: [Help] Runes Of Magic

What operating system are you using? It could just be another protection error caused by Vista's UAC. Make sure you run CE with adequate privileges (set it to run as administrator) and try again.

Since I have not gotten into RoM's beta, I cannot be of any more assistance.
by Administrator
Sun Nov 02, 2008 4:04 pm
Forum: Runes of Magic
Topic: [Help] Runes Of Magic
Replies: 29
Views: 15248

Re: [Help] Runes Of Magic

I typically use the pointer to the selected target. In most games, the pointer will be 0 (NULL) if none selected, else it will contain a pointer to the target's struct/class. You can start by having a monster selected, and do an unknown initial value, 4 bytes search. Once this step completes, desele...
by Administrator
Sun Nov 02, 2008 3:43 pm
Forum: MicroMacro general & support
Topic: Shaiya - WayPoint System
Replies: 28
Views: 8934

Re: Shaiya - WayPoint System

local l_xml_map = l_xml:getElements("map") getElements() accepts no parameters and returns all elements inside this node. You can take the "map" part out, I believe. Since 'map' is your root node, you don't need to reference it at all; it will be understood that it is being used...
by Administrator
Sat Nov 01, 2008 12:57 am
Forum: MicroMacro scripts
Topic: [Request] Atlantica
Replies: 4
Views: 2363

Re: [Request] Atlantica

Hmm, interesting. How are these vouchers obtained? How are they activated, and how long do they last?
by Administrator
Sat Nov 01, 2008 12:35 am
Forum: MicroMacro general & support
Topic: Shaiya - WayPoint System
Replies: 28
Views: 8934

Re: Shaiya - WayPoint System

It's only syntactic sugar, but it makes your code a little easier to read, and is less typing. I suppose. The dot(.) operator actually was used in the module. I try to avoid it when working with a strict table, and save it for 'classes' (which are just tables, anyways, I guess), but in reality, the...
by Administrator
Wed Oct 29, 2008 11:02 am
Forum: MicroMacro scripts
Topic: [Request] Atlantica
Replies: 4
Views: 2363

Re: [Request] Atlantica

I very briefly tried Atlantica. It might be a tough one just due to how the battle system works. I'd say that, based on my short experience with this game, a state-based bot would be the best approach. The most important thing to get right is the timing and checking if it's your turn. Lets just thro...
by Administrator
Tue Oct 28, 2008 7:34 pm
Forum: Everything else
Topic: Shaiya bot
Replies: 432
Views: 145238

Re: Shaiya bot

Woops. Change

Code: Select all

    if( sittingTempDisabled ) then
To

Code: Select all

    if( not sittingTempDisabled ) then
On line 343. That should do it. I'll also re-attach the fixed script in case anybody else tries to download it.
by Administrator
Tue Oct 28, 2008 6:53 pm
Forum: Everything else
Topic: Shaiya bot
Replies: 432
Views: 145238

Re: Shaiya bot

Probably because it can't find a target. Does it only happen when the monster is behind your character (or something else that would prevent you from targeting that monster)? I'll look into writing up a simple fix.

I've attached an experimental script that should fix the problem.
by Administrator
Tue Oct 28, 2008 12:59 pm
Forum: MicroMacro general & support
Topic: ControlClick
Replies: 10
Views: 2711

Re: ControlClick

There's already a setWindowName() function.
by Administrator
Tue Oct 28, 2008 10:48 am
Forum: MicroMacro general & support
Topic: Shaiya - WayPoint System
Replies: 28
Views: 8934

Re: Shaiya - WayPoint System

I've wrote up a simple module for handling XML easily. Here's an example: test.xml <root name="Root" type="Example"> <elem1> <subelement value="1" /> <subelement value="2" /> <subelement value="3" /> </elem1> <elem2 number="1234" string=&qu...
by Administrator
Tue Oct 28, 2008 7:29 am
Forum: MicroMacro general & support
Topic: Shaiya- Memory Error?
Replies: 2
Views: 1424

Re: Shaiya- Memory Error?

You're using an outdated version of the script. Update your addresses. ------------------------------------------------ -- Memory addresses ------------------------------------------------ playerptr_addr = 0x0081CBEC; HP_offset = 0x12C; MaxHP_offset = 0x130; -- 304 MP_offset = 0x134; --308; MaxMP_of...
by Administrator
Mon Oct 27, 2008 6:02 pm
Forum: MicroMacro general & support
Topic: Shaiya - WayPoint System
Replies: 28
Views: 8934

Re: Shaiya - WayPoint System

I've added LuaExpat to MicroMacro. You should only need to update micromacro.exe with the attached file. You'll have to refer to LuaExpat's help system until I can write a small wrapper for it. Just a bit off topic here, but I gave a quick look at your project, and it seems you're including of lib/c...
by Administrator
Mon Oct 27, 2008 2:38 pm
Forum: MicroMacro general & support
Topic: ControlClick
Replies: 10
Views: 2711

Re: ControlClick

Indeed. It is an intended behavior, but I'm sure some people might not quite realize right away why it is not clicking where the user has their mouse.
by Administrator
Sun Oct 26, 2008 6:30 pm
Forum: MicroMacro general & support
Topic: ControlClick
Replies: 10
Views: 2711

Re: ControlClick

It should not be game dependent. When attached, the mouse will click at the location it was last positioned. So if you use setMouse(32, 32), then actually move your mouse to some other location, it will still click at (32,32). I think I just wasn't clear on this before. I'm not sure about the clicks...
by Administrator
Sun Oct 26, 2008 11:40 am
Forum: MicroMacro general & support
Topic: Shaiya - WayPoint System
Replies: 28
Views: 8934

Re: Shaiya - WayPoint System

Oh, very nice. Maybe I could look into adding native XML support to MicroMacro. I'm sure that would be far more convenient than having to convert the file every time.
by Administrator
Thu Oct 23, 2008 7:17 pm
Forum: MicroMacro general & support
Topic: Shaiya - WayPoint System
Replies: 28
Views: 8934

Re: Shaiya - WayPoint System

You've made a GUI tool? Nice. How does it work? Do you have any screenshots?
by Administrator
Thu Oct 23, 2008 6:04 pm
Forum: MicroMacro scripts
Topic: Shaiya Client with no GG - Updated October 22nd 2008
Replies: 9
Views: 4048

Re: Shaiya Client with no GG - Updated October 22nd 2008

Thanks for taking the time out to crack it. Does your version contain any other features?

EDIT: It looks like none of the addresses changed. No need to update them.