More like -3000 to 3000
Teleportation System [Unmaintained]
Discussion in 'Plugin Support' started by Mughisi, Oct 18, 2014.
-
-
its -4000 to +4000 to be exact.
@Oh_G why did you explain that? yes i said the sauerkraut api, which fits your description quite accurately.
@Reneb I simply saw the teleport code in the sauerkraut API have identical code to this plugin, there are more ways to do it, and in a different order. you have even included some things that the sauerkraut teleport code has, that doesn't even need to be there. The coincidence is too great. -
-
because there is no direct teleport function in the rust server, you need to manually change player coordinates and re-send a bunch of data to get it it to work, then on top of that you need to add in some 'hack' code to get it to teleport properly, the code would certainly look different if someone was to find/test/optimize this themselves, instead its just a rip of the sauerkraut code, discrediting the time they spent finding it and making it work properly. ill leave it at that.
-
-
Wulf Community Admin
-
Periodically receiving the following error message:
Code:[Oxide] 10:02 PM [Error] m-Teleportation: A .NET exception occured in user-code 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.Globalization.CultureInfo culture) [0x00000] i n <filename unknown>:0
Speaking of tpr, there's some sort of exploit where users can force tp other players to them when tpr is enabled. -
-
I have no idea how it's done. All I know is players are able to send me a tpr and if I don't do anything several seconds later I am auto TP'd to that player. There are only a few people doing it so I have to believe it's some sort of exploit they know about and not necessarily a code bug that's doing it automatically
-
As wulf said we all spent hours trying to find out how it works, i éven remember when mughusi said that he was able to téléport to players that were far from him. And Got the idea of teleporting himself far away and then back.
As for the useless code it's just copying what is inside rust .dll. -
To give a little more info, the error in my inital reply is caused when the required variable doesn't exist.. ie when no home is set, when target player is not online, etc.
-
Is this for Legacy or Experimental?
-
--'
Legacy = resources link, oxide 1.18 and less. And under legacy forum
Expérimental = plugins link, oxide 2.0 and under expérimental forum. -
It is strange that this is not about writing, but there are problems:
1) Disappear nicknames and do not want to go back;
2) After the teleportation lost buildings and items from the inventory;
3) If the teleportation goes into the house, "landing" player on the floor below;
With the help of paragraphs 2 and 3 can easily rob the house, and that the players are doing. -
There is just a small mistake in the plugin :
L1290 => self:SendMessage( player, "- /tphelp Home" ) => self:SendMessage( player, "- /tphelp Homes" ) -
-
Thank you, your plugin is fantastic
-
Half an hour ago, it was this:
I will not send requests. He's not one I have teleported. -
mughisi maybe you should have made separate plugins XD
any way i had couple issues:
/tp PLAYER1 PLAYER2 => didn't work at all, and sent me messages that the players got tped to me and i was tped to them
and the commands for the sethome are not very easy for players:
/sethome 1
/removehome 1
you should make that if they sethome they just overwrite the old one
(and maybe do a raycast down to make sure they are on a building ?)
etc
and there is no /tphelp for home
and can you add the support of HelpText, so when we say /help, it shows you /tphelp
thanks in advance m8