Jump to content

cen

Member
  • Posts

    1706
  • Joined

  • Last visited

  • Days Won

    14

Reputation Activity

  1. Like
    cen reacted to TheVampire in Config based trader set up 1.0.4.1   
    You add DZE_ConfigTrader = true; to your init.sqf
     
    Add
    #include "\dayz_epoch_b\CfgServerTrader\cfgServerTrader.hpp"
    to your Description.ext.
     
    What it is essentially is the entire traders_data table from the database in a Cfg file instead. This is faster than the server needing to connect to the database to ask what the trader is selling, and if there is any left.
     
    If you did want to switch to this though, and you have custom items in your Traders_data you need to pull a copy of cfgServerTrader.hpp from dayz_epoch_b.pbo in your @DayZ_Epoch folder, add it to your mission.pbo, and then modify it to point to the custom config based on what you are adding.

     
    There's a config file for each trader_tids entry in your database from the looks of it.

     
    And the contents of these files look something like this:
    class Category_577 { class 30Rnd_556x45_StanagSD { type = "trade_items"; buy[] = {4,"ItemSilverBar10oz"}; sell[] = {2,"ItemSilverBar10oz"}; }; class 5Rnd_86x70_L115A1 { type = "trade_items"; buy[] = {4,"ItemGoldBar"}; sell[] = {2,"ItemGoldBar"}; }; class 100Rnd_762x51_M240 { type = "trade_items"; buy[] = {2,"ItemGoldBar"}; sell[] = {1,"ItemGoldBar"}; }; class 20Rnd_762x51_FNFAL { type = "trade_items"; buy[] = {4,"ItemSilverBar10oz"}; sell[] = {2,"ItemSilverBar10oz"}; }; class 20Rnd_762x51_SB_SCAR { type = "trade_items"; buy[] = {1,"ItemGoldBar"}; sell[] = {5,"ItemSilverBar10oz"}; }; }; Which looks like its the same as the database. The class Catagory_### probably points to a trader TID.
  2. Like
    cen got a reaction from Nekuan in [RELEASE] Build Snapping - Extended v1.6 (Updated 02/20/2014)   
    This player_build.sqf should work: http://pastebin.com/uT3EQRvi
  3. Like
    cen got a reaction from fr1nk in What is it you want/dont want your servers to have?   
    I don't play on any servers... I run them.
  4. Like
    cen got a reaction from Richie in Self Bloodbag Script 1.0.4.1   
    *Runs and hides* Good luck finding me!
  5. Like
    cen got a reaction from Coffee in Server Auto-Restart: The easy way   
    Have fun with that when BEC crashes :D
  6. Like
    cen got a reaction from Buck0 in [Tutorial] Clickable self-bloodbag with configurable limitations (Updated 02/21/2014)   
    Of course! Change this:
    class ExtraRc { class ItemBloodbag { class Use { text = "Use Bloodbag"; script = "spawn player_useMeds;"; }; }; }; to this:
    class ExtraRc { class ItemBloodbag { class Use { text = "Use Bloodbag"; script = "execVM 'custom\player_selfbloodbag.sqf'"; }; }; }; Then you can use the krixes file to customize.
  7. Like
    cen got a reaction from Paxton in I can`t sell spawned vehicles   
    Ding ding ding! fr1nk wins the internet.
     
    They changed it in 1.0.4 so I posted how to fix it :D
  8. Like
    cen got a reaction from Paxton in I can`t sell spawned vehicles   
    ROFL, I'm from Ohio. Been to Jersey, nothing to brag about :D
     
    Also, you CAN sell vehicles from missions that DON'T save to the database, that's the point I am trying to get across.
  9. Like
    cen got a reaction from MerciLamour in Time   
    Hiveext.ini file
     
    [Time] ;Possible values: Local, Custom, Static ;You cannot use Static on OFFICIAL Hive, it will just revert to Local Type = Static ;If using Custom type, offset from UTC in hours (can be negative as well) ;Offset = 0 ;If using Static type (Hour value always the same on every server start), the value (0-24) to set the Hour to Hour = 11
  10. Like
    cen got a reaction from PetuniaEpoch in I can`t sell spawned vehicles   
    This is correct.
     
    _uniqueid = str(round(random 999999)); _object setVariable ["ObjectID", _uniqueid, true]; _object setVariable ["ObjectUID", _uniqueid, true];
  11. Like
    cen reacted to antartis in Waiting for character creation   
    delete "ca" folder on mission, and done.
  12. Like
    cen got a reaction from antartis in _characterID: 0 (1.0.4.1)   
    There's an issue with players who are not using the steam version of arma connecting.
     
    For now remove the CA folder from your mission pbo.
  13. Like
    cen got a reaction from BetterDeadThanZed in Gold Dupe Glitch   
    From one of my players on 1.0.4.1:
     
    "found out when i removed a bar from the 3oz stack, buying blood at the same time got a brief instead of a 1oz"
     
    Snip, please remove the videos from youtube and or make it private. Please send all duping issues to vbawol.
  14. Like
    cen got a reaction from Richie in [Fixed] (1.0.4.1) Broken Napf, Sauerland, and panthera traders   
    Richie's the mannnnnnnn
  15. Like
    cen got a reaction from cring0 in Custom trader cities   
    All of the added "buildings/objects" for the trader cities are found in the dayz_server.pbo, specifically dayz_server\mission\DayZ_Epoch_24.Napf\mission.sqf.
     
    You can get the .beidi file as well and re-do everything in the editor if you'd like, then just replace the mission.sqf with your own:
     
    https://github.com/vbawol/DayZ-Epoch/tree/master/TraderCitySources/NAPFtradercities.Napf
  16. Like
    cen got a reaction from williamjbrown in Re-Worked WAI 0.173 - Supported System   
    Rocket launcher they added in 1.0.4.
  17. Like
    cen got a reaction from Halvhjearne in I can`t sell spawned vehicles   
    This is correct.
     
    _uniqueid = str(round(random 999999)); _object setVariable ["ObjectID", _uniqueid, true]; _object setVariable ["ObjectUID", _uniqueid, true];
  18. Like
    cen got a reaction from maca134 in Howto setup Custom Loot with DZE_MissionLootTable   
    Removed M107, MAAWS Rocket Launcher, and Satchel Charges if anyone is interested.
     
    https://www.dropbox.com/sh/r6ay8shjhvyseo4/3rw5T1yYGd
  19. Like
    cen got a reaction from antartis in Howto setup Custom Loot with DZE_MissionLootTable   
    Removed M107, MAAWS Rocket Launcher, and Satchel Charges if anyone is interested.
     
    https://www.dropbox.com/sh/r6ay8shjhvyseo4/3rw5T1yYGd
  20. Like
    cen got a reaction from MGT in 1.0.4 and Panthera   
    Thanks for the reply.
     
    I have a glimmer of hope that epoch will kill off origins and Martin will come to his senses and release the updated map back to the community ;)
     
    Nonov shouldn't have a problem with Sahrani!
  21. Like
    cen got a reaction from Woubie in Unable to unlock/lock vehicles . cannot access trader menu   
    Most likely not using the updated fn_selfActions.sqf
  22. Like
    cen got a reaction from Sukkaed in [RELEASE] Build Snapping - Extended v1.6 (Updated 02/20/2014)   
    This DOES NOT WORK.
     
    Here's a working 1.0.4 player_build.sqf with snapping:
     
    http://pastebin.com/ekssJ2Bj (thanks to maca for sorting this out)
  23. Like
    cen got a reaction from ruubje11 in Epoch Secondary Test/Beta Server... How do you do it?   
    Put one on your local PC. BOOM instant test-server ;)
  24. Like
    cen got a reaction from EXHIBIT in infistar spawning buildings   
    epoch doesn't support an instance_building table like the older/other mods that are ran off the reality hive.
     
    I think that's what he's referring to where you used to be able to put all your buildings in the database.
  25. Like
    cen got a reaction from TuBz in If map can use with Epoch it look good.   
    I should have some working trader cities this weekend.
×
×
  • Create New...