You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

BaseLord

Trainee

  • "BaseLord" started this thread

Posts: 62

Occupation: Student (3rd Year University- Electrical Engineering)

  • Send private message

1

Saturday, August 25th 2012, 6:09pm

sleep function in rom lua?

Is there some method to perform a wait action in lua that isn't system dependent? If not what's the best way to do so? Also, is there a way to use golden hammers in lua without crashing rom? Thanks in advance.
Character name : Signia-- Legacy: W/R unbuffed (completely): 96.5k patk, 24.Xk str 89k hp, 75% crit
Please Note: Not Active and Likely Never will be again.

camagic

Professional

Posts: 849

Location: noobville

Occupation: expert noob

  • Send private message

2

Saturday, August 25th 2012, 7:32pm

This makes me think that your addon/lua would need its own clock system that would be synchronized with the game, so the addon/lua would do its own waiting function, and then input action commands to the game. Pretty redundant and unneccesary imho, and realistically bannable.

Idk about the golden hammers issue.
95wd/95s/65d
server artemis
Please do not "class balanace" the tactics I use.

3

Saturday, August 25th 2012, 7:51pm

think most ppl trying stuff along those lines ended up using ntBuff and adding their functions to its lua

peryl made a timing system..around here somewheres

and yea..getting a bit grey area. anything outside of the system kinda sorta = 3rd party = gods gonna kill hisself some kittens. there is in lua ways to "reach out" and grab system global variables etc but theyre probably locked

BaseLord

Trainee

  • "BaseLord" started this thread

Posts: 62

Occupation: Student (3rd Year University- Electrical Engineering)

  • Send private message

4

Saturday, August 25th 2012, 7:57pm

Yeh the kind of thing I want to do is similar to the fusion addon in a sense of repeating commands. It's an expansion of an existng addon (simple repair hammer), but I am making some xml frames for some customisation (like what dura to look for, etc.). I wanted the addon to use therefore only 1 command to execute from the onmouseclick event (instead of having a macro script in game). It may be totally unneccessary but I want to learn some addon development for rom. I alredy expanded this code to a working state except for using golden repair hammers. When it hits pickupequipmentitem(#) rom crashes, but idoesn't do it for simple repair hammers. But yeh basically I need to loop simmilar to fusion but I have no computer at the moment so I Can't look there for ideas and wanted to know if anyone knew offhand.
Character name : Signia-- Legacy: W/R unbuffed (completely): 96.5k patk, 24.Xk str 89k hp, 75% crit
Please Note: Not Active and Likely Never will be again.

5

Saturday, August 25th 2012, 9:03pm

ah...gotcha. check out Xcollections...its basically exactly that but not taken as far as you're planning...it should give you some good ideas (cant remember if the code is in german though :rolleyes:)

simple little xml UI and it hooks to ressing event


https://forum.runesofmagic.com/showthread.php?t=431422

translatededed:
http://fets5.freetranslation.com/?sequen…hp%3Ft%3D431422