News:

Happy 20th, FFvT3R!

Main Menu

FFX 3.3 Problems

Started by Xenolith, March 27, 2009, 05:51:09 PM

Previous topic - Next topic

Xenolith

As I've posted in other sections, I'm having, and have been having, problems with custom swaps and energy levels.  Last night I redownloaded and installed FFX 3.3 and am still having the same problem.  Is anyone else having any problems of a similar nature?  If not, I suspect I messed something up along the way and the program is no longer behaving as it should.  Or, maybe there is a bug in FFX 3.3?

I may just reinstall.  Perhaps I'll save it under something else so I can compare and contrast.

Thanks for any advice.

stumpy

I just posted a reply to your energy query in the other forum.

I don't recall seeing you post about a swap problem recently. Diagnosing swap problem can be kind of complicated. What exactly is going on? What type of swap are you trying? Is the character custom or built-in? Is this in a campaign mission or in the Rumble Room? Have you run the Power ID Generator mission in the RR? (An issue that people sometimes have there is that the ID generation doesn't quite work each time. When I run it, I need to hear a sound that is a little like a bunch of powers going off at once. If you don't hear that, you may have to re-run it a few times.)

Give details and maybe someone will recognize the issue. (Use the first post in the FFX Bug Reporting thread as a guide for what to post.)
Courage is knowing it might hurt, and doing it anyway. Stupidity is the same. And that's why life is hard. - Jeremy Goldberg

Xenolith

Well, my issue is that I can't get any state swaps to work, like grapple and hypnotism to hypnotism.  I suspect that I've mangled my files so badly over the past few years that I should just start afresh.  It's no big deal.

detourne_me

Hi, sorry to necropost,  but I've run into some other FFX3 problems.
A lot of my attributes aren't working,  while many do.
heres the top part of my error log,  please tell me if you can diagnose the problems! Thanks!
00:00:00.60: FF: --------------------------------------------------------------------------------
00:00:00.60: FF: Starting FFVTTR
00:00:00.60: FF: Build: SHIP, Version: 1.73396
00:00:00.60: FF: --------------------------------------------------------------------------------
00:00:00.62: FF: CInterpreter::init() completed
00:00:00.62: FF: Py_GetPath(.\System;.\System\PythonLib;.\Data\Missions\Scripts;)
00:00:00.62: FF: Py_GetProgramFullPath(c:\program files\steam\steamapps\common\freedom force vs. the 3rd reich\ffvt3r.exe)
writing to file gamesessions.log
Startup Plugin 'a_recordsession' imported
Startup Plugin 'pypathpriority' imported
00:00:00.95: FF: CRender: creating DX9 renderer
00:00:00.95: FF: CRender: trying to render in 32 bits
00:00:01.85: FF: DepthStencil is D3DFMT_D24S8
00:00:02.38: FF: CResourceTrackerTree: Generating index file Custom_Art_library_characters.dat
00:00:02.42: FF: CResourceTrackerTree: Generating index file Custom_Missions.dat
00:00:02.43: FF: CResourceTrackerTree: Generating index file Custom_Art_library_area_specific.dat
00:00:02.48: FF: ERROR! RPGA attribute bulktp is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute overheated is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute metashieldp is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute superleaper is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute invulnerable0 is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute fearless is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute ffqamalgam is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute ffqhighjumper is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute speedphaser is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute illusionist is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute ffqtempinvulnerability is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute poltergeist is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute heavyfooted is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute icecloud is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute sensitive is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute ephemeral is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute ffqaixenophobe is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute solarpowered is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute popular is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute shapeshifter is not mapped to a bitset enum!
00:00:02.49: FF: ERROR! RPGA attribute presence is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute ffqrealitymanipulation is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute ffqairsuperiority is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute coordinator is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute astral is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute summoner3 is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute nocturnal is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute adaptive2 is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute regenerativeplus is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute invflier5 is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute ffqresilient is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute ffqempathlongrange is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute utilitybelt is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute groupmind is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute lesserregeneration is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute ffqupgradable2 is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute sidekick is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute bodyarmor02 is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute combatskill2 is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute currentsapper is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute borrowedtime is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute groupteleport is not mapped to a bitset enum!
00:00:02.50: FF: ERROR! RPGA attribute ffqfastball is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute invflier30 is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute vunstablemols is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute ffqbasiclevitation is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute butterfingers is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute toughguy2 is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute battery is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute ffqdizzy is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute ffqaimisogynist is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute invulnerable4 is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute unstabletemp is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute twister is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute degenerative is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute miracle1 is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute spinner is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute humanrocket25 is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute fourd is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute ironjaw is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute livinglaser is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute airscout is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute ffqsuperheroic is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute privatearmy1 is not mapped to a bitset enum!
00:00:02.51: FF: ERROR! RPGA attribute lastresort is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute metabolic is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute ffqextradimensional is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute ffqprowler is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute enchanter2 is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute ffqpsychotherapy is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute ffqtrapezist is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute combatskill is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute russiandoll is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute bodyarmor05 is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute explosive is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute ffqlongjumper is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute absorbpower is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute battlecomputer is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute growth is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute invulnerable34 is not mapped to a bitset enum!
00:00:02.52: FF: ERROR! RPGA attribute slowlearner is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute guardianp is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute ffqweakspot is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute speedforce is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute humanrocket20 is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute ironguts is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute absorbenergy is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute vulnerability is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute trueinvulnerability30 is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute bodyarmor20 is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute tempform is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute earthcontrol2 is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute pheremones is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute blazingglory is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute assimilator is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute invulnerable22a34 is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute hatemonger is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute ffqaicarchaser is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute kamikaze is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute ffqlimitedflight is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute ffqrooted is not mapped to a bitset enum!
00:00:02.53: FF: ERROR! RPGA attribute ffqantimissiles is not mapped to a bitset enum!
00:00:02.54: FF: ERROR! RPGA attribute powerreserve is not mapped to a bitset enum!
00:00:02.54: FF: ERROR! RPGA attribute ffqjumpingjack is not mapped to a bitset enum!
00:00:02.54: FF: ERROR! RPGA attribute ffqflawedinvulnerability is not mapped to a bitset enum!
00:00:02.54: FF: ERROR! RPGA attribute freespirit is not mapped to a bitset enum!
00:00:02.54: FF: ERROR! RPGA attribute ffqgymnast is not mapped to a bitset enum!
00:00:02.54: FF: ERROR! RPGA attribute symbiote is not mapped to a bitset enum!
00:00:02.54: FF: ERROR! RPGA attribute metastrength is not mapped to a bitset enum!
00:00:02.54: FF: ERROR! RPGA attribute magnetic2 is not mapped to a bitset enum!
00:00:02.54: FF: ERROR! RPGA attribute ffqdesesperate is not mapped to a bitset enum!
00:00:02.54: FF: ERROR! RPGA attribute ffqimmortal is not mapped to a bitset enum!
00:00:02.54: FF: ERROR! RPGA attribute absorbmat is not mapped to a bitset enum!
00:00:02.54: FF: ERROR! RPGA attribute velcrofeet is not mapped to a bitset enum!
00:00:02.54: FF: ERROR! RPGA attribute ffactivedefense35 is not mapped to a bitset enum!
00:00:02.54: FF: ERROR! RPGA attribute ffactivedefense10 is not mapped to a bitset enum!
00:00:02.54: FF: ERROR! RPGA attribute acrobaticamateur is not mapped to a bitset enum!


Epimethee

Are your FFX paths set to c:\program files\steam\steamapps\common\freedom force vs. the 3rd reich\ in FFEdit?
FFX add-on for FFvsTTR at ffx.freedomforce4ever.com

detourne_me

Yes, everythings all connected properly I think.  Since quite a few attributes work, all my FX work (haven't tried maps yet)
Another Issue I've come across is that the EZ script missions don't seem to work.
Other FFX rumble room modes work (such as custom instant action) but the EZscript examples don't initialize.
Sorry to heap this onto you coders.   Could it be a problem with Vista?

stumpy

You've quit the game and run the FFX Control Centre on any heroes that you've created and restarted the game, right? Also, what version of Windows are you running?

Meanwhile, it will help to have specifics on what happens when the attributes aren't working. What are some of the attributes that work and some of those that don't work? Are any scripted (FFX-specific) attributes working? When they don't work, how are you testing them and what happens?

It might help to have your script.log file, since it will contain any python errors that may have occurred after a mission started. Also, your ff.err file, if it isn't empty. Both of those files are in the same folder where you found ff.log.

I don't know if some of the scripted functions (like those in the datfiles module) might be getting the wrong paths for your setup, since the steam version wasn't around when I wrote it. If you can open the game console and paste in the following lines, one at a time (see the Game FAQ if you aren't sure how to do that or if you have trouble). It could help determine whether there is a problem there.
import datfiles
for fn in ('ffver', 'GetFFPath', 'GetHeroFilePath', 'GetModPath', 'GetWinTempPath'): print 'datfiles.%s() returns <%s>' % (fn,eval('datfiles.'+fn+'()'))

Then, post what it prints out. In fact, just run that from the console after starting an RR session with one of your heroes that is having trouble and then post the script.log and it will have the output from those lines.
Courage is knowing it might hurt, and doing it anyway. Stupidity is the same. And that's why life is hard. - Jeremy Goldberg

BentonGrey

Howdy Stumpy et al.  I've recently run into a bizarre FFX problem.  I've had my DC multi-attributes set up for a few years now, and all of a sudden the game is telling me that it is having errors trying to initialize "nimble" within Batman's.  The only thing that I can figure is that I messed something up trying to update FFX.  I didn't copy over the FFXmulti file, nor any of the custom files, so I don't really understand why this is happening.  Still, I backed up my files so I can fix whatever it is, but I don't know what to replace.  Any help?
God Bless
"If God came down upon me and gave me a wish again, I'd wish to be like Aquaman, 'cause Aquaman can take the pain..." -Ballad of Aquaman
Check out mymods and blog!
https://bentongrey.wordpress.com/

stumpy

What's the actual error from your script.log?
Courage is knowing it might hurt, and doing it anyway. Stupidity is the same. And that's why life is hard. - Jeremy Goldberg

BentonGrey

Here it is Stumpy.

Spoiler
execInitAttrib: init disciplined attribute inside ['capedcrusaderbat', 'disciplined', 'presence', 'utilitybelt', 'nimble', 'acrobatic', 'grimresolve', 'ffqtracking'] combo
    on hero_1 of template custom_template_67 (batman)
execInitAttrib: init presence attribute inside ['capedcrusaderbat', 'disciplined', 'presence', 'utilitybelt', 'nimble', 'acrobatic', 'grimresolve', 'ffqtracking'] combo
    on hero_1 of template custom_template_67 (batman)
execInitAttrib: init utilitybelt attribute inside ['capedcrusaderbat', 'disciplined', 'presence', 'utilitybelt', 'nimble', 'acrobatic', 'grimresolve', 'ffqtracking'] combo
    on hero_1 of template custom_template_67 (batman)
execInitAttrib: init nimble attribute inside ['capedcrusaderbat', 'disciplined', 'presence', 'utilitybelt', 'nimble', 'acrobatic', 'grimresolve', 'ffqtracking'] combo
    on hero_1 of template custom_template_67 (batman)
execInitAttrib: ERROR in initialising attribute nimble inside combo capedcrusaderbat
Traceback (innermost last):
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\DCUG\missions\scripts\ffx.py", line 930, in initAttribsEvent
    initAttribsForChar(event.object,event.user)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\DCUG\missions\scripts\ffx.py", line 886, in initAttribsForChar
    execInitAttrib(char, component, update, combo=attribute, multi=multi)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\DCUG\missions\scripts\ffx.py", line 914, in execInitAttrib
    execInitAttrib2(char, attribute, init)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\DCUG\missions\scripts\ffx.py", line 922, in execInitAttrib2
    exec init
  File "<string>", line 1, in ?
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\DCUG\missions\scripts\ffx.py", line 11968, in initnimble
    if ( 'freeroam_bonus' not in sys.modules.keys() )or \
NameError: freeroam_bonus
God Bless
"If God came down upon me and gave me a wish again, I'd wish to be like Aquaman, 'cause Aquaman can take the pain..." -Ballad of Aquaman
Check out mymods and blog!
https://bentongrey.wordpress.com/

daglob

I'm having a similar problem, but hadn't paid much attentino to it since my computer often has trouble "intializing" some things. I just noticed that the list seems a lot longer when it does. And yes, I updated FFX last week. Wickerman has been trying to help me get some of my attributes to work.

And how does one activate the Captain America attribute? And Weapon Bearer? Neither one shows up in the list in the hero creation section, but I've seen them in the text file.

BentonGrey

You'll have to create an attribute of the proper name in FFEdit, Daglob.
God Bless
"If God came down upon me and gave me a wish again, I'd wish to be like Aquaman, 'cause Aquaman can take the pain..." -Ballad of Aquaman
Check out mymods and blog!
https://bentongrey.wordpress.com/

stumpy

Benton, are you running a freeroam (Patriot City-style) mission? What sort of mission was it and, if it was a Rumble Room mission, which type was it? Does the character have trouble in other RR missions (e.g. basic "Battle in the Rumble Room" types, etc.)?

It looks like the code causing trouble is a check put in to make sure the attribute isn't accidentally applied multiple times when a character jumps from one map to another in a freeroam situation. I tested it in Patriot City and thought it was working there and it's not supposed to come into play for normal (linear) missions or RR play, but maybe there is a case we have missed that causes trouble.
Courage is knowing it might hurt, and doing it anyway. Stupidity is the same. And that's why life is hard. - Jeremy Goldberg

BentonGrey

Okay Stumpy, thanks for the reply.  In answer to your questions: This was a test of JSA#6 in the RR.  It is a EZScript mission, although I just now tested Bats in the regular RR and got the same error. 
God Bless
"If God came down upon me and gave me a wish again, I'd wish to be like Aquaman, 'cause Aquaman can take the pain..." -Ballad of Aquaman
Check out mymods and blog!
https://bentongrey.wordpress.com/

stumpy

Unfortunately, I am having a little trouble duplicating your error since I have several characters that use the scripted nimble and they have not given me any trouble in the Rumble Room (in "Battle..." or "Allies..." mode).

Here is an attempt take a somewhat more robust approach to the code in question. Open ffx.py and search for # stumpy: revising to fix bug where the 10% HP penalty and the code below it (two functions) should be for initnimble and initslowmoving. Replace all of that code (down to the line above def initunstablemolecules(char,update=0):) with the following:

# Returns True if this is a freeroam (Patriot CIty-style) mission. The
# check is just that a freeroam module has been loaded, so this check
# may not work if modules are loaded in an odd order or if this is
# called too soon.
def IsFreeroamMission():
    return ( 'freeroam_bonus' in sys.modules.keys() )

# Returns true if this is a freeroam mission and the character has
# just hopped over from another map. This is a very primitive test,
# only checking that the freeroam_bonus.heroStates list is empty,
# which should be the case if the character has just left a base. This
# is intended to be used when initializing FFX attributes, not within
# a freeroam mission.
def FreeroamMapJumped():
    if IsFreeroamMission():
        import freeroam_bonus
        return ( freeroam_bonus.heroStates==[] )
    else:
        return ( 0==1 ) # False

###! Ep 2006-04-28: removed invalid value in "and not FFX_ObjectGetAttr(char,'nimble',0)"
def initnimble(char,update=0,remove=0):
    if remove:
        if FFX_ObjectGetAttr(char,'nimble'):
            FFX_ObjectSetAttr(char,'nimble',0)
            baseHealth = GetBaseHealth(char)
            maxHealth = Object_GetAttr(char,'maxHealth')
            hp = Object_GetAttr(char,'health')
            Object_SetAttr(char,'health',hp/0.90)
            Object_SetAttr(char,'maxHealth',maxHealth/0.90)
            tempag = Object_GetAttr(char,'templateAgility')
            Object_SetAttr(char,'agility', Object_GetAttr(char,'agility')-3)
            Object_SetAttr(char,'templateAgility',tempag-3)
        return
    if update==0 and not FFX_ObjectGetAttr(char,'nimble') and not Character_HasAttribute(char,'nimble'):
        FFX_ObjectSetAttr(char,'nimble',1)
        # check that this wasn't already changed by FFX in an earlier freeroam map and already lowered
        ##if Object_GetAttr(char,'maxHealth') >= GetBaseHealth(char) + ('ffqresilient' in getAttributes(char))*30 :
        if not FreeroamMapJumped():
            hp=Object_GetAttr(char,'health')*0.9
            Object_SetAttr(char,'health',hp)
            Object_SetAttr(char,'maxHealth',Object_GetAttr(char,'maxHealth')*0.9)
        ag=Object_GetAttr(char,'agility')+3
        if ag>13:   # disallow exceding the in-game NIMBLE/DANGER SENSE limits
            ag=13
        Object_SetAttr(char,'agility',ag)
        Object_SetAttr(char,'templateAgility',Object_GetAttr(char,'agility'))

# stumpy: revising to fix cumulative issue (see initnimble) allow
# and make the agility penalty 3 instead of 1. Prevents re-use (which
# would probably be by accident).
def initslowmoving(char,update=0,remove=0):
    if remove:
        if ( FFX_ObjectGetAttr(char,'slowmoving') ):
            FFX_ObjectSetAttr(char,'slowmoving',0)
            maxHealth = Object_GetAttr(char,'maxHealth')
            hp=Object_GetAttr(char,'health')/1.1
            Object_SetAttr(char,'health',hp)
            Object_SetAttr(char,'maxHealth',maxHealth/1.1)
            ag=Object_GetAttr(char,'templateAgility')+3
            Object_SetAttr(char,'agility',ag)
            Object_SetAttr(char,'templateAgility',ag)
        return
    if update==0 and ( not FFX_ObjectGetAttr(char,'slowmoving') ) \
       and ( not Character_HasAttribute(char,'slow moving') ):
        FFX_ObjectSetAttr(char,'slowmoving',1)
        maxHealth = Object_GetAttr(char,'maxHealth')     
        # check that this wasn't already changed by FFX in an earlier freeroam map and already lowered
        if not FreeroamMapJumped():
            hp=Object_GetAttr(char,'health')*1.1
            Object_SetAttr(char,'health',hp)
            Object_SetAttr(char,'maxHealth',maxHealth*1.1)
        ag=Object_GetAttr(char,'agility')-3
        if ag<0:
            ag=0
        Object_SetAttr(char,'agility',ag)
        Object_SetAttr(char,'templateAgility',ag)


Back up before you do any of that; as I said, I haven't really been able to test this!

Let me know if it helps or if it chokes.
Courage is knowing it might hurt, and doing it anyway. Stupidity is the same. And that's why life is hard. - Jeremy Goldberg

BentonGrey

#15
Okay, I'm getting ready to do this, but I don't quite understand something.  If I go all the way down to def initunstablemolecules, then I will overwrite the code for heavy lifter.  I'm going to assume that you meant me just to replace the two functions, and test it that way.  If that is wrong, let me know.

:EDIT: That seems to have fixed the problem!  Stumpy my friend, you are a genius. :D
God Bless
"If God came down upon me and gave me a wish again, I'd wish to be like Aquaman, 'cause Aquaman can take the pain..." -Ballad of Aquaman
Check out mymods and blog!
https://bentongrey.wordpress.com/

stumpy

#16
Glad it worked. You are spot on that I only intended to replace the code for initnimble and initslowmoving. I have been doing so much experimental testing to my own code that apparently  I didn't even realize the HEAVY LIFTER code was part of the block I described. Good on you for figuring that out. Sorry for being so unclear.

Thanks for the compliment. Of course, the sagest advice is given to the clever people who know how to use it. On FR, I am lucky to have the cleverest friends on the 'net. I toss a spade to the earth and someone will uncover ore! :thumbup:

Courage is knowing it might hurt, and doing it anyway. Stupidity is the same. And that's why life is hard. - Jeremy Goldberg