Jump to content

Disturbed2015

Member
  • Posts

    72
  • Joined

  • Last visited

Posts posted by Disturbed2015

  1. This tutorial will guide you through how to install my custom debug monitor. With this install you will be able to press insert in game to have it come up.

     

    Step 1: 

     

    Open your dayz_spaceInterrupt and find this line:

     if (_dikCode == 210) then {

    Under that you will see a line that looks like this:

     _nill = execvm "\z\addons\dayz_code\actions\playerstats.sqf";

    Replace that with this:

     _nill = execvm "custom\playerstats.sqf";

    Step 2:

     

    Copy the code from this link: http://pastebin.com/10K7ginT

     

    Open a blank text document using Notepad++ or an editor of your choice

     

    Paste the code in it and save it as playerstats.sqf

     

    Move it to your custom folder.

     

    Make any changes you want to make :)

     

    Pictures:

     

    http://imgur.com/WmdPMMk

    Nice, thank's.

  2. 1: Uninstall Chernarus, and Install "Overpoch"...default map comes with Chernarus. 
    2: After you install Overpoch, go back to Game services, and click Overpoch Management .. 
    (Can't remember the full name but the icon is black with white hand)..then select the map you want to install.
    3: Hit ok and let the server install the new map.
  3. I'm using Currency/Banking 4.0, and I noticed in my IMG folder I have a "Bank" and "Coins", well of course the coins show up. How do I show the bank under the coins? 

    I noticed in RCSTitles

     

    class RscTitles {
    	//Single Currency
    	class ZSC_Money_Display {
    		idd = -1;
    		fadeout=0;
    		fadein=0;
    		duration = 20;
    		name= "ZSC_Money_Display";
    		onLoad = "uiNamespace setVariable ['ZSC_Money_Display', _this select 0]";
    		class controlsBackground {
    			class ZSC_Status
    			{
    				idc = 4900;
    				type = 13;
    				size = 0.040;
    				x = safezoneX + (safezoneW -0.35);
    				y = safezoneY + 0.40 * safezoneW;
    				w = 0.35; h = 0.20;
    				colorText[] = {1,1,1,1};
    				lineSpacing = 3;
    				colorBackground[] = {0,0,0,0};
    				text = "";
    				style = 0x02;
    				shadow = 2;
    				font = "Zeppelin32";
    				sizeEx = 0.023;
    				class Attributes {
    					align = "right";
    				};
    			};
    		};
    	};
    

    That would be the coins correct? If so how would I go about showing the bank?

  4. I had this working untill I messed up the server, how I fixed it was I just replaced the "HiveExt.dll" into the "@DayZ_Epoch_Server" then it worked once I restarted the server. Now however, it seems like it doesn't want to "save" the replaced "HiveExt.dll" file cause everytime the server starts/restarts.. I get this 

    22:21:36 Error in expression <object getVariable[(_variable + "_CHK"),_vNew];
    _result = _vNew - _vOld;
    _object>
    22:21:36   Error position: <_vNew];
    _result = _vNew - _vOld;
    _object>
    22:21:36   Error Undefined variable in expression: _vnew
    22:21:36 File z\addons\dayz_server\init\server_functions.sqf, line 577
     
    22:21:36 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoney];
     
    _key call server_hiveWrite>
    22:21:36   Error position: <_cashMoney];
     
    _key call server_hiveWrite>
    22:21:36   Error Undefined variable in expression: _cashmoney
    22:21:36 File z\addons\dayz_server\compile\server_playerSync.sqf, line 189
    

    I've replaced the /Hive.Ext.dll" again and it's not working. And SQL database has been updated.
     

  5. ok so I tried Zupas and his coins wouldn't save through a restart. I figured, it's probably cause the files are out of date or something.

    So I tried this one cause a friend of mine has this working on his server and Im in game, I sell something to the trader, and I dont get any coins.

     

    Im hosted with Vilayer, perhaps it has something to do w/ the DLL's? I was under the impression if I was using the wrong DLL's the server wouldn't even start haha.

     

    Help please.

     

    RPT spam

    21:36:31 Error in expression <object getVariable[(_variable + "_CHK"),_vNew];

    _result = _vNew - _vOld;

    _object>

    21:36:31   Error position: <_vNew];

    _result = _vNew - _vOld;

    _object>

    21:36:31   Error Undefined variable in expression: _vnew

    21:36:31 File z\addons\dayz_server\init\server_functions.sqf, line 549

    21:36:31 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoney];

    _key call server_hiveWrite;>

    21:36:31   Error position: <_cashMoney];

    _key call server_hiveWrite;>

    21:36:31   Error Undefined variable in expression: _cashmoney

    21:36:31 File z\addons\dayz_server\compile\server_playerSync.sqf, line 172

     

     

    I debugged this a little further and this was the result

     

    0:13:01 "EPOCH SERVERTRADE: Player: DangerRuss(76561198043144822) sold a Mk_48_DZ in/at Hero Trader for 7500x Coins"
     0:13:09 "Russ diag variable humanity"
     0:13:09 "Russ diag object B 1-1-B:1 (DangerRuss) REMOTE"
     0:13:09 "Russ diag vNew 15050"
     0:13:09 "Russ diag variable cashMoney"
     0:13:09 "Russ diag object B 1-1-B:1 (DangerRuss) REMOTE"
     0:13:09 "Russ diag vNew <null>"
     0:13:09 Error in expression <];
    diag_log format ["Russ diag vNew %1",_vNew];
    _vOld = _object getVariable[(_va>
     0:13:09   Error position: <_vNew];
    _vOld = _object getVariable[(_va>
     0:13:09   Error Undefined variable in expression: _vnew
     0:13:09 File z\addons\dayz_server\init\server_functions.sqf, line 551
     0:13:09 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoney];
    _key call server_hiveWrite;>
     0:13:09   Error position: <_cashMoney];
    _key call server_hiveWrite;>
     0:13:09   Error Undefined variable in expression: _cashmoney
     0:13:09 File z\addons\dayz_server\compile\server_playerSync.sqf, line 172
     0:13:09 "Russ diag variable humanity"
     0:13:09 "Russ diag object B 1-1-B:1 (DangerRuss) REMOTE"
     0:13:09 "Russ diag vNew 15050"
     0:13:09 "Russ diag variable cashMoney"
     0:13:09 "Russ diag object B 1-1-B:1 (DangerRuss) REMOTE"
     0:13:09 "Russ diag vNew <null>"
     0:13:09 Error in expression <];
    diag_log format ["Russ diag vNew %1",_vNew];
    _vOld = _object getVariable[(_va>
     0:13:09   Error position: <_vNew];
    _vOld = _object getVariable[(_va>
     0:13:09   Error Undefined variable in expression: _vnew
     0:13:09 File z\addons\dayz_server\init\server_functions.sqf, line 551
     0:13:09 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoney];
    _key call server_hiveWrite;>
     0:13:09   Error position: <_cashMoney];
    _key call server_hiveWrite;>
     0:13:09   Error Undefined variable in expression: _cashmoney
     0:13:09 File z\addons\dayz_server\compile\server_playerSync.sqf, line 172
     0:13:10 "Russ diag variable humanity"
     0:13:10 "Russ diag object B 1-1-B:1 (DangerRuss) REMOTE"
     0:13:10 "Russ diag vNew 15050"
     0:13:10 "Russ diag variable cashMoney"
     0:13:10 "Russ diag object B 1-1-B:1 (DangerRuss) REMOTE"
     0:13:10 "Russ diag vNew <null>"
     0:13:10 Error in expression <];
    diag_log format ["Russ diag vNew %1",_vNew];
    _vOld = _object getVariable[(_va>
     0:13:10   Error position: <_vNew];
    _vOld = _object getVariable[(_va>
     0:13:10   Error Undefined variable in expression: _vnew
     0:13:10 File z\addons\dayz_server\init\server_functions.sqf, line 551
     0:13:10 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoney];
    _key call server_hiveWrite;>
     0:13:10   Error position: <_cashMoney];
    _key call server_hiveWrite;>
     0:13:10   Error Undefined variable in expression: _cashmoney
     0:13:10 File z\addons\dayz_server\compile\server_playerSync.sqf, line 172
    
    
    

    I think this is a DLL issue. Ill speak to Vilayer again.

     

    Spoke with Vilayer, changed DLL's, this problem has been resolved.

    I have the same issues right now. What DLL's are you talking about? 

    HiveExt.dll? If so where did you put that?

     

    EDIT: After hours of working with it, I got it to work. :)

  6. Ok so new host, new map. Woo yes!

     

    Not the problem. I've installed all the mods, that I had before. We switched maps from Cherno to Napf. Again that's cool.

     

    However, everything seems to be working just fine, just not the "coins"...you can sell/buy stuff but it's not showing how much money you have. Looking into my RPT log and also looking where this error is, I don't understand it. 
     

     

    16:29:00 Error in expression <object getVariable[(_variable + "_CHK"),_vNew];
    _result = _vNew - _vOld;
    _object>
    16:29:00   Error position: <_vNew];
    _result = _vNew - _vOld;
    _object>
    16:29:00   Error Undefined variable in expression: _vnew
    16:29:00 File z\addons\dayz_server\init\server_functions.sqf, line 577
    16:29:00 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoney];
     
    _key call server_hiveWrite>
    16:29:00   Error position: <_cashMoney];
     
    _key call server_hiveWrite>
    16:29:00   Error Undefined variable in expression: _cashmoney
    16:29:00 File z\addons\dayz_server\compile\server_playerSync.sqf, line 189
     
     

    SQL file and everything is updated and uploaded to the server. All paths are correct I'm just...lost on this

     

    DayZ Server \ init \ server_functions - Lines 574 to 583 

     

     

     

    server_getDiff2 =

    private["_variable","_object","_vNew","_vOld","_result"];

    _variable = _this select 0; _object = _this select 1;

    _vNew = _object getVariable[_variable,0];
    _vOld = _object getVariable[(_variable + "_CHK"),_vNew];
    _result = _vNew - _vOld;
    _object setVariable[(_variable + "_CHK"),_vNew];
    _result
    };

     

     
    DayZ server \ Compile \ server_PlayerSync Lines - 185 - 193 
     
    if (!isNull _character) then {

     if (alive _character) then {

    //Wait for HIVE to be free
    //Send request
    _key = format["CHILD:201:%1:%2:%3:%4:%5:%6:%7:%8:%9:%10:%11:%12:%13:%14:%15:%16:%17:",_characterID,_playerPos,_playerGear,_playerBackp,_medical,false,false,_kills,_headShots,_distanceFoot,_timeSince,_currentState,_killsH,_killsB,_currentModel,_humanity,_cashMoney];
    //diag_log ("HIVE: WRITE: "+ str(_key) + " / " + _characterID);
    _key call server_hiveWrite;
    };
    };
×
×
  • Create New...