Resource icon

Approved HomeSystem 2.6.5

No permission to download

tarynkelley

Moderator
Moderator
Nov 14, 2015
559
170
28
Parts Unknown
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.
 

tarynkelley

Moderator
Moderator
Nov 14, 2015
559
170
28
Parts Unknown
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)
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,066
3,998
113
At your house.
github.com
Last edited:

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,066
3,998
113
At your house.
github.com
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?
 

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
576
553
63
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 !!
 

Assassin

Plugin Developer
Plugin Developer
Apr 9, 2017
190
174
43
23
Iran
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?
 

Jakkee

Plugin Developer
Plugin Developer
Contributor
Jul 28, 2014
1,465
837
113
Australia
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

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
576
553
63
I use old home system 2.6.2.. Work perfect!!