[Fixed] Teleport Player wont work Rat 01129

Markezzz

New member
hello all,

we use the rat since last year and used also envul for eventmanaging. but now we want to do this with rat too.
the custom command for our event teleporting works fine. but the standard command for teleport wont work on our server.

  • A screenshot of the issue - Dropbox - rat-errormessage.PNG
  • Steps to reproduce the issue - Activate the teleport option in rat and join the server. Create a destination point home with "!at home" and than use "!t home" for teleport back.
  • The version of CAT you are using - 01129
  • What the expected outcome of the action was - The chat of the player says nothing and the rat console says the error of the screenshot
  • Paste the output of the CAT activity log
    Code:
    2017-10-18 21:46:20    ----------------------------------
    Current Time: 18.10.2017 21:46:20
    Thrown by: Boolean CanTeleport(System.Collections.Generic.Dictionary`2[System.String,System.Object])
    Method: cev.LogException
    Message: Object reference not set to an instance of an object.
    Stack Trace:
       at RAT.teleport.CanTeleport(Dictionary`2 DataObject)
       at RAT.cev.Command_Teleport(String RawParams, Dictionary`2 DataObject)
       at RAT.cev.ProcessEventScript(_event ev, Dictionary`2 DataObject, String ScriptToProcess)
    ----------------------------------
    2017-10-18 21:46:20    Error Parsing ProcessEventScript: .TELEPORT:PRIVATE:Teleporting you to '{tele_dest_name}'||Unable to find destination '{tele_dest_name}'||You must wait {tele_dest_time} minutes between teleports.

Is their any solution or did i miss something? Thanks for help!

Greetings,
Markezzz
 
Sorry about the late reply, a lot going on at the moment.

Anyway, offhand I don't see the issue, meaning it isn't something obvious to me. But it looks like I should be able to reproduce the error, so I'll do what I can. As for a work around, there really isn't one at this point. The teleport system was created before the event system and I haven't converted it over yet. It's on the list of things to do, I just haven't had much time the last few weeks.

I wish I could give you a better answer, but right now, that's about all I can say.
 
Hello Trekkan, thank you for your reply. Any response is better than no response.
We have installed the Server Tools Mod and Compi Mod, because one of the mods let you teleport to the sleepingbag and thanwe created a ne custom event in use with the command.

So we have a temporary solution. :)
 
  • Like
Reactions: Trekkan