Search found 32 matches

by Ajoir
Mon Apr 15, 2013 8:34 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Automatic 'login' script
Replies: 181
Views: 67951

Re: Automatic 'login' script

of course. I'm terribly sorry. I´m not speak english very well, and sometimes I don´t understand what you say; i thought it was finished. I don´t have any hurry. thank you very much for your work
by Ajoir
Fri Apr 12, 2013 7:26 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Automatic 'login' script
Replies: 181
Views: 67951

Re: Automatic 'login' script

I tryed use this function (version 1) in a waypoint, by don't get it works fine. I only get works when i use the sentece: os.execute("start "..getExecutionPath().."/../../micromacro.exe "..getExecutionPath().."/login acc:3 char:1 client:client path:cot_tele") the argume...
by Ajoir
Sat Dec 15, 2012 11:45 pm
Forum: Runes of Magic
Topic: get the guild of player
Replies: 8
Views: 2305

Re: get the guild of player

you are really fast!!. I add your code, and work prefectly. if I had thought a little more, i would have found the solution too, because I had already used the "askplayerinfo" and the "EventMonitorCheck" in other times. Thank you very much for your help. I still have a little dou...
by Ajoir
Sat Dec 15, 2012 9:41 pm
Forum: Runes of Magic
Topic: get the guild of player
Replies: 8
Views: 2305

Re: get the guild of player

Hi again. I found what i was looking. The function what i want is: "UnitIsInMyGuild= Returns whether a unit is in the player's guild". Try the code: help="object"; --object was the name of the object. if (RoMScript ("UnitIsInMyGuild ("..help..")")) then print(...
by Ajoir
Sat Dec 15, 2012 4:28 pm
Forum: Runes of Magic
Topic: get the guild of player
Replies: 8
Views: 2305

Re: get the guild of player

Thank your very much for your fast answer. I´ll try apply your solutions.
by Ajoir
Sat Dec 15, 2012 3:41 am
Forum: Runes of Magic
Topic: get the guild of player
Replies: 8
Views: 2305

get the guild of player

for access to name player, the variable is player.Name. For access the level of player, the variable is player.Level. What variable is used for access to guild of player? I try player.Guild, but don't work for me. Thank you in advace.
by Ajoir
Sat Nov 05, 2011 9:01 am
Forum: Runes of Magic
Topic: translate of addon to bot
Replies: 18
Views: 3769

Re: translate of addon to bot

whou, you did it!!!. Thankyou very much for your work. Now I gonna test it. When finish I tell you.
by Ajoir
Fri Nov 04, 2011 4:30 pm
Forum: Runes of Magic
Topic: translate of addon to bot
Replies: 18
Views: 3769

Re: translate of addon to bot

Anyway ... the perfect solution would be that the addon will run the sound file from any external program: Windows Media or similar. I send you the full addon; If you can do that and get it, great ... if you can don´t, nothing happens, already you've helped me enough.
by Ajoir
Fri Nov 04, 2011 7:40 am
Forum: Runes of Magic
Topic: translate of addon to bot
Replies: 18
Views: 3769

Re: translate of addon to bot

A new function... really it's imaginative. Don't worry, this it's enough for me. I want make some changes, but I think i can do it myself. Thank you really much.
by Ajoir
Thu Nov 03, 2011 12:18 pm
Forum: Runes of Magic
Topic: translate of addon to bot
Replies: 18
Views: 3769

Re: translate of addon to bot

Yeah, its more easy, but the sound it´s the problem for me. An addon and the game share them the sound. there are any form to make the sound's addon work free how a bot?
by Ajoir
Thu Nov 03, 2011 7:49 am
Forum: Runes of Magic
Topic: translate of addon to bot
Replies: 18
Views: 3769

Re: translate of addon to bot

i want to make a function what activate it when someone will give me trade, duel and party. I want the same operation of the addon. When someone give me: - In a time oscilating between 3 and 10 second autodecline invite. - give me an alarm sound. I dont know make to the function detect the event. In...
by Ajoir
Tue Nov 01, 2011 9:02 pm
Forum: Runes of Magic
Topic: translate of addon to bot
Replies: 18
Views: 3769

Re: translate of addon to bot

Hi again :P

I tried the addon... and dont like it. The sound does not work , It need on the game´s sound and sometime overlapping. I like try make it in bot. Could you help me, please?
by Ajoir
Fri Sep 16, 2011 11:44 pm
Forum: Runes of Magic
Topic: translate of addon to bot
Replies: 18
Views: 3769

Re: translate of addon to bot

If the addon works fine then I would stick with it. Trouble is with doing the same thing with the bot is we would need to create a monitoring of those events which would put more load on the bot usage. The game itself already monitors such events and makes it much easier to use an addon to deal wit...
by Ajoir
Fri Sep 16, 2011 8:47 pm
Forum: Runes of Magic
Topic: translate of addon to bot
Replies: 18
Views: 3769

Re: translate of addon to bot

So you just want bot to autodecline invites? If you want the addon to be somehow called from the bot I would need a lot more code then what you posted. Somewhere else in the addon it will be giving timeInvited a value of not nil otherwise it would never work. yes, i want a autodecline invite in tra...
by Ajoir
Fri Sep 16, 2011 7:11 pm
Forum: Runes of Magic
Topic: translate of addon to bot
Replies: 18
Views: 3769

translate of addon to bot

local timeInvited = nil; local timeDeclineDelay = 2 + math.random(7); function declineInvite_OnUpdate() if( timeInvited ~= nil and os.difftime(os.time(), timeInvited) > timeDeclineDelay ) then This is a part of an addon. I want translate it to bot, but "timeInvited" doesn't work. Which it...
by Ajoir
Tue Sep 13, 2011 6:21 am
Forum: Runes of Magic
Topic: the sound doesn´t work
Replies: 11
Views: 3102

Re: the sound doesn´t work

I didn't have OpenAL installing. I installed it and all seems works perfect. Thanks for your help, and your patience.
by Ajoir
Mon Sep 12, 2011 11:41 am
Forum: Runes of Magic
Topic: the sound doesn´t work
Replies: 11
Views: 3102

the sound doesn´t work

basically the code of my function is this: local function xxxxxxxxx() local soundresource = soundLoad(getExecutionPath() .. "/alarm.wav"); soundSetVolume(soundresource, 1.0); soundSetLooping(soundresource, true); .... soundPlay(soundresource); printf("state of a sound : " .. soun...
by Ajoir
Mon Sep 12, 2011 8:39 am
Forum: MicroMacro general & support
Topic: sounds
Replies: 11
Views: 6227

Re: sounds

oh... I'm terribly sorry, I don't knew it.
by Ajoir
Mon Sep 12, 2011 6:35 am
Forum: MicroMacro general & support
Topic: sounds
Replies: 11
Views: 6227

Re: sounds

I found the problem. I maked an error installing your files (sorry, was my fault. :s). But i can not get works fine. the command that you gave me, turns C:/micromacro/scripts/rom/alarm.wav". " The file alarm.wav is in the correct folder. In really, I still have the file in every folders. N...
by Ajoir
Sun Sep 11, 2011 10:58 pm
Forum: MicroMacro general & support
Topic: sounds
Replies: 11
Views: 6227

Re: sounds

This its my code: local soundresource = soundLoad(getExecutionPath() .. "/alarm.wav"); .... soundPlay(soundresource); And this is the answer: bad argument #1 to 'soundPlay' (userdata expected, got nil) I try everything I think, but i cant get it works fine. What i'm doing wrong?. Please he...