No body even mentioned:
A char will fit into an unsigned long int but not the other way around.
Type: Posts; User: Wraith-Lunati
No body even mentioned:
A char will fit into an unsigned long int but not the other way around.
Now this works but I need to find out why I'm missing bits.
void write_stats(char stat[55])
{
long unsigned int temp_write;
unsigned long int current_stat, current_value;
unsigned long...
>Looks to me like a Diablo 2 character hack
You are correct sir. This is a Diablo II Savegame editor. But I already said this in my original post. Now here is the problem in much greater detail....
Can someone please help? help a guy out it maybe simpler than you think but I need a guru...I've only been programming for 2 years, I'ven't made a mistake like this so I don't know what to do.
if you need more info just let me know but someone please help. I've been working on this part for at least a whole day and I haven't got a clue what is wrong with my math.
I'm trying to write back to a block in memory (that I write to a file later with no problems) but for some reason after the 3rd loop it is not writing properly. It keeps adding on 101 in different...