Inside3D!
     

Nukes!
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
redrum



Joined: 28 Mar 2007
Posts: 367
Location: Long Island, New York

PostPosted: Tue Dec 04, 2007 3:24 pm    Post subject: Reply with quote

Daemon, thanks for the in depth analysis!
_________________
Welcome to the Overlook Hotel 69.113.123.178:27500
Back to top
View user's profile Send private message Send e-mail
Electro



Joined: 29 Dec 2004
Posts: 241
Location: Brisbane, Australia

PostPosted: Thu Dec 06, 2007 7:46 am    Post subject: Reply with quote

haha oops! my bad, it's been a long time since i've looked at the function Smile
_________________
Unit reporting!
http://www.bendarling.net/
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
redrum



Joined: 28 Mar 2007
Posts: 367
Location: Long Island, New York

PostPosted: Wed Dec 12, 2007 3:25 am    Post subject: Reply with quote

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 Sad
_________________
Welcome to the Overlook Hotel 69.113.123.178:27500
Back to top
View user's profile Send private message Send e-mail
Orion



Joined: 12 Jan 2007
Posts: 414
Location: Brazil

PostPosted: Thu Dec 13, 2007 1:19 am    Post subject: Reply with quote

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
View user's profile Send private message
redrum



Joined: 28 Mar 2007
Posts: 367
Location: Long Island, New York

PostPosted: Thu Dec 13, 2007 3:55 am    Post subject: Reply with quote

used your code from earlier in this thread
_________________
Welcome to the Overlook Hotel 69.113.123.178:27500
Back to top
View user's profile Send private message Send e-mail
Sajt



Joined: 16 Oct 2004
Posts: 1026

PostPosted: Thu Dec 13, 2007 3:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Orion



Joined: 12 Jan 2007
Posts: 414
Location: Brazil

PostPosted: Thu Dec 13, 2007 5:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group