Jump to content
  • 0
Helena

warpwaitingroompc not checking the required players.

Question

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!
 
//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;}

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Change

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

To

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

Share this post


Link to post
Share on other sites
  • 0

Change

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

To

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

 

Wow, that was easy. Thanks sir Dastgir. :)

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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