Read the rest of this update entry...
- 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!
[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 | ]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
Read the rest of this update entry...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.
http://fougerite.com/resources/ironpython-module.96/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
What could be the diff... Hm.
Sent from my Samsung Galaxy S4
[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
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)
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.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: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
1 = Teleport home
2 = Teleport home
3 = Random location (why random location?)
4 = Dizzy
5 = ?
What if I edit whole code from this:
to thisCode: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)
??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)
It works for me buddy. There are lots of points to have It.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.
I forgot you are having Linux.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.
Oh so you are renting a server.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.
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))
It seems like Unity methods do not work fully on Linux. Not surprised. It wasn't supported.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)
and that made error to.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))
I'll check all libraries again, but I know they're just same as on my PC..
There is a whitelisting command.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