Vendor maintenanceRate

Zorkar

New Member
Jun 18, 2016
3
0
0
#1
Hello everyone,

I am trying to change the vendors (for merchant player) maintenance rate. I have found the baseMaintenanceRate for houses and harvesters but can't find the settings for the vendor "baseMaintenanceRate".

If someone can help me I will appreciate.

Thanks a lot guys !

Z.
 
May 31, 2012
66
1
6
41
www.tpot.ca
#3
Correct me if I am wrong, but in

/MMOCoreORB/bin/scripts/managers/vendor_manager.lua

is not the final number in each line such as,

terminalNode:addChildNode(VendorSelectionNode("@player_structure:terminal_standard", "standard.iff", "", 30))

not the maintenance rate? I haven't verified in the game, but looking at the file as a whole, the numbers seem to fit what I remember the vendor rates should be.
 

Zorkar

New Member
Jun 18, 2016
3
0
0
#4
tatwi said:
Correct me if I am wrong, but in

/MMOCoreORB/bin/scripts/managers/vendor_manager.lua

is not the final number in each line such as,

terminalNode:addChildNode(VendorSelectionNode("@player_structure:terminal_standard", "standard.iff", "", 30))

not the maintenance rate? I haven't verified in the game, but looking at the file as a whole, the numbers seem to fit what I remember the vendor rates should be.
Hello and thanks for the hint, but I have tried changing that number but the vendor's maintenancerate did not change.

I will continue to search.

Thanks again.

Z.
 

netyoda

New Member
Oct 18, 2017
30
10
3
#7
Looking through the code, that's not the maintenance rate, it's the merchant skill level in hiring that is required to use this vendor I believe.
 

netyoda

New Member
Oct 18, 2017
30
10
3
#8
Checking the code, you need to be looking at
src/autogen/server/zone/managers/auction/AuctionManager.h
and looking for
static const int SALESFEE = 10;
which occurs twice in the file

As I'm unfamiliar with how autogen is created I can't comment on where the value is stored prior to running the server for the first time.
 

Valkyra

Moderator
Staff member
Moderator
Aug 31, 2010
200
12
18
#9
As I'm unfamiliar with how autogen is created I can't comment on where the value is stored prior to running the server for the first time.
Autogen files are compiled automatically in the Java engine3 tool, the 'prior' code as mentioned is in *.idl files based off the naming scheme of the cpp in autogen.
 
Likes: netyoda