1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

[GS] Adding level of Difficulty

Discussion in 'Mod Creation Help' started by Makarya, Mar 2, 2019.

  1. Makarya

    Makarya Chieftain

    Joined:
    Jul 25, 2018
    Messages:
    21
    I wanted to add new rank of difficulty but can't make it work (obviously).

    Error in database.log :[1059366.836] [Configuration] ERROR: no such table: Types

    I don't really understand why I get this error as Types clearly exist.

    Code:
    INSERT INTO Types (Type, Kind) VALUES ('DIFFICULTY_OMNIPOTENT', 'KIND_DIFFICULTY');
    INSERT INTO Difficulties (DifficultyType, Name) VALUES ('DIFFICULTY_OMNIPOTENT', 'LOC_DIFFICULTY_OMNIPOTENT_NAME');
     

    Attached Files:

  2. LeeS

    LeeS Imperator

    Joined:
    Jul 23, 2013
    Messages:
    6,623
    Location:
    Illinois, USA
    You're adding InGame database code to the FrontEnd database, which has no table called "Types"

    And apparently the forum is borking rar files that are directly attached to a post. You're better off using Windows inherent zip utility as the forum does not seem to bork zip folders.
     
  3. Makarya

    Makarya Chieftain

    Joined:
    Jul 25, 2018
    Messages:
    21
    Thanks. I was looking at a GameFile and didn't think of that :(.
    I can choose the new difficulty level, now i have to get it to work in game.
     

Share This Page