Jump to content


Photo

Weird Bug 2


  • This topic is locked This topic is locked
7 replies to this topic

#1 Gilgamesh

Gilgamesh
  • Modder
  • 215 posts

Posted 22 October 2004 - 12:52 PM

Well, this time the game prevents me from resting and saving. It happens after the modīs main story has been completed. I just cannot rest or save no matter what I do and where I go. The only thing which can affect to this would probably be the script which ends teh FINAL BATTLE!!!! Here it is if you can think of something which causes this:

IF
	Global("Theendisnear","GLOBAL",1)
THEN
	RESPONSE #100
  CutSceneId(Player1)
  SmallWait(5)
  FadeToColor([20.0],0)
  Wait(1)
  ActionOverride("Catt2",DestroySelf())
  DestroyItem("DragCap")
  DestroyItem("ChaKey")
  SmallWait(1)
  MakeUnselectable(1)
  ActionOverride("Wulfg2",MakeUnselectable(1))
  ActionOverride("Brue2",MakeUnselectable(1))
  ActionOverride("Reg2",MakeUnselectable(1))
  ActionOverride("Anomen",MakeUnselectable(1))
  ActionOverride("Jaheira",MakeUnselectable(1))
  ActionOverride("Aerie",MakeUnselectable(1))
  ActionOverride("Nalia",MakeUnselectable(1))
  ActionOverride("Viconia",MakeUnselectable(1))
  ActionOverride("Cernd",MakeUnselectable(1))
  ActionOverride("Korgan",MakeUnselectable(1))
  ActionOverride("Minsc",MakeUnselectable(1))
  ActionOverride("Yoshimo",MakeUnselectable(1))
  ActionOverride("Jan",MakeUnselectable(1))
  ActionOverride("HaerDalis",MakeUnselectable(1))
  ActionOverride("Edwin",MakeUnselectable(1))
  ActionOverride("Valygar",MakeUnselectable(1))
  ActionOverride("Keldorn",MakeUnselectable(1))
  ActionOverride("Mazzy",MakeUnselectable(1))
  ActionOverride("Imoen",MakeUnselectable(1))
  ActionOverride("Enter2",MakeUnselectable(1))
  ActionOverride("Jarlax2",MakeUnselectable(1))
  ActionOverride("Randall",MakeUnselectable(1))
  ActionOverride("Alissa1",MakeUnselectable(1))
  ActionOverride("Mordrg",MakeUnselectable(1))
  Wait(2)
  LeaveAreaLUA("AR3950","",[955.705],5)
  ActionOverride(Player2,LeaveAreaLUA("AR3950","",[960.760],5))
  ActionOverride(Player3,LeaveAreaLUA("AR3950","",[990.740],5))
  ActionOverride(Player4,LeaveAreaLUA("AR3950","",[1000.705],5))
  ActionOverride(Player5,LeaveAreaLUA("AR3950","",[1020.670],5))
  ActionOverride(Player6,LeaveAreaLUA("AR3950","",[1040.720],5))
  SmallWait(1)
  ActionOverride("Driz2",LeaveAreaLUA("AR3950","",[740.640],12))
  SmallWait(2)
  CreateCreature("Catt21",[770.610],12)
  SmallWait(1)
  ActionOverride("Catt2",DestroyItem("CaBow2"))
  SmallWait(1)
  ActionOverride("Catt2",EquipRanged())
  ActionOverride("Driz2",FaceObject(Player1))
  ActionOverride("Catt2",FaceObject(Player1))
  Wait(1)
  FadeFromColor([20.0],0)
  Wait(1)
  SetGlobal("Theendisnear","GLOBAL",2)
  UnhideGUI()
  EndCutSceneMode()
END

(MakeUnselectable(1) ends a longer unselectability)
The only thing which is fishy in this is the fact that no LOADING AREA is shown when the characters move to the new area.

So, please, anyone, ideas?

#2 Shed

Shed

    -Shed-

  • Modder
  • 2636 posts

Posted 22 October 2004 - 04:06 PM

You could try to diagnose the problem by leaving out parts of the script, for example the area moving or the unselectable. If it then works, you have identified the problem :).

#3 Gilgamesh

Gilgamesh
  • Modder
  • 215 posts

Posted 23 October 2004 - 02:52 AM

You could try to diagnose the problem by leaving out parts of the script, for example the area moving or the unselectable. If it then works, you have identified the problem :).

View Post


I know. But that takes time as I have to play the final battle before getting this script (I dare not to make it any shorter temperorarily because things tend to break if I even look at them after I have got them to work). I was hoping there was some clear problem. ;)

Iīll try the diagnose if there are no other ideas.

#4 hlidskialf

hlidskialf

    Incarnation of the Eternal Ale Warrior

  • Modder
  • 2510 posts

Posted 23 October 2004 - 03:08 AM

This is going to sound weird, but it's a shot in the dark. Try adding that final area to the MastArea.2da file. There might be an area script higher in the stack that is causing you your grief. *shrug*

The great wolf Fenrir gapes ever at the dwelling of the gods.


#5 Gilgamesh

Gilgamesh
  • Modder
  • 215 posts

Posted 24 October 2004 - 02:11 PM

Thankīs for the idea! Iīll try that as soon as I get a chance.

#6 fallen_demon

fallen_demon

    barely untraind assasian

  • Member
  • 451 posts

Posted 26 October 2004 - 01:35 PM

you could ctrl+y to get through the final battle quicker.
"I choose to believe what I was programed to believe."
Futurama quotes rock

#7 Gilgamesh

Gilgamesh
  • Modder
  • 215 posts

Posted 26 October 2004 - 02:21 PM

I have worked on this now and unfortunately nothing helps. Iīve discovered only that it is not the final script which causes the problem. This whole thing is very depressing as the mod would already be out without this.

Well, now Iīm going to fix the possible evil end for the mod and then Iīll get back to deal with this. There has to be some way to get around of the problem.

Edited by Gilgamesh, 26 October 2004 - 02:23 PM.


#8 Gilgamesh

Gilgamesh
  • Modder
  • 215 posts

Posted 27 October 2004 - 10:08 AM

The evil solution works fine now but it doesnīt allow me to rest either after completion.

Well, Iīve worked on this some more now. When I discovered that one NPC is left unselectable after the scripts, I was sure I had found the problem. I fixed it and tested and the thing that I find the most annoying in modding happened (again); the problem was not solved. Then I tried to remove all the unselectables and that didnīt help either. As unselectability is the only thing which I used in the final battle which can cause a rest interrupt (or does it?) I now have no idea what I could do. Thatīs why I decided to skip the damn final battle and do other things in the mod.
After Iīve done everything else, Iīll try to figure out something to fix the final battle problem but if I canīt, the mod will have to go out with it. People can either skip the final battle or play it just before battling Irenicus so that resting and saving disability doesnīt matter (auto-save still works).