[GS] Adding level of Difficulty

Makarya

Chieftain
Joined
Jul 25, 2018
Messages
23
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');
 

Attachments

  • SmootherDifficulty.rar
    2.9 KB · Views: 155
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.
 
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.
 
Top Bottom