Jump to content
  • 0
Ichisito

Troubles with Waiting Rooms

Question

Hi Guys, it's me another time, now i go to ask if anyone have the same prob. with Waiting Rooms, look at the screenshot.

I attach in this post.

To summarize, the only real troube is in the Waiting Room, the NPC with Waiting Room shows it INSIDE the Chat Room, and then, the BattleGrounds or another script using waiting room doesn't work.

Please, anyone have the same? i'm using the last rev. of rAthena.

Thanks, regards.

post-6320-0-04586900-1351512247_thumb.jpg

post-6320-0-18611600-1351512312_thumb.jpg

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

*waitingroom "<chatroom name>",<limit>{,<event label>,<trigger>,<required zeny>,<min lvl>,<max lvl>};

This command will create a chat room, owned by the NPC object running this

script and displayed above the NPC sprite.

The maximum length of a chat room name is 60 letters.

The limit is the maximum number of people allowed to enter the chat room.

The attached NPC is included in this count. If the optional event and trigger

parameters are given, the event label ("<NPC object name>::<label name>")

will be invoked as if with a 'doevent' upon the number of people in the chat

room reaching the given triggering amount.

// The NPC will just show a box above its head that says "Hello World", clicking

// it will do nothing, since the limit is zero.

waitingroom "Hello World",0;

// The NPC will have a box above its head, it will say "Disco - Waiting Room"

// and will have 8 waiting slots. Clicking this will enter the chat room, where

// the player will be able to wait until 7 players accumulate. Once this happens,

// it will cause the NPC "Bouncer" run the label "OnStart".

waitingroom "Disco - Waiting Room",8,"Bouncer::OnStart",8;

// The NPC will have a box above its head, it will say "Party - Waiting Room"

// and will have 8 waiting slots. Clicking this will allow a player who has

// 5000 zeny and lvl 50~99 to enter the chat room, where the player will be

// able to wait until 7 players accumulate. Once this happens, it will cause

// the NPC "Bouncer" run the label "OnStart".

waitingroom "Party - Waiting Room",8,"Bouncer::OnStart",8,5000,50,99;

Creating a waiting room does not stop the execution of the script and it will

continue to the next line.

For more examples see the 2-1 and 2-2 job quest scripts which make extensive use

of waiting rooms.

So it's not a bug.

Link to comment
Share on other sites

Ok, let me see... then if i return to this Rev. the NPC don't appear anymore inside the waiting rooms?

I don't like it, really... i make 5/5 waiting rooms and the npc take 1 slot of 5, then the bgs don't start because it need 5/5 in room.

Thanks mates, regards.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.