Jump to content


Photo

Kick to Lobby on player death


  • Please log in to reply
3 replies to this topic

#1 darkfall211

darkfall211

    Survivor

  • Member
  • PipPipPip
  • 48 posts

Posted 25 November 2013 - 02:11 AM

Any way i can make a script to kick the player to the lobby when they die? i hope this prevents players respawning too fast and respawning with all their gear on their dead body.


b_560_95_1.png


#2 2Bravo

2Bravo

    Fresh Spawn

  • Member
  • PipPip
  • 13 posts

Posted 25 November 2013 - 03:57 AM

how are they respawning to quick, when they have to wait a min of 10sec before they can even go to the lobby due to the log out timer?



#3 -shadow-

-shadow-

    Survivor

  • Member
  • PipPipPip
  • 59 posts
  • LocationAustralia

Posted 25 November 2013 - 04:02 AM

Sounds like your server maybe lagging and not writing to the database fast enough to set the character to dead.

Which is why they are re-spawning alive with all there gear.

 

Because like 2Bravo said, you have to wait 10sec to DC back the lobby then reconnect.

Which should be plenty of time for the database to do this.

Kill there client, loading it back up again then joining would take even longer also.


Founder of www.Armaderp.com

Facebook @ www.facebook.com/armaderp

AU DayZ Epoch | 300+ Vehicles | Custom Buildings | Anti Hack | Active Admins | GMT+9 | Hosted by Armaderp.com

b_560_95_1.png

 


#4 SniperNoSniping

SniperNoSniping

    Fresh Spawn

  • Member
  • PipPip
  • 12 posts

Posted 14 December 2013 - 09:37 AM

Im secondly interested in this. I would still like it to have a script that will kick the player back to the lobby after 10 seconds automatically. So that way I can see who just died and sitting in the lobby. 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users