Searching and modifying Memory location

BlitzMax Forums/BlitzMax Beginners Area/Searching and modifying Memory location

Zenn Lee(Posted 2007) [#1]
This is most likely a simple question but with never really working with pointers or lower level stuff like this I have no choice but to ask you guys. How would I allocate a specific number in my Ram and them go about manipulating it. Lets say, such as the money on The Sim, find the number 18310 and change it to 2000000. The problem I find, without even trying this out is for one thing, the number 18310 may appear more than once right, and there is no way to really know where The Sims will place the variable for money, doesn't it depend on what memory is being used up at that time, right? Is this a possible application or am I going about it the totally wrong way.

Thanks a bunch for the help!


H&K(Posted 2007) [#2]
1;-Allocate CreateBank
2;-Manipulate Poke and Peek(Short,int Double etc)


Paposo(Posted 2007) [#3]
In the SO the aplications using diferent space address.
The Sims use address space and your aplication use another space.

Bye,
Paposo


tonyg(Posted 2007) [#4]
If this is your program why do you need to do it that way at all. I might have misunderstood but simply change the value using the variable which points to it.
If this *isn't* your program which has put the value there then Paposo's response seems on the button.
Is this similar?


Zenn Lee(Posted 2007) [#5]
thanks guys