@golivrob How solve you the treatments because I can not deal with…
I just try for the system I made myself.
Have you check if you have all updates and empty the cache?
@Hades_fx Oh, I have no idea Redo the updates of both inventory and recolt scripts, empty cache again then rerun the server. Whishes you the best!
How to empty it hide it?
When you are on your root file. Go to cache, the http and delete all file inside it. Then run again your server (run your server twice before log in).
Update 24/04
- Add the maximum capacity restreint on recolt (in
vdk_inventory
=> so you need to UPDATE it)
You need to update my two release
@Vodkhard There is a bug on the inventory, when we support on entry for example we can add on us without farm
I do not find the way to take the weed, did I make a mistake?
[Err] 1215 - Cannot add foreign key constraint
[Err] CREATE TABLE recolt
(
ID
int(11) unsigned NOT NULL AUTO_INCREMENT,
raw_id
int(11) unsigned DEFAULT NULL,
treated_id
int(11) unsigned DEFAULT NULL,
job_id
int(11) DEFAULT NULL,
price
int(11) DEFAULT NULL,
field_id
int(10) unsigned DEFAULT NULL,
treatment_id
int(10) unsigned DEFAULT NULL,
seller_id
int(10) unsigned DEFAULT NULL,
PRIMARY KEY (ID
),
KEY raw_id
(raw_id
),
KEY treated_id
(treated_id
),
KEY job_id
(job_id
),
KEY field_id
(field_id
),
KEY treatment_id
(treatment_id
),
KEY seller_id
(seller_id
),
CONSTRAINT recolt_ibfk_1
FOREIGN KEY (raw_id
) REFERENCES items
(id
),
CONSTRAINT recolt_ibfk_2
FOREIGN KEY (treated_id
) REFERENCES items
(id
),
CONSTRAINT recolt_ibfk_3
FOREIGN KEY (job_id
) REFERENCES jobs
(job_id
),
CONSTRAINT recolt_ibfk_4
FOREIGN KEY (field_id
) REFERENCES coordinates
(id
),
CONSTRAINT recolt_ibfk_5
FOREIGN KEY (treatment_id
) REFERENCES coordinates
(id
),
CONSTRAINT recolt_ibfk_6
FOREIGN KEY (seller_id
) REFERENCES coordinates
(id
)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[Msg] Finished - Unsuccessfully
?
Have you install all requirement ? Your error looks like you don’t create table for items (inventory) or jobs (Job System)
@golivrob I try to always has the same zero ect… When I go to treatment impossible… for the weed you goes on the camp so number 2
For people who want to limit player to collect more than 32 items… just edit line 88 :
if (IsNear() == ‘field’ and exports.vdk_inventory:getQuantity(JOBS[jobId].raw_id) < 32) then
BTW ! Change line 70 :
text … ’ en cours de ~g~’ … tostring(JOBS[jobId].treat_item) … ‘~s~…’, timeForRecolt - 800
Same for me Bro, the gold recolt doesn’t work too (Or maybe the copper, dunno…)
I have this problem the when I harvested a resource can you help me
rename the folder to vdk_inventory
In AutoStartResources you declare vdk_inventory-master ?