AI locks up.
Moderator: Matt Caspermeyer
- UnFleshedOne
- Fighter pilot
- Posts: 31
- Joined: Thu Jul 28, 2005 1:01 am
- Location: Calgary
AI locks up.
I'm around 50th turn in the game and house Al'Malik locks during its turn, my CPU going 100% and that's it until I kill the prosess.
Is there any way to transfer control from AI-run house to me? To see if I can go past this turn. I'd really like to save this save .
Is there any way to transfer control from AI-run house to me? To see if I can go past this turn. I'd really like to save this save .
Open mind is like a fortress with its gates unbarred and unguarded.
Re: AI locks up.
Nope.
There are several known bugs that could cause a crash. All you can do is go back to the last save and run it again; set the game to autisave 2x a turn and you will have more flexibility in the future.
Funny about the 100% CPU use though. Never heard of that in connection with EFS.
There are several known bugs that could cause a crash. All you can do is go back to the last save and run it again; set the game to autisave 2x a turn and you will have more flexibility in the future.
Funny about the 100% CPU use though. Never heard of that in connection with EFS.
Grimly
- cy387_lk
- Vau Ambassador
- Posts: 236
- Joined: Mon Jan 21, 2002 2:01 am
- Location: Mexico City, Land of Drunk Mariachis
- Contact:
Re: AI locks up.
As soon as I know there is no way to take control over Ai-controlled house. I've already heard once about the problem of yours. Sometimes this happenes when spaceships movement points were set wrong. Anyway it's difficult to say what could cause a loop. Try to make a search on this forum on "Fixing it ourself" and here on "Hyperion".
Which version are you running?
/////
hehe, Grimly Fiendish, never thought I coud meet someone "old" here these days =) nice to see you
Which version are you running?
/////
hehe, Grimly Fiendish, never thought I coud meet someone "old" here these days =) nice to see you
Do I like science fiction? Sure! But only a bad one!...
("Tales of Pirx The Pilot" after Stanislaw Lem)
("Tales of Pirx The Pilot" after Stanislaw Lem)
- UnFleshedOne
- Fighter pilot
- Posts: 31
- Joined: Thu Jul 28, 2005 1:01 am
- Location: Calgary
Re: AI locks up.
I'm running Hyperion, last one (downloaded it only recently).
Anyway, I fixed it . Using Soft Ice and good measure of SWAG I broke out of infinite loop. Nothing crushed, not even once, that's what I call a robust code . I don't know what couldn't AI decide that time, but couple turns later this house declared war on me .
Anyway, I fixed it . Using Soft Ice and good measure of SWAG I broke out of infinite loop. Nothing crushed, not even once, that's what I call a robust code . I don't know what couldn't AI decide that time, but couple turns later this house declared war on me .
Open mind is like a fortress with its gates unbarred and unguarded.
- UnFleshedOne
- Fighter pilot
- Posts: 31
- Joined: Thu Jul 28, 2005 1:01 am
- Location: Calgary
Re: AI locks up.
Well, it didn't last long. Now I have exception breakpoint reached or something 0x80000003 at point 0x7c901230. Rebels now.
Open mind is like a fortress with its gates unbarred and unguarded.
- cy387_lk
- Vau Ambassador
- Posts: 236
- Joined: Mon Jan 21, 2002 2:01 am
- Location: Mexico City, Land of Drunk Mariachis
- Contact:
Re: AI locks up.
Hmm, it looks like some units stats problems. The last version of Hyperion is relatively new, and carries lots of changes in that area and some AI improvements. And I know very few people who played it by 100%. So there may be a bunch of still uncovered errors. I'd recommend to look into these errors you have and report them to Matt. That's the fastest way to repair them.
Do I like science fiction? Sure! But only a bad one!...
("Tales of Pirx The Pilot" after Stanislaw Lem)
("Tales of Pirx The Pilot" after Stanislaw Lem)
Re: AI locks up.
That error is something i've never seen.
I'll have to look into the soft ice/SWAG thing . . .
Don't worry, cy, I'm not going anywhere until I fix fading Suns, or someone else fixes it!
I'll have to look into the soft ice/SWAG thing . . .
Don't worry, cy, I'm not going anywhere until I fix fading Suns, or someone else fixes it!
Grimly
- UnFleshedOne
- Fighter pilot
- Posts: 31
- Joined: Thu Jul 28, 2005 1:01 am
- Location: Calgary
Re: AI locks up.
Just to be clear, SWAG is "Scientific Wild Ass Guess".
Open mind is like a fortress with its gates unbarred and unguarded.
- cy387_lk
- Vau Ambassador
- Posts: 236
- Joined: Mon Jan 21, 2002 2:01 am
- Location: Mexico City, Land of Drunk Mariachis
- Contact:
Re: AI locks up.
"fix" - hehe, I like sound of that.
... Me too, I'll try to fully play it and make some tests.
... Me too, I'll try to fully play it and make some tests.
Do I like science fiction? Sure! But only a bad one!...
("Tales of Pirx The Pilot" after Stanislaw Lem)
("Tales of Pirx The Pilot" after Stanislaw Lem)
Re: AI locks up.
Me three
Hope to get a new machine soon. When that happens i can play EFS.
Hope to get a new machine soon. When that happens i can play EFS.
Enemies strengthen you.
Allies weaken.
I tell you this in the hope that it will help you understand why I act as I do in full knowledge that great forces accumulate in my Empire but with one wish--the wish to destroy me.
Allies weaken.
I tell you this in the hope that it will help you understand why I act as I do in full knowledge that great forces accumulate in my Empire but with one wish--the wish to destroy me.
Re: AI locks up.
Poor lordmoore! Hope you'll be running XP.
Unfleshed dude, do you know how to read breakpoints etc? That is, what do those numbers you give mean to someone trying to either fix or work around---at any rate, to identify---that particular problem?
---How do you get the game back and running after using SoftIce? I won't pay for it, but I have downloaded Olly (google ollydbg) and have it set as a just-in-time debugger. Don't know for sure, but i assume that means that when a game freezes Olly will catch it and tell me something.
---Are you familiar with REC Studio 2.00, the Reverse Engineering Compiler, i.e., decompiler? It was just released August 1. Go to backerstreet.com. I have it running and it's a very cool tool, but
(a) in XP, it freezes when I open EFS! probably a matter of limited backwards compatibility---see b.
(b) it runs ok in Win98 but shows no procedures, which seem to be the heart of the exe file. So as far as AI coding, build tables, and so forth, I can't see source code. I've learned more from the hex editor AXE.
(c) an older version, REC, runs in Win98 as well, but I can't figure it out.
I have a snip of UnitBuildTable code Matt gave me, but I am suspecting (gasp!) that it is incomplete. As I have noted elsewhere, it seems that changing the unitspot table can change what units the AI builds, and that is not part of the scheme outlined in that snippet.
Anyway, this is getting offtopic, but UnFleshed, I hope you see this. If anyone finds anything out about these tools or the source code, please post it under Fixing It Ourselves. You know _I_ will!
Unfleshed dude, do you know how to read breakpoints etc? That is, what do those numbers you give mean to someone trying to either fix or work around---at any rate, to identify---that particular problem?
---How do you get the game back and running after using SoftIce? I won't pay for it, but I have downloaded Olly (google ollydbg) and have it set as a just-in-time debugger. Don't know for sure, but i assume that means that when a game freezes Olly will catch it and tell me something.
---Are you familiar with REC Studio 2.00, the Reverse Engineering Compiler, i.e., decompiler? It was just released August 1. Go to backerstreet.com. I have it running and it's a very cool tool, but
(a) in XP, it freezes when I open EFS! probably a matter of limited backwards compatibility---see b.
(b) it runs ok in Win98 but shows no procedures, which seem to be the heart of the exe file. So as far as AI coding, build tables, and so forth, I can't see source code. I've learned more from the hex editor AXE.
(c) an older version, REC, runs in Win98 as well, but I can't figure it out.
I have a snip of UnitBuildTable code Matt gave me, but I am suspecting (gasp!) that it is incomplete. As I have noted elsewhere, it seems that changing the unitspot table can change what units the AI builds, and that is not part of the scheme outlined in that snippet.
Anyway, this is getting offtopic, but UnFleshed, I hope you see this. If anyone finds anything out about these tools or the source code, please post it under Fixing It Ourselves. You know _I_ will!
Grimly
- UnFleshedOne
- Fighter pilot
- Posts: 31
- Joined: Thu Jul 28, 2005 1:01 am
- Location: Calgary
Re: AI locks up.
Well, it does identify problem most of the time (different problems most of the time produce different errors), especially if it was already spotted and fixed or undestood. And it can say much more to developer .Unfleshed dude, do you know how to read breakpoints etc? That is, what do those numbers you give mean to someone trying to either fix or work around---at any rate, to identify---that particular problem?
The good thing about Soft Ice is that you don't have to run program you are debugging "under" it (like you have to "attach" most of debuggers to the process). And it runs in RING 0 (if I am not mistaken), which means that you can debug a debugger with SI .---How do you get the game back and running after using SoftIce?
Anyway, with SI I fixed that other error, when AI couldn't decide something and apparently got itself into infinite loop. I just went to SI (Ctrl-D) and because EFS took all CPU time, naturally I found myself in that loop. Then I just traced for a while, defined borders of the loop and screwed around with some conditional jumps. (just changed appropriate flag in flag register) After each changed jump I let it loose to see, if the loop have been broken. After several such attempts the game just continued to next house. I don't know if it was sheer luck, that I didn't crush the game (I could have easily bypassed some null value check for example), or that piece of code was written using "defensive" style of programming, or there was nothing critical, just some case of Buridan's ass . Anyway, I played it some dozens of turns after, got that breakpoint thing with rebels, bypassed it by rolling back for couple of turns (no small deal, mind you!), and then I played it some 80-100 turns more.
Hope it is clear, if not (I'm no writer ) say so and I'll try to explain better.
I can send you SI for "trial and evaluation" purposes if you need it. Or you can download it from eDonkey or torrent. To run it under XP you need version 2.6. It comes with DriverStudio 2.6 (under 40Mb) I've never seen it alone.I won't pay for it, but I have downloaded Olly (google ollydbg) and have it set as a just-in-time debugger. Don't know for sure, but i assume that means that when a game freezes Olly will catch it and tell me something.
JIT will mostly catch unhandled exceptions (there really should not be any in finished programs, but...). Probably you should be able to set it to catch all exceptions...
No, thanks for the link.---Are you familiar with REC Studio 2.00, the Reverse Engineering Compiler, i.e., decompiler? It was just released August 1. Go to backerstreet.com.
Problems with decompillers is that you almost never can build it back . But for understanding the code it can be very helpful, yes.
Open mind is like a fortress with its gates unbarred and unguarded.
- UnFleshedOne
- Fighter pilot
- Posts: 31
- Joined: Thu Jul 28, 2005 1:01 am
- Location: Calgary
Re: AI locks up.
BTW, REC rus under XP if you set compatibility to Win98 . But yes, it does nothing
Open mind is like a fortress with its gates unbarred and unguarded.
Re: AI locks up.
Thanks! No, your explanation would be perfectly clear to a programmer---of course I understood almost nothing, because I don't know how to use a debugger (I don't know the difference between an address and an offset!), but I am trying to learn.
Olly just caught an error at 0000003C after a game ended; I clicked OK and EFS got stuck. That's not even a game mechanics issue---I think it just doesn't like the screen saver. Olly was unable to get me past the exception.
Will try a few things . . . I know there ARE procedures in the file (of course there have to be) because Olly counts some 1400.
<small>[ 05.08.2005, 15:01: Message edited by: Grimly Fiendish ]</small>
Olly just caught an error at 0000003C after a game ended; I clicked OK and EFS got stuck. That's not even a game mechanics issue---I think it just doesn't like the screen saver. Olly was unable to get me past the exception.
Will try a few things . . . I know there ARE procedures in the file (of course there have to be) because Olly counts some 1400.
<small>[ 05.08.2005, 15:01: Message edited by: Grimly Fiendish ]</small>
Grimly
Re: AI locks up.
I'm finding RECS does NOT run any better in 98 mode in XP. That is, it still freezes when I open EFS.exe.
Don't know if by "does nothing" you mean you had a freeze too. I find it works fine on EFS.exe in W98, it just can't find procedures. Which is to say it does nothing really useful.
Don't know if by "does nothing" you mean you had a freeze too. I find it works fine on EFS.exe in W98, it just can't find procedures. Which is to say it does nothing really useful.
Grimly
Who is online
Users browsing this forum: No registered users and 8 guests