Jump to content

Perkelin

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Perkelin

  1. Hello!

     

    I'm setting up a epoch server with a collegue and we have some troubles with the mantain function, we want to activate this function for 14 days. Our problem is that dagamed objetcs / walls can be mantained normaly but in the next server restart they are fine again ( you get no mantain option either in the objets or just the plot pole). It also seems that time doesnt affect on structures dagame.

     

    We are using  Plot for Life and Plot Management on the server. This is our setup on hive:

     

     

     

    ;This is a comment
    ;Comments above a certain setting will provide it's description
     
    ;The format for a setting is
    ;Variable = Value
     
    ;If you see a commented line of that form, it means that the setting is optional, and the Value shows the default
    ;To change from the default, simply uncomment the line and change the Value
     
    [Time]
    Type = Custom
    Offset = +1

    [Database]
    ;Currently, only MySQL is supported
    Type = MySQL
    ;Hostname or IP of the server to connect to
    Host = xxxxxxxxxxxxxxxxxx
    ;Port to connect to. The default is the default listening port of a server of the selected Type
    ;Instead of specifying Port, you can specify Socket and set Value to the socket name
    Port = xxxxxxxxxxxxxxxxxx
    ;Database name to connect to.
    Database =
    ;Username to connect with
    Username = xxxxxxxxxxxxxxx
    ;Password to authenticate with (default is blank)
    Password = xxxxxxxxxxxxxxxxxxxx
     
    [Characters]
    ;The field name that Player's IDs are stored in (unique per game license)
    ;IDField = PlayerUID
    ;The field name that Player's World Position and rotation is stored in
    ;Enables you to run multiple different maps (different instances) off the same character table
    ;WSField = Worldspace
     
    [Objects]
    ;Flag indicating whether hiveext should detect vehicles out of map boundaries (X < 0, or Y > 15360) and reset their position to []
    ;Note: YOU MUST have a proper dayz_server.pbo that supports this feature, otherwise you will get script errors
    ;You can find that file under the SQF directory for your server version
    ;ResetOOBObjects = false

    ;EPOCH SETTINGS
    ;Which table should the objects be stored and fetched from  
    Table = Object_DATA
    CleanupPlacedAfterDays = 14
     
    ;Negative values will disable this feature
    ;0 means that ALL empty placed items will be deleted every server restart
    ;A positive number is how old (in days) a placed empty item must be, in order for it to be deleted
     
    [ObjectDB]
    ;Setting this to true separates the Object fetches from the Character fetches
    ;That means that the Object Table must be on this other database
    ;Use = false
     
    ;The settings here have the same meaning as in [Database], and are only used if the setting above is set to true
    ;Type = MySQL
    ;Host = localhost
    ;Port = xxxxxxxxxxxxxx
    ;Database = xxxxxxxxxxx
    ;Username = xxxxxxxxxx
    ;Password = xxxxxxxxx

  2.  

    i think that this is caused cus plotfriends is not set at server_monitor.sqf?

     

    or try the following:

     

    change line 66 into :

     _inventory = _object getVariable ["plotfriends", []]; //We're replacing the inventory with UIDs for this item
    if(isNil "_inventory")then{
    _inventory = [];
    };
    

    Lovely! it just worked fine! ^_^. We are now  experiencing a new issue: once a plotpole owner add new players to it he gets black screen reconnecting to the server (the only fix is deleting the char from the database so far) do have any idea what can cause this? (it also happens everytime you add a new player). Thank you very much again :D:D:D

  3. Hi guys! I followed all the steps to set up this script and almost everything seems to work, the problem comes when adding players to the plotpole management wich seems to fail. Do you guys have any idea? I'm getting this error in the console:

     

    3:40:50 Error Undefined variable in expression: _inventory
    3:40:50 File z\addons\dayz_server\compile\server_updateObject.sqf, line 75
    3:42:18 Error in expression <tVariable["lastInventory",[]]);
    if (str(_inventory) != _previous) then {

     

     

    edit: Im still with this issue i got some screenshot: http://s29.postimg.org/dxaimmrjb/plotp.png   help me please!!! thanks ;)

×
×
  • Create New...