f3cuk / WICKED-AI

Wicked AI missions for your server
30 stars 59 forks source link

problem with traders #147

Closed KAIWIOS closed 7 years ago

KAIWIOS commented 8 years ago

I have recently installed WAI on my server. When I did the traders in stary sobor menus won't come up unless I zoom into their faces then it works fine till the next log in. I have to do it to each trader in stary. havn't check all traders but the hero and klen are fine. When I take WAI out everything is normal again. Any thoughts or help would be great. Everything else in WAI seems to be working. I am running. Chernarus_17 DZMS Zupa Coins 3.0 Advanced trading snappro I have checked to see if any traders had the same skins and they do not

KAIWIOS commented 8 years ago

I have narrowed it down to this block in the WAI\init.sqf. Can anyone tell me what this does and why I need it? I do have DZMS installed.

if(isNil("DZMSInstalled")) then {

createCenter EAST; createCenter RESISTANCE;

WEST setFriend [EAST,0]; WEST setFriend [RESISTANCE,0];

EAST setFriend [WEST,0]; EAST setFriend [RESISTANCE,0];

RESISTANCE setFriend [EAST,0]; RESISTANCE setFriend [WEST,0];

} else {

createCenter RESISTANCE;

EAST setFriend [RESISTANCE,0]; WEST setFriend [RESISTANCE,0];

RESISTANCE setFriend [EAST,0]; RESISTANCE setFriend [WEST,0]; };

wai_staticloaded = false; WAIconfigloaded = false;

ai_ground_units = 0; ai_emplacement_units = 0; ai_air_units = 0; ai_vehicle_units = 0;

This is what is giving me trouble with the trader menus.... I delete this line and the trader menus in stary work again