Resource icon

Approved TpFriend 1.1.2

No permission to download
Hey DreTax !

Since few mins TpFriend does not work !
I the players write /tpa blabla this message displayed : you cant currently teleport !

I restart server and also unload and reload plugin but nothing works !


GreetZ
 
I'm not sure why this is happening. With the latest LumaEmu version 1.9.7 a player is unable to teleport to another players. If Player1 sends a request to Player2 and Player2 accepts the request he (Player2) will receive the message "Player isn't online!"

This problem does not exist when Player1 uses an older LumaEmu version.
 
I'm not sure why this is happening. With the latest LumaEmu version 1.9.7 a player is unable to teleport to another players. If Player1 sends a request to Player2 and Player2 accepts the request he (Player2) will receive the message "Player isn't online!"

This problem does not exist when Player1 uses an older LumaEmu version.
What the fuck? Does /tpto work?
 
Yeah,

I found the problem

its the Server.FindPlayer() function.

https://github.com/fougerite/Fouger...8ee87/Fougerite/Fougerite/Server.cs#L202-L206

It only accepts SteamIDs starting with 7656119

LuaEmu 1.9.7 uses ids starting with 7656120 for some reason

I have this:
IDS.jpg

Maybe adding Fougerite update in https://github.com/fougerite/Fouger...8ee87/Fougerite/Fougerite/Server.cs#L202-L206.....

if (search.StartsWith("7656119") || search.StartsWith("7656120") )

OR

if (search.StartsWith("76561"))
 
Last edited:
  • Informative
Reactions: DreTaX
hi
my friend name in game is : #paraLess
and i want to tp to him
but when i write /tpa #para
it say:
please enter the number of name:
and i write /1
it say
canseled

Have you tried what happens if your friend changes his name without the # character?
 
DreTaX updated TpFriend with a new update entry:

1.1

Added a new config option CheckPermissionsForDefaultCommands, check main page
Added support for PermissionSystem
Code improvements
Pending list is now ConcurrentList, as TpFriend uses timers, and the main thread to modify and access this list. Not so healthy, this way It will work as It is intended

Read the rest of this update entry...