Server not spawning AI, how to fix it and what might cause it

    Joined
    Jun 20, 2013
    Messages
    293
    Reaction score
    48
    • Purchased!
    My server, as my players know, has had problems with spawning any AI ships. It seems like this problem can be traced back to the blueprints. In console, after doing the wave command I saw this message "[WAVE] Server will not spawn any waves, the catalog is empty". Me and my friend ElgarL spent last night attempting to find and fix what file was the cause of this bug. We copied over every folder from my fresh (and working) copy of the server into my old (and broken) copy of the server.

    We have narrowed it down to the char before description string. It seems to happen when you rebuild the catalog and it only happens to one of the entries.

    Ways to fix the bug:

    1. Delete everything other than the "server-database" folder and replace everything you deleted with the files in your client folder.
    2. We narrowed it down to the blueprints folders. Remove "blueprints" and "blueprints-default" and replace them with a copy of the same folder from within your clients folder.

    My opinion:

    1. Appon inspecting the "CATALOG.cat" file from within the "server-database" folder I found some discrepancies.

      Tabs and newline chars are found within the, what I will call, "datablock" of the file and some of the fomatting is different (leading me to think there is some form of bug with your saving code)
    2. Data seems to be save after an entry of data called "r0".

      Working version: http://i.imgur.com/GyYVHWi.png
    3. Broken Verision: http://i.imgur.com/2EU1UI4.png

    [*]Deleting and replacing the blueprints file forces the rebuilding of the CATALOG.cat file (therefor fixing it)




    ??Other unexplained things:

    1. This fix is temporary on linux servers. The bug happens again on a restart. It does appear to work fine on a windows computer.
    2. No idea what trigures it
     
    Joined
    Jun 23, 2013
    Messages
    37
    Reaction score
    3
    ONLY on linux....

    When creating the catalog.cat the server corrupts the character preceeding a blueprint description string in the Catalog.cat.

    This prevents AI from acccessing the catalog.

    Only happens under linux and a broken catalog can be fixed for use on a windws machine by editing the file (Notepad++) and pasting a DC3 before the description string.
     
    Joined
    Jun 30, 2013
    Messages
    11
    Reaction score
    0
    • Purchased!
    • Legacy Citizen 2
    • Legacy Citizen
    I have done a reinstall and this keeps happening to. Is there a way to stop this from happening?
     
    Joined
    Jul 5, 2013
    Messages
    372
    Reaction score
    0
    Make .sment file of the Isanth ship (or whatever ships you want to use for pirates), then import it on server as you would do for any other blueprint. When ingame, open Admin tab in catalog, select Isanth and select the 4th option in permissions to enable enemy use.
     
    Joined
    Jun 30, 2013
    Messages
    11
    Reaction score
    0
    • Purchased!
    • Legacy Citizen 2
    • Legacy Citizen
    Ahhh thank you... i have no idea how they become unchecked...



    thank you so much!