Author Topic: Possible bug-type crash thingie (GH1 combat related)  (Read 359 times)

Offline JohnnyDmonic

  • Hero Member
  • *****
  • Posts: 627
    • View Profile
Possible bug-type crash thingie (GH1 combat related)
« on: October 16, 2007, 04:58:32 AM »
Was that vague enough?  Anyway, I'm not sure what's causing this but a couple of times now while testing stuff I've run into this same crash/error message.

The problem is, obviously that I'm doing all kinds of badkitty wierdness, so narrowing down where the problem is can be difficult.  As far as I can tell the two or three times this has happened have all been while I was testing set Scene fights against NPCs who had been adjusted using GSkillLevel . And that's about all I can think of that's similiar.  So I'm assuming it's either something about the way I'm creating scenes with NPC's installed in mecha cockpits in the inventory, or it's something about the excesively high GSkillLevel they end up with due to Renown 100 PC plus whatever fudge factor I had put in to account for other PC advantages.

OH!  And the crash is occuring while the NPC is attacking I believe.


C:\Documents and Settings\Maximillion\Desktop\GearheadTree\GearHead test>arena
An unhandled exception occurred at $0042566F :
EIntOverflow : Arithmetic overflow
  $0042566F  DOLEEXPERIENCE,  line 334 of ability.pp
  $0048392F  PROCESSATTACKEFFECT,  line 1566 of effects.pp
  $00484E8E  DODIRECTFIREATTACK,  line 1890 of effects.pp
  $00487A9F  DOATTACK,  line 2518 of effects.pp
  $00462B5F  ATTACKERFRONTEND,  line 157 of arenacfe.pp
  $0045C9D6  AIATTACKER,  line 506 of aibrain.pp
  $0045D0D3  ATTACKTARGETOFOPPURTUNITY,  line 754 of aibrain.pp
  $00460607  SEEK_AND_DESTROY,  line 1471 of aibrain.pp
  $0046125C  GETAIINPUT,  line 1668 of aibrain.pp
  $004378C5  GETMEKINPUT,  line 91 of arenaplay.pp
  $00437A36  CHECKMEKS,  line 142 of arenaplay.pp
  $00437CB2  COMBATMAIN,  line 240 of arenaplay.pp
  $0043973F  SCENEPLAYER,  line 880 of arenaplay.pp
  $004183F3  NAVIGATOR,  line 96 of navigate.pp
  $00413C4C  ENTERCAMPAIGN,  line 1193 of arenahq.pp
  $00413E29  STARTRPGCAMPAIGN,  line 1240 of arenahq.pp
  $004017E5  main,  line 78 of arena.pas

Offline JohnnyDmonic

  • Hero Member
  • *****
  • Posts: 627
    • View Profile
Possible bug-type crash thingie (GH1 combat related)
« Reply #1 on: October 16, 2007, 06:11:58 AM »
Appearantly, it can also happen when I'm the one attacking the questionable NPC:


C:\Documents and Settings\Maximillion\Desktop\GearheadTree\GearHead  test>arena
An unhandled exception occurred at $0042566F :
EIntOverflow : Arithmetic overflow
  $0042566F  DOLEEXPERIENCE,  line 334 of ability.pp
  $0048392F  PROCESSATTACKEFFECT,  line 1566 of effects.pp
  $00484C49  ATTACKSINGLETARGET,  line 1865 of effects.pp
  $0048691B  DOLINEATTACK,  line 2296 of effects.pp
  $00487A6F  DOATTACK,  line 2516 of effects.pp
  $00462B5F  ATTACKERFRONTEND,  line 157 of arenacfe.pp
  $0044A847  AIMTHATATTACK,  line 2158 of pcaction.pp
  $0044AC60  DOPLAYERATTACK,  line 2291 of pcaction.pp
  $0044D603  RLPLAYERINPUT,  line 3190 of pcaction.pp
  $0044DB42  GETPLAYERINPUT,  line 3331 of pcaction.pp
  $004378B5  GETMEKINPUT,  line 88 of arenaplay.pp
  $00437A36  CHECKMEKS,  line 142 of arenaplay.pp
  $00437CB2  COMBATMAIN,  line 240 of arenaplay.pp
  $0043973F  SCENEPLAYER,  line 880 of arenaplay.pp
  $004183F3  NAVIGATOR,  line 96 of navigate.pp
  $00413C4C  ENTERCAMPAIGN,  line 1193 of arenahq.pp
  $00413E29  STARTRPGCAMPAIGN,  line 1240 of arenahq.pp


C:\Documents and Settings\Maximillion\Desktop\GearheadTree\GearHeadtest>


ETA:

A copy of the scene that is being tested:

http://docs.google.com/Doc?id=ddccf7qb_1cczdxs

And the brief little plot line that is calling it for this test:

   GoStartCombat <SavePos Staged .scene>
   .scene <SCENE_SceneTest.txt>

Offline Frumple

  • Sr. Member
  • ****
  • Posts: 371
    • View Profile
Possible bug-type crash thingie (GH1 combat related)
« Reply #2 on: October 16, 2007, 02:02:44 PM »
Heeey... I think I remember this!  And yeah, it may be because of the GSkill thing, if I'm thinking it does what I think it does -- with GH1, if your skills/stats get too high, it's entirely possible to crash the game by just doing too terribly much damage -- especially on crits.  This used to happen to me quite a bit when I was cheating horribly.  I may be wrong, but that might be what's causing it -- just a crazy high amount of damage.

Take that with a grain of salt, of course -- I'm no coder nor do I have any experience with the plot-thingies... it just seems similar to what used to happen to me, heh.
Ask not!
What your country can hump for you.
Ask!
What you can hump for your country.

Offline Joseph Hewitt

  • Administrator
  • Hero Member
  • *****
  • Posts: 2552
    • View Profile
    • http://www.gearheadrpg.com
Possible bug-type crash thingie (GH1 combat related)
« Reply #3 on: October 16, 2007, 05:38:58 PM »
One of the mecha involved had too high of a value, causing an arithmetic overflow. I'll increase the size of the variables used for the next release.