Jump to content

Recommended Posts

Ok, so..

I was using this script, or atleast trying to use it, but i'm with some problems.

 

The numer of coins i have with me and the number in my DataBase ('cashmoney' cell) is the same.

I can interact with the bank.

When i try to make a deposit, nothing happens. BUT when i change the amount of money direct into the database to make it > 0 i can withdraw the money, and i also have a message to confirm it.

 

My biggest problem right now is to make a deposit, also i don't have any rpt error.

Second problem is the Coin HUD, it's not in my screen anymore.. It used to be there before i tried this "Custom Hiveext.dll"

 

I installed this script -> 

And i'm using the 1st variant from this tutorial.

 

Anyone able to help me?

Link to comment
Share on other sites

Ok, so..

I was using this script, or atleast trying to use it, but i'm with some problems.

 

The numer of coins i have with me and the number in my DataBase ('cashmoney' cell) is the same.

I can interact with the bank.

When i try to make a deposit, nothing happens. BUT when i change the amount of money direct into the database to make it > 0 i can withdraw the money, and i also have a message to confirm it.

 

My biggest problem right now is to make a deposit, also i don't have any rpt error.

Second problem is the Coin HUD, it's not in my screen anymore.. It used to be there before i tried this "Custom Hiveext.dll"

 

I installed this script -> 

And i'm using the 1st variant from this tutorial.

 

Anyone able to help me?

 

did you merge the sqf files in the repo with your files?

Link to comment
Share on other sites

Hey guys

 

Just to back up any issues, since updating the the most recent 999 call SCMC we have had big issues with money dulication.

What i can see is happening is the following example...

 

100,000 in bank

100 in cash

 

withdraw 100,000 = 100,100 in cash

 

Relog and you will now have 100,00 in bank and 100,100 in cash.

 

Same for deposit..

 

100,000 in bank

100 in cash

 

deposit 100 = 100,100 bank

0 cash

 

relog and you now have 100,100 in bank and 100 in cash.

also if you reset your money to 0, relog and the money will come back.

 

I can supply a RPT but there really isnt any logs refering to the issue. I am using the stock sync and setup files given below.

 

https://github.com/UK431-Soul/Dayz-Epoch_SCMCHiveExt/tree/master/dayz_server/compile

 

Hope this helps guys :)

Link to comment
Share on other sites

 

 

Here you go Soul: http://pastebin.com/dcEqaj2f

 

Thanks, and the answer is: you are using an older version of the server_playerSync.sqf

First of all out of wich github repo did you get this?

 

Change this:

_cashMoney = _character getVariable ["cashMoney", 0];

to this:

_cashMoney = 	["cashMoney",_character] call server_getDiff2;
Link to comment
Share on other sites

 

Thanks, and the answer is: you are using an older version of the server_playerSync.sqf

First of all out of wich github repo did you get this?

 

Change this:

_cashMoney = _character getVariable ["cashMoney", 0];

to this:

_cashMoney = 	["cashMoney",_character] call server_getDiff2;

Hey dude, any news on fixing the 999 SCMC ? check page 14 second from bottom post :)

In the mean time our server has taken the DLL hard and got player duping money like a photocopier. Any chance we could get our hands on the one just replaced if the dll cant be fixed quite yet ?

 

Cheers dude

Link to comment
Share on other sites

Hey dude, any news on fixing the 999 SCMC ? check page 14 second from bottom post :)

In the mean time our server has taken the DLL hard and got player duping money like a photocopier. Any chance we could get our hands on the one just replaced if the dll cant be fixed quite yet ?

 

Cheers dude

 

congrats you just quoted the fix you need :facepalm:

and that hiveext.dll got updated like 8 days ago

Link to comment
Share on other sites

congrats you just quoted the fix you need :facepalm:

and that hiveext.dll got updated like 8 days ago

Yes and everything was working great except the display if anything over 6 decimals on the debug so we uploaded the new one yesterday and it broke the banking.

I had already tried the fix posted and it made no difference. :)

Link to comment
Share on other sites

Ok, so.. can anyone try to help me? Because i spent the last 2 days reading over and over this forum and my scripts and i don't know what else may be causing this..

I have 2 problems:

 

-HUD doesn't show.

-Can't make Deposit

 

I can access the bank ATM; Money is Sync with the DataBase (If i change the amount in the bank DataBase it shows correctly in the ATM); I can withdraw; Can buy/Sell..

Everything is working just fine, except for these 2 problems.

 

What may be causing this issue? Or which files i need to take a look at?

 

Btw, the only different thing i noticed is the file: "player_switchModel.sqf" I didn't had this one before, so where shoud i place it? Currently it's in the same root as the init.sqf

 

Edit: I'm running Epoch Origins - 1.0.5.1 / 1.7.8.5

Link to comment
Share on other sites

Ok, so.. can anyone try to help me? Because i spent the last 2 days reading over and over this forum and my scripts and i don't know what else may be causing this..

I have 2 problems:

-HUD doesn't show.

-Can't make Deposit

I can access the bank ATM; Money is Sync with the DataBase (If i change the amount in the bank DataBase it shows correctly in the ATM); I can withdraw; Can buy/Sell..

Everything is working just fine, except for these 2 problems.

What may be causing this issue? Or which files i need to take a look at?

Btw, the only different thing i noticed is the file: "player_switchModel.sqf" I didn't had this one before, so where shoud i place it? Currently it's in the same root as the init.sqf

Edit: I'm running Epoch Origins - 1.0.5.1 / 1.7.8.5

Hey dude, as long as you have followed zupas installation instructions.

What happens when you do deposit money ?

Have you modified any of the files?

Have you got any other mods?

And make sure the variables.sqf has all the changes needed.

Also have you checked you client side rpt log ?

Best thing is to post both server and client logs here.

Link to comment
Share on other sites

 

Btw, the only different thing i noticed is the file: "player_switchModel.sqf" I didn't had this one before, so where shoud i place it? Currently it's in the same root as the init.sqf

 

 

You can put it anywhere as long as you have the right path @ your compiles.sqf

Link to comment
Share on other sites

 

Thanks, and the answer is: you are using an older version of the server_playerSync.sqf

First of all out of wich github repo did you get this?

 

Change this:

_cashMoney = _character getVariable ["cashMoney", 0];

to this:

_cashMoney = 	["cashMoney",_character] call server_getDiff2;

Sorry i posted the wrong one, http://pastebin.com/dcEqaj2f this is one i have with the new dll using variant 1 and it still duplicates..

 

Heres my player login: http://pastebin.com/pxZEkgmC

 

And my player setup: http://pastebin.com/AcXks58L

Link to comment
Share on other sites

Still can't put my finger on the Humanity duplication. Sorry if it's been responded to and I've over looked. Been away on work all weekend and have been told by my admins that certain people's humanity is close to 1 million. Also had an issue with someone reporting they lost 5 to 10k humanity by doing nothing. Coins seem to be working without a problem, same with the banking.

Link to comment
Share on other sites

Ok, i'm going to have access to my server tomorrow at my work, and i'll try these fixes.

 

You can put it anywhere as long as you have the right path @ your compiles.sqf

I don't remember if i have this in my compiles, because i didn't had this file before, only after i got this hiveext fix.

Where (inside the compiles) do i need to put the call to the file?

 

 

Hey dude, as long as you have followed zupas installation instructions.
What happens when you do deposit money ?
Have you modified any of the files?
Have you got any other mods?
And make sure the variables.sqf has all the changes needed.
Also have you checked you client side rpt log ?
Best thing is to post both server and client logs here.

-Ok, so.. When i deposit money, nothing happens, no message on the screen, no money change.. nothing.

But when i withdraw, there is money moviment in the DB (as well as inside the game, everything ok) and a message on the screen.

 

-Its a fresh Origins Epoch server, no changes.. Only this one, this is the first mod i'm doing.

-I'm not sure about the call in the variables (i'll look it better tomorrow) but as far as i know, it's everything ok..

Can you paste the changes you've made in yours?

 

-In the rpt log i have no errors at all. Everything is fine... 

 

Like i said, i'll have a better look in these things tomorrow, thanks for now =D

Link to comment
Share on other sites

Hi all, 

I have installed everything and it all works great although bank and character coins are not saving. After server restart, relog or change clothing it all gets wiped. Not sure what the problem is. I have tried multiple installations and old/new files, I have even gone to the extent to try other servers SC files in their MP missions (obviously changing the file path names) and still cannot get it to work. Not sure whats going wrong but I would really appreciate some help. I have changed the Hive.dll multiple times and used all the different version and only having this one problem.

Any advice/help would be amazing.

Cheers all, 

SirTomo

Link to comment
Share on other sites

Ok, so..

I have everything working fine right now.

Bank works great, traders work great..

I just don't have the hud icons showing in my screen..

What can be causing this?

Everything else is working fine

Check your description.ext and ensure your put the correct bits in.

If so do you have any errors in logs ?

Link to comment
Share on other sites

Check your description.ext and ensure your put the correct bits in.

If so do you have any errors in logs ?

 

I got it working.

I got the old version back, but it was only showing "0".. then i just changed the 4 lines to get the values from the DB and now it's working.

 

I did it before, so i don't know what was wrong... Also i ahd no errors in the log.. Weird.. but now it's working =D

Thanks man

Link to comment
Share on other sites

Still have HUD problem I rechecked all the files and put the original on but nothing is working, any ideas?

 

I had the same problem.. this is what i did:

 

I added these 2 lines:

_cashMoney 				= _thePlayer getVariable["cashMoney",0];
_bankMoney 				= _thePlayer getVariable["bankMoney",0];

So it looks like this:

AsReMixhud_headshots 	= _thePlayer getVariable["headShots",0];
AsReMixhud_killsH 	= _thePlayer getVariable["humanKills",0];
_cashMoney 		= _thePlayer getVariable["cashMoney",0];
_bankMoney 		= _thePlayer getVariable["bankMoney",0];
AsReMixhud_killsB 	= _thePlayer getVariable["banditKills",0];

And also these 2 lines:

[_cashMoney] call BIS_fnc_numberText,//3
[_bankMoney] call BIS_fnc_numberText,//14

So it looks like this:

AsReMixhud_blood,   //1
AsReMixhud_humanity,//2
[_cashMoney] call BIS_fnc_numberText,//3
AsReMixhud_zombiekills,//4
AsReMixhud_hmnicon,//5
name player,//6
AsReMixhud_zombiesAlive,//7
AsReMixhud_zombies,//8
AsReMixhud_killsB,//9
AsReMixhud_killsH,//10
_hours,//11
_minutes2,//12
AsReMixhud_fps,//13
[_bankMoney] call BIS_fnc_numberText,//14
AsReMixhud_svrname//15
];

Since i'm using only the Coin and Sage icon (for money and bank), this is what i did.

Also, just pay attention to the number on the right side "//14" or other number.. It needs to be in the order and be the same number in the "%3" and "%14" with the line: 

<t size='1.2'> %3 </t><img size='1.0' align='right' image='addons\playerhud\icons\dollars.paa'/>   <br/>
<t size='1.2'> %14 </t><img size='1.0' align='right' image='addons\playerhud\icons\equip_safe_CA.paa'/>   <br/>

Hope it fix your issue =D Because i spent like, 3 days trying to fix this

 

o>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...