Search found 59 matches

by Danni
Tue Nov 19, 2013 9:39 am
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

mhm I see. :idea: 1. The purpose of the restTilEvent function is to wait for a specific timeframe before doing the next code. Since the event always starts at 10, 30 and 50 min after each hour (Servertime) I want to wait until the timeframe of 3 min before the Event starts again. Meaning curmins == ...
by Danni
Tue Nov 19, 2013 9:00 am
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

I tried the function. It did work but it has one little downside. 1. If the time on my PC is bigger than MM, it will keep on resting. Expamle: The Char finish everything at 8 past, which means, it is already overdue the time since the code is curmins == 7 . Instead of "==" is there a code ...
by Danni
Tue Nov 19, 2013 3:38 am
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

:lol: lol why easy if it can be complicated ;)

As soon the servers are back I will make the adjustment and try it.

Thx u for the reply :)
by Danni
Tue Nov 19, 2013 2:49 am
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

thx u for the reply ;) About the CountPlayer function .... the problem has been solved. It is now working great. I guess it ignored it before because of the Zonecheck function didn't really work. The Zonecheck does work now without problems and I learned something new :geek: THX U Rock5. Then you on...
by Danni
Mon Nov 18, 2013 8:23 pm
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

1. The great question ...what should I write int the commandline in order to check the people() function? :? 2. I not quite understand the last part. Do you mean something like this: local zone, channel = getZoneId() if zone, channel == 32 then doquest() people() __WPL:setWaypointIndex(2); yrest(300...
by Danni
Mon Nov 18, 2013 6:38 pm
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

thx for reply. The Detection function was my mistake. Sry I misunderstood some lines. 1. How do I entering the command from the commandline? I am not sure what you mean :? I added (nil, true) and it does print out the names of the nearby players, but it doesn't print "Waiting' nor is make a pau...
by Danni
Mon Nov 18, 2013 12:11 pm
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

thx for the fast reply. Since now everything is running more smoothly, I had the chance to discover a few more strange things .... :arrow: function Zonecheck() local zonestate = getZoneId() if zonestate == ZONE-ID then doquest() people() __WPL:setWaypointIndex(2); yrest(3000) DetectionnameAll() else...
by Danni
Mon Nov 18, 2013 5:20 am
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

Finally it works now ;) Thx u rock5 :) One problem finally of the list :P Now I still have 2 Questions right now: 1. Is there a code for checking the ZoneID? And depending what ZoneID the Char is, it will do the following commands? Something similar like Queststate-Check but for the zone? example: &...
by Danni
Sun Nov 17, 2013 5:35 pm
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

"Regional event has ended." = "SC_ZONE_PE_3TH_FAIL" this message shows up if the char does not manage to finish the event before the time is up. "Regional event has ended successfully!" = "SC_ZONE_PE_3TH_ST1OVER" this message shows up if the char does manage ...
by Danni
Sun Nov 17, 2013 1:18 am
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

Forced waypoint type 'TRAVEL' set by user. Moving to waypoint #2, (-9396, -18342) endmsg is Regional event has ended successfully! msgtime is 0 We try to find NPC (NPC-ID): We successfully target NPC (NPC-Name) and try to open the dialog window. Quest accepted: Quest1 Quest accepted: Quest2 Quest c...
by Danni
Sat Nov 16, 2013 8:28 pm
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

Sry for the late, reply, was busy these few days. Thx Rock5 for the input Yes those "alerts & warning" do show up in the middle of the screen, as well like when you accepting/completing/deleting quests. and these warning are as well in the chat :) Unfortunately the problem, that the bo...
by Danni
Tue Nov 12, 2013 4:15 pm
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

Thx Blublab for your reply, now I learned something new. Thank you rock5 for the explaination and your help, it seems that this function is working now. Danni wrote: Another problem I found, but I don't know WHY it does that now, that sometimes after it take the first quest and the second quest, whi...
by Danni
Mon Nov 11, 2013 1:21 pm
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

I replace the getLastWarning into getLastAlert as well change the last function, so I do not get the MM Warning any more. Thank you. But now I am curios? How do I make the endmsg into a global variable? :ugeek: I also took the function GMdetectionname() above. Thx you for the help and changed the na...
by Danni
Sun Nov 10, 2013 5:49 pm
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

Thx u. I applied the suggestion and I do not get log out, function GMdetectionname() EventMonitorStart("detectGMname", "CHAT_MSG_SYSTEM"); sendMacro("AskPlayerInfo(\'Master\');");yrest(250); local time, moreToCome, msg = EventMonitorCheck("detectGMname", "...
by Danni
Sun Nov 10, 2013 1:00 pm
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

lol ,thx ,true didn't saw that XD function GMdetectionname() EventMonitorStart("detectGMname", "CHAT_MSG_SYSTEM"); sendMacro("AskPlayerInfo(\'Master\);");yrest(150); local time, moreToCome, msg = EventMonitorCheck("detectGMname", "1") if msg ~= nil t...
by Danni
Sun Nov 10, 2013 12:19 pm
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

<!-- # 1 --><waypoint x="-9414" z="-18353" y="932" tag="Home"> if getZoneId() == number(a1) then waitForEventStart() doquest() end if getZoneId() == number(a2) then doquest() end if getZoneId() == number(a3) then doquest3() restTilEvent() channel() end __WPL:...
by Danni
Sun Nov 10, 2013 11:12 am
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

Thx rock5. I put R5Hacks in the correct folder and Reloaded rom from SVN. Now MM works again. After I run the script, it says it misses an "end" at a function. This I have corrected it. BUT now it give m this message on MM: 0:5am - scripts\rom/bot.lua:943: Failed to compile and run Lua cod...
by Danni
Sat Nov 09, 2013 11:24 pm
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Re: Functions in Load are not working. Where is the mistake?

Thx rock5 for the fast reply. While I was waiting for some reply I took a try of the R5Hacks. But now when I try to work on the script again I get following MM message: 12:14am - scripts\rom/bot.lua:53: ...ong-Lenovo/Desktop/micromacro ROM/scripts/r om/macros.lua:60: attempt to index global 'setting...
by Danni
Sat Nov 09, 2013 7:38 pm
Forum: Runes of Magic
Topic: Functions in Load are not working. Where is the mistake?
Replies: 43
Views: 8396

Functions in Load are not working. Where is the mistake?

Hi everyone, I am working on a kind of complicated script in order not to get caught by Gamemaster or being observed by to many people. Unfortunately I am always a kind of a noob. So I tried to read all the posts in order to get more knowledge about this stuff. to understand each function's purpose ...