Jump to content
Creep

Release Auction House (MMO Style)

Recommended Posts

Everything seems to be in place, but I don't get any new options at the traders. I'm using Zupas ZSC 3.0 for single currency. No idea why none of the auction house buttons are showing up.

 

I'm waiting on someone to give me a little help with the extDB. I have it in my OA directory with the database field filled out. Is everyone who joins supposed to ad the @extDB to the launch parameters? I use Vilayer for hosting if that helps.

 

Thanks in advance!! ;-)

 

UPDATE: The overwrite files from ZUPA's 3.0 Single Currency were loading his fn_selfactions file. That why i didn't get the scroll options. extDB is setup and working on Vilayer.

 

Do you think it would be possible to add a way to look at what you have in the auction house and make a way that you can take it back if you later decide you don't want to sell it?

 

Thanks for the awesome mod!!!! ;-)

 

Hello!

You will be able to help me? How you install exDB on a vilayer server?

 

Will be able to write in detail the installation process exDB on vilayer?

Thank you!

Share this post


Link to post
Share on other sites
Guest

Hello!

You will be able to help me? How you install exDB on a vilayer server?

 

Will be able to write in detail the installation process exDB on vilayer?

Thank you!

 

 

  1. Copy @extDB to your Server.
  2. Edit @extDB\extdb-conf.ini to fit your needs
  3. Change Server Startup Parameters and put @extDB in the -mod section.

 

 

Example extdb-conf.ini:

 

[Main]
;Threads = 0  
; Default Value is the number of CPU Cores Detected (max value is 6, min value is 2)
; Linux Chroot Environment might only Detect 1 CPU Cores i.e bind /proc

Randomize Config File = false
;This is a legacy option to randomize config file for Arma2 Servers.


[Rcon]
;; This is functional, should be working fine. Just needs abit of testing on a live Server

Port = 2302
Password = password


[Steam]
;; This is for VAC Protocol for VAC Bans + Steam Friends.
;; This currently has a bug in it, will be fixed next version.
;; Think of it as tech preview option.
;; https://steamcommunity.com/dev/apikey
API Key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


[VAC]
;; This feature requires Steam + Rcon to be enabled.
;; Also this feature is called via SQF Code atm, i.e it doesn't auto detect players joining server yet....

Auto Ban = false

;; For Player to get banned ( their total VAC Bans => NumberOfVACBans)  AND ( Days Since their Last Ban was <= DaysSinceLastBan)
;; This is also used extDB Protocol VAC:VACBanned returned results
NumberOfVACBans = 1
DaysSinceLastBan = 999999999

BanDuration = 0
;; 0 = Forever, otherwise its x Minutes
BanMessage = Steam VAC Banned


[Log]
;; This is just config options for Rcon Logging + BE Logging
;;		Has no effect on extDB Logging
Mode = sync
;; sync / async
;;	ASync is just kinder on your Harddrive, may be lose of data in the event of a crash.


[Database1]
;; Example of SQLite
Type = SQLite
Name = sqlite.db

minSessions = 1
; minSession Default Value = 1

;maxSessions = 4
; maxSession Default Value = number of Main->Threads
; 	You really should leave this value alone
idleTime = 60
; idleTime no Default Value yet, needs to be defined.
; 	idleTime is the time before a database session is stopped if not used. 
;	If Database Sessions are greater than minSessions


[Database2]
;; Example of MySQL
;; 	AtlisLifeRPG uses Database2 by default
Type = MySQL
Name = overpoch9465

Username = Epoch_User
Password = password
IP = 127.0.0.1
Port = 3306

minSessions = 1
;maxSessions = 4
idleTime = 60

compress = false
; Should only use this if MySQL server is external. Also only for MySQL

Secure Auth = false
; Recommend you turn this on


[A3W]
Type = MySQL
Name = a3wasteland
Username = root
Password = password
IP = 127.0.0.1
Port = 3306
minSessions = 1
;maxSessions = 4
idleTime = 60

compress = false
; Should only use this if MySQL server is external. Also only for MySQL

Secure Auth = false
; Recommend you turn this on

Share this post


Link to post
Share on other sites

Nice thing there, thanks for sharing

I found one bug:
 
If you set the item that occupies more than one slot, it is exposed, but does not disappear from the inventory such as explosive charge at any bazooka.
Thus Dupe.
Can make the black list?
It can be fixed? Thanks in advance!
 
(Sorry for my english! :) )

Share this post


Link to post
Share on other sites

Mind the missing bracket in what i posted

I found one bug:
 
If you set the item that occupies more than one slot, it is exposed, but does not disappear from the inventory such as explosive charge at any bazooka.
Thus Dupe.
Can make the black list?
It can be fixed? Thanks in advance!
 
(Sorry for my english!  :) )

Share this post


Link to post
Share on other sites

Has anyone got a link to the tutorial and download files for virtual garage with instructions how to install the extdb....or just a link of how and were to get the files just for extdb with install instructions thanks

Share this post


Link to post
Share on other sites
I found one bug:
 
If you set the item that occupies more than one slot, it is exposed, but does not disappear from the inventory such as explosive charge at any bazooka.
Thus Dupe.
Can make the black list?
It can be fixed? Thanks in advance!
 
(Sorry for my english!  :) )

In file player_sellitem.sqf:

Over:

[_unit,_item] call BIS_fnc_invRemove;

Paste:

_item =  configFile >> "CfgMagazines" >> _item;

 

Should look like:

_item =  configFile >> "CfgMagazines" >> _item;

[_unit,_item] call BIS_fnc_invRemove; 

 

 

In you bank system Zupa in file trade_items.sqf (2 lines):

Over:

_removed = ([player,_name,1] call BIS_fnc_invRemove);

Paste:

_name =  configFile >> "CfgMagazines" >> _name;

 

Should look like:

_name =  configFile >> "CfgMagazines" >> _name;

_removed = ([player,_name,1] call BIS_fnc_invRemove);

 

Share this post


Link to post
Share on other sites

In file player_sellitem.sqf:

Over:

[_unit,_item] call BIS_fnc_invRemove;

Paste:

_item =  configFile >> "CfgMagazines" >> _item;

Should look like:

_item =  configFile >> "CfgMagazines" >> _item;

[_unit,_item] call BIS_fnc_invRemove; 

In you bank system Zupa in file trade_items.sqf (2 lines):

Over:

_removed = ([player,_name,1] call BIS_fnc_invRemove);

Paste:

_name =  configFile >> "CfgMagazines" >> _name;

Should look like:

_name =  configFile >> "CfgMagazines" >> _name;

_removed = ([player,_name,1] call BIS_fnc_invRemove);

Thank you!

The error in the RPT(installed Single Corrency 3.0)

22:14:13 Error in expression <UID =     getPlayerUID _player;

if (_item == "") then {

diag_log "Auction House: >
22:14:13   Error position: <== "") then {

diag_log "Auction House: >
22:14:13   Error Generic error in expression
22:14:13 File z\addons\dayz_server\compile\store\server_sellitem.sqf, line 11

Share this post


Link to post
Share on other sites

Great mod and seems i have been reading it works with GZA's virtual garage , my question is does somebody still have a link or can upload it somewhere cause all links i find seem to be death .

For the virtual garage that is .

Share this post


Link to post
Share on other sites
20 hours ago, chi said:

Does this work with 1.0.6.2? And if not, could anyone update it to do so? PM me if you can make it happen please.

Thanks!!

Does not work as-is but its close..
I managed to sell items and collect money for them after some edits. can buy items and it now takes the money.. does not give the gear

Error in expression <then {

PVDZE_buyitem = [player, (_item select 0)]; 
publicVariableServer "PVDZE>
  Error position: <select 0)]; 
publicVariableServer "PVDZE>
  Error select: Type String, expected Array,Config entry
File mpmissions\__CUR_MP.Chernarus\custom\scripts\auctionhouse\player_buyitem.sqf, line 54


line53; PVDZE_buyitem = [player, (_item select 0)]; // _item select 0 = id
line54; publicVariableServer "PVDZE_buyitem";

 

Share this post


Link to post
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

  • Advertisement
  • Advertisement
  • Supporters
  • Advertisement
  • Discord

×