Andreas Mohr
2003-Dec-23 17:54 UTC
Problems with Ultima Online: Age of Shadows [Textbox glitch + out of memory error]
Hi, On Wed, Dec 24, 2003 at 12:40:38AM +0000, Flameeyes wrote:> Hi all! > I was trying to run Ultima Online: Age of Shadows (latest patchlevel after > autopatch), but I have some problems. > > The first problem is actually a glitch, in autopatcher, when the textbox is > moved at end, the text is hide, because it moves as first character of the > textbox the after-the-last character of the text in it.Edit box problem. Use --debugmsg +edit and try to fix the positioning problem in our code.> The second is a big problem: when starting the client, it gives an out of > memory error. I can't find where the problem is because I don't know for sure > which trace channel has the functions for memory statistics.As we all know (or maybe not ;), an Out Of Memory is NEVER an Out Of Memory, but instead a problematic or unimplemented function. --debugmsg +relay to find out what fails. Andreas Mohr
Flameeyes
2003-Dec-23 18:40 UTC
Problems with Ultima Online: Age of Shadows [Textbox glitch + out of memory error]
Hi all! I was trying to run Ultima Online: Age of Shadows (latest patchlevel after autopatch), but I have some problems. The first problem is actually a glitch, in autopatcher, when the textbox is moved at end, the text is hide, because it moves as first character of the textbox the after-the-last character of the text in it. The second is a big problem: when starting the client, it gives an out of memory error. I can't find where the problem is because I don't know for sure which trace channel has the functions for memory statistics. If someone has an hint for me, I'll investigate better and try to fix it. -- Flameeyes <dgp85@users.sourceforge.net> You can find LIRC for 2.6 kernels at http://flameeyes.web.ctonet.it/
Flameeyes
2003-Dec-24 02:50 UTC
Problems with Ultima Online: Age of Shadows [Textbox glitch + out of memory error]
Flameeyes wrote:> The second is a big problem: when starting the client, it gives an out of > memory error. I can't find where the problem is because I don't know for > sure which trace channel has the functions for memory statistics.This seems to the cause of the problem: 0009:Call kernel32.CreateFileA(4a0f69f0 "C:\\Programmi\\Ultima Online\\\\stadifi0.mul",80000000,00000001,00000000,00000003,10000080,00000000) ret=004ff693 0009:Ret kernel32.CreateFileA() retval=00000158 ret=004ff693 0009:Call kernel32.CreateFileMappingA(00000158,00000000,00000002,00000000,00000000,00000000) ret=004ff712 0009:Ret kernel32.CreateFileMappingA() retval=0000015c ret=004ff712 0009:Call kernel32.MapViewOfFile(0000015c,00000004,00000000,00000000,00000000) ret=004ff78f 0009:Ret kernel32.MapViewOfFile() retval=00000000 ret=004ff78f 0009:Call user32.MessageBoxA(00000000,005bdf70 "There is not enough memory to continue execution. If you do not have virtual me"...,005be05c "Out of memory",00000000) ret=004d949b so the problem should be into MapViewOfFile (kernel/virtual.c), retval=00000000 (NULL) is a failure. Because the return NULL is only in an if, the problem is inherited from NtMapViewOfSection, that is in ntdll/virtual.c. This function seems to be a lot complex, I need to dig it to found the problem. -- Flameeyes <dgp85@users.sourceforge.net> You can find LIRC for 2.6 kernels at http://flameeyes.web.ctonet.it/