2010-05-20, 09:37 PM
I was just lambasting comments in code. Nothing personal.
A = A+5; //adding 5 to A so that A is now 5 more than it was
Probably the best way to disable the compass right now is to just keep it from being drawn by DirectX somehow. I don't recommend writing over the sys.dat file mid game anyway. SomEx doesn't modify the game files, that's kind of against its code of ethics. The only real challenge there is detecting for certain when Som is drawing the compass. Examining a counter is easy, another way to go (not ready yet) would be to look in the players inventory (saving the author a counter/event)
EDITED: I think probably the extension will take a memory address as its argument so it can work either way.
A = A+5; //adding 5 to A so that A is now 5 more than it was
Probably the best way to disable the compass right now is to just keep it from being drawn by DirectX somehow. I don't recommend writing over the sys.dat file mid game anyway. SomEx doesn't modify the game files, that's kind of against its code of ethics. The only real challenge there is detecting for certain when Som is drawing the compass. Examining a counter is easy, another way to go (not ready yet) would be to look in the players inventory (saving the author a counter/event)
EDITED: I think probably the extension will take a memory address as its argument so it can work either way.