Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Vars without definition in 0.62

Newbie Spellweaver
Joined
May 28, 2017
Messages
95
Reaction score
23
onPlayerConnecting _clientNew;
onClientRespawn _clientRespawn;
onPlayerDisconnected _disconnectPlayer;

_clientNew = { admin_log format["Connection: _id: %1 || _uid: %2 || _name: %3 || _agent: %4",_id,_uid,_name,_agent]; };
return in log

"Connection: _id: 3 || _uid: 76561xxxxxxxxxxxx || _name: SHARINGAN || _agent: any"

_clientRespawn = { admin_log format["RESPAWN: _id: %1 || _uid: %2 || _name: %3 || _agent: %4",_id,_uid,_name,_agent]; };
return in log

"RESPAWN: _id: 3 || _uid: any || _name: SHARINGAN || _agent: any"

_disconnectPlayer = { admin_log format["Disconnection: _id: %1 || _uid: %2 || _name: %3 || _agent: %4",_id,_uid,_name,_agent]; };
return in log

"Disconnection: _id: 3 || _uid: 76561xxxxxxxxxxxx || _name: SHARINGAN || _agent: SurvivorPartsMaleAfrican:2:45968"

variable _agent return any in onPlayerConnecting and in onClientRespawn
variable _uid return any only in onClientRespawn

Public utility for "scripters" that use these variables without definition on DBloadPlayer.sqf
 
Skilled Illusionist
Joined
Apr 11, 2017
Messages
359
Reaction score
93
"_agent: any" in _clientNew because agent is not setuped and loaded in start _clientNew
"_uid: any" in _clientRespawn because this variable readed you from agent. but in procedure id player don't have agent and agend have uncnown player identify.
 
Newbie Spellweaver
Joined
May 28, 2017
Messages
95
Reaction score
23
Benwood's dbloadplayer:
(_agent and _uid is wrong)

SHAR1NGAN - Vars without definition in 0.62 - RaGEZONE Forums


123new's dbloadplayer:
(Does nothing. Not has respawn?)

SHAR1NGAN - Vars without definition in 0.62 - RaGEZONE Forums


BaconTatico's dbloadplayer:
(_agent and _uid is wrong)

SHAR1NGAN - Vars without definition in 0.62 - RaGEZONE Forums


I think they are the only available mpmissions, don't know if has more..
 
Skilled Illusionist
Joined
Apr 11, 2017
Messages
359
Reaction score
93
Benwood's dbloadplayer:
(_agent and _uid is wrong)

SHAR1NGAN - Vars without definition in 0.62 - RaGEZONE Forums


123new's dbloadplayer:
(Does nothing. Not has respawn?)

SHAR1NGAN - Vars without definition in 0.62 - RaGEZONE Forums


BaconTatico's dbloadplayer:
(_agent and _uid is wrong)

SHAR1NGAN - Vars without definition in 0.62 - RaGEZONE Forums


I think they are the only available mpmissions, don't know if has more..

you have my outdated files. in my dbloadplayer:


 
Newbie Spellweaver
Joined
May 28, 2017
Messages
95
Reaction score
23
you have my outdated files. in my dbloadplayer:



Oh ok, I don't see your new files.

Remove this line on your new files on client respawn:

[_uid, _agent] call fnc_dbDestroyProfile;

I think that fnc_dbDestroyProfile not use _this select 1; but _agent continue return any.
 
Skilled Illusionist
Joined
Apr 11, 2017
Messages
359
Reaction score
93
Oh ok, I don't see your new files.

Remove this line on your new files on client respawn:

[_uid, _agent] call fnc_dbDestroyProfile;

I think that fnc_dbDestroyProfile not use _this select 1; but _agent continue return any.
maybe, thanks for info, i test and update this in some next days
 
Back
Top