Self-Duping Exploit

Innuce

Well-Known Member
Has anyone come up with a workaround to keep people from duping themselves for gear? I really need help here!
It's a major exploit which ruins the game for everyone.
 
Here's what I found on another thread that's supposed to fix this exploit...

Code:
// log disconnect
#ifdef LOGIN_DEBUG
_characterID = _playerObj getVariable["characterID", "?"];
_timeout = _playerObj getVariable["combattimeout",0];
_timeout = _timeout - time;
diag_log format["Player UID#%1 CID#%2 %3 as %4, logged off at %5%6",getPlayerUID _playerObj, _characterID, _playerObj call fa_plr2str, typeOf _playerObj, (getPosATL _playerObj) call fa_coor2str,
if ((!isNil "_timeout") AND {(_timeout > 0)}) then {" while in combat"} else {""}
];
#endif

Can anyone look at this and see why this wouldn't work? It's found in dayz_server\compile\server_onPlayerDisconnect.sqf
 
check rpt log for errors when its happening.. if thats the case post them

be more specific when it happens
 
just remove the whole ifdef to endif chunk if its causing the problem. You don't need it unless your debuging the code.
 
I figured out how they're doing it. There's at least 2 ways of duping gear that currently works. I'll see what I can find in the RPT file when I do it.

just remove the whole ifdef to endif chunk if its causing the problem. You don't need it unless your debuging the code.

The code isn't the problem. It's supposed to be the solution to the problem. What I posted above is a modification of what is already in the original file.
Have you tried removing those lines to see if it works?
 
Ok, here's what I have in my RPT log when I do the clone-self method of duping...

Code:
13:54:41 "z\addons\dayz_server\compile\server_onPlayerDisconnect.sqf: nil player object, _this:["XXXXXX","Innuce"]"
13:54:41 Client: Remote object 3:48 not found
13:54:41 Client: Remote object 3:47 not found
13:54:47 "STARTING LOGIN: ["XXXXXX",B 1-1-A:1 (Innuce) REMOTE]"
13:54:47 "LOGIN ATTEMPT: "XXXXXX" Innuce"
13:54:47 "LOGIN LOADED: B 1-1-A:1 (Innuce) REMOTE Type: Survivor1_DZ"
13:54:47 Server: Object 3:66 not found (message 70)
13:54:48 "LOGIN PUBLISHING: UID#XXXXXX CID#452 PID#3(Innuce) as Survivor3_DZ should spawn at power plant [106:126]"
13:54:48 "ERROR: server_playerSync: Cannot Sync Player Innuce [452]. Position in debug! [-18697.6,25815.3,0]"
 
Here it is again with a strange line at the end after I logged off the 2nd time...

Code:
14:25:01 "z\addons\dayz_server\compile\server_onPlayerDisconnect.sqf: nil player object, _this:["XXXXXX","Innuce"]"
14:25:01 Client: Remote object 3:48 not found
14:25:01 Client: Remote object 3:47 not found
14:25:08 "STARTING LOGIN: ["XXXXXX",B 1-1-A:1 (Innuce) REMOTE]"
14:25:08 "LOGIN ATTEMPT: "XXXXXX" Innuce"
14:25:09 "LOGIN LOADED: B 1-1-A:1 (Innuce) REMOTE Type: Survivor1_DZ"
14:25:09 Server: Object 3:66 not found (message 70)
14:25:09 "LOGIN PUBLISHING: UID#XXXXXX CID#452 PID#3(Innuce) as Survivor3_DZ should spawn at power plant [107:125]"
14:25:09 "ERROR: server_playerSync: Cannot Sync Player Innuce [452]. Position in debug! [-18697.6,25815.3,0]"
14:25:18 "Player UID#XXXXXX CID#452 PID#1(Innuce) as Survivor3_DZ, logged off at power plant [107:125]"
14:25:18 Client: Remote object 3:63 not found
14:25:18 Client: Remote object 3:62 not found
14:25:19 Warning: Cleanup player - person 3:64 not found


Any thoughts?
 
This is one of those "it will be fixed in the next patch" problems. If someone has a fix they wont share it lol
 
This is one of those "it will be fixed in the next patch" problems. If someone has a fix they wont share it lol

Kind of defeats the purpose of even having a forum for this game. Selfish people instead of a helpful community?
The game is broken without a fix for this. So it winds up ruining the game for everyone. This is worse than having hackers on your server, because anyone can do this, not just script kiddies.

On a positive note, I have been in touch with the developers, and they seem to think my idea to fix this would work. Which is my problem. I have the ideas, just not the scripting savvy to implement them. Frustrating!
 
Back
Top