warpwaitingroompc not checking the required players.

Helena

New member
Messages
238
Points
0
Emulator
rAthena
Hello. Trying to figure out what went wrong here. I have a eAthena script that I want to work with Herc, it works well except for this part.
The issue is that as soon as one player enter the waiting room, he gets warped. While I've set the required players to 3. I don't want anyone to warp until the room has 3 players.
 
Is it not compitable with Hercules? And if not, how can I make it so? Thank you!
 
Code:
//Waiting Roomquiz_00,58,38,4	script	Guard	765,{	end; OnInit:	waitingroom "Waiting Room",3,"Guard::OnWarp",1;	end; OnWarp:	warpwaitingpc "arena",150,135,3;	disablewaitingroomevent;	donpcevent "nArena::OnStart";	end; OnStart:	enablewaitingroomevent;	end;}
 
Change

waitingroom "Waiting Room",3,"Guard::OnWarp",1;

To

waitingroom "Waiting Room",3,"Guard::OnWarp",3;

 
Change

waitingroom "Waiting Room",3,"Guard::OnWarp",1;

To

waitingroom "Waiting Room",3,"Guard::OnWarp",3;
Wow, that was easy. Thanks sir Dastgir.
default_smile.png


 
Back
Top