Jump to content

Private Server Trader Tool


Remix

Recommended Posts

server_traders mysqll table stores info classname,instance,static,desc

desc seem to have trader type and place name for most there are some missing that u can add your self using the info from server_traders.sqf

and removing the menu_ part from beginning of class name there may be a better way to do this but as im still new this works for me

about 4 post up there is a query that will add stary black market trader into the server_traders table hope this help :P

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...
  • 1 month later...

Works for me aswell. Though, the tool misses some traders beqause they are not in the server_traders table.

 

This is the SQL that _I_ needed to have them all. (This is for Chernarus instance 11)

INSERT INTO `server_traders`
(
`classname`,
`instance`,
`status`,
`static`,
`desc`
)
VALUES
(
'Soldier_GL_M16A2_PMC',
11,
'neutral',
NULL,
'Black Market - Stary'
);

INSERT INTO `server_traders`
(
`classname`,
`instance`,
`status`,
`static`,
`desc`
)
VALUES
(
'TK_GUE_Soldier_5_EP1',
11,
'neutral',
NULL,
'Building - Stary'
);



INSERT INTO `server_traders`
(
`classname`,
`instance`,
`status`,
`static`,
`desc`
)
VALUES
(
'Dr_Annie_Baker_EP1',
11,
'neutral',
NULL,
'Medical Bash'
);

INSERT INTO `server_traders`
(
`classname`,
`instance`,
`status`,
`static`,
`desc`
)
VALUES
(
'RU_Profiteer4',
11,
'neutral',
NULL,
'Stary Vehicles'
);


INSERT INTO `server_traders`
(
`classname`,
`instance`,
`status`,
`static`,
`desc`
)
VALUES
(
'HouseWife1',
11,
'neutral',
NULL,
'Boat Three Valleys'
);

INSERT INTO `server_traders`
(
`classname`,
`instance`,
`status`,
`static`,
`desc`
)
VALUES
(
'GUE_Woodlander2',
11,
'neutral',
NULL,
'Black market stary'
);

And i needed to change ID 14 trader (Doctor - Bash) to (Doctor - Stary) because this is wrong, at least on my server.

 

Over and out.

Link to comment
Share on other sites

  • 4 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...