Resource icon

Approved HomeSystem 2.6.5

No permission to download

lee ashton

Member
Member
Aug 30, 2014
43
0
6
OK stilling me the negative time crap, and still no more than 1 home, this is way behind other base mods
 

CorrosionX

Plugin Developer
Plugin Developer
Sep 3, 2014
212
85
18
California
One thing this needs and would otherwise be perfect is to check if player owns foundation or ceiling they are on to allow them to place a home. Or are "friends" or are shared door access, like the comparable Oxide plugin. Currently I can screw people over hard by placing a home next their base and if they expand they are screwed. That is fked up. I haven't tried it but it only allows you to places homes on ceilings or foundations right? Only tested while in my house.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
One thing this needs and would otherwise be perfect is to check if player owns foundation or ceiling they are on to allow them to place a home. Or are "friends" or are shared door access, like the comparable Oxide plugin. Currently I can screw people over hard by placing a home next their base and if they expand they are screwed. That is fked up. I haven't tried it but it only allows you to places homes on ceilings or foundations right? Only tested while in my house.
This plugin has nothing to do with ceilings or foundations.

Sent from my Samsung Galaxy S4
 

CorrosionX

Plugin Developer
Plugin Developer
Sep 3, 2014
212
85
18
California
This plugin has nothing to do with ceilings or foundations.

Sent from my Samsung Galaxy S4
I see...

This might make it mean more sense: http://forum.rustoxide.com/resources/r-sethome.600/

Why another sethome?
So i went on a server, sethome on the roof of a random guy and kept harassing him for 30mins ... And one time out of two i actually could get on his last floor (even with multiple teleports)
All home plugins are flawed if you can set a home where your home is not, that is called a personal teleport location. Wouldn't you agree?
 

mikec

Master Of All That I Survey
Retired Staff
Trusted Member
Jul 12, 2014
296
152
28
Los Angeles, California, USA
I love this plugin because of the random spawn on login if no home is set. I adapted it to use SafeTeleportTo so that the re-teleport is handled behind the scenes only when necessary, and commented out the re-releport timer Around 360 m seems to be the max safe distance you can teleport in one shot, without falling through the floor when you arrive.

I used a script to collect the locations of ALL THE ROCKS in the game, and used all 8,156 of them in my defaultLoc.ini. http://pastebin.com/9CjM5p3z
SafeTeleportTo puts you directly on top of the random rock, even though the Y coordinate is the center.

Code:
[Settings]
run_timer=2
Cooldown=300000
safetpcheck=2
Maxhomes=1
Antihack=1
tpdelay=10
DistanceCheck=1
Distance=15
CheckCloseWall=1
movecheck=1
homesystemname=[HomeSystem]
//This is the roof glitch bypass
antiroofdizzy=1
randomlocnumber=8156
rejoincd=15
jointpdelay=5
 
  • Like
Reactions: Snake

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
I love this plugin because of the random spawn on login if no home is set. I adapted it to use SafeTeleportTo so that the re-teleport is handled behind the scenes only when necessary, and commented out the re-releport timer Around 360 m seems to be the max safe distance you can teleport in one shot, without falling through the floor when you arrive.

I used a script to collect the locations of ALL THE ROCKS in the game, and used all 8,156 of them in my defaultLoc.ini. http://pastebin.com/9CjM5p3z
SafeTeleportTo puts you directly on top of the random rock, even though the Y coordinate is the center.

Code:
[Settings]
run_timer=2
Cooldown=300000
safetpcheck=2
Maxhomes=1
Antihack=1
tpdelay=10
DistanceCheck=1
Distance=15
CheckCloseWall=1
movecheck=1
homesystemname=[HomeSystem]
//This is the roof glitch bypass
antiroofdizzy=1
randomlocnumber=8156
rejoincd=15
jointpdelay=5
Thanks for that.

Sent from my Samsung Galaxy S4
 

mikec

Master Of All That I Survey
Retired Staff
Trusted Member
Jul 12, 2014
296
152
28
Los Angeles, California, USA
I looked at the code for random spawn points. It doesn't seem very random to me.

When you connect to the game, if you have a saved avatar it is loaded and your last location is read. If you have deployed sleeping bags or beds (DeployedRespawn), one is selected randomly and you are spawned at a random point within 10m of it. If you don't have a DeployedRespawn then if the last location of the avatar is valid, you are spawned within 10m of it.

If it's not, then it looks to me like a respawn of another player is randomly selected and you're spawned within 10m of that. If all else fails, you are spawned at 0,0,0.

I'm thinking of adding an option to change what spawn points are loaded. The property is public, type SpawnPoint[], so it could be assigned a new array of SpawnPoints. The spawn points are stored as small objects with 2 properties, a vector3 and a quaternion.

Trivia: If you turn off pvp, sleepers, set crafting instant or reduced timescale, or turn off fall damage, your server is SetModded().
Code:
  public void UpdateModdedStatus()
  {
    if (server.pvp && sleepers.on && !crafting.instant && (double) crafting.timescale == 1.0 && falldamage.enabled)
      return;
    Rust.Steam.Server.SetModded();
  }
 

mikec

Master Of All That I Survey
Retired Staff
Trusted Member
Jul 12, 2014
296
152
28
Los Angeles, California, USA
Using SafeTeleport method, uncommented the second safetimer, SafeTeleport should take care of everything now.
Did you mean to comment the second timer? Because even though it's using SafeTeleportTo, it's still telling me it's doing it twice for safety reasons.
 

Chucky1984

New Member
Member
Oct 29, 2014
1
0
1
41
Before i write so much stuff here, sorry for my bad english ;D

I have a big big Problem with this Plugin.
I install it on my Server, with /home it shows me all Stuff that i can Write in the Chat and i can save my
Home with /sethome 1.
But here are the Problem. I cant Port back to the Home with /home 1
There stand in the Chat that i will be Teleport back to home in 10 Seconds but nothing happend then.

What the hell i do wrong ? what can be the Problem ? Can you pls help me :(

[Settings]
run_timer=2
Cooldown=60000
safetpcheck=2
Maxhomes=2
Antihack=1
tpdelay=10
DistanceCheck=0
Distance=15
CheckCloseWall=0
movecheck=0
homesystemname=[HomeSystem]
;This is the roof glitch bypass
antiroofdizzy=0
randomlocnumber=8156
rejoincd=15
jointpdelay=7
 
Last edited: