Raised This Month: $ Target: $400
 0% 

Stupid Runtime Error For AvAMvM NS Plugin.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Votorx
Senior Member
Join Date: Jun 2004
Old 09-06-2004 , 18:04   Stupid Runtime Error For AvAMvM NS Plugin.
Reply With Quote #1

I keep getting the runtime error:

[AMXX] Function not found (name "DispatchKeyValue") (plugin "Amx_AvAMvM.amxx")

For a plugin that I've been trying to make that will allow Marines to play Marines and Aliens to play Aliens on any map in Natural Selection. I've tried quite a few things to get that fixed but non seem to work. I want to say its just Amxx .20 but it works fine on Amxx .16 (The function of course, there's a function specifically made for .20 that isn't found in Amxx .16 which is why I need to use .20) Could someone take a look over my plugin and help me figure out what the problem is so I can finally test it? Thanks.

Edit: DispatchKeyValue is a necesity
Attached Files
File Type: sma Get Plugin or Get Source (amx_avamvm.sma - 841 views - 4.0 KB)
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 09-06-2004 , 18:34  
Reply With Quote #2

First, just include ns.inc. Non used functions will not add more space, so just include them all.. other then that, it looks fine
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
Votorx
Senior Member
Join Date: Jun 2004
Old 09-06-2004 , 18:55  
Reply With Quote #3

I get the same error, it didn't work.
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
BAILOPAN
Join Date: Jan 2004
Old 09-06-2004 , 20:56  
Reply With Quote #4

this function name changed in 0.20
__________________
egg
BAILOPAN is offline
Votorx
Senior Member
Join Date: Jun 2004
Old 09-06-2004 , 21:25  
Reply With Quote #5

Well...What'd it change to?
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
Votorx
Senior Member
Join Date: Jun 2004
Old 09-07-2004 , 03:36  
Reply With Quote #6

-.- Do you know?
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
BAILOPAN
Join Date: Jan 2004
Old 09-07-2004 , 04:18  
Reply With Quote #7

wait, no it didn't. I forget it if exists in 0.16
__________________
egg
BAILOPAN is offline
Votorx
Senior Member
Join Date: Jun 2004
Old 09-07-2004 , 14:24  
Reply With Quote #8

It does exist in .16. I would use .16 but I need the get_keyvalue function for my plugin in to work. Will this be fixed in the next update, or how can I fix it myself now?
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
Votorx
Senior Member
Join Date: Jun 2004
Old 09-08-2004 , 17:49  
Reply With Quote #9

OK...So since no one seems to know what the new function is, how can I use DispatchKeyValue() with amxx .20 or atleast find the information with some engine function in .16
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 09-08-2004 , 18:55  
Reply With Quote #10

*edit*

DispatchKeyValue should already be in engine, looks like nothing changed. Don't tell me you didn't enable engine module?
Johnny got his gun is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode