Anarchy Online -RtlCaptureContext not found

Having trouble playing a game, post here

Re: Anarchy Online -RtlCaptureContext not found

PostPosted by OldBoy2k » Mon Oct 24, 2011 7:31 pm

Yeah, not directly.You tried fcwin with force link 2kdll.dll once and anarchy online repaired awesomium.dll after this patching attempt.In KDW the ntdll.dll is named 2kdll.dll.

The only solution i can come up with is the following:
Missing Exports in working Awesomium version (+T2EEMBED):
AWESOMIUM.DLL -
??0WebCore@Awesomium@@QAE@ABVWebCoreConfig@1@@Z,
??0WebCoreConfig@Awesomium@@QAE@XZ,
??1WebCoreConfig@Awesomium@@QAE@XZ,
?createWebView@WebCore@Awesomium@@QAEPAVWebView@2@HH@Z,
?setEnablePlugins@WebCoreConfig@Awesomium@@QAEX_N@Z,
?setLogLevel@WebCoreConfig@Awesomium@@QAEXW4LogLevel@2@@Z,
?setMaxCacheSize@WebCoreConfig@Awesomium@@QAEXH@Z,
?setSaveCacheAndCookies@WebCoreConfig@Awesomium@@QAEX_N@Z,
?setUserDataPath@WebCoreConfig@Awesomium@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std

Wrapping the working Awesomium version which only misses the above C++ APIs.Question still remains,how can it be made user friendly to replace the Awesomium.dll after the file check...and of course every silent ingame update will crash the game.

BR
OldBoy2k
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: Anarchy Online -RtlCaptureContext not found

PostPosted by OldCigarette » Mon Oct 24, 2011 7:46 pm

Hmm, from this
Code: Select all
GetProcAddress(0x77880000 [c:\winnt\system32\NTDLL.DLL], "RtlCaptureStackBackTrace") called from "d:\programme\ao\anarchy online\AWESOMIUM.DLL" at address 0x02121DD7 and returned 0x778A2EA2 by thread 1.

From this it appears ntdll contains RtlCaptureStackBackTrace, so either KDW must hook GetProcAddress to accomplish this or their is some kind of magic going on with his 2kdll. In any case I think KDW's implementation is freaking out because some function never setup a base pointer.
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

Re: Anarchy Online -RtlCaptureContext not found

PostPosted by OldBoy2k » Mon Oct 24, 2011 7:55 pm

Ah buddy wait,this error log is done without 2kdll.dll.Its the same thread exit with Wrapper Kernel and KDW Kernel.

Take a look at both DWIs:
http://www.sendspace.com/file/hsr0tx (KDW)
http://www.sendspace.com/file/hdgdze (OCW)

This is the Awesomium Fix:
Missing Exports (in v1.6.2.0):
KERNEL32.DLL - GetGeoInfoW,GetProcessId,GetUserGeoID,GetModuleHandleExW,GetNativeSystemInfo,
RtlCaptureContext,RtlCaptureStackBackTrace,
WS2_32.DLL - WSANSPIoctl,getaddrinfo,freeaddrinfo
DBGHELP.DLL - SymFromAddr
CRYPTUI.DLL - CryptUIDlgSelectCertificateFromStore
IPHLPAPI.DLL - CancelIPChangeNotify
CRYPT32.DLL - CryptBinaryToStringA (CRYPTUI.DLL)

Fix (recent):
1) download iphlpapi.dll v5.1.2600.2180 from here
and copy to the binaries directory.
2) for WS2_32.dll,Kernel32.dll,CRYPT32.DLL you will need the KDW wrapper:
click here for the KDW homepage
and copy together with the renamed Win2k system CRYPT2k.DLL,WS2_2k.dll,Kernel2k.dll to the binaries directory.
3) download dbghelp.dll
and copy it to the binaries directory.
4) download Cryptui.dll v5.131.2600.2180
and copy it to the binaries directory.
5 download Certli.dlll v5.131.2600.2180
and copy it to the binaries directory.

We used the Wrapper Kernel and Wrapper User (Client.exe fix) with KDW WS2_32 for the OCW DWI.

BR
OldBoy2k
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: Anarchy Online -RtlCaptureContext not found

PostPosted by katerkarlo » Mon Oct 24, 2011 8:00 pm

errors in:
AnarchyPatcher
DisplaySystem
Fanatic
FXS
Gamecode
GUI
Interfaces
N3
randy31


| stderr.txt -empty
| awesomium.log -empty
| DXDiagOutput.txt -lots of system information, nothing that looks for me like an error, but ill include it in my zib-file

zib error.dwi's + DxDiagOutput.txt
katerkarlo
 
Posts: 39
Joined: Sun Oct 16, 2011 8:36 pm

Re: Anarchy Online -RtlCaptureContext not found

PostPosted by OldBoy2k » Mon Oct 24, 2011 8:18 pm

Hey,thanks so much for the patience and testing.I looked at the dwi bundle and there's nothing wrong with these files so my guess is,its all awesomium.dll related.Since this library is checked on integrity i don't see a way to get a wrapper awesomium.dll with the C++ API together with the working Awesonium.dll into the game and the new version causes problems with the RtlCaptureStackBackTrace call to ntdll.

I suggest you post in the Anarchy Online forum/or contact the support and ask for a excluded Awesomium.dll integrity check.Since they claim Win2k compatibility they might be willing to do it.This is the easiest and best solution i can think of right now.If they exclude Awesomium.dll from this integrity check there might be some ways to get this game working.

BR
OldBoy2k
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: Anarchy Online -RtlCaptureContext not found

PostPosted by katerkarlo » Mon Oct 24, 2011 8:26 pm

Now i tried the "tirck"

After log-in
Image
(Could not find the selected display/device combination! Using default!)

OK->Black window (mausPointer as Clock)

New strange message in German that ill try to translate

system ressourcen erschöpft
system ressources exhausted

That's it, no prog that looks ao-related in the task-manager

dwi
katerkarlo
 
Posts: 39
Joined: Sun Oct 16, 2011 8:36 pm

Re: Anarchy Online -RtlCaptureContext not found

PostPosted by katerkarlo » Mon Oct 24, 2011 8:30 pm

so do u think if i get my graphic-drivers fixed i could start it ?
Ill make any post/contact to funcom(the developpers) anyway later on (not today)
katerkarlo
 
Posts: 39
Joined: Sun Oct 16, 2011 8:36 pm

Re: Anarchy Online -RtlCaptureContext not found

PostPosted by OldBoy2k » Mon Oct 24, 2011 8:41 pm

katerkarlo wrote:so do u think if i get my graphic-drivers fixed i could start it ?

Yes.As OldCigarette says,its ntdll.dll related and thats why the game crashes.I don't see any other reason why this game shouldn't work on Windows 2000 and your PC.

katerkarlo wrote:Ill make any post/contact to funcom(the developpers) anyway later on (not today)

I would like to help but i don't see how to get this library problem smoothly working with this integrity check.When we are lucky BlackWingCat has some more ideas and will join the discussion.I've send him the link to this thread a couple of days ago already.It would make it much easier when they would exclude this library from checking.

BR
OldBoy2k
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm


Re: Anarchy Online -RtlCaptureContext not found

PostPosted by katerkarlo » Mon Oct 24, 2011 9:14 pm

katerkarlo wrote:Now i tried the "tirck"

New strange message in German that ill try to translate

system ressourcen erschöpft
system ressources exhausted


Oops. btw this was not anarchy Online related (firewall)
katerkarlo
 
Posts: 39
Joined: Sun Oct 16, 2011 8:36 pm

Re: Anarchy Online -RtlCaptureContext not found

PostPosted by OldCigarette » Mon Oct 24, 2011 10:25 pm

Shit yeah you guys are right it is just normal ntdll. I thought RtlCaptureStackBackTrace was only available on XP, but it _is_ available on win2k but only in ntdll and not kernel32.

Found this in Oldboy's links
>Now, when I ran these tests on Testbot using all base VMs, the tests were run also on W2KPROSP4 and WNT4WSSP6. However, the function seems to buggy in those. It throws access violation whenever it is not skipping frames.

So this function may still be a trouble, maybe KDW 2kdll reimplements? It might be worth checking the readme to see.
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

Re: Anarchy Online -RtlCaptureContext not found

PostPosted by OldBoy2k » Mon Oct 24, 2011 10:31 pm

I'm confused by this Wine report: [Bug 25206] Anarchy Online v18.4, Ingame browser crashes (Awesomium.dll)
They say its not because of the function itself but because of some multithreading problem.Does this say anything to you OldCigarette?

BR
OldBoy2k
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: Anarchy Online -RtlCaptureContext not found

PostPosted by OldBoy2k » Mon Oct 24, 2011 11:10 pm

@katerkarlo:
OldCigarette has a idea how to catch that API call through the kernel and will post a updated wrapper version tomorrow which you can test.

BR
OldBoy2k
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: Anarchy Online -RtlCaptureContext not found

PostPosted by katerkarlo » Mon Oct 24, 2011 11:36 pm

Sounds great. Ill be back at about 6:00PM (GMT +01 )
katerkarlo
 
Posts: 39
Joined: Sun Oct 16, 2011 8:36 pm

Re: Anarchy Online -RtlCaptureContext not found

PostPosted by OldCigarette » Tue Oct 25, 2011 1:47 pm

You can try this kernel32.dll, it re-implements the RtlCaptureStackBackTrace and hooks GetProcAddress.
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

PreviousNext

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 0 guests

cron