Jump to content
  • 0

Help! Dynamic Traders working at first but then I can't scroll them!


LePogo

Question

EDIT : Problem solved see edit #3 for my fix

 

Hi, I am currently using Dynamic Traders script from maca134. I also converted to config based traders witch mean I do not use the database anymore for the traders.

 

The server :

host = Vilayer

map = Panthera2.9

Mod = Overpoch (1.0.5.1)

 

 

Ive setup all my traders to spawn near roads and so far this is working great. Then I removed the database tables for the traders and I am now using the config files.

 

My problem is when I spawn, I can scroll the traders and it works. Tried to buys and sell and everything works great. But after a couple minutes, when I try to scroll the trader it doesn't work at all. I try to scope on it in every different angle but nothing.

 

Note that I removed the original traders and their mapping in the server pbo in /missions/Dayz_Epoch_16.Panthera2/mission.sqf

I also removed the Markers and the Sensors in the mission pbo - overpoch.panthera/mission.sqm  since the traders will never be at the same place. Are the sensors doing anything about reminding about the traders? or they are just there to make use you do not log off in the traders?

 

Looks like the sript is working but only once at startup. Then its like if clientside the game forgot about the trader??

 

Thanks in advance for the help!

 

EDIT : I forgot to link maca's script so people can look into it see if there is anything wrong. http://epochservers.com/viewtopic.php?f=14&t=33

 

 

EDIT #2 : Ive now put the original mission.sqf and mission.sqm back in place thinking that was probably causing the problem. but still the same... Maybe I should try tu put back the sql tables? but Ive deleted it with no backup... I dont know why I did this...

 

EDIT #3 : I solved my problem. when redoing my server_traders.sqf I commented out the trade options for the medical and general traders. Now ive uncommented theses 2 lines and it works!

[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],

[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],

My real problem is that when I was testing other traders it did work until I tried those 2. After trying on theses 2 traders the other ones were broken. Now everything works fine.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...