Nukes!
Moderator: InsideQC Admins
22 posts
• Page 2 of 2 • 1, 2
haha oops! my bad, it's been a long time since i've looked at the function 
Benjamin Darling
http://www.bendarling.net/
Reflex - In development competitive arena fps combining modern tech with the speed, precision and freedom of 90's shooters.
http://www.reflexfps.net/
http://www.bendarling.net/
Reflex - In development competitive arena fps combining modern tech with the speed, precision and freedom of 90's shooters.
http://www.reflexfps.net/
- Electro
- Posts: 312
- Joined: Wed Dec 29, 2004 11:25 pm
- Location: Brisbane, Australia
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
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: The-Overlook-Hotel.game-server.cc
-

redrum - Posts: 410
- Joined: Wed Mar 28, 2007 11:35 pm
- Location: Long Island, New York
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.
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.
- Sajt
- Posts: 1215
- Joined: Sat Oct 16, 2004 3:39 am
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:
Where did you declare it? weapons.qc? defs.qc?
It should be declared this way:
- Code: Select all
void(entity inflictor, entity attacker, float damage, float radius, entity ignore, string dtype) NewRadiusDamage;
-

Orion - Posts: 476
- Joined: Fri Jan 12, 2007 6:32 pm
- Location: Brazil
22 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest