Jump to content

titan

Member
  • Posts

    34
  • Joined

  • Last visited

Posts posted by titan

  1. Correct, but it's just for development and to have servers for you guys to play on while the files are private. We use GSP's because they stand to lose a lot if they break our terms. This is why there weren't that many community servers. As a thank you to them and the community hosted servers, we have given them files early for testing. We should have the files out within the next 5-8 hours tops.

    so why not tell us that from the beginning? i am not bothered if they are delayed. just be upfront with the facts please.

  2. i've merged this into my epoch origins server (fresh install), I noticed that bankinit.sqf was missing from the github, I replaced it from one soul 2.0 and it's not giving me any obvious errors. At the moment I'm stuck at "Requesting Character Data" with an RPT output  "

    "HIVE ERROR: CHILD:100:XXXSTEAMIDXXX: -> ["ERROR",[],0.96]"
    

    I'd be glad to upload the files that I merged the code into. If I can't get this one to work I'm just going to give up on a coin system completely. Zupa's instructions are impossible to follow, Peterbeer doesn't want to help if it's not a stock chernaraus install (even then I got it almost working except for an undefined variable that was very much defined...) My players really want this and this one seemed to be a straighforward install but even here I got this error...

    HIVE ERROR: CHILD:100:76561197999348592: -> ["ERROR",[],0.96]"

     

    Attached is an image of the columns in my database

     

    wow did think anyone was using this a part from me that is.. with no issues i might add  :P

     

    are you using the .dll for multichar support? as for the bankinit.sqf i not sure it will work 100% i will check it out and let you know.

     

    edit:-

     

     

    ok you dont need bankint.sqf. thats how souls version saves  your to your bank. my version works differently.

     

    so remove that from your server pbo, and change the line in your server_functions.sqf  from 

     

    #include "\z\addons\dayz_server\bankzones\bankinit.sqf"

     

    to

     

    #include "\z\addons\dayz_server\bankzones\banks.sqf"

     

    if you have neither add

     

    #include "\z\addons\dayz_server\bankzones\banks.sqf" 

     

    below 

     

    server_sendToClient = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_sendToClient.sqf";

     

    if you are using coin scripts modded for souls version remove 

     

    PVDZE_bank_Save = [player];
    publicVariableServer "PVDZE_bank_Save";
     
    from the init.sqf, as this is not needed.
     
    edit your server_playersetup.sqf (i am assuming it has not already been modded) add:-
     
    _wealth =       _primary select 7;
    _bank =         _primary select 8;
     
    around line 62 below:- 
     
    _lastinstance = _primary select 6;
     
    then also add:-
     
    _playerObj setVariable["bankMoney",_bank,true];
    _playerObj setVariable["bankMoney_CHK",_bank];
    _playerObj setVariable["cashMoney",_wealth,true];
    _playerObj setVariable["cashMoney_CHK",_wealth];
     
    around line 234 below :-
     
    _playerObj setVariable["humanity_CHK",_humanity];
     
     
    edit your server_playersync.sqf (i am assuming it has not already been modded) add:-
     
    _wealth =      ["cashMoney",_character] call server_getDiff2;
    _bank =      ["bankMoney",_character] call server_getDiff2;
     
    around line 120 below:-
     
    _humanity = ["humanity",_character] call server_getDiff2;
     
     
    and change line :-
     
    _key = format["CHILD:201:%1:%2:%3:%4:%5:%6:%7:%8:%9:%10:%11:%12:%13:%14:%15:%16:",_characterID,_playerPos,_playerGear,_playerBackp,_medical,false,false,_kills,_headShots,_distanceFoot,_timeSince,_currentState,_killsH,_killsB,_currentModel,_humanity];
     
    to:-
     
    _key = format["CHILD:201:%1:%2:%3:%4:%5:%6:%7:%8:%9:%10:%11:%12:%13:%14:%15:%16:%17:%18:",_characterID,_playerPos,_playerGear,_playerBackp,_medical,false,false,_kills,_headShots,_distanceFoot,_timeSince,_currentState,_killsH,_killsB,_currentModel,_humanity,_wealth,_bank];
     
    think that should do it. let me know how you get on.
     
     
     
     
     
     
  3. remove.sqf fixed.

     

    Uploaded to dropbox and ghithub.

     

    Would be  a whole lot easier if you can give some examples of the differences as I may be able to explain right away rather than downloading and having to compare both sets of files myself.

     

    You cannot deploy the plot pole with which options out of the three turned on ?.

     

    I have just built a plot pole with all 3 options set to true.  No issue seen.  If you can tell me what you did I can try and copy and see if I can reproduce.

     

    all working, ( i had a typo in my spaceinterupt!) works great thanks. altough i am gonna have a play with the latest build_snaping pro. 

  4. hi thanks for the effort with this.

     

    although i am still having issues with this. cannot deploy pole with space bar.

     

    if snap build pro 1.4.1 is merged, why are the snap_build.sqf and the player_build.sqf  in the plot for life files so different to latest snap build pro 1.4.1 github?

     

    also i cannot find a reference for the supplied "remove.sqf"? 

  5. I'm not 100% certain what one of your it is as you haven't dated anything :P might be an idea if you plan to do future releases to update it xD i'll download the latest github pack and use that one if its supposedly working in that build, the best i can give you is the DLL filesize as there is nothing in the download to say compile dates etc

    I do semi-dislike the idea of storing gold/bank in the character data table but it seems to work better than the 999 release as i desperately need maintenance xD but i don't think the idea of same bank across characters is such a great idea, reason? The idea of multichar is so you can start out fresh and have a whole new set of gear i think the bank being across all characters would ruin the function of that mod but hey :P not my project, just giving my opinion :D

    my thoughts exactly but i dont wont to get in to that, people can decide for themselves  

    In regards to the dll is it the coin only mod the smaller file size, or the one with mult-char support?  not that i think the dll's have a issue, as spawned vehicles take damage / hit points in the usual way.  

  6. ok so you actually reset players safes when they died? cause thats on the same page as making them lose their bank data right.

    Soul,

     

    i was'nt going to post this because i am not that type of guy but...

     

    i find your posts on this topic a little confrontational, not quite sure why but i feel you have a problem with me? or have i got it wrong? if so then we have got off on the wrong foot and i apologize for my assumption. i am sure i have not made any derogatory posts at anything you have said/done?  i mean we are both just trying to help out the community?

     

    Look i get it, you feel my way is the wrong way thats fine with me honestly!. i respect your views and the work you have done is great. I am Not to sure about yourself but i do this for fun, just to see if i can, the thrill of the chase so to speak. if people want to to test/make use of what i have done then fine, i will help them the best i can, if they find its not for them and don't then that's fine too. i will probably just put the source up on Github for anyone to use anyway.   

     

    to be honest i have more important things in my life. i had a few odd days in my leave from work so i thought i would give it a go, no harm in that is there?

    Oh well i am back of to work tomorrow, back to the real world where stuff like this don't really matter !.

  7. Hey man, I love the work you have done on this.

     

    But Loud also did a dll. 

     

    And both your versions work well and are awesomely made!

     

    But, Loud one will be the one were we will work further one, For the following reasons:

     

    I only will say the differences between yours and his:

     

    - His bank value is in player_data (new field),

    • This will support having the same bank for axe's multychar script for every character.
    • This will keep your bank if a character gets deleted or get corrupt. ( Can u imagina a char not saving and his bank just gets erased as well or cleanup script deletes his dead char before he logged in again)

    THose 2 are the only reason.

     

    But no disrespect, i will def give u credit for this amazing work!

    No problem Zupa, but keeping the same bank for every character? i feel thats a little cheaty lol but if thats what the community wants then fine anyway thanks for your kind words.

  8. So i did some more testing after getting the gold system running properly and i'm not sure if its a file issue on my server or this hive but object damages aren't being published to the DB, i shot a wooden wall in-game with a maaws and it took health from 100 to 12.457 and when i checked the DB to verify it had pushed over to the DB there was no damage for it

    Only Character Data syncs were edited in the HiveExt.dlls so the dll's should'nt be the problem. will test for myself tommorrow need sleep...

  9.  

    Not sure if this is what we're looking for?

     

    delete FROM `character_data`
    
    USING character_data, character_data AS tmpcharacter_data
    
    WHERE NOT character_data.CharacterID=tmpcharacter_data.CharacterID
    
    AND character_data.CharacterID<tmpcharacter_data.CharacterID
    
    AND (character_data.PlayerUID=tmpcharacter_data.PlayerUID)
    

    DELETE n1 FROM Character_DATA n1, Character_DATA n2 WHERE n1.CharacterID < n2.CharacterID AND n1.PlayerUID = n2.PlayerUID 

     

    seems fine if you are not running axe cops char mod otherwise you will need to include his "Slot" in there too. 

  10.  

    Its a highly modified zupa system but after double checking my files as to why my coins on my custom hud wasn't working yet my bank was it came to my attention that whilst i was working on my towing fix that is called from desc.ext my custom hud was being called after the towing code in RscTtitles, turns out my hud also used RscTitles so it was throwing an error so i made a fix that i moved my hud into desc.ext rather than a dedicated hpp and my towing code was called in the same section in desc.ext (see bellow) turns out i left the original file in my gold folder and was editing that to change my headshots value to wealth and it was as i said causing me to not be able to see my wallet balance or transfer back to my bank, nor was i able to buy from traders, till i realised that i moved the hud to desc.ext and commented the call for hud in gold folder xD all working now! now to get it all fine tuned and updated back to my custom + zupa's 1.1 hybrid system as i believe yours is 1.0?

    aiKills = 1;
    diagRadio = 1;
    diagHit = 1;
    
    class RscTitles {
    	class MTrader {
    		idd = -1;
    	    fadeout=0;
    	    fadein=0;
    		onLoad = "uiNamespace setVariable ['wealth', _this select 0]";
    		duration = 10e10;
    		name= "MTraderGui";
    		controlsBackground[] = {};
    		objects[] = {};
    		class controls {
    			class MTraderMoney:RscStructuredText {
    				idc = 1;
    				size = 0.040;
    				text = "";
    				x = 0.895313 * safezoneW + safezoneX;
    				y = 0.58 * safezoneH + safezoneY;
    				w = 0.20; h = 0.20;
    			};
    		};
    	};
    	class MBTrader {
    		idd = 11;
    	    fadeout=0;
    	    fadein=0;
    		onLoad = "uiNamespace setVariable ['bank', _this select 0]";
    		duration = 10e10;
    		name= "MBTraderGui";
    		controlsBackground[] = {};
    		objects[] = {};
    		class controls {
    			class MBTraderMoney:RscStructuredText {
    				idc = 11;
    				size = 0.040;
    				text = "";
    				x = 0.895313 * safezoneW + safezoneX;
    				y = 0.61 * safezoneH + safezoneY;
    				w = 0.20; h = 0.20;
    			};
    		};
    	};
    	#include "R3F_ARTY_AND_LOG\desc_rsct_include.h"
    };
    
    class RscText
    {
    	type = 0;
    	idc = -1;
    	x = 0;
    	y = 0;
    	h = 0.037;
    	w = 0.3;
    	style = 0x100; 
    	font = Zeppelin32;
    	SizeEx = 0.03921;
    	colorText[] = {1,1,1,1};
    	colorBackground[] = {0, 0, 0, 0};
    	linespacing = 1;
    };
    

     

     

    1.0?  oh i know what you mean lol i am not worried about that dude, just glad i can help the community. :D

     

    Glad its all working for you. just don't forget about the query change for player house keeping.

     

    did your's work ok?

     

    i am currently updating the files, to make them as a complete package. did you find the instructions clear enough? i Know there not "pretty" but they do the job?

     

    you want to post your scripts and instructions how to used with my My HiveExt.dll's ?

  11. you'll soon run into problems with having the bank data in the char data

     

    player rage quits after getting killed

    server admin has query that removes dead players on restarts

    boom bank money gone...

    So just edit your query to keep the players last entry.

     

    DELETE n1 FROM Character_DATA n1, Character_DATA n2 WHERE n1.CharacterID < n2.CharacterID AND n1.PlayerUID = n2.PlayerUID 

     

    should work fine but if you run axe cops char mod you need to add 'Slot' in there somewhere

  12. can i request a pinned on this?

     

     

     

     

     

    No Arma2NET or extDB.dll required. just replace your HiveEXT.dll.

     

     

    I have included a version for Multiple Character Mod for DayZ Epoch 1.0.5 by Axe Cop.

     

     

    Coin Currency Modded hiveExt.dll for DayZ Epoch 1.0.5 by TiTAN
    ========================================================
     
    Installation instructions
    =========================
     
     
    Pre-requirements: a PBO manager and basic knowledge of ArmA script editing

    Please Test before you commit to a live Server!

    Alternatively If you are running a standard Overpoch server (you will still need @DayzOverpoch and the Key File if you have'nt already got it)
    You can Just Replace your server's @DayZ_Epoch_server file, and replace your DayZ_Epoch_Server11.Chernarus file in your MPMissions folder.
    This includes Axe Cops Multi Char support.

    and run the following querys

    ALTER TABLE `Character_DATA` ADD COLUMN `Wealth` INT UNSIGNED NOT NULL DEFAULT 0 AFTER `Infected`;
    ALTER TABLE `Character_DATA` ADD COLUMN `Bank` INT UNSIGNED NOT NULL DEFAULT 1000 AFTER `Wealth`;
    ALTER TABLE `Character_DATA` ADD COLUMN `Slot` TINYINT UNSIGNED NOT NULL DEFAULT 1 AFTER `PlayerUID`;

    modify your player cleanup Query from deleting all 'dead' players with something like

    DELETE n1 FROM Character_DATA n1, Character_DATA n2 WHERE n1.CharacterID < n2.CharacterID AND n1.PlayerUID = n2.PlayerUID

    then the last player entry will remain dead or alive, and palyer will not loose their "bank balance" or Humanity!

    Thats it and you are Done!




    Alternatively you can modify you own files below.

    You might want to compare/edit the .sqf files rather than replace, if you already have made modifications to them.


    1) run the SQL query to add the Required columns to the "Character_DATA" table in your Epoch database:
    ALTER TABLE `Character_DATA` ADD COLUMN `Wealth` INT UNSIGNED NOT NULL DEFAULT 0 AFTER `Infected`;
    ALTER TABLE `Character_DATA` ADD COLUMN `Bank` INT UNSIGNED NOT NULL DEFAULT 1000 AFTER `Wealth`;

    2) unpack your dayz_server.pbo

    3) copy the file HiveExt.dll to the @DayZ_Epoch_Server folder (overwrite the Epoch file)


    4) Replace the file compile\server_playerSetup.sqf, in your dayz_server.pbo with File supplied.


    5) Replace the file compile\server_playerSync.sqf, in your dayz_server.pbo with File supplied.


    6) If its a standard dayz_server pbo (ie: if not and modifying to Zupa's 999 version) then you will need to add the files in Server Folder to the Relevent folders.


    7)    repack your dayz_server.pbo


    8) If modifying Zupa's 999 version In Your Mission folder, Replace the relevent files in the missions folder .

    =======

    6) repack your dayz_server.pbo


    you will need to edit your scripts for use.

    If you are using your own scripts, you will need to edit your scripts!!!!

    to call eg:-

    PVDZE_plr_Save = [_activatingPlayer,(magazines _activatingPlayer),true,true] ;
    publicVariableServer "PVDZE_plr_Save";



    "wealth" and "bank" variables will need to be used, (unless you change them to you own in the server_playerSetup.sqf and server_playerSync.sqf to what ever variables you use to store your player money and bank variables in your scripts).
    =======
    i have added a gold folder in my github file, it is quick and dirty edit of Zupa's from his github.

    loads of Credit goes to him for those.
×
×
  • Create New...