Arcitectus / Sanderling

APIs and libraries to read information directly from the EVE Online game client.
https://forum.botlab.org
Apache License 2.0
259 stars 117 forks source link

fix reading of the entries in the overview #12

Closed dreambottle closed 7 years ago

dreambottle commented 7 years ago

Hopefully, this doesn't break anything else.

Viir commented 7 years ago

Thank you very much, I will publish a release with this so we can get more feedback for this version.

asdfasdf100500 commented 7 years ago

For whatever it is worth:

After running MemoryReadingDemo against Measurement.zip, this fix worked (Entry was not null) After running actual Sanderling via Visual Studio against Eve, the fix seemed not to work (Entry was null in Overview's ListView)

Maybe there is some DLL linking/caching between Sanderling.Exe and Sanderling.MemoryReading that needs to considered when running the application, but I couldn't get this fix to work in "real life". Or Might totally be just my inexperience with Visual Studio.

Viir commented 7 years ago

Maybe there is some DLL linking/caching between Sanderling.Exe and Sanderling.MemoryReading that needs to considered when running the application,

To check whether the correct version of the Sanderling.MemoryReading assembly is loaded, you can use the Modules view in Visual Studio while the Debugger is attached to the Sanderling process. This shows you for each loaded module the file path and timestamp, so you can compare to the time you rebuild.

Imgur

@asdfasdf100500 To check whether the application actually uses the local memory reading code, you can place a breakpoint in the changed method. Is this breakpoint hit when a ListView is visible in the eve client?