Author
|
Topic: curses and DO damage?? so a curse des damage??
|
SpeciesXX Serf
Posts: 23 From: The Netherlands Registered: Feb 2002 |
posted 16 February 2002 11:33
hi guys,for the necro, can u change the curses to do damage? for example, add some fire or magic damage to it? so i cast it over a group and they get damaged? thx in advance SpeciesXX ------------------ "Cheaters are those who make the impossible possible, which should be impossible."

|
Axalon Honorary Warlord
   
Posts: 2243 From: New England, USA Registered: Dec 2001 |
posted 16 February 2002 11:45
I don't think you can change a curse in that way, you'd probably have to create a whole new curse for it to work ... which would probably require some very intense hex editing, or even changing the source code itself, if at all possible  ------------------ "To dream a life, or to live a dream ... only through desire shall the sleeper awaken."

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 16 February 2002 14:50
It's all hex editing, there is no source code in the executables. Those references to CPP files in the error messages are debugger text left behind, probably because Blizzard rushed through D2 as it is and didn't have time to clean up after themselves. Much to our benefit though

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 16 February 2002 14:54
So where is the source code? People are saying that the game can't run without the source code thus the source code must be in the game somewhere. Can it be extracted somehow?

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 16 February 2002 15:14
The game runs just fine without source code. Computers don't understand any of the high-level languages anyway, a source code file won't execute...except if run through an interpreter.A big compiler like Visual C++ takes a few steps to produce EXE and DLL files. First the C++ from the .cpp and .h files are compiled into one or more object files. Resource files are produced by resource editors, those are the Windows icons and controls, strings, etc that draw from system properties. A game like D2 has its own resources so there isn't much contribution here. All the object files and resources are then run through a linker which produces the EXE and DLL files. Even assembly language is treated this way. It gives programmers the option to reuse large blocks of code without recompiling everything all the time. Interpreters are sort of like compilers and linkers, except they translate the source code at runtime. If you remember the old Apple II from way way back, you could type in a Basic line and get immediate results. Apple II Basic was an interpreted language. But modern languages have grown, and there are very few interpreters out there that do well running huge chunks of code, and certainly not at a reasonable speed. So most languages are compiled instead. And anything released for sale is compiled these days. The source code for D2 only exists at Blizzard offices, whatever off-site backup they might have, and possible illegal copies that have slipped outside of their control. The reason we all get slightly frenzied at the idea of editing source code is that it is a lot easier than disassembling executables---but we'll never see it so we should stop dreaming about it. [This message has been edited by Myhrginoc (edited 16 February 2002).]

|