Resource icon

Approved HomeSystem 2.6.5

No permission to download

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
DreTaX updated HomeSystem with a new update entry:

Fixes/Additions

  • Code Fixes
  • Now you can safely turn off random locations and makes sure you have antiroofdizzy set to 1 (Set SendPlayertoHomeorRandom to 0 and Set EJoinCooldown to 0.) Why? Simple. I have added checks and HomeSystem will look at all of the cases if the player is using Dizzy. Forget those random teleportations, and boost performance!
Read the rest of this update entry...
 

Marcos

Member
Trusted Member
Member
Aug 1, 2014
101
0
18
good night
I've recently with some problems that appear out of nowhere.
There is a program that the staff uses to bring down servers, do not know if that's what's going on my server.
Out of nowhere the server begins the bugar tpa home and after that the server of an error message on the screen and starts up a warning in red and closes.
I am sending the server log with the updated plugs.
also follows the error logs that the server did
 

Attachments

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
good night
I've recently with some problems that appear out of nowhere.
There is a program that the staff uses to bring down servers, do not know if that's what's going on my server.
Out of nowhere the server begins the bugar tpa home and after that the server of an error message on the screen and starts up a warning in red and closes.
I am sending the server log with the updated plugs.
also follows the error logs that the server did
[2/19/2015 4:43:06 PM] [Exception] [ Hooks->PlayerKilled | HumanController->OnKilled | Component->SendMessage | TakeDamage->Hurt | HumanBodyTakeDamage->Hurt | TakeDamage->HurtShared | TakeDamage->HurtShared | TakeDamage->Hurt | BulletWeaponDataBlock->ApplyDamage | BulletWeaponDataBlock->DoAction1 | ItemRepresentation->RunAction | ItemRepresentation->RunServerAction | ItemRepresentation->Action1 | ItemRepresentation->Action1B | MonoMethod->InternalInvoke | MonoMethod->Invoke | MethodBase->Invoke | #=qaL2AMBCaBLCj4lGSCwjcBVYUs_5vzeQVgu44HVklVYQ=->#=qG_E6hqIvz6NLWQQCT2N5IA== | #=q$NUWz6aT_ypN3cz7K6ce2gVWapiYAlnLPGzKjIUfT2w=->#=qS9ntZNSJqwnPkZv_HZvsug== | NetworkView->OnRPC | NetworkViewBase->#=qpJfiNEhSKsosBj54zW21Bw== | #=qjg$mq9k6hZwR1eaAS3eQ4dux$3oD_j8CRZte$f$nFV0=->#=qlGEZiB55BOeKhe33IbTgs3lVmx7rHXWsIFfTvKtNlrQ= | #=qjg$mq9k6hZwR1eaAS3eQ4dux$3oD_j8CRZte$f$nFV0=->#=qIPn628V9gmXGKu9CDwAT4Q== | #=qxj6gmeF_JmZ38rfyBJuqFoiB_sAo6WCf4j1AdQtxGgQ=->#=qpnen9BDYWb7GIHNeIDM0B2w3_bWY6Y1K7n6fbysAk2U= | #=qxj6gmeF_JmZ38rfyBJuqFoiB_sAo6WCf4j1AdQtxGgQ=->#=qnjPTIXsYLyWun9DHM4QyDdSqTLT$sNaH7rGgebuLUF8= | #=qxj6gmeF_JmZ38rfyBJuqFoiB_sAo6WCf4j1AdQtxGgQ=->#=q9Ox7MeTma6fxAsTig99GV6twoS8KYKSkq98q3ldn1AU= | #=qxj6gmeF_JmZ38rfyBJuqFoiB_sAo6WCf4j1AdQtxGgQ=->#=qdSwDnRo$f5EQslih94YkOg== | #=qjg$mq9k6hZwR1eaAS3eQ4dux$3oD_j8CRZte$f$nFV0=->#=qqJfJJIU5OocEzCry9eP0ew== | #=qSBVG6i3HoKQx$z3bwADYIgVX_kCktQP8JwBh1CI$O_8=->#=qK4rBLHQlJi1c$9ISNO6Z6w== | InternalHelper->LateUpdate | ]
System.NullReferenceException: Object reference not set to an instance of an object
at Fougerite.Player.get_SteamID () [0x00000] in <filename unknown>:0
at Fougerite.Player.FindBySteamID (System.String uid) [0x00000] in <filename unknown>:0
at Fougerite.Server.FindPlayer (System.String s) [0x00000] in <filename unknown>:0
at RustPP.RustPPModule.PlayerKilled (Fougerite.Events.DeathEvent event2) [0x00000] in <filename unknown>:0



http://fougerite.com/threads/lag-then-random-crashes-console-spam.445/#post-4523
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
DreTaX updated HomeSystem with a new update entry:

Fixes/Additions

An update you will love....

  • Added a new option which allows you to save home by hitting a foundation. You should use this, It causes less lag, and way more faster to check if the player is on the whitelist.
  • Move check will freeze the player.
  • Added a new command called /hcanc It cancels your home teleportation request.
  • Lots of Code/Performance improvements in the timer. Should cause less lag on bigger servers.
  • Lots of other things
  • Replace your old Config file with the new one please.
Read the rest of this update entry...
 

Marcos

Member
Trusted Member
Member
Aug 1, 2014
101
0
18
The plug Home System, is showing error.
After the save point, when you type / home teleportation will not
following log.

And another problem, when you know who owns the house, add him as your friend, you can register the point in colleague's house.
Try to put the fix for both players add each other as friends, so we avoid this problem
 

Attachments

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
The plug Home System, is showing error.
After the save point, when you type / home teleportation will not
following log.

And another problem, when you know who owns the house, add him as your friend, you can register the point in colleague's house.
Try to put the fix for both players add each other as friends, so we avoid this problem
http://fougerite.com/resources/ironpython-module.96/

https://github.com/dretax/Python-Plugins/blob/master/HomeSystem/HomeSystem.py#L667
 

MasterPeace

Retired Staff
Retired Staff
Feb 2, 2015
269
69
28
45
Poland
What could be the diff... Hm.

Sent from my Samsung Galaxy S4
Code:
[2/24/2015 5:59:18 PM] [Error] Traceback (most recent call last):
  File "<string>", line 323, in JobTimerCallback
SystemError: Object reference not set to an instance of an object
Yes, one thing is that there are problems with this "random" line, but man why is it going there? If this instruction have 5 options, why is it going to 5? I always had problems with understanding other scripts but:

1 = Teleport home
2 = Teleport home
3 = Random location (why random location?)
4 = Dizzy
5 = ?

What if I edit whole code from this:
Code:
elif callback == 5:
                        randomloc = int(config.GetSetting("Settings", "randomlocnumber"))
                        DataStore.Add("home_joincooldown", id, 7)
                        r = random.randrange(1, randomloc)
                        ini = self.Homes()
                        getdfhome = ini.GetSetting("DefaultHome", id)
                        if getdfhome is not None:
                            home = self.HomeOf(player, getdfhome)
                            home = Util.CreateVector(float(home[0]), float(home[1]), float(home[2]))
                            # ID, EXECTIME : Location : CallBack number  : Player's Last Location | Requires to be splited
                            w = 1
                        else:
                            ini2 = self.DefaultLoc()
                            locc = ini2.GetSetting("DefaultLoc", str(r))
                            tp = self.Replace(locc)
                            home = Util.CreateVector(float(tp[0]), float(tp[1]), float(tp[2]))
                            w = 3
                        self.addJob(id, 2, home, w)
to this
Code:
elif callback == 5:
                        randomloc = int(config.GetSetting("Settings", "randomlocnumber"))
                        DataStore.Add("home_joincooldown", id, 7)
                        ini = self.Homes()
                        getdfhome = ini.GetSetting("DefaultHome", id)
                        if getdfhome is not None:
                            home = self.HomeOf(player, getdfhome)
                            home = Util.CreateVector(float(home[0]), float(home[1]), float(home[2]))
                            # ID, EXECTIME : Location : CallBack number  : Player's Last Location | Requires to be splited
                            w = 1
                        self.addJob(id, 2, home, w)
??
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
Code:
[2/24/2015 5:59:18 PM] [Error] Traceback (most recent call last):
  File "<string>", line 323, in JobTimerCallback
SystemError: Object reference not set to an instance of an object
Yes, one thing is that there are problems with this "random" line, but man why is it going there? If this instruction have 5 options, why is it going to 5? I always had problems with understanding other scripts but:

1 = Teleport home
2 = Teleport home
3 = Random location (why random location?)
4 = Dizzy
5 = ?

What if I edit whole code from this:
Code:
elif callback == 5:
                        randomloc = int(config.GetSetting("Settings", "randomlocnumber"))
                        DataStore.Add("home_joincooldown", id, 7)
                        r = random.randrange(1, randomloc)
                        ini = self.Homes()
                        getdfhome = ini.GetSetting("DefaultHome", id)
                        if getdfhome is not None:
                            home = self.HomeOf(player, getdfhome)
                            home = Util.CreateVector(float(home[0]), float(home[1]), float(home[2]))
                            # ID, EXECTIME : Location : CallBack number  : Player's Last Location | Requires to be splited
                            w = 1
                        else:
                            ini2 = self.DefaultLoc()
                            locc = ini2.GetSetting("DefaultLoc", str(r))
                            tp = self.Replace(locc)
                            home = Util.CreateVector(float(tp[0]), float(tp[1]), float(tp[2]))
                            w = 3
                        self.addJob(id, 2, home, w)
to this
Code:
elif callback == 5:
                        randomloc = int(config.GetSetting("Settings", "randomlocnumber"))
                        DataStore.Add("home_joincooldown", id, 7)
                        ini = self.Homes()
                        getdfhome = ini.GetSetting("DefaultHome", id)
                        if getdfhome is not None:
                            home = self.HomeOf(player, getdfhome)
                            home = Util.CreateVector(float(home[0]), float(home[1]), float(home[2]))
                            # ID, EXECTIME : Location : CallBack number  : Player's Last Location | Requires to be splited
                            w = 1
                        self.addJob(id, 2, home, w)
??
Omg.

No.

https://github.com/dretax/Python-Plugins/blob/master/HomeSystem/HomeSystem.py#L277 # Join home teleportation timer.

https://github.com/dretax/Python-Plugins/blob/master/HomeSystem/HomeSystem.py#L281 Second home teleporter making sure that you won't glitch fall.

https://github.com/dretax/Python-Plugins/blob/master/HomeSystem/HomeSystem.py#L293 Join event random teleportation handler. Old dizzy bypasser. It can be enabled still.

https://github.com/dretax/Python-Plugins/blob/master/HomeSystem/HomeSystem.py#L299 New dizzy checker.

https://github.com/dretax/Python-Plugins/blob/master/HomeSystem/HomeSystem.py#L320 Old dizzy hacker. Launches the first or the third callbacks.

https://github.com/dretax/Python-Plugins/blob/master/HomeSystem/HomeSystem.py#L336 Disconnects player in 2 seconds. This makes me sure that the player was teleported to a random location if we detected the dizzy hack on /home usage, or at anywhere. If you teleport a player and disconnect It right after that, he won't be teleported.

My plugin has features for reasons..
 

MasterPeace

Retired Staff
Retired Staff
Feb 2, 2015
269
69
28
45
Poland
Yes but if it's not working... What's the point to have it? Some Random function is making error like it's necessary, even when I disabled random TP.
 

MasterPeace

Retired Staff
Retired Staff
Feb 2, 2015
269
69
28
45
Poland
I mean that's why I asking if it's necessary to have this (codes). I'm not saying that you should change plugin because it's not working for me. I wouldn't even write reply for that, but just started to develop my own, or just delete yours, and have no home system.

Of course I have, It's second time I'm writing this. I just thought that after updates it will work, but no. There are more plugins what are just not working on Linux because of advanced functions usage. But HomeSystem is like most important and have most not-usual error. I wish I could just make tests, but not, I can't just turn off server, restart, turn off, restart.

I'm thinking of copying whole server and starting second for tests, but I'm not sure if my hosting can afford this. I'll try.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
I mean that's why I asking if it's necessary to have this (codes). I'm not saying that you should change plugin because it's not working for me. I wouldn't even write reply for that, but just started to develop my own, or just delete yours, and have no home system.

Of course I have, It's second time I'm writing this. I just thought that after updates it will work, but no. There are more plugins what are just not working on Linux because of advanced functions usage. But HomeSystem is like most important and have most not-usual error. I wish I could just make tests, but not, I can't just turn off server, restart, turn off, restart.

I'm thinking of copying whole server and starting second for tests, but I'm not sure if my hosting can afford this. I'll try.
I forgot you are having Linux.

I don't really know. It's something that I can't answer. How come your hosting is running linux? It's not really healthy for the Legacy. I used to run one on wine, but I got lots of flood before. But I never had such compat. probs
 

MasterPeace

Retired Staff
Retired Staff
Feb 2, 2015
269
69
28
45
Poland
You know Linux server I can get with just 5-10$ / month and can do whatever I want with this. Pay wherever I want (for month, for two months, not pay).

Windows servers starting from 30$ / month because of license, and I think OVH is best available if you ask about price and quality.

So paying that much for small rust server would be stupid. I don't know how it is in international hosters, but you know. It's better for me to fully understand what I'm paying for (can't speak English). So I decided to just buy Linux and do it in hard way :)

Everything is fine here, except off some functions. Hope I'll find what is wrong with that.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
You know Linux server I can get with just 5-10$ / month and can do whatever I want with this. Pay wherever I want (for month, for two months, not pay).

Windows servers starting from 30$ / month because of license, and I think OVH is best available if you ask about price and quality.

So paying that much for small rust server would be stupid. I don't know how it is in international hosters, but you know. It's better for me to fully understand what I'm paying for (can't speak English). So I decided to just buy Linux and do it in hard way :)

Everything is fine here, except off some functions. Hope I'll find what is wrong with that.
Oh so you are renting a server.

You think you have enough CPU and Ram to install VMWARE on it and create a virtual windows server?
 

MasterPeace

Retired Staff
Retired Staff
Feb 2, 2015
269
69
28
45
Poland
Sorry fff.. I have so many problems that I'm losing my mind. Of course 323 line is "SafeTeleportTo". And I'm talking about random functions etc - idiot.

VMWARE - no. One bad thing about it is that I can't change virtualization.

Back in topic.

So SafeTeleportTo(loc)
Code:
xto = self.ReplaceToDot(params[1])
loc = Util.CreateVector(float(xto[0]), float(xto[1]), float(xto[2]))
[/code

And looks like it's making error on Util.CreateVector, as I tried to write numbers to float() 
[code]loc = Util.CreateVector(float(5038.9), float(482.9), float(-3132.8))
and that made error to.

I'll check all libraries again, but I know they're just same as on my PC..
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
Sorry fff.. I have so many problems that I'm losing my mind. Of course 323 line is "SafeTeleportTo". And I'm talking about random functions etc - idiot.

VMWARE - no. One bad thing about it is that I can't change virtualization.

Back in topic.

So SafeTeleportTo(loc)
Code:
xto = self.ReplaceToDot(params[1])
loc = Util.CreateVector(float(xto[0]), float(xto[1]), float(xto[2]))
[/code

And looks like it's making error on Util.CreateVector, as I tried to write numbers to float()
[code]loc = Util.CreateVector(float(5038.9), float(482.9), float(-3132.8))
and that made error to.

I'll check all libraries again, but I know they're just same as on my PC..
It seems like Unity methods do not work fully on Linux. Not surprised. It wasn't supported.
 

maughanorama

Member
Member
Nov 27, 2014
181
10
18
50
bit of a strange one, more than liley suppossed to happen but i thought id ask anyway. if i creat a house anyone cant come onto the foundation and sethome? is there anyway i cant stop this ?

ta