Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hey there - love the game and thanks for continuing to support it!  Just wanted to give you an FYI about a consistent bug I keep running into.  Whenever the "Trollish Magic" event kicks off the game freezes up and I have to quit the game.  I'm on the latest CoX2 version (1.57.01) running Windows 11 Home.  I've been having this issue for at least a few versions.

Thanks again!

(+1)

I'll look into it!  Thank you!

(+1)

And I found the problem.  Forgot to lower the "tt" variable (for Trollish Totem) on each loop, so it gets stuck in an endless loop.  Fixed!  And thank you!

void enacttrollishmagic(int loop){

int tt = randomNumber(1,3);

while (tt > 0){

int safety = 0;

for (;;){

int x = randomNumber(1,38);

int y = randomNumber(1,38);

if (space[x][y] == MAP_EMPTY){

space[x][y] = MAP_TROLLTOTEM;

if (variant[x][y] == 10)

variant[x][y] = randomNumber(1,9);

break;

}

safety ++;

if (safety > 1000)

break;

}

}

events[loop][0] = events[loop][1] = events[loop][2] = 0;

}

You rock thanks so much!  Just sent a donation to support your work on CoX2

(+1)

Oh, thanks, man!  Really appreciate it!