Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #006610

  • 0 - None Assigned

  • Fixed

Issue Confirmations

  • Yes (2)No (0)
Photo

Chat Room user count does not match documentation

Posted by Hercules Bot on 02 September 2012 - 09:40 PM

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

waitingroom "BG Mob",1,"Poseidon_BG:OnJoin",1;

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

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

Edited by kyeme, 02 September 2012 - 10:00 PM.


Originally posted by Brian
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).

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

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

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

Originally posted by kyeme
Our documentation says:
*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;
Need to change?

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

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