Jump to content


Photo

Need help with a bug/problem


  • Please log in to reply
12 replies to this topic

#1 Denedil

Denedil
  • Member
  • 11 posts

Posted 10 August 2010 - 12:42 PM

First off, awesome work on all the mods guys, I ran the big world installer with no problems and have been playing for many an hour.... havn't had any big problems until now...

On the third level of Durlag's Tower in BG1, during the chess game, upon killing the king and ending the match, I am getting major lag.  
Now if I pause the game or go to any of the menus, it goes away.
Changing areas doesn't help, (I even teleported to baldurs gate..... still lagging...)
Loading an older save cures the problem.
Now I am no modder, but I am assuming some script or some such is running in hyper mode making me lag, but I have no idea how to check such an idea.
I was loving all of the added content up until this point..... I have no save "newer" than several hours, and prefer not to have to do all of that time over again...
Help please :unsure: .

#2 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 10 August 2010 - 02:02 PM

Changing areas doesn't help, (I even teleported to baldurs gate..... still lagging...)

Well, the scripts running in the old area only stop when you use the Worldmap to move to new area, the teleporting just adds the new area scripts to the lagging line of scripts that is run... so use the worldmap.
Yeah, that doesn't cure anything... but the LSTest in my MMFAQs thread can give you hints on what's happening... just be warned that you need to uninstall it to actually be able to continue the game much further...

Deactivated account. The user today is known as The Imp.


#3 Denedil

Denedil
  • Member
  • 11 posts

Posted 10 August 2010 - 05:18 PM

Ok I downloaded LSTest and got it running (after a LONG installation)
It's spamming the following:
Running Block 2 of CCRAWLER.BCS

Any help in what to do next is very much appreciated :Bow: .

#4 10th

10th
  • Member
  • 621 posts

Posted 11 August 2010 - 01:59 AM

I assume that you did a BiG World Project install.

Go to your BG2 directory and look for a file named change-log.bat. Right-click and choose edit. Change ####.### to ccrawler.bcs.
Wait a bit till the DOS-window closes.
Now you should be able to find the following files in your BG2 directory:
- change-log.txt
- several ccrawler.(insert ascending number here).bcs

Post the content of change-log.txt and attach the newly created ccrawler.(insert ascending number here).bcs in zip/rar/7zip format to your post.


If you didn't do a BWP install you'll have to the following beforehand:
- copy and rename one of your Setup-x.exe in your BG2 directory to WeiDU.exe.
- open notepad copy&paste WeiDU.exe --log nul --change-log ####.### >change-log.txt
- save it as change-log.bat and as file format choose all files. Place this file in your BG2 directory.
- continue from above.

10th
Avast! You cannot defeat our titan-mounted submarine staffed by cannibal vikings! - Nodwick

"I grab his deceased spirit and piledrive it back into his body, duplicating raise dead." - Psyren Oots board

#5 Denedil

Denedil
  • Member
  • 11 posts

Posted 11 August 2010 - 07:39 AM

I did as you said, however it's acting like nothing changed the file. This is what it says in the changelog, and no ccrawler.bcs file is being made.

Mods affecting CCRAWLER.BCS:

(nothing afterwards)

#6 10th

10th
  • Member
  • 621 posts

Posted 11 August 2010 - 08:02 AM

I did as you said, however it's acting like nothing changed the file. This is what it says in the changelog, and no ccrawler.bcs file is being made.

Mods affecting CCRAWLER.BCS:

(nothing afterwards)


Well, then the other way:

http://www.shsforums...8-nearinfinity/
Download Near Infinity from that thread, if you don't have Java download and install it too.

- Extract the rar archive with the latest Near Infinity in it to any folder you want.
- Double click the Near Infinity beta 20.jar
- In Near Infinity go to Game->Open Game and navigate to your BG2 directory and choose the file chitin.key
- Now that you told NI where your game is, look in the side bar in BCS and Override for ccrawler.bcs
- Click on it and choose Export with the option as script source
- rename the resulting ccrawler.baf to ccrawler.txt and attach it to your post.

Just to compare here's my ccrawler.bcs:
IF
	AttackedBy([ANYONE],DEFAULT)
THEN
	RESPONSE #100
		AttackReevaluate(LastAttackerOf(Myself),100)
END

IF
	See(NearestEnemyOf(Myself))
	!StateCheck(NearestEnemyOf(Myself),STATE_HELPLESS)
THEN
	RESPONSE #100
		AttackReevaluate(NearestEnemyOf(Myself),45)
END

IF
	ActionListEmpty()
THEN
	RESPONSE #100
		AttackReevaluate(NearestEnemyOf(Myself),45)
END

10th
Avast! You cannot defeat our titan-mounted submarine staffed by cannibal vikings! - Nodwick

"I grab his deceased spirit and piledrive it back into his body, duplicating raise dead." - Psyren Oots board

#7 Denedil

Denedil
  • Member
  • 11 posts

Posted 11 August 2010 - 08:34 AM

This is what mine says, looks the same to me.
IF
AttackedBy([ANYONE],DEFAULT)
THEN
RESPONSE #100
AttackReevaluate(LastAttackerOf(Myself),100)
END

IF
See(NearestEnemyOf(Myself))
!StateCheck(NearestEnemyOf(Myself),STATE_HELPLESS)
THEN
RESPONSE #100
AttackReevaluate(NearestEnemyOf(Myself),45)
END

IF
ActionListEmpty()
THEN
RESPONSE #100
AttackReevaluate(NearestEnemyOf(Myself),45)
END

Note: It's all spaced like yours, copy/paste/the forum bunched it all up like that.

Edited by Denedil, 11 August 2010 - 08:35 AM.


#8 10th

10th
  • Member
  • 621 posts

Posted 11 August 2010 - 08:55 AM

Weird.
Just to check, I teleported my party to ARD014, where all those Crypt Crawlers with ccrawler.bcs are located. I had no stuttering at all. In a few days I'll tackle Durlag's Tower myself, then I'll see if there are any problems.

In the meantime:
Your PC doesn't happen to hail from the dark ages (less than 2GB RAM on WinXP or newer, CPU way below Dual Core along the lines of laptop CPU with less than 2 GHZ)?

10th

Edited by 10th, 11 August 2010 - 08:55 AM.

Avast! You cannot defeat our titan-mounted submarine staffed by cannibal vikings! - Nodwick

"I grab his deceased spirit and piledrive it back into his body, duplicating raise dead." - Psyren Oots board

#9 Denedil

Denedil
  • Member
  • 11 posts

Posted 11 August 2010 - 09:05 AM

Not that bad, but I've played BG1/2 all the way through multiple times without any lagging...
Pentium 4 2.8ghz, gig and a half of ram (one stick fried a while back), radeon 9800 pro, watercooled and overclocked to hell (stable....).

I teleported around and killed all of the crawlers (using near infinity for their locations...) that didn't do a lick of good....

#10 Denedil

Denedil
  • Member
  • 11 posts

Posted 11 August 2010 - 09:08 AM

Just for curiosity I loaded up a very old save, teleported to ARD014, and guess what... no lag.

#11 Denedil

Denedil
  • Member
  • 11 posts

Posted 11 August 2010 - 09:10 AM

Not sure if it's helpful any, but like I said, it seemed to happen as soon as I killed the king in the chess game, maybe after I looted him, not sure. But I had killed most of the other monsters (pawns) not the queen. The remaining ones go up in a puff of smoke, and I start lagging like heck.

#12 10th

10th
  • Member
  • 621 posts

Posted 11 August 2010 - 09:26 AM

That suggests that there is a problem with the SCS enhanced chess battle. Out of curiosity how did you kill the chess figures? Piece by piece, or a preemptive strike with web, exploding oils, necklaces of missiles, fireballs, skulltraps etc.?

10th

Edited by 10th, 11 August 2010 - 09:30 AM.

Avast! You cannot defeat our titan-mounted submarine staffed by cannibal vikings! - Nodwick

"I grab his deceased spirit and piledrive it back into his body, duplicating raise dead." - Psyren Oots board

#13 Denedil

Denedil
  • Member
  • 11 posts

Posted 11 August 2010 - 09:36 AM

They charged me, then two wands of fire, and I believe two potions of fiery burning, then focused on the king, umm.... arrows of frost/fire/acid, corrosive hammer +1, magic missiles from edwin. Got slowed and lightning bolted to heck by the traps.  By the time the king died, there were only about 4-5 pieces left, including the queen.

I didn't know the chess battle had even been modified, I was getting my butt kicked too badly to notice I suppose.

Edited by Denedil, 11 August 2010 - 09:38 AM.