Unexpected error: Propagating error from GS 1 (method: createGame): Fatal error during lordsofxiditadmiral setup: Class

Game development with Board Game Arena Studio
Post Reply
User avatar
admiralspunky
Posts: 44
Joined: 06 September 2013, 23:18

Unexpected error: Propagating error from GS 1 (method: createGame): Fatal error during lordsofxiditadmiral setup: Class

Post by admiralspunky »

I can't get Lords of Xidit to start. Other games, I request read-only access, make a new project, overwrite my project with the actual one, then go to Play Now and hit Express Start, no problems. But for some reason, when I do that exact set of steps with Lords of Xidit, it gives me an error when I try to start the game. Am I doing something wrong?

Unexpected error: Propagating error from GS 1 (method: createGame): Fatal error during lordsofxiditadmiral setup: Class Lordsofxiditadmiral not found
User avatar
RicardoRix
Posts: 2548
Joined: 29 April 2012, 23:43

Re: Unexpected error: Propagating error from GS 1 (method: createGame): Fatal error during lordsofxiditadmiral setup: Cl

Post by RicardoRix »

Given it renames all the instances of all the game_name to the new one, it's likely something to do with that.

What is your class called in game.php ?
User avatar
admiralspunky
Posts: 44
Joined: 06 September 2013, 23:18

Re: Unexpected error: Propagating error from GS 1 (method: createGame): Fatal error during lordsofxiditadmiral setup: Cl

Post by admiralspunky »

The class in game.php is just called Lox. Capital L, lower o and x.
User avatar
Tisaac
Posts: 2743
Joined: 26 August 2014, 21:28

Re: Unexpected error: Propagating error from GS 1 (method: createGame): Fatal error during lordsofxiditadmiral setup: Cl

Post by Tisaac »

admiralspunky wrote: 04 February 2021, 15:12 The class in game.php is just called Lox. Capital L, lower o and x.
Why ? It should match the name of your project.
User avatar
admiralspunky
Posts: 44
Joined: 06 September 2013, 23:18

Re: Unexpected error: Propagating error from GS 1 (method: createGame): Fatal error during lordsofxiditadmiral setup: Cl

Post by admiralspunky »

Tisaac wrote: 04 February 2021, 19:43
admiralspunky wrote: 04 February 2021, 15:12 The class in game.php is just called Lox. Capital L, lower o and x.
Why ? It should match the name of your project.
I don't know why it didn't get renamed; that's why I'm asking. And, looking through the code, I see several things called lordsofxiditadmiral, but I also see several called Lox. Why did the project renamer rename some, but not all, of the 'Lox's?
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: Unexpected error: Propagating error from GS 1 (method: createGame): Fatal error during lordsofxiditadmiral setup: Cl

Post by Een »

Most likely guess: non standard project, where the developer did some renaming of their own.
User avatar
admiralspunky
Posts: 44
Joined: 06 September 2013, 23:18

Re: Unexpected error: Propagating error from GS 1 (method: createGame): Fatal error during lordsofxiditadmiral setup: Cl

Post by admiralspunky »

Een wrote: 04 February 2021, 22:35 Most likely guess: non standard project, where the developer did some renaming of their own.
It was someone called Pierre Scelles. I could just find and replace the text back to what it's supposed to be, but the original change was probably for a reason, right? I'm also not entirely sure how Xidit works on the main site, when it doesn't work in the Studio. Does the main site not check the names of projects?
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: Unexpected error: Propagating error from GS 1 (method: createGame): Fatal error during lordsofxiditadmiral setup: Cl

Post by Een »

I have not worked on this specific codebase, but I see two possibilities:
- the developer had renamed everything that needed to be for it to work, but the replacement when copying the project somehow messed up something
- something was changed on the studio codebase since the last deploy in prod.
Post Reply

Return to “Developers”