Defay Posted September 16, 2014 Report Share Posted September 16, 2014 Dear friends, I'm in a need of some help. Earlier today I've installed Zupa coin system. Everything works great except the GUI of the banking system. When I interact with "Bank ATM" option it pops up the Bank window and it doesn't show the amount of coins it just says "Any Zupa Coins". The player HUD gives the right information, while the bank system doesn't. Thanks for the help! Link to comment Share on other sites More sharing options...
shayd Posted September 16, 2014 Report Share Posted September 16, 2014 Are you running the 1.1 or soul SC.hive? Have you run the SQL queries needed https://github.com/UK431-Soul/DayZ-Epoch_SCHiveExt/blob/master/SCDBQuery.sql If not then it may be that it is displaying any as it can not find the correct field in the database to display on the GUI? Link to comment Share on other sites More sharing options...
Defay Posted September 16, 2014 Author Report Share Posted September 16, 2014 Are you running the 1.1 or soul SC.hive? Have you run the SQL queries needed https://github.com/UK431-Soul/DayZ-Epoch_SCHiveExt/blob/master/SCDBQuery.sql If not then it may be that it is displaying any as it can not find the correct field in the database to display on the GUI? I'm running the 1.1 Link to comment Share on other sites More sharing options...
Defay Posted September 16, 2014 Author Report Share Posted September 16, 2014 So just an quick update! The database works, but still no "Any Zupa Coins" in bank dialog window. I can buy at the traders with coins and everything. But again, the prices at the traders show: "Any Zupa Coins". Trading and everything works. Just those 2 things won't work. I'm running 1.1 (999). Link to comment Share on other sites More sharing options...
shayd Posted September 16, 2014 Report Share Posted September 16, 2014 Hard to know with out taking a look, if you want to jump on my ts 216.127.64.88:8417 I would be more than happy to take a look at things with you and see if I can help you get it sorted. Link to comment Share on other sites More sharing options...
Rocu Posted September 16, 2014 Report Share Posted September 16, 2014 Any errors in the RPT log file? Also post your playerHud.sqf. Link to comment Share on other sites More sharing options...
Defay Posted September 16, 2014 Author Report Share Posted September 16, 2014 I updated to Souls 2.0 His hud now doesn't work anymore. It doesn't connect to the database. The default one from 1.1 does work. /* Author : AsReMixhud Edited By : Peter Beer Credit : AsReMixhud , Zupa */ disableSerialization; AsReMixhud_Control = true; while {true} do { 1000 cutRsc ["AsReMixhud","PLAIN"]; _wpui = uiNameSpace getVariable "AsReMixhud"; _vitals = _wpui displayCtrl 4900; _Player = player; AsReMixhud_zombieKills = _Player getVariable["zombieKills",0]; AsReMixhud_headshots = _Player getVariable["cashMoney",0]; AsReMixhud_killsH = _Player getVariable["humanKills",0]; Bank_Balance = _Player getVariable["bankMoney",0]; AsReMixhud_killsB = _Player getVariable["banditKills",0]; AsReMixhud_humanity = _Player getVariable["humanity",0]; AsReMixhud_blood = _Player getVariable["USEC_BloodQty",12000]; AsReMixhud_fps = (round diag_fps); AsReMixhud_svrname = "Amnesia"; AsReMixhud_Players = {isPlayer _x} count _players; _players = []; { _y = _x; if (isPlayer _y) then { {_players = _players + [_x];} forEach (crew _y); }; } forEach ([0,0,0] nearEntities ['AllVehicles', 10000000]); _stime = 0; if(serverTime > 36000)then{_stime = time;}else{_stime = serverTime;}; _hours = (_stime/60/60); _hours = toArray (str _hours); _hours resize 1; _hours = toString _hours; _hours = compile _hours; _hours = call _hours; _minutes = floor(_stime/60); _minutes2 = ((_minutes - (_hours*60)) min 60) max 0;if (_minutes2 < 10) then {_minutes2 = format ['0%1',_minutes2];}; if(AsReMixhud_humanity >= 5000) then { AsReMixhud_hmnicon = "<img size='0.9' image='addons\playerhud\icons\HeroHumanity.paa'/>"; }; if((AsReMixhud_humanity >= 200) && (AsReMixhud_humanity <= 4999)) then { AsReMixhud_hmnicon = "<img size='0.9' image='addons\playerhud\icons\CivHumanity.paa'/>"; }; if(AsReMixhud_humanity <= 199) then { AsReMixhud_hmnicon = "<img size='0.9' image='addons\playerhud\icons\BanditHumanity.paa'/>"; }; _vitals ctrlSetStructuredText parseText format [" <t size='0.8' align='right'>~~~~~ Stats ~~~~~</t><br/> <t size='0.9'> %1 </t><img size='0.9' align='right' image='addons\playerhud\icons\Players.paa'/><br/> <t size='0.9'> %2 </t><img size='0.9' align='right' image='addons\playerhud\icons\Health.paa'/><br/> <t size='0.9'> %2 %3 </t><br/> <t size='0.9'> £%4 </t><img size='0.9' align='right' image='addons\playerhud\icons\Money.paa'/><br/> <t size='0.9'> £%5 </t><img size='0.9' align='right' image='addons\playerhud\icons\Bank.paa'/><br/> <t size='0.9'> %6 </t><img size='0.9' align='right' image='addons\playerhud\icons\HeroKills.paa'/><br/> <t size='0.9'> %7 </t><img size='0.9' align='right' image='addons\playerhud\icons\BanditKills.paa'/><br/> <t size='0.9'> %8 </t><img size='0.9' align='right' image='addons\playerhud\icons\ZombieKills.paa'/><br/> <t size='0.9'> %9h %10min </t><img size='0.9' align='right' image='addons\playerhud\icons\Uptime.paa'/><br/> <t size='0.9'> %12 </t><img size='0.9' align='right' image='addons\playerhud\icons\Fps.paa'/><br/> <t size='0.8' align='right'>~~~~~~~~~~~~~~~~~</t><br/>", AsReMixhud_Players, AsReMixhud_blood, [AsReMixhud_humanity] call BIS_fnc_numberText, AsReMixhud_hmnicon, [AsReMixhud_headshots] call BIS_fnc_numberText, [bank_Balance] call BIS_fnc_numberText, AsReMixhud_killsH, AsReMixhud_killsB, AsReMixhud_zombiekills, _hours, _minutes2, AsReMixhud_fps ]; _vitals ctrlCommit 0; sleep 1.5; }; Link to comment Share on other sites More sharing options...
Rocu Posted September 16, 2014 Report Share Posted September 16, 2014 I mean not playerHud.sqf. My bad. I wanted to see your gold/init.sqf. Are you sure you have these functions in your compiles.sqf? : BIS_fnc_numberDigits = compile preprocessFileLineNumbers "custom\numberDigits.sqf"; BIS_fnc_numberText = compile preprocessFileLineNumbers "custom\numberText.sqf"; And those files actually exist in the given paths? (Might be different paths for you) Link to comment Share on other sites More sharing options...
Defay Posted September 16, 2014 Author Report Share Posted September 16, 2014 I mean not playerHud.sqf. My bad. I wanted to see your gold/init.sqf. Are you sure you have these functions in your compiles.sqf? : BIS_fnc_numberDigits = compile preprocessFileLineNumbers "custom\numberDigits.sqf"; BIS_fnc_numberText = compile preprocessFileLineNumbers "custom\numberText.sqf"; And those files actually exist in the given paths? (Might be different paths for you) I've found out that 5mins before you posted this! That was the problem, in the original 1.1 tutorial that doesn't seem to be stated. That was the problem. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now