View previous topic :: View next topic |
Author |
Message |
redrum

Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York
|
Posted: Tue Dec 04, 2007 3:24 pm Post subject: |
|
|
Daemon, thanks for the in depth analysis! _________________ Welcome to the Overlook Hotel 69.113.123.178:27500 |
|
Back to top |
|
 |
Electro
Joined: 29 Dec 2004 Posts: 241 Location: Brisbane, Australia
|
Posted: Thu Dec 06, 2007 7:46 am Post subject: |
|
|
haha oops! my bad, it's been a long time since i've looked at the function  _________________ Unit reporting!
http://www.bendarling.net/ |
|
Back to top |
|
 |
redrum

Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York
|
Posted: Wed Dec 12, 2007 3:25 am Post subject: |
|
|
Orion, I got a server crash after implementing the new NewRadiusDamage(); function:
CALL6 433(NewRadiusDamage)()
weapons.qc : T_MissileTouch
<NO FUNCTION>
NULL function
SV_Error: Program error
error occurs when missile hits something  _________________ Welcome to the Overlook Hotel 69.113.123.178:27500 |
|
Back to top |
|
 |
Orion

Joined: 12 Jan 2007 Posts: 414 Location: Brazil
|
Posted: Thu Dec 13, 2007 1:19 am Post subject: |
|
|
Please show me the code... Don't call a bunch of them like you did before. _________________ There's no signature here. Stop looking for one. |
|
Back to top |
|
 |
redrum

Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York
|
Posted: Thu Dec 13, 2007 3:55 am Post subject: |
|
|
used your code from earlier in this thread _________________ Welcome to the Overlook Hotel 69.113.123.178:27500 |
|
Back to top |
|
 |
Sajt
Joined: 16 Oct 2004 Posts: 1026
|
Posted: Thu Dec 13, 2007 3:34 pm Post subject: |
|
|
The error report tells you that you tried to call a function, NewRadiusDamage, which does not exist. (Check if your compiler gave you a warning about this as well... some compilers like FTEQCC warn when they should error).
You really should be able to figure this one out on your own. _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe. |
|
Back to top |
|
 |
Orion

Joined: 12 Jan 2007 Posts: 414 Location: Brazil
|
Posted: Thu Dec 13, 2007 5:42 pm Post subject: |
|
|
Redrum, it's probably because you didn't declare the code correctly.
Where did you declare it? weapons.qc? defs.qc?
It should be declared this way:
Code: |
void(entity inflictor, entity attacker, float damage, float radius, entity ignore, string dtype) NewRadiusDamage;
|
_________________ There's no signature here. Stop looking for one. |
|
Back to top |
|
 |
|