VaultNetwork.net Vault Network Boards
Author Topic: Gawa,Could we get the new Memlocs for Dereth Explorer? [Locked]
alderonny
Posts: 35
Registered:
Sorry to post here however your lost corpses site seems to be down
Drakier  4 stars
Posts: 1,486
Registered:
what was last month's information.. I'll see once again if I can figure out where the numbers come from


*shrug*


last attempt was unsuccessful as I have no clue how Gawa finds them.. but I can certainly look.


(I'd love to add it to my list of memlocs to find each month, if it's possible)
Gawa_Ibn_Edwas
Posts: 43
Registered:
Ah sorry about that, I moved the site to http://www.direlands.net/derethexplorer/ since I was expecting problems with thelostcorpses.com. The new memlocs can be found there as well, I uploaded them yesterday shortly after the patch.


Btw, I secretly have to laugh every time I see someone puzzle about the numbers that I give each month. The truth is... that the memloc isn't really a valid memory location. It's actually something else.


After each patch, I find the memory location at which the location is stored (May was 0x7DCC6C I believe). Then it gets mangled through an algorithm that takes this one number and spits out two different numbers: the 'memloc' and 'offset'. These are the numbers that get posted. Using the reverse of the algorithm, DServ reconstructs the original memloc. I really have no clue why I exactly implemented this 'feature', but instead of removing it, it ended up in the final version...


Here's a piece of sample code that takes the memloc and splits it into the two numbers:


int loc = 0x007DCC6C;

loc = loc ^ 0x4173;

int lowloc = loc & 0xFFFF;

int highloc = (loc & 0x7FFF0000) >> 16;

lowloc = lowloc ^ highloc;

lowloc = lowloc ^ 0x9103;

int offset = (lowloc & 0x0FF0) >> 4;

lowloc = lowloc ^ 0x6927;

lowloc = ((lowloc & 0xFF) << 8) | ((lowloc & 0xFF00) >> 8);

loc = (highloc << 16) | lowloc;
Drakier  4 stars
Posts: 1,486
Registered:
aah.. makes sense.. and for future reference, I believe the Location memloc is already pulled every month through my memloc detection stuff.. it wouldn't be too difficult for me to create the Dereth Explorer memloc as well.. given I can actually get the correct numbers to work.


I'll have to check back and see from previous months if this matches up to what I found and what you have posted post-algorithm
alderonny
Posts: 35
Registered:
Awesome ,Thanks
Dulaw
Posts: 1
Registered:
Also, update doesn't seem to be working.


I get a "can't parse" the xml file error.


Seems DE is still looking for it at www.thelostcorpses.com
Yula_the_Mighty  1 star
Title: Lore Master
Posts: 235
Registered: 2004-1-25 06:01:16
Known problem. Please see this thread for the status:

http://vnboards.ign.com/ac_utilities/b5432/96853349/p1/?3

VaultNetwork.net is an independently operated community forum and is not affiliated with, endorsed by, or technically based on IGN, GameSpy, FilePlanet, GameStats, or the former IGN/GameSpy Vault Network.
References to VaultNetwork.net mean this site/domain. VNBoards-style presentation is a visual homage only. By using this site, you agree to the forum rules.