Issue information

Issue ID
#6610
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Sep 2, 2012 21:40
Last Post
Hercules Elf Bot
Sep 3, 2012 16:51
Confirmation
Yes (2)
No (0)

Hercules Elf Bot - Sep 2, 2012 21:40

Originally posted by [b]Poseid0n[/b]
When you script a chat room and set the number max of player to 1 :

[CODE]waitingroom "BG Mob",1,"Poseidon_BG:OnJoin",1;[/CODE]

the waiting room created start with 1/1 and is full, so anybody can enter in the room. . it should start with 0/1 and raise to 1/1 after a player is entered.

Poseidon

This post has been edited by Brian on Sep 3, 2012 15:07

Hercules Elf Bot - Sep 2, 2012 22:00

Originally posted by [b]kyeme[/b]
The NPC as also joined in the ChatRoom Hahahaha :) i confirmed this.

This post has been edited by kyeme on Sep 2, 2012 22:00

Hercules Elf Bot - Sep 2, 2012 22:03

Originally posted by [b]Brian[/b]
I think it's because the NPC is in the chatroom too and counts as 1.
If you want to allow 1 player, then use "2" (1 player + 1 NPC = 2).

Hercules Elf Bot - Sep 2, 2012 22:15

Originally posted by [b]Euphy[/b]
You shouldn't have to specify a count for the NPC, though... unless that's official, somehow?

Hercules Elf Bot - Sep 2, 2012 22:28

Originally posted by [b]kyeme[/b]
In pRO the chatroom of Battleground : [b]1[/b]/[b]20 [/b](no player inside) npc counted.

Hercules Elf Bot - Sep 2, 2012 22:39

Originally posted by [b]Ind[/b]
that is correct, its a official feature that the npc counts.

Hercules Elf Bot - Sep 3, 2012 5:09

Originally posted by [b]kyeme[/b]
Our documentation says:
[CODE]
*waitingroom "<chatroom name>",<limit>{,<event label>,<trigger>,<required zeny>,<min lvl>,<max lvl>};
.....
// 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 8 people accumulate. Once this happens,
// it will cause the NPC "Bouncer" run the label "OnStart"
waitingroom "Disco - Waiting Room",8,"Bouncer::OnStart",8;
[/CODE]
Need to change?

Hercules Elf Bot - Sep 3, 2012 14:34

Originally posted by [b]Ind[/b]
oki so documentation issue, moving to documentation section. akkarin, go boy!

Hercules Elf Bot - Sep 3, 2012 16:50

Originally posted by [b]Euphy[/b]
Fixed the documentation in [rev=16740].