Author Topic: Crash: Problems when loading two very big factions  (Read 1211 times)

ChupaReaper

  • Guest
Crash: Problems when loading two very big factions
« on: 24 February 2011, 02:20:50 »
With the latest GIT Master I'm having problems loading both factions for my mod the Necribus and the Hyperion. Both work fine on their own but together the game loads to 100%, renders then before the game world loads it just closes.

I looked at the AI Log which I'm not fully sure what everything means but it looks like there's a problem:
(click to show/hide)

Also a minor bug: When you try and start a network game whilst not everyone has connected a message pops up saying Not all network players have joined yet or whatever, but the mouse cursor becomes invisible/isn't drawn or whatever.
« Last Edit: 25 February 2011, 12:23:23 by ChupaReaper »

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Crash: Problems when loading two factions
« Reply #1 on: 24 February 2011, 07:19:29 »
Are you sure the crash report is recent? It's dated 20 days ago and it looks like it's caused by using left click to issue a command then something happens with requirements.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

ChupaReaper

  • Guest
Re: Crash: Problems when loading two factions
« Reply #2 on: 24 February 2011, 09:31:43 »
Are you sure the crash report is recent? It's dated 20 days ago and it looks like it's caused by using left click to issue a command then something happens with requirements.
Oops lol you're right, I used date modified to check if it was the right date, mustn't of noticed 04/02/2011 amongst all the 24/02/2011.
Network games between two players work fine, so it has something to do with the AI I think.

Edit: After cleaning up some of my texture maps I tried to launch a game with two factions and now I'm getting this message in the AI Log (there were too many textures for GAE to handle with massive normal and specular maps so I've reduced them all to 128x128-256x256 down from 512x512-1024x1024).
(click to show/hide)
« Last Edit: 24 February 2011, 15:51:19 by ChupaReaper »

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Crash: Problems when loading two factions
« Reply #3 on: 25 February 2011, 01:30:00 »
The AI log is normal. It's just that the invalid value is being used as the component unless you meant something else. It should probably be changed to general or misc or something.

Quote
LOG_AI(aiInterface->getFactionIndex(), AiComponent::INVALID, 2, "Executing rule: " << (*it)->getName());

Added ticket 309
« Last Edit: 25 February 2011, 01:32:52 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

ChupaReaper

  • Guest
Re: Crash: Problems when loading two factions
« Reply #4 on: 25 February 2011, 11:58:54 »
Ahh I see, then I wonder why 2 of my factions wont load the game, ther crash report isn't updating and I can't find errors anywhere.

Edit: I did a test where one by one I removed a unit from my second faction until after removing 6 units both factions will finally load again. I resolved this problem by reducing the amount of animation frames in all of my models but now each model has around 15-30 frames and all models are low poly. All I can do now is either cripple all my animations or remove units and this is with only having two factions where one faction is still around 10 units from being complete.
3D mdoels don't have to be big with skeletal based animations but a new model format can be a lot to implement.
« Last Edit: 25 February 2011, 12:16:15 by ChupaReaper »