Jump to content
  • 0

DZE_ConfigTrade= True question


smexy

Question

Hi all, I had scripted my server to use faster trading animations however after moving to dze_configtrade=true I can't seem to use it. It appears it no longer reads from player_tradermenuhive.sqf so it doesn't get pointed to the custom trade animations. I'm curious what file does it read from when handling all config based trades? Has anyone gotten faster trade animations scripts to work with dze_configtrade=true? Any help is appreciated!

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

TO help u understand why this happends

 

This is in your compiles. ( Im gonna let u think abit on it ^^).

// trader menu code
if (DZE_ConfigTrader) then {
	call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_traderMenuConfig.sqf";
}else{
	call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_traderMenuHive.sqf";
};
Link to comment
Share on other sites

  • 0

 

TO help u understand why this happends

 

This is in your compiles. ( Im gonna let u think abit on it ^^).

// trader menu code
if (DZE_ConfigTrader) then {
	call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_traderMenuConfig.sqf";
}else{
	call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_traderMenuHive.sqf";
};

 

Wow derped on that one, thanks :D

Link to comment
Share on other sites

  • 0

So I'm still trying to sort out what was installed on the server I'm working on, and how they interact.  I'm moving to CFGServerTrader instead of the database due to a  probable database performance issue with V2 of Trade from Trucks and Backpacks.   Those that had the problem of incorrect item lists coming up indicate that CFGServerTrader fixes that.  Plus, most say it'll be easier to migrate to the single coin system with CFGServerTrader.

 

So I migrated my trader data to all the .hpp files (no trivial task - we had a lot of customized lists and prices) and then I get no trader menu using the scroll wheel.  No errors in the .rpt files, just nothing.    

 

So then the animations cannot be used if using CFGServerTrader?  Or can player_traderMenuConfig.sqf be modified to use the animations?  And I also read that fast trade and CFGServer Trader  are incompatible and that is a reason for no scroll wheel trader menu but have not gotten a solid confirmation of that.  We're using Gr8Boi's animation scripts (http://epochmod.com/forum/index.php?/topic/11952-tutorial-removechange-trading-animations-for-faster-trading/?hl=%2Bfast+%2Btrade#entry84235).  

 

I haven't disabled fast trade yet but probably will give that a try.  Is there anywhere else I should look for no trader scroll wheel menu?

 

Thanks,

Bob

Link to comment
Share on other sites

  • 0

So I'm still trying to sort out what was installed on the server I'm working on, and how they interact.  I'm moving to CFGServerTrader instead of the database due to a  probable database performance issue with V2 of Trade from Trucks and Backpacks.   Those that had the problem of incorrect item lists coming up indicate that CFGServerTrader fixes that.  Plus, most say it'll be easier to migrate to the single coin system with CFGServerTrader.

 

So I migrated my trader data to all the .hpp files (no trivial task - we had a lot of customized lists and prices) and then I get no trader menu using the scroll wheel.  No errors in the .rpt files, just nothing.    

 

So then the animations cannot be used if using CFGServerTrader?  Or can player_traderMenuConfig.sqf be modified to use the animations?  And I also read that fast trade and CFGServer Trader  are incompatible and that is a reason for no scroll wheel trader menu but have not gotten a solid confirmation of that.  We're using Gr8Boi's animation scripts (http://epochmod.com/forum/index.php?/topic/11952-tutorial-removechange-trading-animations-for-faster-trading/?hl=%2Bfast+%2Btrade#entry84235).  

 

I haven't disabled fast trade yet but probably will give that a try.  Is there anywhere else I should look for no trader scroll wheel menu?

 

Thanks,

Bob

 

You mean my animations script? ^^ ( check the credits ^^ ).

But ofcourse credits to gr8boi to make it into a tutorial and some additions ^^

 

CFGserver traders is the way to go :)

 

Just instead changing the player_traderMenuHive file, u change the player_traderMenuConfig 

 

 

If you have no scroll wheel, u didn't include your CFGtrader files in your description.ext or you fucked your selfactions.

 

OR

 

your server_traders.sqf has wrong category numbers that aren't the same as your cfgtrader categories

Link to comment
Share on other sites

  • 0

Tricks, do you mean Gr8Boi's instructions for editing player_traderMenuHive.sqf?  Or is there a total replacement of the file somewhere?  I've been searching on CFGServerTrader and variations for about two days now to solve my problem but his is the only one I've found so far that modifies that file.  No actual .sqf downloads of it that I've found so far.

 

 

Bob

Link to comment
Share on other sites

  • 0

Hi Zupa, the version I have are those from Gr8Boi.s tutorial.  He has no credits in his scripts though.  So those are yours?  Or do you have scripts to do that as well?  I'll have to look for yours.  I've been impressed with all the work you've done for Dayz/Epoch, etc. and am working on updating all my scripts and such so as to switch over to your single coin system.  I have no doubt that if you created animation scripts that they'd be rock-solid.  CFGServerTraders is one of the last things I have to get working again with the rest of my scripts before I actually make the switch to coins.

 

Bob 

Link to comment
Share on other sites

  • 0

Hi Zupa, the version I have are those from Gr8Boi.s tutorial.  He has no credits in his scripts though.  So those are yours?  Or do you have scripts to do that as well?  I'll have to look for yours.  I've been impressed with all the work you've done for Dayz/Epoch, etc. and am working on updating all my scripts and such so as to switch over to your single coin system.  I have no doubt that if you created animation scripts that they'd be rock-solid.  CFGServerTraders is one of the last things I have to get working again with the rest of my scripts before I actually make the switch to coins.

 

Bob 

 

The credits are in the topic itself on the bottom ^^

 

And those works.

 

ZSC 3.0 has instant trading default in there which u can put on false/true :)

 

ZSC also only works with the provided config traders i give you ( which are all set up already).

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...