coldcrew Posted January 28, 2005 Posted January 28, 2005 I think I found the ultimate solution to the campaign/msvcrt.dll/instability problem on windows xp sp2. First make sure you have the msvcrt.dll that came with lomac in the lomac folder (this is for those of you who tried replacing it with other versions). Now create an empty file named "lockon.exe.local" without the quotes of course in the same folder where lockon.exe is located (C:\Program Files\Ubisoft\Eagle Dynamics\Lock On). When you start lomac you will get a couple of dialog boxes saying "The procedure entry point _resetstkoflw could not be located in the dynamic link library msvcrt.dll", just click ok and continue, go into your campaign and play it. The explanation. What we have here is a classic problem known as DLL HELL. Lomac comes with its own msvcrt.dll but due to the way it loads dlls, it ends up always loading the one in the /system32 folder which is buggy (it loads ntdll.dll which loads other dlls which load the wrong msvcrt.dll). The trick to force windows to load the msvcrt.dll in the lomac folder was to create a file with a .local extension, as in lockon.exe.local, which forces windows to load the right dll. I just tested the su25 campaign which worked for me and it flew it without errors for the first time ever. I would like to know how it works out for other sp2 users.
xylem Posted January 28, 2005 Posted January 28, 2005 I have WinXP (SP2) and have never had a problem from day one. Go figure. Asus P4t533-c P4 2.53 GHz 1.5 G Rambus WD 120 GB HD Leadtek A250 GeForce 4 Ti 4600 v 66.93 Creative SB Audigy Gamer Win XP Home (sp2) Direct X 9.0c Game Commander 2 Joystick: Logitech Freedom 2.4 Cordless (USB) v 4.30.170.0 Mouse: Logitech MX700 Cordless Optical (USB) v 9.79.1 Trackball: Logitech Cordless Optical Trackman v 9.79.1 LiteOn DVD-ROM LTD163 v 5.1.2535.0 Yamaha CD-RW; CRW-F1ZEN Iomega 100MB Zip Drive; USB Thermaltake View 71 Snow, Gigabyte Z390 Aorus Master, i9-9900K Coffee Lake,8core,16 Thread,3.6 GHz, Corsair Vengeance Pro 64 GB, NZXT Kraken X72 AIO CPU cooler, EVGA RTX 3080 XC3 Ultra Hybrid, Win 10
yamangman Posted January 28, 2005 Posted January 28, 2005 You could try my solution in the other thread, which also worked for me, i've actually completed the A-10 campaign without an error. Actually I enourage people to use this fix, it is easier and more effective then my method. Nice one coldcrew. Also xylem, could your sig be any bigger or any more pointless?
yamangman Posted January 28, 2005 Posted January 28, 2005 It's not a bug with the msvcrt.dll, it's the fact that Eagle have not used the more modern MSVCPP small-block heap memory management.
Dmut Posted January 28, 2005 Posted January 28, 2005 hello yamangman, that's an interesting theory. could you point to some information about that new small-block heap management methods? MSDN article or something? "There are five dangerous faults which may affect a general: recklessness, which leads to destruction; cowardice, which leads to capture; a hasty temper, which can be provoked by insults; a delicacy of honor which is sensitive to shame; over-solicitude for his men, which exposes him to worry and trouble." Sun Tzu [sigpic]http://forums.eagle.ru/signaturepics/sigpic2354_5.gif[/sigpic]
xylem Posted January 29, 2005 Posted January 29, 2005 I don't use a sig, yamangman. What I posted, in this instance only, was my system specs, as you know. Since I don't have any problems with MS Library files, and yet have SP2, I thought it might be useful for someone more computer savvy than me. If you are concerned about the use of forum space then perhaps you might consider avoiding seemingly arrogant challenges, so that others would not be compelled to reply. Thanks... Thermaltake View 71 Snow, Gigabyte Z390 Aorus Master, i9-9900K Coffee Lake,8core,16 Thread,3.6 GHz, Corsair Vengeance Pro 64 GB, NZXT Kraken X72 AIO CPU cooler, EVGA RTX 3080 XC3 Ultra Hybrid, Win 10
yamangman Posted January 30, 2005 Posted January 30, 2005 Seemingly being the operative word, a simple mistake.
experimental_pilot Posted January 30, 2005 Posted January 30, 2005 This idea completely solved my problem. Iv'e completed the A-10 Campaign and so far the first three missions of the f-15 campaign. Absolutely no problems at all now! Thanks alot coldcrew and thanks Yamangman for your help on the other forum!!!
bazzacop Posted February 11, 2005 Posted February 11, 2005 that worked 4 me guys nice 1 thks very much my god i can fly the missions without my game crashing once again abigTHANKYOU
Shepski Posted February 11, 2005 Posted February 11, 2005 Hi guys, I have been running through some v1.1 campaigns using the defualt 1.0 install plus the 1.1 add on and have not had a crash, freeze, or hiccup ever! This should give you some hope too. :)
bazzacop Posted February 11, 2005 Posted February 11, 2005 n1 shepski good to no keep up the good work :)
SimFan Posted February 13, 2005 Posted February 13, 2005 DLL hell: known issue with LockOn? This fix is a well documented way to solve some issues with legacy programs and the "DLL Hell" MS created along the way. We just tried this 'fix' for LockOn and until now things are OK. This, if it means less 'freezes' for us, would be a big relief ! Untill now, after about 30' of flight, sortie or Campaign, anytime was right for our setups to crash (XP SP2). If this was not LockOn, THE Sim for which we bought a new system to play it, it would have dissapeared from our HD long ago because of this. Also, if this would solve all crashes/freezes for us, it would be the first time ever a sim/game, that I know off, is affected by it THIS WAY (F4: it was the other way around: msvcrt.dll needed to be deleted in the F4 folder instead to make F4 more stable). Are there yet other people that can confirm this 'fix'. If it indeed fixes this for SP2, all I can say: Thanks, we're forever gratefull. One other thing: if I understand correctly v1.1 no longer needs this workaround ? Is this a known problem with LockOn, Shepski/Stormin... ? Why is there no more word on this ? I guess many/most LO pilots have switched to XP SP2 by now ? Thanks ALL. :wink: LockON is IT ! AMD 3500+ - GF6800GT - 1GB RAM low tatency - MSI NEO2 PLatinum 20" BENQ S-IPS TFT 1600X1200 - 32 bit color
SimFan Posted February 13, 2005 Posted February 13, 2005 Showstopper bugs ! Coldcrew: great, thx for the Campaign fix. But does this solve most other fixes as well for other people ?? Our setup never crashes at the start of any Campaign/Mission, but after quite some time (mostly +30'). This can hardly be caused by msvcrt.dll, can it ? This phenomena seems more like a memory leak -and /or- system specific to me. Hope most showstopper bugs get fixed with 1.1 ! Thx again all. :?: LockON is IT ! AMD 3500+ - GF6800GT - 1GB RAM low tatency - MSI NEO2 PLatinum 20" BENQ S-IPS TFT 1600X1200 - 32 bit color
coldcrew Posted February 13, 2005 Author Posted February 13, 2005 Re: Showstopper bugs ! Coldcrew: great, thx for the Campaign fix. But does this solve most other fixes as well for other people ?? Our setup never crashes at the start of any Campaign/Mission, but after quite some time (mostly +30'). This can hardly be caused by msvcrt.dll, can it ? This phenomena seems more like a memory leak -and /or- system specific to me. Hope most showstopper bugs get fixed with 1.1 ! Thx again all. :?: it is only for xp sp2 users who get crashes/freezing while loading campaigns or missions. If your crashes are not msvcrt.dll related this fix won't help.
bazzacop Posted February 13, 2005 Posted February 13, 2005 Re: Showstopper bugs ! Coldcrew: great, thx for the Campaign fix. But does this solve most other fixes as well for other people ?? Our setup never crashes at the start of any Campaign/Mission, but after quite some time (mostly +30'). This can hardly be caused by msvcrt.dll, can it ? This phenomena seems more like a memory leak -and /or- system specific to me. Hope most showstopper bugs get fixed with 1.1 ! Thx again all. :?: it is only for xp sp2 users who get crashes/freezing while loading campaigns or missions. If your crashes are not msvcrt.dll related this fix won't help. all i can say my game use to crash y i was doing a campaign not loading it i done the fix and now well so far i have not had a crash or freeze mind u i dont stay alive 4 very long lol :D
SimFan Posted February 13, 2005 Posted February 13, 2005 Why and how ? Bazzacop, If I understand correctly you say it ALSO fixes other 'freezes' BESIDES the ones that occur while LOADING a mission or campaign. I could imagine the msvcrt DLL version problem could well account for many other memory and other in-game problems (?). Are all XP SP2 systems affected. If not, why/how ? Please explain. Thx. ------------------------------------------------------------------------------------- Other sims/games/apps reportedly suffer the same fate: "DLL HELL" as the original poster (a.o.) call this nice MS present. LockON is IT ! AMD 3500+ - GF6800GT - 1GB RAM low tatency - MSI NEO2 PLatinum 20" BENQ S-IPS TFT 1600X1200 - 32 bit color
bazzacop Posted February 14, 2005 Posted February 14, 2005 yes i am BUT I NO NOTHING ABOUT COMPUTERS :D like i said my game did not crash while the mission was loading it crashed while i was doing the mission wheather this is something else i dont no but i done the fix and i havent had a freeze yet or crash 1
SimFan Posted February 14, 2005 Posted February 14, 2005 Encouraging. Well that's encouraging. Haven't had a crash/freeze since this 'fix' either. But I have to wait much longer to be sure. Will report back on this later on. Thx all. LockON is IT ! AMD 3500+ - GF6800GT - 1GB RAM low tatency - MSI NEO2 PLatinum 20" BENQ S-IPS TFT 1600X1200 - 32 bit color
Recommended Posts