I've been coding a bot for a relatively small MMO, mainly as a hobby to challenge my own skills and learn something new.
I've overcome many challenges and have successfully built a bot which hunts monsters in the game and manages itself. However i've been unable to find the memory addresses for items on the floor. Using cheat engine, I find that the name of the item is stored more than 15 times around pockets of memory, when I pickup the item and place another down, some of these addresses will change to the new item's name, but the others will all change to garbage information which includes other text on the screen too such as whats going on in the chat.
Sometimes these pockets of memory addresses seem to actually change to the values of the item, then they quickly change again to garbage.
Is this some sort of scrambling anti-cheat? I can't imagine so since it is a very old and small game. It is called myth of soma.
I once found an address whcih always showed the first item on the floor, but I couldn't find any others and since then i've never found this address again.
This is an isometric game where each item on the floor is assigned coords. Would anyone have some advice for me in this area? I'd like to be able to reverse engineer the memory addresses for these items.
For future reference for anybody. I finally solved this problem by creating a second cache array. By copying the data from the first into the second, if it exists but then also adding a cache timer to each row. If the data disappears from the main array, the timer cache timer will keep the data alive until it runs out.