Author Topic: Tutu Fixpack v5 Released!  (Read 16456 times)

Offline Ghreyfain

  • PPG
  • Planewalker
  • *****
  • Posts: 4705
  • Gender: Male
    • Pocket Plane Group
Re: Tutu Fixpack v5 Released!
« Reply #75 on: January 08, 2005, 12:16:04 PM »
Ah, here we go.  The startup fix is the problem, and... erm, how to replace a block of script that has a strref in it that may not be the same on everyone's install?
Earn Money Sleeping.

Offline Ghreyfain

  • PPG
  • Planewalker
  • *****
  • Posts: 4705
  • Gender: Male
    • Pocket Plane Group
Re: Tutu Fixpack v5 Released!
« Reply #76 on: January 08, 2005, 12:56:31 PM »
DECOMPILE_BCS_TO_BAF is one heckuva swell feature.  Anyways, the only remaining fix that I think you reported (reading Sim's todo list for Tutufix here), is the hpfix mega find and replace.

Don't suppose you could post the contents of your baldur.bcs related to hit point fixing?  I know it's long, but I'm sort of clueless at this point.
Earn Money Sleeping.

Offline Loriel

  • Planewalker
  • *****
  • Posts: 390
  • Gender: Male
    • Loriel's Downloads
Re: Tutu Fixpack v5 Released!
« Reply #77 on: January 14, 2005, 09:37:24 PM »
Sorry it took so long to reply to this.  The reason that the mega find-n-replace fails is because there's nothing to find related to hit point fixing (at least, I can't find anything).  Thanks to the NoteToSim left in the hpfix folder, it looks like all that needs to be found is the 6 XP reduce blocks at the bottom, but I could be wrong.  Here's my pre-tutufix baldur.bcs:

Quote
IF
  Global("fampsd","GLOBAL",1)
THEN
  RESPONSE #100
    SetGlobal("fampsd","GLOBAL",0)
    MoveGlobalObject("fampsd",Player1)
END

IF
  Global("famfer","GLOBAL",1)
THEN
  RESPONSE #100
    SetGlobal("famfer","GLOBAL",0)
    MoveGlobalObject("famfer",Player1)
END

IF
  Global("famimp","GLOBAL",1)
THEN
  RESPONSE #100
    SetGlobal("famimp","GLOBAL",0)
    MoveGlobalObject("famimp",Player1)
END

IF
  Global("famrab","GLOBAL",1)
THEN
  RESPONSE #100
    SetGlobal("famrab","GLOBAL",0)
    MoveGlobalObject("famrab",Player1)
END

IF
  Global("famdust","GLOBAL",1)
THEN
  RESPONSE #100
    SetGlobal("famdust","GLOBAL",0)
    MoveGlobalObject("famdust",Player1)
END

IF
  Global("famfair","GLOBAL",1)
THEN
  RESPONSE #100
    SetGlobal("famfair","GLOBAL",0)
    MoveGlobalObject("famfair",Player1)
END

IF
  Global("famcat","GLOBAL",1)
THEN
  RESPONSE #100
    SetGlobal("famcat","GLOBAL",0)
    MoveGlobalObject("famcat",Player1)
END

IF
  Global("famquas","GLOBAL",1)
THEN
  RESPONSE #100
    SetGlobal("famquas","GLOBAL",0)
    MoveGlobalObject("famquas",Player1)
END

IF
  Global("JPRemoveBhaal","GLOBAL",0)
  !Class(Player1,MONK)
THEN
  RESPONSE #100
    ActionOverride(Player1,CreateItem("_staf01",0,0,0))  // ~Quarter Staff~
    ActionOverride(Player1,FillSlot(SLOT_WEAPON0))
    ActionOverride(Player1,SelectWeaponAbility(SLOT_WEAPON0,0))
    ActionOverride(Player1,ApplySpellRES("jpremove",Myself))  // <Invalid Strref -1>
    SetGlobal("JPRemoveBhaal","GLOBAL",1)
END

IF
  Global("JPRemoveBhaal","GLOBAL",0)
  Class(Player1,MONK)
THEN
  RESPONSE #100
    ActionOverride(Player1,ApplySpellRES("jpremove",Myself))  // <Invalid Strref -1>
    SetGlobal("JPRemoveBhaal","GLOBAL",1)
END

IF
  Global("Dream","GLOBAL",2)
  ReputationGT(Player1,9)
  Global("JPDreamAddAbility","GLOBAL",0)
THEN
  RESPONSE #100
    ActionOverride(Player1,ApplySpellRES("jpglvl1",Myself))  // <Invalid Strref -1>
    SetGlobal("JPDreamAddAbility","GLOBAL",1)
END

IF
  Global("Dream","GLOBAL",2)
  ReputationLT(Player1,10)
  Global("JPDreamAddAbility","GLOBAL",0)
THEN
  RESPONSE #100
    ActionOverride(Player1,ApplySpellRES("jpelvl1",Myself))  // <Invalid Strref -1>
    SetGlobal("JPDreamAddAbility","GLOBAL",1)
END

IF
  Global("Dream","GLOBAL",3)
  ReputationGT(Player1,9)
  Global("JPDreamAddAbility","GLOBAL",1)
THEN
  RESPONSE #100
    ActionOverride(Player1,ApplySpellRES("jpglvl1",Myself))  // <Invalid Strref -1>
    SetGlobal("JPDreamAddAbility","GLOBAL",2)
END

IF
  Global("Dream","GLOBAL",3)
  ReputationLT(Player1,10)
  Global("JPDreamAddAbility","GLOBAL",1)
THEN
  RESPONSE #100
    ActionOverride(Player1,ApplySpellRES("jpelvl1",Myself))  // <Invalid Strref -1>
    SetGlobal("JPDreamAddAbility","GLOBAL",2)
END

IF
  Global("Dream","GLOBAL",4)
  ReputationGT(Player1,9)
  Global("JPDreamAddAbility","GLOBAL",2)
THEN
  RESPONSE #100
    ActionOverride(Player1,ApplySpellRES("jpglvl2",Myself))  // <Invalid Strref -1>
    SetGlobal("JPDreamAddAbility","GLOBAL",3)
END

IF
  Global("Dream","GLOBAL",4)
  ReputationLT(Player1,10)
  Global("JPDreamAddAbility","GLOBAL",2)
THEN
  RESPONSE #100
    ActionOverride(Player1,ApplySpellRES("jpelvl2",Myself))  // <Invalid Strref -1>
    SetGlobal("JPDreamAddAbility","GLOBAL",3)
END

IF
  Global("Dream","GLOBAL",5)
  ReputationGT(Player1,9)
  Global("JPDreamAddAbility","GLOBAL",3)
THEN
  RESPONSE #100
    ActionOverride(Player1,ApplySpellRES("jpglvl2",Myself))  // <Invalid Strref -1>
    SetGlobal("JPDreamAddAbility","GLOBAL",4)
END

IF
  Global("Dream","GLOBAL",5)
  ReputationLT(Player1,10)
  Global("JPDreamAddAbility","GLOBAL",3)
THEN
  RESPONSE #100
    ActionOverride(Player1,ApplySpellRES("jpelvl2",Myself))  // <Invalid Strref -1>
    SetGlobal("JPDreamAddAbility","GLOBAL",4)
END

IF
  Global("Dream","GLOBAL",6)
  ReputationGT(Player1,9)
  Global("JPDreamAddAbility","GLOBAL",4)
THEN
  RESPONSE #100
    ActionOverride(Player1,ApplySpellRES("jpglvl3",Myself))  // <Invalid Strref -1>
    SetGlobal("JPDreamAddAbility","GLOBAL",5)
END

IF
  Global("Dream","GLOBAL",6)
  ReputationLT(Player1,10)
  Global("JPDreamAddAbility","GLOBAL",4)
THEN
  RESPONSE #100
    ActionOverride(Player1,ApplySpellRES("jpelvl3",Myself))  // <Invalid Strref -1>
    SetGlobal("JPDreamAddAbility","GLOBAL",5)
END

IF
  Global("Dream","GLOBAL",7)
  ReputationGT(Player1,9)
  Global("JPDreamAddAbility","GLOBAL",5)
THEN
  RESPONSE #100
    ActionOverride(Player1,ApplySpellRES("jpglvl3",Myself))  // <Invalid Strref -1>
    SetGlobal("JPDreamAddAbility","GLOBAL",6)
END

IF
  Global("Dream","GLOBAL",7)
  ReputationLT(Player1,10)
  Global("JPDreamAddAbility","GLOBAL",5)
THEN
  RESPONSE #100
    ActionOverride(Player1,ApplySpellRES("jpelvl3",Myself))  // <Invalid Strref -1>
    SetGlobal("JPDreamAddAbility","GLOBAL",6)
END

IF
  Global("JPReduceXP","GLOBAL",0)
  AreaCheck("FW2600")
THEN
  RESPONSE #100
    AddXPObject(Player1,-1)
    SetGlobal("JPReduceXP","GLOBAL",1)
END

IF
  Global("JPReduceXPP2","GLOBAL",0)
  AreaCheck("FW2600")
THEN
  RESPONSE #100
    AddXPObject(Player2,-1)
    SetGlobal("JPReduceXPP2","GLOBAL",1)
END

IF
  Global("JPReduceXPP3","GLOBAL",0)
  AreaCheck("FW2600")
THEN
  RESPONSE #100
    AddXPObject(Player3,-1)
    SetGlobal("JPReduceXPP3","GLOBAL",1)
END

IF
  Global("JPReduceXPP4","GLOBAL",0)
  AreaCheck("FW2600")
THEN
  RESPONSE #100
    AddXPObject(Player4,-1)
    SetGlobal("JPReduceXPP4","GLOBAL",1)
END

IF
  Global("JPReduceXPP5","GLOBAL",0)
  AreaCheck("FW2600")
THEN
  RESPONSE #100
    AddXPObject(Player5,-1)
    SetGlobal("JPReduceXPP5","GLOBAL",1)
END

IF
  Global("JPReduceXPP6","GLOBAL",0)
  AreaCheck("FW2600")
THEN
  RESPONSE #100
    AddXPObject(Player6,-1)
    SetGlobal("JPReduceXPP6","GLOBAL",1)
END

Offline Ghreyfain

  • PPG
  • Planewalker
  • *****
  • Posts: 4705
  • Gender: Male
    • Pocket Plane Group
Re: Tutu Fixpack v5 Released!
« Reply #78 on: January 14, 2005, 09:57:26 PM »
Ah, nice of you to bump this, but I'm fairly confident that we've got it working for version 7 already.  If not, well, maybe this'll help us as we make our way to version 8. :)
Earn Money Sleeping.

Offline Loriel

  • Planewalker
  • *****
  • Posts: 390
  • Gender: Male
    • Loriel's Downloads
Re: Tutu Fixpack v5 Released!
« Reply #79 on: January 14, 2005, 10:02:11 PM »
Another question - is there a reason for having 6 globals for reducing XP?  In the Level 1 fix I had a different version of these blocks that worked well (especially for multi-player) that only used one.  As it's written, I believe that the game will take 1 second per user-created PC at the start of the game to set the XP correctly.  The main reason I'm asking is, since it was a part of my Level 1 fix (which I'm integrating into the Mac version), I don't think it's necessary anymore.  Here's what I used to accomplish the same goal:

Quote
IF
  Global("JMReduceXP","GLOBAL",0)
  AreaCheck("FW2600")
  XP(Player6,1)
THEN
  RESPONSE #100
    AddXPObject(Player6,-1)
    Continue()
END

IF
  Global("JMReduceXP","GLOBAL",0)
  AreaCheck("FW2600")
  XP(Player5,1)
THEN
  RESPONSE #100
    AddXPObject(Player5,-1)
    Continue()
END

IF
  Global("JMReduceXP","GLOBAL",0)
  AreaCheck("FW2600")
  XP(Player4,1)
THEN
  RESPONSE #100
    AddXPObject(Player4,-1)
    Continue()
END

IF
  Global("JMReduceXP","GLOBAL",0)
  AreaCheck("FW2600")
  XP(Player3,1)
THEN
  RESPONSE #100
    AddXPObject(Player3,-1)
    Continue()
END

IF
  Global("JMReduceXP","GLOBAL",0)
  AreaCheck("FW2600")
  XP(Player2,1)
THEN
  RESPONSE #100
    AddXPObject(Player2,-1)
    Continue()
END

IF
  Global("JMReduceXP","GLOBAL",0)
  AreaCheck("FW2600")
  XP(Player1,1)
THEN
  RESPONSE #100
    AddXPObject(Player1,-1)
    SetGlobal("JMReduceXP","GLOBAL",1)
END

Also, if you change the JMReduceXP to JPReduceXP, this could be used to simplify the .tp2 (specifically, _ar2600.bcs) to:

Quote
COPY_EXISTING ~_ar2600.bcs~ ~override~

DECOMPILE_BCS_TO_BAF
REPLACE_TEXTUALLY ~Global("Chapter","GLOBAL",-1)~
~Global("Chapter","GLOBAL",-1)
   GlobalGT("JPReduceXP","GLOBAL",0)~
COMPILE_BAF_TO_BCS

I know it's nit-picking, but I thought it might help. ;D

Offline Loriel

  • Planewalker
  • *****
  • Posts: 390
  • Gender: Male
    • Loriel's Downloads
Re: Tutu Fixpack v5 Released!
« Reply #80 on: January 14, 2005, 11:47:31 PM »
Since v7 isn't out yet (coming soon?) what should I do for the hpfix?  It's the only error left, and if v7 is going to be some time in the making, I'd like to get this out soon.

Offline Ghreyfain

  • PPG
  • Planewalker
  • *****
  • Posts: 4705
  • Gender: Male
    • Pocket Plane Group
Re: Tutu Fixpack v5 Released!
« Reply #81 on: January 15, 2005, 12:16:43 AM »
Oh, well, if you're in such dire need, I suppose I can get v7 out tomorrow with what's done already.  The other fixes can wait until v8.  But for now I'm going to bed. :)
Earn Money Sleeping.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: