Author Topic: Bug with "Restored Encounters"  (Read 3795 times)

Offline DrAzTiK

  • Planewalker
  • *****
  • Posts: 9
Bug with "Restored Encounters"
« on: July 16, 2010, 07:06:02 AM »
"Restored Encounters" use  in TP2 ::


/* Reputation Trap */
EXTEND_TOP amntrp01.bcs ~ub/encount/U!gtrap.baf~


U!gtrap.bat :

IF
   Delay(10)
   Range([PC],20)
   ReputationLT([PC],4)
   !StateCheck([PC],STATE_INVISIBLE)
   !StateCheck([PC],STATE_IMPROVEDINVISIBILITY)
   !GlobalTimerNotExpired("RepTrap","GLOBAL")
   !GlobalTimerNotExpired("MostNobleOrder","GLOBAL")
      AreaCheck("AR0300")
THEN
   RESPONSE #100
      SetGlobal("MostNobleOrder","GLOBAL",1)
      SetGlobalTimer("RepTrap","GLOBAL",1200)
      Wait(3)
      DisplayString(Myself,8205)
      CreateCreatureObject("REPTHF1",Myself,0,0,0)
END


I don't know at all what this script is supposed to do ? o_O

But by passing GLOBAL Most NobleOrder to 1 without creating the paladins who are supposed to attack you, It's now  impossible to make this fight appears  later.
(look at amntrp01.bcs)

Very sad considering it's the only time where it is possible to kill paladins in the game. :)


Offline Wisp

  • Planewalker
  • *****
  • Posts: 1176
Re: Bug with "Restored Encounters"
« Reply #1 on: July 16, 2010, 01:51:28 PM »
The script lets you meet Repthief if you trigger a guard trap in the Docks. The intention was probably that you meet Repthief in the Docks and regular guards and paladins everywhere else, but it seems like that all guard traps in Athkatla are non-functional except for 2 in the Docks. The other traps lack vertices and consequently don't span an area.

Offline DrAzTiK

  • Planewalker
  • *****
  • Posts: 9
Re: Bug with "Restored Encounters"
« Reply #2 on: July 17, 2010, 02:41:28 PM »
This script is not in the dock but in the slums and coz of it, it's impossible to fight the  paladins party . So this script   is removing a content of BG2 vanilla and Unfisnished Business is not supposed to do that! (or at least, make some notice in readme or rename "Restored Encounters" by "lesser encounters").

I think it's obvious that this block should go out ...
« Last Edit: July 17, 2010, 02:43:42 PM by DrAzTiK »

Offline Wisp

  • Planewalker
  • *****
  • Posts: 1176
Re: Bug with "Restored Encounters"
« Reply #3 on: July 17, 2010, 04:49:05 PM »
AMNTRP01.bcs is used all over Athkatla. The AreaCheck should keep Repthief from showing up outside the Docks. Setting the MostNobleOrder variable to 1 does not in itself disable anything since it's a timer.

Offline DrAzTiK

  • Planewalker
  • *****
  • Posts: 9
Re: Bug with "Restored Encounters"
« Reply #4 on: July 19, 2010, 09:59:19 AM »
Sorry I don't understand at all !

If you are in AR300  the first time you get <4 reputation  then this block will be read right ??

:IF
   Delay(10)
   Range([PC],20)
   ReputationLT([PC],4)
   !StateCheck([PC],STATE_INVISIBLE)
   !StateCheck([PC],STATE_IMPROVEDINVISIBILITY)
   !GlobalTimerNotExpired("RepTrap","GLOBAL")
   !GlobalTimerNotExpired("MostNobleOrder","GLOBAL")
      AreaCheck("AR0300")
THEN
   RESPONSE #100
      SetGlobal("MostNobleOrder","GLOBAL",1)
      SetGlobalTimer("RepTrap","GLOBAL",1200)
      Wait(3)
      DisplayString(Myself,8205)
      CreateCreatureObject("REPTHF1",Myself,0,0,0)
END


      SetGlobal("MostNobleOrder","GLOBAL",1)
      SetGlobal("MostNobleOrder","GLOBAL",1)
      SetGlobal("MostNobleOrder","GLOBAL",1)
      SetGlobal("MostNobleOrder","GLOBAL",1)
      SetGlobal("MostNobleOrder","GLOBAL",1)
      SetGlobal("MostNobleOrder","GLOBAL",1)
      SetGlobal("MostNobleOrder","GLOBAL",1)


===> Then how could it be possible to fight paladins, even in others maps if this "$^ù$^$ùing" variable is set to 1 ?

thanks

Offline Wisp

  • Planewalker
  • *****
  • Posts: 1176
Re: Bug with "Restored Encounters"
« Reply #5 on: July 19, 2010, 11:25:12 AM »
Oh, the variable is duplicated. The paladin block also checks if it's set to 0. Yeah in that case the UB addition can prevent the paladins from showing up.

 

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)?: