• Welcome to Freedom Reborn Archive.
 

EZScript missions not working

Started by justintyme2174, July 20, 2007, 04:18:47 PM

Previous topic - Next topic

justintyme2174

I've been trying to play the EZScript missions that came with the latest version of FFX (on patrol, spy games, etc.) and when I start them up nothing happens.  My hero shows up and can go anywhere on the map but no cutscenes or villains or anything ever show up.  I've taken in characters with the enhanced senses attribute but the option to "scan" never appears, I'm assuming because the hero is the only character who exists.  Text files appear in the "stories folder for all the missions, corresponding ".py" files are in the "skirmish" folder, what am I doing wrong?

tommyboy

Are you running the ffx shortcut?
With -log on the end?

justintyme2174

Yep, ffx shortcut is running.  All the attributes are working correctly, it is just ezscript missions that aren't doing anything for me.  I installed the adam strange and the flash ezscript missions using the m25installer and the missions show up under the rumble room but I get no story, no enemies, no dialog.

Previsionary

you should probably post your ff.log and script.log because it sounds like something may be broken. And just to make sure, you are using the ffx 3.2 shortcut, correct. I assume you are, but just to recover the bases.

justintyme2174

Here is my script log:

>>> system/init.py executed
>>> system/localinit.py executed
>>> system\tredir.py executed
loading datfiles version 0.251000
loading cshelper ...
Starting ffx.py v. 3.2.1 build 1; branch = Gold / Release plus TMX Hero File Pack
Loading m25ai.py v. 3.2.0 build 10; branch = beta 2: m25 branch 2
importing missionobjvar.py v1.18
importing MLOG Reader 1.0.18 release
Starting General Utilities 1.0
missionobjvar(FixLongs): Fixing overflow issue with <SCSTATE_BUOYANT>
missionobjvar defining functions for Rumble Room play.
CustomHeadCurrentTime 1184976911.421000
Starting Height Check module 1.4
Starting System Utilities 1.4
OBJECTS_HEIGHT: 604 entries
NIF_OBJECTS: 482 entries
BUILDINGS_IN_OBJECTS_DAT: 30 entries
BUILDING_DIMENSIONS: 30 entries
Starting skXMapInfo.py  v 0.79 beta
skXMapInfo: m25ai available
FFX Mission Plugin 'firehydrant' imported
FFX Mission Plugin 'zombie' imported
Loading freeroam_keepbuildingdamage.py v.1.0.0 build 0; branch = main
FFX Mission Plugin 'freeroam_keepbuildingdamage' imported
FFX Mission Plugin 'm25ai_lowjumper' imported
FFX Mission Plugin 'm25ai_realitymanipulation' imported
FFX Mission Plugin 'cutscene_power' imported
Loading     m25enc_OPENDOOR.py v.1.0.0 build 0; branch = main
FFX Mission Plugin 'm25enc_opendoor' imported
Loading     m25enc_simplechoice.py v.1.0.0 build 0; branch = main
FFX Mission Plugin 'm25enc_simplechoice' imported
Starting Built-In Function Wrapper 1.5
('Object_CalcPrestige', 'js')
ffx3\sk.py importing FFX
ffx3\missions\scripts\sk.py loaded
>>> C:\Documents and Settings\JustinO\Local Settings\Application Data\Irrational Games\Freedom Force vs the 3rd Reich\temp\MiniMod On Patrol.py executed
>>> C:\Documents and Settings\JustinO\Local Settings\Application Data\Irrational Games\Freedom Force vs the 3rd Reich\temp\danger.py executed
! GetMapInfo
>>> C:\Documents and Settings\JustinO\Local Settings\Application Data\Irrational Games\Freedom Force vs the 3rd Reich\temp\MiniMod On Patrol.py executed
>>> OnReceiveSelectedEnemies(('dark_shaman', 'dejavu', 'frozen_giant', ))
MLOG_Init(keepRunningModules=0): starting up
mlogreader.MLOG_Init: current mission = 'CITY LANDMARKS'
initialising FFX: skirmish=0
mapinfocaliper3 is not a valid explosion object
mapinfocaliper2 is not a valid explosion object
mapinfocaliper1 is not a valid explosion object
mapinfocaliper0 is not a valid explosion object
numberStr=56
storing hero_0: id_1,-56
Traceback (innermost last):
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\m25minimod.py", line 129, in OnPostInit
    ffx.FFX_InitMission()  # start FFX
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\ffx.py", line 256, in FFX_InitMission
    initialise(0)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\ffx.py", line 402, in initialise
    FFX_Transformers = getBuiltinTransformers()
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\ffx.py", line 736, in getBuiltinTransformers
    fxDat = datfiles.Campaign_ReadFX()
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\datfiles.py", line 1242, in Campaign_ReadFX
    pType = ord(npr[375])
IndexError: string index out of range
initialising FFQ_initialiseExtras()
FFX_UpdateSun: getting default sun
FFX_UpdateSun: setting = (-140.0, 70.0, 1.0, 0.800000011921, (0.699999988079, 0.600000023842, 0.600000023842))
Traceback (innermost last):
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\ffx.py", line 661, in initAttribs
    object=initialiseChar(object)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\ffx.py", line 795, in initialiseChar
    for temp in FFX_Transformers:
NameError: FFX_Transformers
Plugin 'firehydrant' OnPostInit() called
Plugin 'zombie' has no OnPostInit()
Plugin 'freeroam_keepbuildingdamage' OnPostInit() called
Plugin 'm25ai_lowjumper' has no OnPostInit()
Plugin 'm25ai_realitymanipulation' has no OnPostInit()
Plugin 'cutscene_power' has no OnPostInit()
Plugin 'm25enc_opendoor' has no OnPostInit()
Plugin 'm25enc_simplechoice' has no OnPostInit()

justintyme2174

One more random bit of information-I got a message where dialog on ezscript missions usually appear stating that "character found with duplicate complex. Quit and run ffx control center" at which point I did.  When I started the game up again after running ffxcontrol center is when my problem began.

lmalonsof

Hi everyone,

Is this happening with the DIY version too or just with the M25 installer version?

justintyme2174

I installed the first Flash and the first Adam Strange with the m25 installer, the rest of the Flash and the second Adam Strange I did DIY.  Either way I still end up with mt hero being able to travel the map but no dialog or enemies appear.  It is the same with any EZScript mission, even a couple I made myself.

tommyboy

It looks to me (not that I'm an expert) like FFX is falling over during initialization of characters.
Possible causes/cures, rerun the FFX control center, check the character list for odd entries (like objexts instead of characters, or nemes that start "/library/area_specific" or similar). If there are odd entries it means that either the characters.dat or objects.dat may be corrupt, and the control centre cant "brand" characters.
I usually just delete the last few characters I've added when this sort of thing starts,then rerun control centre, and that often sorts it out..

justintyme2174

I did some checking based on Tommy's observations and found that after running a ezscript mission my heroindexdata file is being changed. After I run ffx it changes back to the way it is supposed to be.  This isn't the complete heroindexdata file but maybe someone can tell something from it.


# Complex index file for ModPath=c:\program files\irrational games\freedom force vs the 3rd reich\ffx3
# (Generated by datfiles.Campaign_MakeHeroIndex on Sat, 21 Jul 2007 12:09:07)
{
-1011: 'berlin_female',
-1010: 'berlin_male',
-1009: 'charles_wilson',
-1008: 'civilian_female',
-1007: 'civilian_male',
-1006: 'cuban_male',
-1005: 'ffq_civilian_disguise',
-1004: 'ffq_civilian_tiggot',
-1003: 'ffx_green_tank',
-1002: 'man_bot_caged',
-1001: 'tank_ger',
-1000: 'tank_ger_friendly',
1: 'wraith_warrior_extra',
2: 'wraith_warrior',

1296: 'c:\\documents and settings\\justino\\local settings\\application data\\irrational games\\freedom force vs the 3rd reich\\Custom\\Heroes\\killer frost.hero',
1297: 'c:\\documents and settings\\justino\\local settings\\application data\\irrational games\\freedom force vs the 3rd reich\\Custom\\Heroes\\Power Ring.hero',
1298: 'c:\\documents and settings\\justino\\local settings\\application data\\irrational games\\freedom force vs the 3rd reich\\Custom\\Heroes\\terra.hero',
1299: 'c:\\documents and settings\\justino\\local settings\\application data\\irrational games\\freedom force vs the 3rd reich\\Custom\\Heroes\\spider-woman.hero',



lmalonsof

Have you been 'playing' with the ffvtr editing tools lately?

Something similar happened to me because I made a little mess with the editing tools.

I mean, if you've changed something in the editing tools it is very easy and quick to check out if everything is OK, because maybe the heroindexdata is not the right one for your current hero.dat or something similar.

justintyme2174

The only thing I've used the editor for recently is to generate language files and add a few fx.

M25

There's likely a problem with your fx.dat file.  If you have a backup, go back to it, or use the one that comes with ffx 3.2   

justintyme2174

I copied all my files over to my storage drive and did a re-install on ffx and now everything seems to be in working order.  Must have been a bad file somewhere.  Is the heroindexdata file supposed to get all complicated like in the example I posted above?  I thought it basically just said the id number and the name of the hero file.  Before running the rumble room by heroindexdata file is 12kb, after running the rumble room it jumps to 46kb, is that normal?

M25

It's normal.  You probably have a lot of hero files that it needs to index, which would explain the increase in size.


justintyme2174

Well everything seems to be working right then.  Thanks everyone for the help.