Mine did not load a .json do you know why this is? trying to make unlimited tp's for my server with no luck changing the Lua.
Teleportation System [Unmaintained]
Discussion in 'Plugin Support' started by Mughisi, Oct 18, 2014.
-
because you don't change the lua but the configs if config/
-
Hmm for some reason the addon overwrites what I "tell" it.
I have set the countdown for 5, but for some reason it still counts down from 15 sec. Anything I've missed in the config file?
Code:"Homes": { "Countdown": 5, "UseFriendsAPI": true, "CheckFoundationForOwner": true, "LocationRadius": 25, "ForceOnTopOfFoundation": false, "Cooldown": 150, "DailyLimit": 15, "HomesLimit": 4 }, "TPR": { "Countdown": 5, "RequestDuration": 30, "DailyLimit": 15, "BlockTPAOnCeiling": false, "Cooldown": 150 },
-
-
I notice that I also experience issues with the auto broadcast ignoring my messages and just broadcast the standard config created when downloaded... Something is fishy here...
[DOUBLEPOST=1421708692,1421693585][/DOUBLEPOST]Okay I figure I will need help with this one...
Scenario, I have now removed all other addons except the teleportation one.
I have not touched the code at all. Clanforge is updated with version 1.4.1 (which is the newest one afaik)
Even when I haven't touched the code I get a 15sec countdown 'til the teleport and I get 8 mins of cooldown afterwards.
Any idea what's wrong? I am completly lost. Is there some config I have missed?
Code:{ "Settings": { "InterruptTPOnHurt": true, "HomesEnabled": true, "ChatName": "Teleportation", "ConfigVersion": "1.4.1", "TPREnabled": true }, "AdminTP": { "AnnounceTeleportToTarget": false, "TeleportNearDefaultDistance": 30, "UseableByModerators": true, "LocationRadius": 25 }, "Homes": { "Countdown": 5, "UseFriendsAPI": true, "CheckFoundationForOwner": true, "LocationRadius": 25, "ForceOnTopOfFoundation": true, "Cooldown": 300, "DailyLimit": 5, "HomesLimit": 2 }, "TPR": { "Countdown": 5, "RequestDuration": 30, "DailyLimit": 5, "BlockTPAOnCeiling": true, "Cooldown": 300 },
-
-
I getting this error from time to time:
Code:[Oxide] 6:13 PM [Error] m-Teleportation: [string "m-Teleportation.lua"]:2527: Object reference not set to an instance of an object at UnityEngine.StringExtensions.QuoteSafe (System.String str) [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] in <filename unknown>:0
This plugin ROCKS! Thank YOU! -
-
is the location save work?
-
-
How to NOT allow other players to set home on others foundations?
-
CheckFoundationForOwner" -
So leave friendsAPI to false, set CheckFOundationForOwner to True and get the buildingowners plugin?
-
-
SaveLocation() always saves wrong coordinates.
-
ULTRA FAST and no brain fucking teleportation:
Code:function PLUGIN:Teleport( player, destination ) player:StartSleeping() player.transform.position = destination newobj = util.TableToArray( { destination } ) util.ConvertAndSetOnArray( newobj, 0, destination, UnityEngine.Object._type ) player:ClientRPC(nil,player,"ForcePositionTo",newobj) player:TransformChanged() player:SetPlayerFlag( global.PlayerFlags.ReceivingSnapshot, true ) player:UpdateNetworkGroup() player:SendFullSnapshot() end
Last edited by a moderator: Jan 24, 2015 -
Code:
[1/25/2015 7:12:51 AM] [Oxide] 7:12 AM [Error] m-Teleportation: [string "m-Teleportation.lua"]:2445: attempt to index field 'Single' (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.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
Hey guys.
Updated Oxide and restarted my server, now I have this error, tried reloading the plugin multiple times, even downloading and re-installing it, to no avail.
Error is the same as above (just about hit post when it loaded so I took my error code out)
Thanks again guys! -
Code:
[1/25/2015 7:15:51 AM] [Oxide] 7:15 AM [Error] Failed to run a timer. (LuaScriptException: [string "m-Teleportation.lua"]:2634: attempt to index field 'Int32' (a nil value)) [1/25/2015 7:15:51 AM] [Oxide] 7:15 AM [Debug] 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 NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0 at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0
-
After a complete fresh install the teleport doesn't seem to be working with the current version.