Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
what kind of shitstorm did i come in to?
MrGrimm, I highly suggest you read this:
http://www.catb.org/esr/faqs/smart-questions.html
You could read it, and learn something, or you could just roll your eyes and pretend you know everything.
Either way, makes no difference to me.
To P2, awesome script, thanks a TON!
Hackers have a reputation for meeting simple questions with what looks like hostility or arrogance. It sometimes looks like we're reflexively rude to newbies and the ignorant. But this isn't really true.
What we are, unapologetically, is hostile to people who seem to be unwilling to think or to do their own homework before asking questions. People like that are time sinks — they take without giving back.
From that link:
<snip>
Pretty much sums up my attitude in this thread.
Error in expression <f (player == vehicle player) then {
if (_mylastPos distance _lastPos > 200) then>
Error position: <_mylastPos distance _lastPos > 200) then>
Error Undefined variable in expression: _mylastpos
File z\addons\dayz_code\system\player_spawn_2.sqf, line 323
Error in expression <n {
_randomSpot = false;
};
_distance = _mylastPos distance _tempPos;
if (_dista>
Error position: <_mylastPos distance _tempPos;
if (_dista>
Error Undefined variable in expression: _mylastpos
File z\addons\dayz_code\system\player_spawn_2.sqf, line 37
Line:321_lastPos = getPosATL player;
Line:322 if (player == vehicle player) then {
Line:323 if (_mylastPos distance _lastPos > 200) then {
Line:324 if (alive player) then {
Line:325 player setPosATL _mylastPos;
etc };
};
} else {
if (_mylastPos distance _lastPos > 800) then {
if (alive player) then {
player setPosATL _mylastPos;
};
};
};
Line26 //reset position
Line27 _randomSpot = true;
28 _tempPos = getPosATL player;
29 _distance = _debug distance _tempPos;
30 if (_distance < 2000) then {
31 _randomSpot = false;
32 };
33 _distance = [0,0,0] distance _tempPos;
34 if (_distance < 500) then {
35 _randomSpot = false;
36 };
37 _distance = _mylastPos distance _tempPos;
38 if (_distance > 400) then {
etc _randomSpot = false;
};
if (_randomSpot) then {
_mylastPos = _tempPos;
};
Error in expression <ombieSpeak;
};
};
};
if (!(_refObj in _targets)) then {
if (_dist < DAYZ_disAu>
Error position: <_targets)) then {
if (_dist < DAYZ_disAu>
Error Undefined variable in expression: _targets
File z\addons\dayz_code\compile\player_zombieCheck.sqf, line 43
Error in expression <ue = true;
_type = "zombie";
_targets = _group getVariable ["targets",[]];
if (>
Error position: <_group getVariable ["targets",[]];
if (>
Error Undefined variable in expression: _group
File z\addons\dayz_code\compile\player_zombieCheck.sqf, line 13
Error in expression <f (player == vehicle player) then {
if (_mylastPos distance _lastPos > 200) then>
Error position: <_mylastPos distance _lastPos > 200) then>
Error Undefined variable in expression: _mylastpos
File z\addons\dayz_code\system\player_spawn_2.sqf, line 323
Error in expression <n {
_randomSpot = false;
};
_distance = _mylastPos distance _tempPos;
if (_dista>
Error position: <_mylastPos distance _tempPos;
if (_dista>
Error Undefined variable in expression: _mylastpos
File z\addons\dayz_code\system\player_spawn_2.sqf, line 37
Error in expression <Toolbox;
if (_isEngineer and (_type in USEC_CanDisassemble)) then {
r_action = >
Error position: <USEC_CanDisassemble)) then {
r_action = >
Error Undefined variable in expression: usec_candisassemble
File z\addons\dayz_code\compile\fn_damageActions.sqf, line 159
I'll get back to you about that asap me and gorsy are a bit busy setting up a dedi at the moment, you haven't gone unnoticed don't worry.Map: Chern
<Awesomely detailed post>
To P2/Gorsy... do you see anything in there that could mess with this script?![]()
You're missing something, the reason that Gorsy is posting that is because he knows I was annoyed by the fact that MrGrimm didn't take him up on his offer for help.Again read the posts.....it wasnt you that set himoff....whats so hard to understand about that? I was player2 claiming he denounced her script for days. Never did he say the script was broke yet she jumped all over his shit. Not sure why you keep thinking it was you.
I'll get back to you about that asap me and gorsy are a bit busy setting up a dedi at the moment, you haven't gone unnoticed don't worry.
<Snip>
The way the script works is: it literally teleports you when you log in, are you using some kind of anti teleport? That playerspawn2 you linked seems to store your _mylastpost (stores your position) then checks if the position between your last save and current position is no greater than 800 meters, if it is it teleports you back.
also did you put the _randomspot part into the server pbo? (just checking, its easy to miss something out)
//dayzPlayerLogin2 = [_worldspace,_state];
dayzPlayerLogin2 = [_worldspace,_state,_randomSpot]; //P2's Make them bitches appear where you want 'em!
_clientID = owner _playerObj;
_clientID publicVariableClient "dayzPlayerLogin2";
In the process of doing it. should have it working soon, managed to get custom intro's working, so this will be next, and it works in a similiar way. P2 will repost it once we get it working most likely