I have this book called "Data Structure for Game Programmers" which has been a really great read so far. It explains this really useful templated array class which works great but I have a few...
Type: Posts; User: silentkarma
I have this book called "Data Structure for Game Programmers" which has been a really great read so far. It explains this really useful templated array class which works great but I have a few...
const unsigned long OTNumAddy = 0x4BB206E2;
This is assigning a static memory address to this struct. This is for a game. I hope this makes sense. I'm doing calculations on each object and decided to use struct arrays. I figured this would be...
I'm using C++ and I'm not very familiar with C functions =/
This is just a basic question. I've created a struct that needs to create mutliple instances, but of a constantly changing number.
Grab number of objects from memory.
struct _NumOfObjects
{...
Alright, well I can see how it is bad programming and such, but why does it work and how? You're only declaring a single byte but when you use cout or sprintf, it recognizes a full 16 byte ascii...
This is a very strange question for me. Here's a brief explanation: I have a friend who wrote this program that reads data in from a game for a stats display. He uses classes and assigns a memory...
Awesome! Guess I'll just have to play around with it.
Can you elaborate on POD's and how I'm destroying the purpose of the class? Not sure what you mean, I am still new to this class thing....
I was wondering how you can define an array of the same class. Pretend we have 10 different cars and they all have the same properties. (This isn't really what I'm doing, but just a made up example)....
Thanks for the infos...just wondering..to detect debuggers running in ring 0, does my application have to also be running in ring 0? I know it gets complicated from there...but I just need a simple...
I wrote this up real fast, but didn't test it yet. Would this be a proper way of hooking and checking if something is debugging your process? Don't pound on me too hard =p
#include <windows.h>...
Good afternoon =]
Does anyone know a good way to prevent another program from suspending my program? Programs like OllyDbg and IDA can 'pause' the process and dissassemble it with no problem and...
I do appologize that I wasn't taking into consideration what you said. However, looking over what you suggested, I came up something, tell me if this looks any better.. =p
#include <windows.h>
...
Hmm, interesting...
Because when I look in memory of that process, that data is updated and writes continuously to the address I specified...so it IS working, but maybe it's not how I should be...
Awesome! Thanks for the info Elysia and laserlight! Got it working now.
I'm now doing this successfully:
struct vect2d
{
float h;
float v;
};
But I need to to actually return a value of mVect (which i think is int)so I can use it later in a calculation to get an angle distance and then write it back in another function. True or false would...
I have them declared at the top like so:
DWORD bytes;
HANDLE hand = NULL;
I then find the process on Initilization.. but since it's inside another function, will I need to set hand =...
PERFECT. Exactly what I needed to see! =] Thanks!
Hello all! I'm creating a Win32 App using MSVC++ 6 compiler.
I'm looking for help because I don't understand why I am getting these errors. I've been reading up on structs in C ... but it hasn't...
brewbuck, I think you need to write a program to check your arrogance every once in a while...
It's not my game. It's only for the servers I run for my clan mates to keep them from cheating in our...
Not sure what you mean. The file I want to check is a .map file for a game. Many people 'mod' or 'modify' the .map file to cheat for unfair advantage. If there were any byte changes to the .map file,...
I am trying to a CRC check on a file against the CRC it should be so if any changes to the file were made, it will not continue with the program.
Using the search function, I found this thread...
I have gotten it to work. In the first post, I said the only part that doesn't work is bringing up the chatbox with 'T'. It can manually type letters and hit enter just fine. I will try out SendInput...
The search function is quite handy, however, I still cannot seem to figure this out. I'm trying to write a little program that sends little daily messages from the server in the game Halo. I have...
Don't ask lol, it's a long story. I should make a program do that for me, that would be a challenge. Plus, I'd have to figure out how many bytes it is exactly. But I rather find a way to do something...