Can you post the error please.
Teleportation System [Unmaintained]
Discussion in 'Plugin Support' started by Mughisi, Oct 18, 2014.
-
all im getting m8 a syntax error has happened no code[DOUBLEPOST=1414940487][/DOUBLEPOST]3:56 PM [Error] m-Teleportation: [string "m-Teleportation.lua"]:1314: attempt to index global 'TeleportData' (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 -
i have an Error too:
4:32 PM [Error] m-Teleportation: [string "m-Teleportation.lua"]:671: attempt to compare number with nil
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
4:33 PM [Error] m-Teleportation: [string "m-Teleportation.lua"]:671: attempt to compare number with nil
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 -
-
Man, I simply cannot get this one to work. I use multiplay as a host. Just will not work......I looked at the m-Teleportation.json, and it is empty....should not be that way, right?
-
Here is my Config file:
I cant find "LocationRadius"
{
"AdminTP": {
"AnnouncTeleportToTarget": false
},
"Homes": {
"HomesLimit": 2,
"Countdown": 15,
"Cooldown": 600,
"DailyLimit": 5
},
"Settings": {
"InterruptTPOnHurt": true,
"HomesEnabled": true,
"TPREnabled": true,
"ChatName": "Scotty"
},
"Messages": {
"InterruptedTarget": "{player}'s teleport wurde unterbrochen!",
"AdminTPPlayerTarget": "{admin} teleportierte {player} zu Dir!",
"CantTeleportToSelf": "Du kannst nicht zu Dir selbst teleportieren!",
"HomeNotFound": "Kann keinen Heimatpunkt mit diesem Namen finden!",
"LocationExistsNearby": "Ein Teleport Punkt mit dem Namen {name} gibt es schon hier {location}!",
"InvalidHelpModule": "Invalid module supplied!",
"CancelTarget": "{player} hat den Teleport zu Dir abgebrochen!",
"AdminTP": "Du wurdest zu {player} teleportiert!",
"Decline": "{player} hat deine Teleport Anfrage abgelehnt!",
"Success": "Du wurdest zu {player} teleportiert!",
"TargetDisconnected": "{player} ist offline, der Teleport wurde abgebrochen!",
"NoPreviousLocationSaved": "keine frueheren Punkte gesetzt!",
"AdminTPLocationRemove": "Du hast den Teleport Punkt {location} geloescht!",
"PlayerNotFound": "Der Spieler wurde nicht gefunden, versuche es noch einmal!",
"Cancel": "Du hast den Teleport abgebrochen!",
"HomeList": "Die folgenden Heimatpunkte sind verfuegbar:",
"AdminTPLocation": "Du wurdest nach {location} teleportiert!",
"CantTeleportPlayerToSelf": "Du kannst keinen Spieler zu sich selbst teleportieren!",
"AdminTPTarget": "{player} wurde zu Dir teleportiert!",
"PendingRequestTarget": "Der Spieler zu dem du teleportieren willst hat noch eine laufende Anfrage, versuche es spaeter nochmal!",
"SyntaxError": "Eingabe Fehler! schaue nochmal unter /tphelp nach den genauen Befehlen.",
"AdminTPBack": "Du wurdest zu deiner letzten Position zurueck teleportiert!",
"Interrupted": "Der Teleport wurde unterbrochen!",
"HomeMaxLocations": "Kann keinen weiteren Heimatpunkt mehr setzen, Du hast das maximum von {amount} Heimatpunkten erreicht!",
"NoPendingRequest": "Es existiert keine laufende Teleport Anfrage!",
"PendingRequest": "Es läuft schon eine Teleport Anfrage, beende die Anfrage oder warte bis Sie akzeptiert oder abgelehnt wurde!",
"AcceptTarget": "Du hast die Teleport Anfrage von {player} akzeptiert!",
"AdminTPBackSave": "Deine letzte Position wurde gespeichert, benutze /tpb um dorthin zurueck zu teleportieren!",
"SuccessTarget": "{player} wurde zu Dir teleportiert!",
"AdminTPPlayers": "Du hast {player} zu {target} teleportiert!",
"Request": "Du hast eine Teleport Anfrage an {player} abgeschickt!",
"Accept": "{player} hat Deine Teleport Anfrage akzeptiert! Du wirst in {countdown} sekunden teleportiert!",
"HomeTP": "Du wurdest nach Hause teleportiert '{home}'!",
"AdminTPLocationSave": "Du hast diesen Ort gespeichert!",
"HomeSave": "Du hast diesen Ort als Heimat gepeichert!",
"HomeRemove": "Du hast den folgenden Heimatpunkt entfernt {home}!",
"TimedOut": "{player} antwortete nicht rechtzeitig auf Deine Anfrage!",
"InvalidCoordinates": "Die eingegebenen Koordinaten sind ungueltig!",
"DeclineTarget": "Du hast die Teleport Anfrage von {player} abgelehnt!",
"AdminLocationList": "Die folgenden Orte sind verfügbar:",
"HomeExistsNearby": "Ein Heimatpunkt mit dem Namen {name} existiert bereits hier {location}!",
"HomeExists": "Du hast schon einen Heimatpunkt mit diesem Namen gespeichert!",
"AdminTPBoundaries": "X und Z Werte muessen zwischen -3000 und 3000 und der Y Wert muss zwischen 0 and 2000 liegen!",
"TPHelp": {
"admintp": {
"line5": "/tpl - ziegt eine Liste Deiner Teleport Punkte.",
"line8": "/tpremove <location name> - entfernt einen Teleport Punkt aus deiner Liste.",
"line7": "/tpsave <location name> - speichert die aktuelle Position unter dem Namen.",
"line3": "/tp <player> <targetplayer> - teleportiert einen Spieler zu einem anderen.",
"line6": "/tpl <location name> - teleportiert Dich zum gewuenschten Teleport Punkt.",
"line9": "/tpb - teleportiert dich zurueck zum letzten Punkt vor dem Teleport.",
"line2": "/tp <targetplayer> - teleportoiert Dich zu einem Spieler.",
"line4": "/tp <x> <y> <z> - teleportiert dich zu den Koordinaten.",
"line1": "ALs Admin hast du Zugriff auf folgende Befehle:"
},
"tpr": {
"line5": "/tpc - bricht eine laufende Teleport Anfrage ab.",
"line2": "/tpr <player name> - sendet eine Teleport Anfrage an einen Spieler.",
"line3": "/tpa - akzeptiert die Teleport Anfrage.",
"line4": "/tpd - lehnt die Teleport Anfrage ab.",
"line1": "Mit diesen Befehlen kannst du Teleport Anfragen senden oder beantworten:"
},
"homes": {
"line5": "/tphome <location name> - teleportiert Dich zu dem Heimatpunkt.",
"line2": "/sethome <location name> - Speichert dein Position mit dem Namen als Heimatpunkt.",
"line3": "/listhomes - Zeigt eine List mit deinen gespeicherten Heimatpunkten.",
"line4": "/removehome <location name> - Entfernt den Heimatpunkt.",
"line1": "Mit den folgenden Befehlen kannst du einen Heimatpunkt setzen und wieder dorthin teleportieren:"
},
"General": {
"line1": "Bitte waehle das Modul aus zu dem du die Hilfe sehen willst: ",
"line2": "Verfuegbare Module sind: "
}
},
"HomeListEmpty": "Du hast keine Heimatpunkte gespeichert!",
"HomeTPStarted": "Teleport zu {home} in {countdown} Sekunden!",
"LocationNotFound": "Kann keinen Teleport Punkt mit diesem Namen finden!",
"LocationExists": "Ein Teleport Punkt mit diesem Namen existiert schon bei {location}!",
"TimedOutTarget": " {player} antwortete nicht rechtzeitig auf deine Anfrage!",
"AdminLocationListEmpty": "Du hast keine Teleport Punkte gespeichert!",
"AdminTPPlayer": "{admin} teleportierte Dich zu {player}!",
"AdminTPOutOfBounds": "Diese Koordinaten liegen ausserhalb der Map!",
"AdminTPCoordinates": "Du wurdest zu {coordinates} teleportiert !",
"RequestTarget": "{player} moechte sich zu Dir teleportieren! Benutze '/tpa' um das zu akzeprieren!"
},
"TPR": {
"DailyLimit": 5,
"Countdown": 15,
"Cooldown": 600,
"RequestDuration": 30
}
} -
-
The loaded Plugin Vesion seems to be ok.
Perhaps i have to delete the config.json and let it generate new ?
omg i must translate it again
Code:2:31 PM [Info] Loaded plugin Advanced Teleportation System (v1.0.7) by Mughisi
-
"AdminTP": {
"AnnounceTeleportToTarget": false,
"LocationRadius": 25,
"UseableByModerators": true[DOUBLEPOST=1414947489][/DOUBLEPOST]i tried reloading plugin and deleting config but when i do oxide.rload nothing seems to happenLast edited by a moderator: Nov 2, 2014 -
My cfg for the plugin is blank. Can anyone help me? When I try to do a tpr I get this in the console:
[Oxide] 11:06 AM [Error] m-Teleportation: [string "m-Teleportation.lua"]:1264: attempt to index field 'Settings' (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[DOUBLEPOST=1414948909][/DOUBLEPOST]the only contents of my .cfg are:
"Settings": {
"TPREnabled": true,
"ChatName": "Teleportation",
"InterruptTPOnHurt": true,
"HomesEnabled": true,
"ConfigVersion": "1.0.0"
}
am I missing something?[DOUBLEPOST=1414949087][/DOUBLEPOST]Can someone paste the cfg file so I can copy and paste pls? Thanks!Last edited by a moderator: Nov 2, 2014 -
May I ask which server provider you are using Chaonix? And here is the complete config:
Code:{ "Messages": { "AdminTPLocationSave": "You have saved the current location!", "AdminTPOutOfBounds": "You tried to teleport to a set of coordinates outside the map boundaries!", "SyntaxCommandTPSave": [ "A Syntax Error Occurred!", "You can only use the /tpsave command as follows:", "/tpsave <location name> - Saves your current position as 'location name'." ], "MultiplePlayersFound": "Found multiple players with that name!", "AdminTPPlayerTarget": "{admin} teleported {player} to you!", "AcceptOnRoof": "You can't accept a teleport while you're on a ceiling, get to ground level!", "AdminTPCoordinates": "You teleported to {coordinates}!", "HomeExists": "You have already saved a home location by this name!", "LocationNotFound": "Couldn't find a location with that name!", "HomeExistsNearby": "A home location with the name {name} already exists near this position!", "HomeSaveFoundationOnly": "You can only save a home location on a foundation!", "HomeTPCooldown": "Your teleport is currently on cooldown. You'll have to wait {time} for your next teleport.", "AdminLocationList": "The following locations are available:", "PendingRequest": "You already have a request pending, cancel that request or wait until it gets accepted or times out!", "Success": "You teleported to {player}!", "AdminTPBackSave": "Your previous location has been saved, use /tpb to teleport back!", "TimedOut": "{player} did not answer your request in time!", "PendingRequestTarget": "The player you wish to teleport to already has a pending request, try again later!", "AcceptTarget": "You've accepted the teleport request of {player}!", "AdminTPTarget": "{player} teleported to you!", "PlayerNotFound": "The specified player couldn't be found please try again!", "TPSettings": { "General": [ "Please specify the module you want to view the settings of. ", "The available modules are: " ], "home": [ "Home System as the current settings enabled: ", "Time between teleports: {cooldown}", "Daily amount of teleports: {limit}", "Amount of saved Home locations: {amount}" ], "tpr": [ "TPR System as the current settings enabled: ", "Time between teleports: {cooldown}", "Daily amount of teleports: {limit}" ] }, "AdminTPPlayer": "{admin} teleported you to {player}!", "HomeListEmpty": "You haven't saved any homes!", "AdminTPBoundaries": "X and Z values need to be between -4000 and 4000 while the Y value needs to be between -100 and 2000!", "CantTeleportToSelf": "You can't teleport to yourself!", "HomeRemove": "You have removed your home {home}!", "AdminTPBack": "You've teleported back to your previous location!", "SuccessTarget": "{player} teleported to you!", "HomeTPStarted": "Teleporting to your home {home} in {countdown} seconds!", "AdminTP": "You teleported to {player}!", "SyntaxCommandListHomes": [ "A Syntax Error Occurred!", "You can only use the /listhomes command as follows:", "/listhomes - Shows you a list of all your saved home locations." ], "TPRLimitReached": "You have reached the daily limit of {limit} teleport requests today!", "HomeList": "The following homes are available:", "TeleportPending": "You can't initiate another teleport while you have a teleport pending!", "HomeFoundationNotOwned": "You can't set your home on someone else's house.", "Interrupted": "Your teleport was interrupted!", "TPRCooldown": "Your teleport requests are currently on cooldown. You'll have to wait {time} to send your next teleport request.", "HomeSave": "You have saved the current location as your home!", "AdminTPLocationRemove": "You have removed the location {location}!", "SyntaxCommandHome": [ "A Syntax Error Occurred!", "You can only use the /home command as follows:", "/home <home name> - Teleports yourself to your home with the name 'home name'." ], "HomeMaxLocations": "Unable to set your home here, you have reached the maximum of {amount} homes!", "HomeTP": "You teleported to your home '{home}'!", "SyntaxCommandTPA": [ "A Syntax Error Occurred!", "You can only use the /tpa command as follows:", "/tpa - Accepts an incoming teleport request." ], "LocationExists": "A location with this name already exists at {location}!", "SyntaxCommandTPR": [ "A Syntax Error Occurred!", "You can only use the /tpr command as follows:", "/tpr <player name> - Sends out a teleport request to 'player name'." ], "SyntaxCommandRemoveHome": [ "A Syntax Error Occurred!", "You can only use the /removehome command as follows:", "/removehome <home name> - Removes the home location with the name 'location name'." ], "SyntaxCommandSetHome": [ "A Syntax Error Occurred!", "You can only use the /sethome command as follows:", "/sethome <home name> - Saves the current location as your home with the name 'home name'." ], "SyntaxCommandTPRemove": [ "A Syntax Error Occurred!", "You can only use the /tpremove command as follows:", "/tpremove <location name> - Removes the location with the name 'location name'." ], "NoPendingRequest": "You have no pending teleport request!", "SyntaxCommandTP": [ "A Syntax Error Occurred!", "You can only use the /tp command as follows:", "/tp <targetplayer> - Teleports yourself to the target player.", "/tp <player> <targetplayer> - Teleports the player to the target player.", "/tp <x> <y> <z> - Teleports you to the set of coordinates." ], "InvalidHelpModule": "Invalid module supplied!", "InvalidCoordinates": "The coordinates you've entered are invalid!", "InterruptedTarget": "{player}'s teleport was interrupted!", "NoPreviousLocationSaved": "No previous location saved!", "LocationExistsNearby": "A location with the name {name} already exists near this position!", "TeleportPendingTarget": "You can't request a teleport to someone who's about to teleport!", "AdminTPPlayers": "You teleported {player} to {target}!", "Request": "You've requested a teleport to {player}!", "CantTeleportPlayerToSelf": "You can't teleport a player to himself!", "TPHelp": { "General": [ "Please specify the module you want to view the help of. ", "The available modules are: " ], "home": [ "With the following commands you can set your home location to teleport back to:", "/sethome <home name> - Saves your current position as the location name.", "/listhomes - Shows you a list of all the locations you have saved.", "/removehome <home name> - Removes the location of your saved homes.", "/home <home name> - Teleports you to the home location." ], "tpr": [ "With these commands you can request to be teleported to a player or accept someone else's request:", "/tpr <player name> - Sends a teleport request to the player.", "/tpa - Accepts an incoming teleport request." ], "admintp": [ "As an admin you have access to the following commands:", "/tp <targetplayer> - Teleports yourself to the target player.", "/tp <player> <targetplayer> - Teleports the player to the target player.", "/tp <x> <y> <z> - Teleports you to the set of coordinates.", "/tpl - Shows a list of saved locations.", "/tpl <location name> - Teleports you to a saved location.", "/tpsave <location name> - Saves your current position as the location name.", "/tpremove <location name> - Removes the location from your saved list.", "/tpb - Teleports you back to the place where you were before teleporting." ] }, "TargetDisconnected": "{player} has disconnected, your teleport was cancelled!", "HomeNotFound": "Couldn't find your home with that name!", "AdminTPLocation": "You teleported to {location}!", "TimedOutTarget": "You did not answer {player}'s teleport request in time!", "Accept": "{player} has accepted your teleport request! Teleporting in {countdown} seconds!", "SyntaxCommandTPL": [ "A Syntax Error Occurred!", "You can only use the /tpl command as follows:", "/tpl - Shows a list of saved locations.", "/tpl <location name> - Teleports you to a saved location." ], "RequestTarget": "{player} requested to be teleported to you! Use '/tpa' to accept!", "HomeTPLimitReached": "You have reached the daily limit of {limit} teleports today!", "AdminLocationListEmpty": "You haven't saved any locations!" }, "TPR": { "BlockTPAOnCeiling": true, "Countdown": 15, "RequestDuration": 30, "Cooldown": 600, "DailyLimit": 5 }, "Homes": { "CheckFoundationForOwner": true, "ForceOnTopOfFoundation": true, "Countdown": 15, "LocationRadius": 25, "HomesLimit": 2, "Cooldown": 600, "DailyLimit": 5 }, "Settings": { "ConfigVersion": "1.1", "ChatName": "Teleportation", "HomesEnabled": true, "InterruptTPOnHurt": true, "TPREnabled": true }, "AdminTP": { "LocationRadius": 25, "UseableByModerators": true, "AnnounceTeleportToTarget": false } }
-
dude...THANKS! And I am using multiplay.
-
has anyone got this working yet ive had to shut the server because of complaints ?
-
-
this has something to do with peoples names 5 normal letters is fine after that u seem to get errors[DOUBLEPOST=1415049399][/DOUBLEPOST]i got people to shorten names and it was fine but both have to be ok to tpr
-
I've modified the code a bit involving the parsing of names which should most likely solve this error, I just need to test it a bit more and once it's properly tested and I have finished adding the support for the new version of the BuildingOwners plugin I'll be posting the update (hopefully somewhere around tomorrow afternoon)
-
when i teleport and after i wake up my food and drink level is not showing correct. when i eat it goes back to showing correct
-
-
Mughisi updated Teleportation System with a new update entry:
Bug fixes, updates and new stuff.