Ok, no problem
-dx
Search found 188 matches
- Thu May 30, 2013 3:59 pm
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Automatic 'login' script
- Replies: 181
- Views: 68546
- Thu May 30, 2013 10:36 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Automatic 'login' script
- Replies: 181
- Views: 68546
Re: Automatic 'login' script
Great function!
One feature I would love to see is to be able to select channel to log into from commandline.
I.E. So I can start my bots from a .bat file with one bot in each channel.
-dx
One feature I would love to see is to be able to select channel to log into from commandline.
I.E. So I can start my bots from a .bat file with one bot in each channel.
-dx
- Wed May 08, 2013 1:46 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: rock5's "fastLogin Revisited"
- Replies: 914
- Views: 316382
Re: rock5's "fastLogin Revisited"
For those who need even more account buttons, here is a 108 button version with the nessesary changes done to the userfunction_login as well.
-dx
-dx
- Fri May 03, 2013 3:14 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Automatic 'login' script
- Replies: 181
- Views: 68546
Re: Automatic 'login' script
Browsing through to add more login buttons I noticed something, column 3 and 4 both have "col=3", assuming this is typo? -dx a=a+1 ba[a]={row=a,col=1} ba[a+12]={row=a,col=2} ba[a+18]={row=a,col=3} ba[a+29]={row=a,col=5} ba[a+41]={row=a,col=6} ba[a+53]={row=a,col=7} a=a+1 ba[a]={row=a,col=1...
- Wed May 01, 2013 9:24 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Processmonitor/terminator
- Replies: 1
- Views: 1611
Processmonitor/terminator
As I mentioned in the http://solarstrike.net/phpBB3/viewtopic.php?f=27&t=4663&sid=7e8abd2a74df0281343569eb2f0df75b thread I use a process monitor to make sure crashed clients are removed. I.E. it runs as a separate MM process, when it detects a "Crash Report" window it terminates t...
- Thu Apr 18, 2013 4:57 am
- Forum: Runes of Magic
- Topic: Small suggestion
- Replies: 8
- Views: 2677
Re: Small suggestion
Well my personal solution is now to make a CPlayer:sleep function in a userfunction that overrides the standard one. The problem is we can't predict and cater for every condition that users might want to exit the function. I agree, so my suggestion should have been phrased to insert a general mechan...
- Wed Apr 17, 2013 7:41 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Event manager
- Replies: 3
- Views: 1791
Event manager
I dont know if its any interest but due to some discussions w. admin/lisa I've made an event manager as a userfunction. It replaces the static event management in RoM with a subscription based one which enables multiple callbacks. Subscription on micromacro and user events Multiple priority based ca...
- Wed Apr 17, 2013 6:30 am
- Forum: MicroMacro general & support
- Topic: Suggest atExit return previous callback
- Replies: 9
- Views: 3809
Re: Suggest atExit return previous callback
I see your point, this prolly should be a task for the executing script. I've started an Event Manager as an userfunction and will publish in rom userfunction section shortly. It will take over all event exits in MM and enable subscription of these, for compatibility w RoMBot I'm registering all its...
- Wed Apr 17, 2013 6:26 am
- Forum: MicroMacro general & support
- Topic: MM feature request
- Replies: 7
- Views: 3277
Re: MM feature request
deleted
- Tue Apr 16, 2013 8:08 am
- Forum: MicroMacro general & support
- Topic: Possible bug in createThread in lib.lua?
- Replies: 3
- Views: 2199
Possible bug in createThread in lib.lua?
When wrapping the thread function in createThread it seems to me the possible arguments are lost and not transfered to the thread function, I suspect the: local wrapped = function (...) coroutine.yield(); func(); end; local co = coroutine.create(wrapped); local status, err = coroutine.resume(co, ......
- Tue Apr 16, 2013 3:39 am
- Forum: Runes of Magic
- Topic: Small suggestion
- Replies: 8
- Views: 2677
Re: Small suggestion
Ofc I can, I can copy the sleep, rename it and modify the "true" to "self.XXX" with my own status variable but its kind of redundant - The reason I brought it up was that I thought it might have common interest to have a program controlled exit from sleep function in addition to ...
- Tue Apr 16, 2013 1:41 am
- Forum: Runes of Magic
- Topic: Small suggestion
- Replies: 8
- Views: 2677
Re: Small suggestion
Im using it, among other things, for bot to pause if a player gets close, ie I have a function triggered by a timer to do checks, when condition arises it puts bot to sleep, when condition clears it continues but bot will fight back while sleeping if attacked. As the trigger/release is from a regist...
- Mon Apr 15, 2013 8:32 am
- Forum: Runes of Magic
- Topic: Small suggestion
- Replies: 8
- Views: 2677
Small suggestion
In the function CPlayer:sleep() (classes/player.lua) I sugest we modify the exit condition of the while loop. Currently we can force player to sleep by setting player.Sleeping=true, ex in a timer based function to detect other players but I havent found any way to continue again. By modifying the ex...
- Mon Apr 15, 2013 8:27 am
- Forum: MicroMacro general & support
- Topic: Suggest atExit return previous callback
- Replies: 9
- Views: 3809
Re: Suggest atExit return previous callback
I also use the atError in an userfunction Lisa, I havent noticed any collitions yet but theyr there...
-dx
-dx
- Mon Apr 15, 2013 6:43 am
- Forum: MicroMacro general & support
- Topic: Suggest atExit return previous callback
- Replies: 9
- Views: 3809
Re: Suggest atExit return previous callback
Ye, thats what I'm doing atm, problem is that this is a userfunction so what happens if another userfunction also needs to handle the exit or pause callback? Or a user uses it in his/her waypoint script? It would be nice to be able to subscribe to these events without having to hardcode. Just my 5 c...
- Fri Apr 12, 2013 6:57 am
- Forum: MicroMacro general & support
- Topic: Suggest atExit return previous callback
- Replies: 9
- Views: 3809
Re: Suggest atExit return previous callback
My specific issue is that rombot uses atexit internally: function exitCallback() releaseKeys(); end atExit(exitCallback); I would like to hook onto it as well in my script but would prefer not to be dependent on the internals of the bot. But its not a biggie, I can call the exitCallback() from my ow...
- Wed Apr 10, 2013 1:02 pm
- Forum: MicroMacro general & support
- Topic: Suggest atExit return previous callback
- Replies: 9
- Views: 3809
Suggest atExit return previous callback
I suggest the atExit() function is modified to return the old callback, this should be done in all callback function. This would enable chaining. -dx function atExit(func) if( type(func) ~= "function" and type(func) ~= "nil" ) then local err = "Error: Non-function type passe...
- Tue Feb 19, 2013 11:32 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Automatic 'login' script
- Replies: 181
- Views: 68546
Re: Automatic 'login' script
I'm using something similar, to restart the client u can catch the error in rombot, check if client is running and call Rock's login script. Since your in MM u can get hold of account/character I guess, Im using fastlogin which keeps track of it. Ex. -- PSEUDO CODE... atError(autologErrorCallback) f...
- Fri Dec 14, 2012 10:37 am
- Forum: Runes of Magic
- Topic: Party Bot (questions/answers)
- Replies: 307
- Views: 80453
Re: Party Bot (questions/answers)
Nice one Lisa, Ill give it a try
-dx
-dx
- Thu Dec 13, 2012 9:21 am
- Forum: Runes of Magic
- Topic: Party Bot (questions/answers)
- Replies: 307
- Views: 80453
Re: Party Bot (questions/answers)
Ye I think Lisa's suggestion would cover it pretty much, then it could be responsible for timing as well which will be class and user specific.
On funny idea would be to read the countdown in party chat and trigger buff function on each number....perhaps overkill
-dx
On funny idea would be to read the countdown in party chat and trigger buff function on each number....perhaps overkill
-dx