Resource icon

Approved TpFriend 1.1.1

No permission to download

McRustReloaded

Retired Staff
Retired Staff
Member
Mar 20, 2016
140
17
18
43
Parts Unknown
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
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,060
3,755
113
At your house.
github.com

tarynkelley

Moderator
Moderator
Nov 14, 2015
559
162
28
Parts Unknown
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.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,060
3,755
113
At your house.
github.com
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?
 

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
576
517
63
Yeah,

I found the problem

its the Server.FindPlayer() function.

https://github.com/fougerite/Fougerite/blob/c3a10d86f07f08185d0d761a9a87b67c77b8ee87/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

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,060
3,755
113
At your house.
github.com

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
576
517
63
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

Probably knows the answer...
Administrator
Jun 29, 2014
4,060
3,755
113
At your house.
github.com
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...