Raised This Month: $ Target: $400
 0% 

Register Ham error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ArthHa
Member
Join Date: Apr 2014
Old 07-30-2014 , 12:22   Re: Register Ham error
Reply With Quote #1

Quote:
Originally Posted by .Dare Devil. View Post
Here's a example why does the error come:
register_ham( ham_item, "myfunc" )
myfunc() doesn't exists.
RegisterHam(Ham_Spawn, "player", "FnHamSpawn", 1);
public FnHamSpawn(id)
{

}

Well its exist

Quote:
Originally Posted by ^SmileY View Post
This will help alot, but i think i need to using my:


1.8.3 amxmodx
Metamod 1.21p37
__________________


ArthHa is offline
Send a message via Skype™ to ArthHa
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-30-2014 , 13:55   Re: Register Ham error
Reply With Quote #2

Show the output from console, this is says nothing to me.
Certainly is a non-steam server, or proof for us i am wrong.

With code posted and version posted is impossible the amx generate any errors.

Again:

rcon version
rcon amxx version
rcon meta list
rcon amxx plugins
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
ArthHa
Member
Join Date: Apr 2014
Old 07-30-2014 , 14:39   Re: Register Ham error
Reply With Quote #3

Code:
version
Protocol version 48
Exe version 1.1.2.2/Stdio (valve)
Exe build: 13:14:12 Aug 29 2013 (6153)
Code:
amxx version
AMX Mod X 1.8.3-dev+006e6e9 (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Jun 24 2014, 14:33:54
Build ID: 3921:006e6e967a5a7637ea9e98c08b4de6e4c20623b1
Core mode: JIT+ASM32
Code:
meta list
 [ 1] AMX Mod X        RUN   -    amxmodx_mm.dll    v1.8.3-d  ini   Start ANY  
 [ 2] Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.3-d  pl1   ANY   ANY  
 [ 3] Engine           RUN   -    engine_amxx.dll   v1.8.3-d  pl1   ANY   ANY  
 [ 4] FakeMeta         RUN   -    fakemeta_amxx.dl  v1.8.3-d  pl1   ANY   ANY
Code:
amxx plugins
Currently loaded plugins:
       name                    version     author            file             status   
 [  1] Admin Base              1.8.3-dev+  AMXX Dev Team     admin.amxx       running  
 [  2] Admin Commands          1.8.3-dev+  AMXX Dev Team     admincmd.amxx    running  
 [  3] Admin Help              1.8.3-dev+  AMXX Dev Team     adminhelp.amxx   running  
 [  4] Slots Reservation       1.8.3-dev+  AMXX Dev Team     adminslots.amxx  running  
 [  5] Multi-Lingual System    1.8.3-dev+  AMXX Dev Team     multilingual.am  running  
 [  6] Menus Front-End         1.8.3-dev+  AMXX Dev Team     menufront.amxx   running  
 [  7] Commands Menu           1.8.3-dev+  AMXX Dev Team     cmdmenu.amxx     running  
 [  8] Players Menu            1.8.3-dev+  AMXX Dev Team     plmenu.amxx      running  
 [  9] Maps Menu               1.8.3-dev+  AMXX Dev Team     mapsmenu.amxx    running  
 [ 10] Plugin Menu             1.8.3-dev+  AMXX Dev Team     pluginmenu.amxx  running  
 [ 11] Admin Chat              1.8.3-dev+  AMXX Dev Team     adminchat.amxx   running  
 [ 12] Anti Flood              1.8.3-dev+  AMXX Dev Team     antiflood.amxx   running  
 [ 13] Scrolling Message       1.8.3-dev+  AMXX Dev Team     scrollmsg.amxx   running  
 [ 14] Info. Messages          1.8.3-dev+  AMXX Dev Team     imessage.amxx    running  
 [ 15] Admin Votes             1.8.3-dev+  AMXX Dev Team     adminvote.amxx   running  
 [ 16] NextMap                 1.8.3-dev+  AMXX Dev Team     nextmap.amxx     running  
 [ 17] Nextmap Chooser         1.8.3-dev+  AMXX Dev Team     mapchooser.amxx  running  
 [ 18] TimeLeft                1.8.3-dev+  AMXX Dev Team     timeleft.amxx    running  
 [ 19] Pause Plugins           1.8.3-dev+  AMXX Dev Team     pausecfg.amxx    running  
 [ 20] Stats Configuration     1.8.3-dev+  AMXX Dev Team     statscfg.amxx    running  
 [ 21] unknown                 unknown     unknown           Class.amxx       bad load 
( 21) Load fails: Plugin uses an unknown function (name "RegisterHam") - check your modules.ini.
21 plugins, 20 running
__________________


ArthHa is offline
Send a message via Skype™ to ArthHa
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-30-2014 , 17:31   Re: Register Ham error
Reply With Quote #4

try the last hg build, and try this

RegisterHamPlayer(Ham_Spawn,"PugSpawnPost",tr ue);
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-30-2014 , 19:20   Re: Register Ham error
Reply With Quote #5

If module is loaded and it says native doesn't exist, this means natives have not been registered. If so, this means there is a problem with the config file ; either file doesn't exist, or it could not retrieve pev/base.
Either way, it should throw some log in amxmodx/logs/.
__________________
Arkshine is offline
ArthHa
Member
Join Date: Apr 2014
Old 07-31-2014 , 02:47   Re: Register Ham error
Reply With Quote #6

Ok, i have no idea whats wrong here. Maybe there is other way to set VIP models without RegisterHam?
__________________


ArthHa is offline
Send a message via Skype™ to ArthHa
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-31-2014 , 02:59   Re: Register Ham error
Reply With Quote #7

Look at your AMXX logs first, you have for sure some output.
Triple check hamdata.ini is present, not modified.
__________________

Last edited by Arkshine; 07-31-2014 at 03:01.
Arkshine is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-31-2014 , 08:31   Re: Register Ham error
Reply With Quote #8

Quote:
Originally Posted by Arkshine View Post
Look at your AMXX logs first, you have for sure some output.
Triple check hamdata.ini is present, not modified.
HamletEagle is offline
ArthHa
Member
Join Date: Apr 2014
Old 07-31-2014 , 03:48   Re: Register Ham error
Reply With Quote #9

Well, im using metamod p, maybe this can be the problem?
__________________


ArthHa is offline
Send a message via Skype™ to ArthHa
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-31-2014 , 03:59   Re: Register Ham error
Reply With Quote #10

I feel like I'm speaking to a wall.
__________________
Arkshine 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 13:15.


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