Jump to content

[Outdated] ZSC for Epoch 1.0.6.2 (And OverWatch 0.25)


Recommended Posts

  On 9/10/2017 at 9:48 AM, salival said:

Yeah, you did well!

I have a feeling the _bankCoins doesn't work, I've got a feeling another mod removes it

Expand  

Nah I've been using it for weeks. I initially used characterCoins but using bankCoins covers parachute incidents, spawn campers, and general stupidity for first logins so they don't lose their free bank before they can even get to a trader. It definitely works, unless I'm mis-understanding what you meant.

Link to comment
Share on other sites

  On 9/10/2017 at 9:51 AM, _Lance_ said:

Nah I've been using it for weeks. I initially used characterCoins but using bankCoins covers parachute incidents, spawn campers, and general stupidity for first logins so they don't lose their free bank before they can even get to a trader. It definitely works, unless I'm mis-understanding what you meant.

Expand  

Its great it does work then, I've had a few people tell me it doesn't but I know I had it working at one point.

I have a feeling a mod doesn't play well with it, then

Link to comment
Share on other sites

  On 9/10/2017 at 9:52 AM, salival said:

Its great it does work then, I've had a few people tell me it doesn't but I know I had it working at one point.

I have a feeling a mod doesn't play well with it, then

Expand  

Verified many times over, it works - they PROBably had issues with that piece of code in the AH.sqf like I did and thought it wasn't working. - or they didn't follow your edits/guide properly? I dunno, one of the two, but it def works and well.

Link to comment
Share on other sites

Update/Useful info: That code worked great on my pvp server but on the pve server it would put money in the bank but nothing in the wallet. It turned out to be because I had set players to never lose wallet coins on death (pve server) in variables-sqf and disabled checkwallet for players in fnselfactions-sqf. Not sure which exactly but they are tied together to prevent duping via player wallet - When I put those two settings back to default players now get bank and wallet coins on first login like they should.

Link to comment
Share on other sites

Hi, guys! I'm beginner owner of Epoch Server. I want install the ZSC on my server, but i have a problem. I completed the steps for instalation, but i cant interact to NCP Bank. The option talk to it not appear on mouse scroll. I can buy and sell normally using coins, but a cant deposit coins in the bank.

Can somebody help me?

Thank you!

Link to comment
Share on other sites

Heh, it's always the same problem (I had it too) I think the fn_selfActions merge is tricky because this was released a bit after 1061 dropped and everyone had already modded up their servers and edited their custom fn_selfActions, prob best to do this mod first thing when you setup a server.

I'm assuming you're renting a server and it was pre-modded to some degree or has one-click installers? An well either way my suggestion would be to remerge and really take your time, and use winmerge if you're not already doing so. I got it on the 2nd try and if I can do it anybody can do it, just a little tricky if you run through it like most mod edits.

edit: One other possibility though, if you run infistar I believe it can block the scroll menu if you don't make an edit. If you're using infistar go back to the instructions and review section 8 (ha) as well to make sure you're good there. Beyond that it's prob your fn_selfActions merge.

Link to comment
Share on other sites

  • 3 weeks later...
  On 9/12/2017 at 11:46 PM, _Lance_ said:

Heh, it's always the same problem (I had it too) I think the fn_selfActions merge is tricky because this was released a bit after 1061 dropped and everyone had already modded up their servers and edited their custom fn_selfActions, prob best to do this mod first thing when you setup a server.

I'm assuming you're renting a server and it was pre-modded to some degree or has one-click installers? An well either way my suggestion would be to remerge and really take your time, and use winmerge if you're not already doing so. I got it on the 2nd try and if I can do it anybody can do it, just a little tricky if you run through it like most mod edits.

edit: One other possibility though, if you run infistar I believe it can block the scroll menu if you don't make an edit. If you're using infistar go back to the instructions and review section 8 (ha) as well to make sure you're good there. Beyond that it's prob your fn_selfActions merge.

Expand  

I'm having the same issue as well and thought of those two things being the cause so I took infistar out of my server and tried without it. Still no scroll wheel. So then I thought it was my custom fn_selfaction. So I redid a pbo setup without a custom one and used the version given in the folder. Still no scroll wheel. In my RPT file Im not seeing any errors either.

  Reveal hidden contents

RPT linked above.

This is all I see when I go up to them.

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 10/1/2017 at 3:18 AM, Steven1230 said:

I'm having the same issue as well and thought of those two things being the cause so I took infistar out of my server and tried without it. Still no scroll wheel. So then I thought it was my custom fn_selfaction. So I redid a pbo setup without a custom one and used the version given in the folder. Still no scroll wheel. In my RPT file Im not seeing any errors either.

  Reveal hidden contents

RPT linked above.

This is all I see when I go up to them.

  Reveal hidden contents

 

Expand  

Need client RPT: 

To find this logfile:

C:\users\<YOUR WINDOWS USERNAME>\AppData\Local\Arma 2 OA\ArmA2OA.RPT
Link to comment
Share on other sites

  On 10/1/2017 at 3:24 AM, salival said:

Need client RPT: 

To find this logfile:

C:\users\<YOUR WINDOWS USERNAME>\AppData\Local\Arma 2 OA\ArmA2OA.RPT
Expand  

Sorry here is the client side.

 

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 10/1/2017 at 3:41 AM, Steven1230 said:

Sorry here is the client side.

 

  Reveal hidden contents

 

Expand  

I will private message you to send me your mission pbo file.

Link to comment
Share on other sites

Hi there,

I've just tried to install this and it's gone wrong (no surprise knowing my copy and paste skills). I'm getting an error that says "File: z\addons\day_code\gui\description.hpp line 153: .Rsc titles: Member already defined". I have looked at the file in dayz_code and compared it to the file I copied into my mission folder from your github files. The only difference is the end part of your file, so I copied it across and removed the mission one, but no joy, still the same error.

Any help you can give or suggest would be great.

Also, I couldn't copy a couple of your files straight over to my dayz_server pbo because I have other mods that are in those files too so I merged the bits of code I could find in yours that were different. I suspect I may have just copied over some incorrect things, but not sure where to start. I think it's the bury/butcher bodies script of yours and the admin tools from Nox.

Happy to post the server RPT if it would help?

Thanks

Andy

Link to comment
Share on other sites

Ok all sorted for the moment. I worked out what I did wrong. I made the simple mistake of confusing "description.ext" with "description.hpp". Pasted code into the wrong places. It was a late night, what can I say apart from I was tired!

Now, I can log in and trade fine. The only question I have now, which might point to another error I've made, is where do I find the bank, or is it part of the trader system?

Thanks by the way for helping keep the community alive! :)

Link to comment
Share on other sites

Right slowly making progress! After getting the coins working, I have tried to add the bank traders in and found a new problem. The good news is that the bank traders show up and I also have the little bank symbol below my coins symbol. However, when I point to the trader guy, no menu comes up.

I will go through the tutorial again to see if I can work out what I've done wrong, but if anyone knows immediately why this might be happening, I would appreciate the pointer.

Thanks :)

Edit: I used winmerge to compare the differences in my fn_selfAction.sqf and the only difference relates to the bury/butcher mod. The rest of it is the same.

  Reveal hidden contents

This is the bit of my client log for A2OA that seems relevant to banking mod?

Link to comment
Share on other sites

  On 10/3/2017 at 9:44 AM, ahughes3 said:

Right slowly making progress! After getting the coins working, I have tried to add the bank traders in and found a new problem. The good news is that the bank traders show up and I also have the little bank symbol below my coins symbol. However, when I point to the trader guy, no menu comes up.

I will go through the tutorial again to see if I can work out what I've done wrong, but if anyone knows immediately why this might be happening, I would appreciate the pointer.

Thanks :)

Edit: I used winmerge to compare the differences in my fn_selfAction.sqf and the only difference relates to the bury/butcher mod. The rest of it is the same.

  Reveal hidden contents

This is the bit of my client log for A2OA that seems relevant to banking mod?

Expand  

check the selfActions version from inside the global banking folder (not just the one from the coins part of the install...dig deeper..). Then do a merge using that version now that you have moved on to add global banking too. Then you will notice there are some additional actions that need to be added. 

Link to comment
Share on other sites

@ahughes3

  Quote

Error in expression <s_bank_dialog = -1;
player removeAction s_player_checkWallet;
s_player_checkWall>
  Error position: <s_player_checkWallet;
s_player_checkWall>
  Error Undefined variable in expression: s_player_checkwallet
File mpmissions\__CUR_MP.Chernarus\dayz_code\compile\fn_selfActions.sqf, line 1204
"Sent to server PVDZ_plr_LoginRecord: [76561198088973877, 11, 0, andyhome]"
[]

Expand  

check in your custom variables.sqf located in :...\MPMissions\DayZ_Epoch_Your instance\dayz_code\init\  if u have this  lines:

// Custom below
s_player_bury_human = -1;
s_player_butcher_human = -1;

	s_givemoney_dialog = -1;
	s_bank_dialog = -1;
	s_player_checkWallet = -1;
	s_bank_dialog1 = -1;
    s_bank_dialog2 = -1;

 

About your missing the scroll option over the bank traders....

check in your custom fn_selfactions.sqf if u have this lines: (around line 930) //i put the bury butcher code block since i notice that youre using it too

  Reveal hidden contents
now a lil more below check this  lines:

  Reveal hidden contents
 A lil more info:

See this line in fn_selfactions.sqf is the one that call your bank trader:

if (_isMan && {!(isPlayer _cursorTarget)} && {_typeOfCursorTarget in ZSC_bankTraders} && {!_isPZombie}) then {
		

this part:

_typeOfCursorTarget in ZSC_bankTraders

are saying you that if ure aim on a global variable called ZSC_bankTraders the game gonna open a scroll menu option.

So you also need check if in your variables.sqf you have defined this variable. so check in this file if u have this line:

ZSC_bankTraders = ["Functionary1_EP1_DZ"]; 

The "Functionary1_EP1_DZ is the trader id for it.. you will see that salival spawn this AI in :

\@DayZ_Epoch_Server\addons\dayz_server.pbo\bankTraders\chernarus.sqf

[
	["Functionary1_EP1_DZ",[6324.71,7787,0.00143433],64],
	["Functionary1_EP1_DZ",[4057.35,11662.7,0.000128174],47],
	["Functionary1_EP1_DZ",[11461,11348.6,0.00143433],312]
] call server_spawnTraders;

and this file is called from your init.sqf  with this line:

execVM "\z\addons\dayz_server\bankTraders\chernarus.sqf";

 

and at least a little tip:  allways install this mod at first when you have a fresh server files without mods, you gonna  save a lot of time , cuz this mod include for you the most important   files like, variables.sqf,fn_selfactions.sqf, compiles.sqf,description.ext,server_monitor.sqf and if u install it at first you only need overwrite default files and paste some lines.

Link to comment
Share on other sites

Hey guys,

Please apply this commit to your servers immediately as it will fix a dupe with advanced trading and ZSC: https://github.com/oiad/ZSC/commit/106810457854f89ea66c068988aa64cb7c007ee3

To install:

1. Copy the dayz_code/configs/advancedTrading.hpp file from the repo to your dayz_code/configs directory.

2. Add

#include "dayz_code\configs\advancedTrading.hpp"

to your description.ext after this line:

#include "dayz_code\configs\zscdialogs.hpp"

 

Link to comment
Share on other sites

Is there a way to change how much a coin is worth so i dont have to change every item in Traders?

Atm 100k = 1 Briefcase right?

Or a sniper is like 10k

Is there a way to change it like this

10k = 1 Briefcase

A sniper = 1k 

 

 

Link to comment
Share on other sites

  On 10/10/2017 at 12:47 AM, ShinX said:

Is there a way to change how much a coin is worth so i dont have to change every item in Traders?

Atm 100k = 1 Briefcase right?

Or a sniper is like 10k

Is there a way to change it like this

10k = 1 Briefcase

A sniper = 1k 

 

 

Expand  

Hello, 

You would need to change every item in the traders unless you modify some of advanced tradings core files to do a ratio of the price.

@ViktorReznovmade a mod called Advanced Trading Economy to do kind of what you want: https://github.com/Arstan13/AdvancedTradingEconomy

Maybe you could modify that to suit your needs.

 

Link to comment
Share on other sites

  On 10/10/2017 at 3:55 AM, salival said:

Hello, 

You would need to change every item in the traders unless you modify some of advanced tradings core files to do a ratio of the price.

@ViktorReznovmade a mod called Advanced Trading Economy to do kind of what you want: https://github.com/Arstan13/AdvancedTradingEconomy

Maybe you could modify that to suit your needs.

 

Expand  

indeed, I changed the value of all the stock overpoch trader configs so that when my script performed its function, It wouldn't be an exploitable bug which changes the price of everything. Old currency items (and all items) are no longer a way of "physical cash" they are just another marketable item. My script will change the prices of all items every thirty minutes so one moment a briefcase is worth 100K, the next 60K and later 150K. but this also applies to the sell attribute as well. One moment you make 6k off that rifle, then 10K and later back down to 3k. Check it out, i wrote it to be rid of static forever prices on my server.

Link to comment
Share on other sites

  • 3 weeks later...

evenin!

I installed ZSC to my server and imho it's working the way it should, exept when I build a safe (vaultstorage), the safe isn't saved - after restart. It's entirely gone.
where do I look into this to fix?!

edit: not sure it's rly coming from ZSC, but before ZSC install it used to work...

Link to comment
Share on other sites

  On 10/31/2017 at 6:38 PM, Av1um said:

evenin!

I installed ZSC to my server and imho it's working the way it should, exept when I build a safe (vaultstorage), the safe isn't saved - after restart. It's entirely gone.
where do I look into this to fix?!

edit: not sure it's rly coming from ZSC, but before ZSC install it used to work...

Expand  

Hello,

Zsc will not be the cause, you've either made a mistake somewhere in the install of zsc or something else is causing it.

I would check your server rpt and your hiveext.log in your configuration directory for your server

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Advertisement
×
×
  • Create New...