Add player to Whitelist (check commands)
It does show..Dont show the command in overwiew... please tell me command to use !!! .. thanks
Probably do another timer where a player has godmode till 2 seconds is up after teleporting.
Another solution is force players to get a better connection lol
- Fixes
- Support for DonatorRank
if id is not None and vid is not None:
if HurtEvent.Victim in Pending:
Pending.remove(HurtEvent.Victim)
if self.movec == 1:
self.Freezer(HurtEvent.Victim, 2)
HurtEvent.Victim.MessageFrom(self.homesystemname, "Teleportation Cancelled. You received damage.")
DataStore.Remove("home_cooldown", vid)
def Freezer(self, Player, num, msg=True):
if Player not in Pending:
return False
if id is not None and vid is not None:
if self.movec == 1:
self.Freezer(HurtEvent.Victim, 2)
if HurtEvent.Victim in Pending:
Pending.remove(HurtEvent.Victim)
HurtEvent.Victim.MessageFrom(self.homesystemname, "Teleportation Cancelled. You received damage.")
DataStore.Remove("home_cooldown", vid)
- New cooldown calculation
- Added the test teleportation method which seems to works well. First it will tp you near your home, and then to your home. This would bypass falling down from the 6th floor for example, because the objects didn't load yet.
- Needs Fougerite 1.5.3
- https://github.com/dretax/Python-Plugins/commit/67e5a2ea6dd073e63ebdb9927037389097697b1f
See this happens if you don't quote my posts.One small bug:
The original is:
Python:if id is not None and vid is not None: if HurtEvent.Victim in Pending: Pending.remove(HurtEvent.Victim) if self.movec == 1: self.Freezer(HurtEvent.Victim, 2) HurtEvent.Victim.MessageFrom(self.homesystemname, "Teleportation Cancelled. You received damage.") DataStore.Remove("home_cooldown", vid)
But Freezer starts with:
Python:def Freezer(self, Player, num, msg=True): if Player not in Pending: return False
Therefore a player will never be unfrozen when he gets damage during the Home Teleportation.
The player must first be unfrozen before he gets removed from the Pending list.
Python:if id is not None and vid is not None: if self.movec == 1: self.Freezer(HurtEvent.Victim, 2) if HurtEvent.Victim in Pending: Pending.remove(HurtEvent.Victim) HurtEvent.Victim.MessageFrom(self.homesystemname, "Teleportation Cancelled. You received damage.") DataStore.Remove("home_cooldown", vid)
- Obsolete craps removed
- Old bug fixed that taryn reported
- https://github.com/dretax/Python-Plugins/commit/f7b3b806299ae2adbf101330f82ea0f074a0e62c
- Added an option to use the test teleport method from 1.5.5 Fougerite, or use the normal teleport method.
DataStore bug, Delete your DataStore.dsThere is problem in my server with home_cooldown
We changed the VPS,now players say when they type /home ,home time is -756625/17 !!
how i can reset this time?
If u mean FougeriteDatastore.dsDataStore bug, Delete your DataStore.ds
That error normally happens when the server has been online for quite awhile without a restart.If u mean FougeriteDatastore.ds
i deleted that and restart the server... but problem not fixed!