Relogging
#1

Hey,how could i make it reload player files and let him login again if he writes /bugged,i tried to do it but nothing happens ,how can i make it?
Reply
#2

if someone's bugged/desynced the server/client wont recieve any request from the server/client; forcing the player to /q and manually relog.
Reply
#3

This is not a wise idea, because a player could make some sort of transaction (like /pay) then use /bugged to save over and prevent the money from being deducted.

The best thing you could do is force a player to re-connect, a tutorial can be found here: https://sampforum.blast.hk/showthread.php?tid=178575 (not 100% sure this still works)
Reply
#4

i just said /bugged as an example but is it possible to reload the player file?like it spawns him again?
Reply
#5

Quote:
Originally Posted by iBots
Посмотреть сообщение
i just said /bugged as an example but is it possible to reload the player file?like it spawns him again?
Read what I said. It doesn't matter what the command is called, this problem will still occur.
Reply
#6

Quote:
Originally Posted by Calgon
Посмотреть сообщение
Read what I said. It doesn't matter what the command is called, this problem will still occur.
I'm sure something could be thrown together if functions like GetPlayerNetworkStats are used, but I do agree, it's better just to reconnect the player.
Reply
#7

You can't do this - its impossible. You can check the player's packetloss or how many messages he sent to the server recently or something like this, then compare amounts and if amount will be low - kick the player with probably packetloss.
Reply
#8

i have seen a system in a server,it's for admins,when they go on duty they automaticly reconnect without /q and connecting again...how?i tried the one you told me to do but didnt work,calgon
Reply
#9

Do you have any idea of what you're talking about?


Quote:
Originally Posted by Calgon
Посмотреть сообщение
The best thing you could do is force a player to re-connect, a tutorial can be found here: https://sampforum.blast.hk/showthread.php?tid=178575 (not 100% sure this still works)
This trick doesn't work anymore due to security updates.
Reply
#10

Quote:
Originally Posted by iBots
Посмотреть сообщение
i have seen a system in a server,it's for admins,when they go on duty they automaticly reconnect without /q and connecting again...how?i tried the one you told me to do but didnt work,calgon
This is not due to a /bugged command, it is an admin duty system. I've done something like it in Vortex 1.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)