Teleportation System [Unmaintained]
Discussion in 'Plugin Support' started by Mughisi, Oct 18, 2014.
-
-
You've changed the .lua file, those values are only loaded the first time when the plugin is loaded and the configuration file is created. You should have a config folder containing the file m-Teleportation.json, you will have to edit that file and reload the plugin to change the cooldown.
-
OK i see
How to re-direct the plugin in server cmd?
Have command? -
oxide.reload m-Teleportation -
OK , I see
Thank you)
-
I get a lot of report about the raiding of houses with teleport system and I just check my self;
If you stand very close the foundation, your friend can teleport to you and he can wakeup inside the wall then easily enter the house. Then he will move to another wall and you will teleport to him and you will find your selves inside the wall. If you inside the wall you can move both side easily ofcourse I moved inside.
Until find tool cupboard we perform same operation couple of time and no need to talk about what happen after we found the tool cupboard.
Until this problem fixed I disable player to player teleportation and will use this only for home teleportation - By the way I have Antiwall hack plugin in my server but it can not dedect bc of teleport system baypass this plugin.
you should really make some protection for player teleportation. For example, after teleport to player, plugin may check player's position - if it's inside the something else such as wall or Rock then player should be teleport back to last position which might be avoid glitching because, everybody aware about the situation and if the server have teleport system, couple of guys can raid all houses easily.
[DOUBLEPOST=1424189306,1424033653][/DOUBLEPOST]I just edit my comment and awaiting feedback from developer pls -
-
Awaiting yours thank you -
-
do you mean currently plugin working with this system?
[DOUBLEPOST=1424190410][/DOUBLEPOST]then just need to make small setting for increase pushing amount which will be solve problem bc currently you can easily teleport to inside wall -
-
okay then.
curently only home teleport is enable therefore, please let us inform when the problem fixed then we can install revised version for enable again "player to player teleportation"
thanks in advance -
Mug, does ur plugin works on new version of oxide?
-
-
no reports about it not working.
-
just tp'd without and error or issue. Probably another plugin as a few are not working.
-
http://pastebin.com/iLAvgABD
hotfix for global.player
use BasePlayer
i was getting error at 2505 patched it
[DOUBLEPOST=1424214765][/DOUBLEPOST]wasnt the fix getting the same error as it was before
Code:[Oxide] 11:12 PM [Error] LuaScriptException while calling cmdTeleport:File: m-Teleportation.lua Line: 2505 attempt to index global 'BasePlayer' (a nil value): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Global [Oxide] 11:12 PM [Info] Message5
Last edited by a moderator: Feb 18, 2015 -
Asking this because all the global namespaces from Assembly-CSharp are still in the table "global", I used
global["BasePlayer+PlayerFlags"].ReceivingSnapshot on that line because at that moment it was not yet possible to use global.BasePlayer.PlayerFlags.ReceivingSnapshot but both work perfectly at this time. Did you get an error multiple times before making the changes or did it only happen once?