HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Game Hangs Up!

08-13-2006, 04:00 PM#1
RodOfNOD
I have seen this bug only one time before and that was in usually really long games of Risk Revolution.

Now I am experiencing them much more frequently in the Risk map I am doing...

Basically the BUG is this, Game freezes so bad that you can sometimes get to the desktop and force quit but usually you have to hard reboot. By freeze I mean you will sometimes get a TINY bit of info after the lockup but usually its a full on lockup, NOT a crash.

As far as symptoms the only thing I can even remotely see is that sometimes it appears I as the host am chatting at the time.

Suggestions?
08-13-2006, 04:11 PM#2
The_AwaKening
Just a guess, but maybe a chat event not set to a true match, picking up on something you happened to type in your phrase somewhere. I'm thinking the actions might be a loop that isn't ending because it is checking for a substring that doesn't exist.

Take a look at all of your chat commands; especially the ones with loops.
08-13-2006, 04:25 PM#3
RodOfNOD
Well I hesitated even to mention the chat cuz im pretty sure its not that but it seemed it was a possiblity.

My event is simple.

Code:
call TriggerRegisterPlayerChatEvent( t, plv, "", false)


and inside the called trigger the first thing i do is this:

Code:
local string sc = StringCase( GetEventPlayerChatString(), false)
		
if SubString( sc, 0, 1) == "-" then

And I wasnt issuing commands so its not gonna be that unfortunately :P
08-14-2006, 04:08 AM#4
The_AwaKening
Normally a lockup without error is indication of an endless loop. Check for loops that could possibly not meet conditions to end. With what info you've given to me though, the assumption would obvisously be that it is in a chat event.
08-14-2006, 10:31 AM#5
The)TideHunter(
Quote:
Originally Posted by The_AwaKening
Normally a lockup without error is indication of an endless loop. Check for loops that could possibly not meet conditions to end. With what info you've given to me though, the assumption would obvisously be that it is in a chat event.

A endless loop wouldent make a lockup, it would cause a crash.
I experienced a lockup 3 days ago, the first 1 i ever had for Wc3, it was one of the spell making session entries, i spammed the spell, 3-4 times, and wc3 locked up.
I had to reboot, i couldent alt + f4 or desktop button.
Il try and see which map it was so we can look at the code.
08-14-2006, 12:24 PM#6
PitzerMike
Next time you play, try starting war3 with the -opengl argument.
I had random lockups before with directx but since I'm using opengl they're gone.
08-14-2006, 01:01 PM#7
Captain Griffen
Think the problem is solved now. Entering/leaving region endless loop (which do cause a freeze), with pathing causing it.
08-14-2006, 01:46 PM#8
Vexorian
Infinite loops can cause freezes that require reboot, if they are infinite loops that create new threads, like in the case with regions