CLEO Help PVar Value

CLEO related
Status
Not open for further replies.

fahrein

Active member
Joined
Apr 18, 2014
Messages
101
Reaction score
0
When PVar value send disconnect packet , all chagens "0" in samp functions. I want to name changer(Reconnecting) but PVar value dont reset. Impossible?
 

.silent

Well-known member
Joined
Apr 14, 2013
Messages
339
Reaction score
13
When sending a RPC_ClientJoin packet with your new name instead of connecting again the server will re-write your new data to the same slot ID without calling OnPlayerDisconnect, thus the values wouldn't get reset.
I thought most of these 'name changers' already use it, don't they?
However this way is really easy to detect and give an instant ban (OnPlayerConnect is called twice for the same slot)
 

Pinii

Active member
Joined
Sep 18, 2013
Messages
126
Reaction score
0
.silent link said:
When sending a RPC_ClientJoin packet with your new name instead of connecting again the server will re-write your new data to the same slot ID without calling OnPlayerDisconnect, thus the values wouldn't get reset.
I thought most of these 'name changers' already use it, don't they?
However this way is really easy to detect and give an instant ban (OnPlayerConnect is called twice for the same slot)


*Brain explosion*
anyone understood this?  :celeral_spitting:
 

MrChristmas

Expert
Joined
Jul 29, 2014
Messages
563
Reaction score
26
Pinii link said:
*Brain explosion*
anyone understood this?  :celeral_spitting:

When you connect to the server you have an id and when you disconnect and connect again your id is going to change because server registered a client (player) as client disconnected and then connected. By using name changer you connect to the server and when you type the command to change the name you don't disconnect as you would normally, when this happens the old date which was on your old nickname and was assigned to your id changes but it goes to the same id as you were before and you connect twice for the same slot. It's kind of difficult to explain.
 

fahrein

Active member
Joined
Apr 18, 2014
Messages
101
Reaction score
0
I understand twice I'd join in server. But this impossible second id is banned from server the samp system(Not server script) not allow same to twice id.

And your write this subject, look like be raksamp but don't work name change local name change but GetPlayerName old name.
 

fahrein

Active member
Joined
Apr 18, 2014
Messages
101
Reaction score
0
.silent link said:
When sending a RPC_ClientJoin packet with your new name instead of connecting again the server will re-write your new data to the same slot ID without calling OnPlayerDisconnect, thus the values wouldn't get reset.
I thought most of these 'name changers' already use it, don't they?
However this way is really easy to detect and give an instant ban (OnPlayerConnect is called twice for the same slot)
I test home server. But PVar value auto reset again?
 

.silent

Well-known member
Joined
Apr 14, 2013
Messages
339
Reaction score
13
Im not doing any cleo, but I remember that there was some simple RakNet implementation in SAMPFuncs or whatever it was called, you just need to create a bitstream like the one above and send the RPC.
I'm also pretty damn sure that there already were things like these, but that 'trick' is very easy to detect and you would get instant ban at every server that doesn't have a potato owner.
 

fahrein

Active member
Joined
Apr 18, 2014
Messages
101
Reaction score
0
.silent link said:
Im not doing any cleo, but I remember that there was some simple RakNet implementation in SAMPFuncs or whatever it was called, you just need to create a bitstream like the one above and send the RPC.
I'm also pretty damn sure that there already were things like these, but that 'trick' is very easy to detect and you would get instant ban at every server that doesn't have a potato owner.
Changing over whether Raksamp ;
I test Raksamp. !Change_name rejoin Bla Bla(This connect packet those server again) but PVar value is 0.(But definitions same value) Reset again value PVar. I guess send connect packet PVar value reseting.
Google Translate Version;
"Pvar value I bring to the server automatically reset to zero when the package also present guess entrance."

After sending one more question I get logged package server " onplayerconnect " before calling ( before processing into ) How do I send the command packet ?(New name)

[member=1371].silent[/member]
 
Status
Not open for further replies.
Top