Results 1 to 16 of 16

Thread: Weird Crash

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Weird Crash

    I have been doing quite a lot of editing lately and have come across a crash i have never seen before. It happens only with certain factions versus certain other factionas (i'm not sure of the pattern yet). It crashes to desktop without error at the battle preparation screen on the campaign battles. Both on seiges and normal battles. The units work fine in custom battles.

  2. #2
    makanyane's Avatar Praeses
    Content Emeritus

    Join Date
    Feb 2006
    Posts
    9,093
    Blog Entries
    1

    Default Re: Weird Crash

    are the armies being led by a family member? if so problem could be with the general's battle model (custom battles only use captains)

  3. #3

    Default Re: Weird Crash

    Quote Originally Posted by makanyane View Post
    are the armies being led by a family member? if so problem could be with the general's battle model (custom battles only use captains)
    All generals have the same battle model at this stage of development, and some factions can fight just fine.

    EDIT - I also just tried a battle which was just between some peasants (all starting units in the game are representated by the same base_peasant unit for each faction), it still crashed. It only effects the following factions:-

    julii
    brutii
    senate
    scipii
    greek_cities
    britons
    gauls

    using RTw-Alex. Note the unit is coded correctly for all factions and works in custom battles.
    Last edited by Zhuge_Liang; June 19, 2009 at 12:00 PM.

  4. #4
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Weird Crash

    A texture or sprite issue perhaps?
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  5. #5

    Default Re: Weird Crash

    Quote Originally Posted by Sqυιd View Post
    A texture or sprite issue perhaps?
    No, all units work fine in custom battles. Also please note that the crash doesn't happen when the battle has loaded or during the loading screen, it happens the very moment when the battle summary screen should be coming up, the one where you choose to attack, auto-resolve or withdraw.

  6. #6

    Default Re: Weird Crash

    Something wrong with one of the buttons there maybe ? Although i never knew you could change anything but interface and text there .

    Nah , can't be , shouldn't be the problem .. Maybe something wrong with the banners of the julii and other factions ? (incorrect size or not present , ...)

    You should look in .../data/ui/captain banners/

    then look for all cards involving your faction cards ..

    Dunno if that would help , though ..

  7. #7
    makanyane's Avatar Praeses
    Content Emeritus

    Join Date
    Feb 2006
    Posts
    9,093
    Blog Entries
    1

    Default Re: Weird Crash

    any possibility of triggers - either for traits / ancs / advice or in script with pre_battle type condition that might be causing problems?

    EDIT: or anything at all in script, if its scripted that relates to that scroll / buttons?

  8. #8

    Default Re: Weird Crash

    Quote Originally Posted by makanyane View Post
    any possibility of triggers - either for traits / ancs / advice or in script with pre_battle type condition that might be causing problems?

    EDIT: or anything at all in script, if its scripted that relates to that scroll / buttons?
    We have only added a few triggers, however when i trying playing the game without our modded export_descr_character_traits the crash remains.

    Quote Originally Posted by KingTheoden1 View Post
    Something wrong with one of the buttons there maybe ? Although i never knew you could change anything but interface and text there .

    Nah , can't be , shouldn't be the problem .. Maybe something wrong with the banners of the julii and other factions ? (incorrect size or not present , ...)

    You should look in .../data/ui/captain banners/

    then look for all cards involving your faction cards ..

    Dunno if that would help , though ..
    I will look into this, we have changed all of the faction icons in a few of the places where they can be changed, however all of our new icons should be the same size as each other.


    EDIT - as a matter of interest I tried a naval battle which worked fine. Also the AI seem to be able to fight each other ok as the problem factions.
    Last edited by Zhuge_Liang; June 19, 2009 at 12:25 PM.

  9. #9

    Default Re: Weird Crash

    Sure you don't have other scripts apart from the traits ?

    Think about :

    EDA (export_descr_advice)
    background (or other) scripts

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •