Jump to content

AiiDynBrus

Member
  • Posts

    70
  • Joined

  • Last visited

Posts posted by AiiDynBrus

  1. 10 minutes ago, DaveA said:

    I believe this error s generated by the slow zombie script

    13:09:34 Error in expression <yz_code\system\zombie_agent.fsm"

    you should check out that you added whatever changed there correctly. Probably a missing , or ; 

    It worked im in my server running around but a few problems, I cant play metal floors or cinder block walls?

  2. 4 minutes ago, DaveA said:

    I believe this error s generated by the slow zombie script

    13:09:34 Error in expression <yz_code\system\zombie_agent.fsm"

    you should check out that you added whatever changed there correctly. Probably a missing , or ; 

    Took that line of code out and moved the other If dedicated code to the 1st one and testing now

  3. 2 minutes ago, Josh Matthews said:

    Copy and paste your server file onto your desktop and if you break it with your edit then delete the broken one (Or try to fix it) and then use the copied version. Basically always have a recent working copy of your server files.

    What i do is before i edit a file is i make 2 copies of the file, rename the one im not using to "working init.sqf" then the one im going to edit to "init.sqf".

  4. 2 minutes ago, ElDubya said:

    And you'll continue working on it, even after it's eventually running, because that's what server owners do :)

     

    I know, do you have any idea what it could be ElDubya? All i can remember what i added last before it stopped working was i was trying to add walking zombies. One of these i added i cant remember which one.

    http://www.tunngle.net/community/topic/98531-slow-down-zombies-in-dayz/

     

    http://opendayz.net/threads/modify-zombies.14581/

  5. Just now, Josh Matthews said:

    That sucks. Same thing happened to me but my friend changed something and broke the whole thing and that was when I didn't make backups. Now I make a backup for every change I do. 

    Also, how do you backup your files like i mean say your server restarts every 4 hours do yo backup your files then?

  6. 8 minutes ago, Josh Matthews said:

    I would just reinstall the server and if you have any important scripts just copy them over. Then while you install all of your scripts make a backup after each script so that way if one of them breaks the server you know which and then you can revert back. 

    I've been working on the server for a week today :/ and ive been adding and fixing and modifying mods for 7 days :/

  7. 9 minutes ago, DaveA said:

    Best thing to do then would be to delete it in Notepad++ or whatever you are using and re-upload it to your server. Restart your server, try to log in again then post it after that. That will give us the most up to date version. If it is still too long snip the bits that repeat.

    Um i broke it even more lol

    http://pastebin.com/CV6Dnm2W

     

    Nevermind fixed it.. ill post updated RPT log.

  8. 15 minutes ago, DaveA said:

    That looks like your client report can you post your server report? It will be called arma2oaserver.RPT 

    Both are really useful in figuring these things out.

    Can't pastebin it too large file size?

     

    9 minutes ago, Josh Matthews said:

    Which loading screen? Your server one? Wait for Host? Waiting for server authentication? And is it on a black screen?

    After the lobby i can see my custom loading screen image and straight after the bottom bar full loads i still see my custom loading screen and at the bottom right hand corner numbers keep counting.

  9. 33 minutes ago, MatthewK said:

    Thanks @Axe Cop, didn't see your reply until just now. I'll give that a go later, will be nice to learn something new :D

    @AiiDynBrus You will need to provide a bit more information. Are you getting any errors in your server log ? Provide a breakdown of what you've done so far, maybe pastebin the scripts with links in your breakdown. "this doesn't work" is the needle in a haystack statement for troubleshooting I'm afraid :(

    MatthewK do you have steam or teamspeak i could talk to you on abit easier saying then type lol

     

     

  10. On 12/08/2014 at 11:37 PM, Zupa said:

    Universal Develoment functions for script developers, also included in the compiles of the singel currency.

     

    Updated 28-08-2014

    Always succes when removing 0 coins.

     

    999 Headshot system:

    
    // usage
    // _removed = [player, 5000] call SC_fnc_removeCoins;
    // if(_removed = true)then{  GREAT SUCCES  }else{ IT FAILED, not enoguh money};
    
    SC_fnc_removeCoins=
        {
                    private ["_player","_amount","_wealth","_newwealth", "_result"];
                    _player = _this select 0;
                    _amount = _this select 1;
                    _result = false;
                    _wealth = _player getVariable["headShots",0];  
                    if(_amount > 0)then{
                    if (_wealth < _amount) then {
                        _result = false;
                    } else {                         
                    _newwealth = _wealth - _amount;
                    _player setVariable["headShots",_newwealth, true];
                    _player setVariable ["moneychanged",1,true];    
                    _result = true;
                    PVDZE_plr_Save = [_player,(magazines _player),true,true] ;
                    publicVariableServer "PVDZE_plr_Save";            
                    };
                    }else{
                    _result = true;
                    };
                    _result
        };
    
    // usage
    // _added = [player, 5000] call SC_fnc_addCoins;
    // if(_added = true)then{ GREAT SUCCES }else{ IT FAILED, Something went wrong};
    	
    SC_fnc_addCoins = 
    {
    	private ["_player","_amount","_wealth","_newwealth", "_result"];			
    			_player =  _this select  0;
    			_amount =  _this select  1;
    			_result = false;	
    			_wealth = _player getVariable["headShots",0];
    			_player setVariable["headShots",_wealth + _amount, true];
    			PVDZE_plr_Save = [_player,(magazines _player),true,true] ;
    			publicVariableServer "PVDZE_plr_Save";
    			_player setVariable ["moneychanged",1,true];					
    			_newwealth = _player getVariable["headShots",0];		
    			if (_newwealth >= _wealth) then { _result = true; };			
    			_result
    };	
    

    2.0 Cashmoney system (Soul):

    
    // usage
    // _removed = [player, 5000] call SC_fnc_removeCoins;
    // if(_removed = true)then{  GREAT SUCCES  }else{ IT FAILED, not enoguh money};
    
    SC_fnc_removeCoins=
        {
                    private ["_player","_amount","_wealth","_newwealth", "_result"];
                    _player = _this select 0;
                    _amount = _this select 1;
                    _result = false;
                    _wealth = _player getVariable["cashMoney",0];  
                    if(_amount > 0)then{
                    if (_wealth < _amount) then {
                        _result = false;
                    } else {                         
                    _newwealth = _wealth - _amount;
                    _player setVariable["cashMoney",_newwealth, true];
                    _player setVariable ["moneychanged",1,true];    
                    _result = true;
                    PVDZE_plr_Save = [_player,(magazines _player),true,true] ;
                    publicVariableServer "PVDZE_plr_Save";            
                    };
                    }else{
                    _result = true;
                    };
                    _result
        };
    
    // usage
    // _added = [player, 5000] call SC_fnc_addCoins;
    // if(_added = true)then{ GREAT SUCCES }else{ IT FAILED, Something went wrong};
    	
    SC_fnc_addCoins = 
    {
    	private ["_player","_amount","_wealth","_newwealth", "_result"];			
    			_player =  _this select  0;
    			_amount =  _this select  1;
    			_result = false;	
    			_wealth = _player getVariable["cashMoney",0];
    			_player setVariable["cashMoney",_wealth + _amount, true];
    			PVDZE_plr_Save = [_player,(magazines _player),true,true] ;
    			publicVariableServer "PVDZE_plr_Save";
    			_player setVariable ["moneychanged",1,true];					
    			_newwealth = _player getVariable["cashMoney",0];		
    			if (_newwealth >= _wealth) then { _result = true; };			
    			_result
    };	

    Ummm so where do you put this code? in compiles.sqf or?

  11. For all those people that are having issues with being able to access the bank menu from ages away from where you bank actually is, i found how to fix it after like 2 hours. Thank me later:

     

    First go to your fn_selfactions.sqf:

    1. Search for:

    player removeAction s_player_towing;
        s_player_towing = -1;
        player removeAction s_player_fuelauto;
        s_player_fuelauto = -1;
        player removeAction s_player_fuelauto2;
        s_player_fuelauto2 = -1;

    Copy & Paste this directly under that code:

            // Banks
        player removeAction s_bank_dialog9;
        s_bank_dialog9 = -1;

     

    2. Go to the bottom of your fn_selfactions.sqf file, find this:

    if((_banker == 1) and (player distance _cursorTarget < 3)) then {        
            if (s_bank_dialog9 < 0) then {
                s_bank_dialog9 = player addAction ["OzGT Bank", "gold\bank_dialog.sqf",_cursorTarget, 3, true, true, "", ""];
            };            
        } else {        
            player removeAction s_bank_dialog3;
            s_bank_dialog3 = -1;
        };

    Copy & paste this code over the old code:

    if((_banker == 1) and (player distance _cursorTarget < 3)) then {        
            if (s_bank_dialog9 < 0) then {
                s_bank_dialog9 = player addAction ["OzGT Bank", "gold\bank_dialog.sqf",_cursorTarget, 3, true, true, "", ""];
            };            
        } else {        
            player removeAction s_bank_dialog9;
            s_bank_dialog9 = -1;
        };

     

    3. Navigate to: @Dayz_Epoch/addons/dayz_code.pbo  drag that file to your desktop or where you want to, use pbo manager to unpack it navigate to dayz_code/compile drag the new fn_SelfActions.sqf file to the compile folder and overwrite the old fn_SelfActions.sqf file.

     

    4. Navigate to: MPMissions/YourMissionYouUse/Compile drop the new fn_SelfActions.sqf file there and overwrite the old one,

     

    That's it! that fixed it for me, if anyone needs help at all just jump on my teamspeak ill be more then happy to try and help you!

    ts: 27.50.70.178:10101

    Best of luck fixing it!

     

     

     

×
×
  • Create New...