Resource icon

Approved HomeSystem 2.6.5

No permission to download
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

But this doesnt help against Facepunch kicks and the therefore resulting false positive EAC dizzy warnings. The best would be to let a player freeze for some seconds at the position where he spawned, so that he cannot fall down, until the building is loaded.
 
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)
 
Last edited:
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)
See this happens if you don't quote my posts.

Is this still in?
 
I like it, maybe I forgot to report a glitch that players can do to put houses inside rocks.

Example: If a player puts a foundation from outside under a rock that only looks a bit of the foundation and writes / sethome using a shot to record his home ..... When this player / home will be teleported within a rock .

Not too important ... but ... if you want I can make an explanatory video .. :) greetings !!
 
There 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.ds
i deleted that and restart the server... but problem not fixed!
That error normally happens when the server has been online for quite awhile without a restart.
I'm not sure why that would still be happening after wiping the DataStore,
Maybe homesystem doesn't use DataStore?
I'll have a look in a bit
 
  • Like
Reactions: Assassin
I use old home system 2.6.2.. Work perfect!!