truongdatnhan Posted November 22, 2014 Report Share Posted November 22, 2014 i still want bank :( Link to comment Share on other sites More sharing options...
Zupa Posted November 22, 2014 Author Report Share Posted November 22, 2014 On 11/22/2014 at 12:06 PM, truongdatnhan said: i still want bank :( this version doesnt support it. take souls 2.0 Link to comment Share on other sites More sharing options...
Zupa Posted November 22, 2014 Author Report Share Posted November 22, 2014 On 11/22/2014 at 4:48 AM, bFe said: What's the difference between this and PeterBeers version? Which is better? Peter beer is just a collection of error fixes together of SC 2.0 Soul hive. This is 3.0 default hive, all diferences are discribed in th topic. bFe 1 Link to comment Share on other sites More sharing options...
Zupa Posted November 22, 2014 Author Report Share Posted November 22, 2014 On 11/21/2014 at 11:45 PM, Draftkid said: Hey Zupa. May have a issue. When you put money into a safe, lock it then open it.. the money is reset to 0. could it be from the name change? gonna look at it,, it's because it change of classname, prob know how to fix ^^ Link to comment Share on other sites More sharing options...
Zupa Posted November 22, 2014 Author Report Share Posted November 22, 2014 STEPS E and F added 2 new files + init+config changed changes: https://github.com/EpochSC/SingleCurrencyStorage/commit/29886b078c3ac00e0e5e5bb8bf2bbc53fd7cb0e2?diff=split Link to comment Share on other sites More sharing options...
Zupa Posted November 22, 2014 Author Report Share Posted November 22, 2014 am, wait sitll something wrong, hmm speed debugging ! Link to comment Share on other sites More sharing options...
Zupa Posted November 22, 2014 Author Report Share Posted November 22, 2014 All fixes pushed and working now Link to comment Share on other sites More sharing options...
Hoplit Posted November 22, 2014 Report Share Posted November 22, 2014 Hey Zupa! This is awesome, the only problem for me is that the money in player inventory sets to 0 after restart. I am running taviana epoch. Link to comment Share on other sites More sharing options...
Zupa Posted November 22, 2014 Author Report Share Posted November 22, 2014 On 11/22/2014 at 4:50 PM, Hoplit said: Hey Zupa! This is awesome, the only problem for me is that the money in player inventory sets to 0 after restart. I am running taviana epoch. have u got the player_gearSet up? and the player_sync done correctly? Hoplit 1 Link to comment Share on other sites More sharing options...
Thug Posted November 22, 2014 Report Share Posted November 22, 2014 in server pbo Step C you said to add /*ZSC*/ if( count (_intentory) > 3)then{ _object setVariable ["bankMoney", _intentory select 3, true]; }else{ _object setVariable ["bankMoney", 0, true]; }; /*ZSC*/ ABOVE if (_type in DZE_LockedStorage) then { // Fill variables with loot _object setVariable ["WeaponCargo", (_intentory select 0),true]; _object setVariable ["MagazineCargo", (_intentory select 1),true]; _object setVariable ["BackpackCargo", (_intentory select 2),true]; } else { MINE LOOKS LIKE THIS if (count _intentory > 0) then { if (_type in DZE_LockedStorage) then { // Fill variables with loot _object setVariable ["WeaponCargo", (_intentory select 0),true]; _object setVariable ["MagazineCargo", (_intentory select 1),true]; _object setVariable ["BackpackCargo", (_intentory select 2),true]; } else { do i leave the first line or do i take it out?, which is: if (count _intentory > 0) then { Link to comment Share on other sites More sharing options...
Hoplit Posted November 22, 2014 Report Share Posted November 22, 2014 On 11/22/2014 at 5:03 PM, Zupa said: have u got the player_gearSet up? and the player_sync done correctly? thanks it worked. Link to comment Share on other sites More sharing options...
Thug Posted November 22, 2014 Report Share Posted November 22, 2014 Ok i just went throw re installing your script. I can not store coins in anything. i am not getting a option to store coin ie vault, storage shed, tents, or vehicles. What do i need to look at. I see the coins on the right side of the screen and they stay there after restart. The other thing is i killed myself and i had no option to get my coins back. the only option i get is the normally one for gear I think this is the DB am i right? Link to comment Share on other sites More sharing options...
Gorgy Posted November 22, 2014 Report Share Posted November 22, 2014 i have a problem i can store coins in vehicles etc. but the player seems to have infinit coins the hud field for coins i empty and as soon as i deposit or withdraw something from vehicles it shows scalar in my hud and i cant find any errors in my rpt Edit: Never mind just fixed it. found 2 files which were edited for the 2.0 version Link to comment Share on other sites More sharing options...
calamity Posted November 23, 2014 Report Share Posted November 23, 2014 ok I have to know now... in this download I see cherno 11 and cherno 17 I started a new server a few weeks ago and used instance 11 I saw instance 17 also but whats the difference ??? I just really want to know... Link to comment Share on other sites More sharing options...
Zupa Posted November 23, 2014 Author Report Share Posted November 23, 2014 On 11/23/2014 at 1:42 AM, calamity said: ok I have to know now... in this download I see cherno 11 and cherno 17 I started a new server a few weeks ago and used instance 11 I saw instance 17 also but whats the difference ??? I just really want to know... the trader cities are different. calamity 1 Link to comment Share on other sites More sharing options...
Zupa Posted November 23, 2014 Author Report Share Posted November 23, 2014 On 11/22/2014 at 5:59 PM, Thug said: Ok i just went throw re installing your script. I can not store coins in anything. i am not getting a option to store coin ie vault, storage shed, tents, or vehicles. What do i need to look at. I see the coins on the right side of the screen and they stay there after restart. The other thing is i killed myself and i had no option to get my coins back. the only option i get is the normally one for gear I think this is the DB am i right? see that there is eather my selfaction used in config, Or that u edit your correct one. Link to comment Share on other sites More sharing options...
BigCrazyCat Posted November 23, 2014 Report Share Posted November 23, 2014 Zupa,there is a little bag. When I use your fn_selfactions , all works well,but when I edit my fn_selfActions like your - self actions doesnt work: i cant trade, i cant unlock car etc. Link to comment Share on other sites More sharing options...
Liqu1dShadow Posted November 23, 2014 Report Share Posted November 23, 2014 Thank you, Got this fully working on Overpoch Origins with Taviana Config Traders no issues what so ever. When I get home ill sort a donation :) Link to comment Share on other sites More sharing options...
calamity Posted November 23, 2014 Report Share Posted November 23, 2014 just installed and have a problem. maybe I missed a step or something but... when I get trader menu it does not give buy/sell price I sold a bloodbag and it said 100 coins I dont see it anywhere I goto my safe and show deposite but does not show I have any funds.. any quick thoughts of what I missed? I am going back over install and all seems there... edit... I see the coins icon on left for a few seconds when I first join game then it dissapears. when I choose money storage on safe I get deposit withdraw but you is blank shows I have no money I deposite 300 it lets me but still does not show anywhere how much I have I try deposite 5000 it says I dont have enough so all seems good except It does not show actual coins anywhere trader buy/sell price empty, storage banks empty coins icon dissapears when first load in game Error in expression <nt _digits - 1; _modBase = _digitsCount % _mod; _numberText = ""; { _numberText> Error position: <% _mod; _numberText = ""; { _numberText> Error %: Type Script, expected Number File mpmissions\__CUR_MP.Tavi\ZSC\compiles\numberText.sqf, line 12 Link to comment Share on other sites More sharing options...
Zupa Posted November 24, 2014 Author Report Share Posted November 24, 2014 Can u post the inventory field of your character inventory in the database? Link to comment Share on other sites More sharing options...
Thug Posted November 24, 2014 Report Share Posted November 24, 2014 Do i have to do something to the data base? Still can not get an option to store coins. I followed the steps for mission side. In step C I put the ZSC folder in the root of the mission and the server_traders_cherno_17.sqf there also. Then i followed the steps for the server side. Still no storing of coins. Zupa said see that there is eather my selfaction used in config, Or that u edit your correct one. this is what is in my init.sqf //Load in compiled functions call compile preprocessFileLineNumbers "custom\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early) //call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early) progressLoadingScreen 0.1; call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers progressLoadingScreen 0.2; call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical progressLoadingScreen 0.4; call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions call compile preprocessFileLineNumbers "custom\snap_pro\compiles.sqf"; //Compile regular functions //COIN call compile preprocessFileLineNumbers "ZSC\gold\ZSCinit.sqf"; progressLoadingScreen 0.5; //COIN call compile preprocessFileLineNumbers "server_traders_cherno_17.sqf"; //Compile trader configs call compile preprocessFileLineNumbers "custom\compiles.sqf"; //Compile custom compiles progressLoadingScreen 1.0; Link to comment Share on other sites More sharing options...
Zupa Posted November 24, 2014 Author Report Share Posted November 24, 2014 did u add my functions to selfactions? Link to comment Share on other sites More sharing options...
Thug Posted November 24, 2014 Report Share Posted November 24, 2014 I just came out of game and now i see the storage. I used my selfaction with the changes and set yours to false. It does not save the coins after restart. I put 10000 in each item and after i did the restart it was gone, 0 balance. i still had 55000 on me, so it saves to me. At less i'm making progress. Link to comment Share on other sites More sharing options...
Zupa Posted November 24, 2014 Author Report Share Posted November 24, 2014 Ya but that line somehow fixes when u change cloth that AI still shoots you. It's magic but needed somehow. ( for overwatch skins in overpoch). SO i just put it in there so people don't whine after xD it's the same with creazteVehicel , the location is never correct so u reset the location after again ^^ Link to comment Share on other sites More sharing options...
calamity Posted November 24, 2014 Report Share Posted November 24, 2014 On 11/24/2014 at 1:18 PM, Zupa said: Can u post the inventory field of your character inventory in the database? [["m16a4_acg","M9SD","ItemMap","ItemHatchet_DZE","ItemRadio","ItemToolbox","EvMoney","ItemKeyBlack1131","ItemKeyGreen1845","ItemGPS"],["ItemPainkiller","ItemEpinephrine","ItemMorphine","ItemWaterbottleBoiled","FoodPistachio","100Rnd_556x45_BetaCMag","100Rnd_556x45_BetaCMag","ItemAntibiotic","ItemEpinephrine","ItemMorphine","ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD"],1830] Im assuming the 1830 is the coins I have so its working, It shows the 1830 coins icon on left for a few seconds after loading into game then the coins icon disappears. does not show anywhere... this is my description.ext Reveal hidden contents class RscTitles { #include "dzgm\icons.hpp" class zCamoStatusGUI { idd = -1; fadeout=0; fadein=0; onLoad = "uiNamespace setVariable ['zCamo_GUI_display', _this select 0]"; duration = 10e10; name= "zCamoGui"; controlsBackground[] = {}; objects[] = {}; class controls { class zCamoIcon:RscPictureGUI { idc = 1; text="custom\walkamongstthedead\zombie.paa"; x="0.958313 * safezoneW + safezoneX"; y="0.43 * safezoneH + safezoneY"; w=0.059999999; h=0.079999998; colorText[]={1,1,1,1}; }; }; }; #include "ZSC\config\ZSChud.hpp" }; I also notice I have two _inventory = [ in my server_updateObjects.sqf _object_inventory = { private["_inventory","_previous","_key"]; if (typeOf (_object) == "Plastic_Pole_EP1_DZ") then{ _inventory = _object getVariable ["AddedPUIDS", []]; //We're replacing the inventory with UIDs for this item } else { _inventory = [ getWeaponCargo _object, getMagazineCargo _object, getBackpackCargo _object ]; }; /* Get the Inventory of the Vehicle */ _inventory = [ getWeaponCargo _object, getMagazineCargo _object, getBackpackCargo _object /*ZSC*/ , _object getVariable["bankMoney",0] /*ZSC*/ ]; I tried , _object getVariable["bankMoney",0] in both locations (still not showing coins :( Link to comment Share on other sites More sharing options...
Recommended Posts