Raised This Month: $344 Target: $400
 86%   Almost there!

Run time error 10: native error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
eNNkds
Member
Join Date: Sep 2012
Location: Romania
Old 12-20-2021 , 08:32   Run time error 10: native error
Reply With Quote #1

Hi. After i change the game base form 1.8.2 to 8.3 without recompiled the plugin
i get this error from plugin

Code:
L 12/20/2021 - 13:15:53: [AMXX] Displaying debug trace (plugin "biohazard.amxx", version "2.00 Beta 3")
L 12/20/2021 - 13:15:53: [AMXX] Run time error 10: native error (native "is_user_vip")
L 12/20/2021 - 13:15:53: [AMXX]    [0] biohazard.sma::client_putinserver (line 615)
native that have in plugin: is_user_vip(id);

error is from client putinserver.

PHP Code:
public client_putinserver(id)
{
    if(!
g_botclient_pdata && g_czero
    {
        static 
param[1]
        
param[0] = id
        
        
if(!task_exists(TASKID_CZBOTPDATA))
            
set_task(1.0"task_botclient_pdata"TASKID_CZBOTPDATAparam1)
    }
    
    if(
get_pcvar_num(cvar_randomclass) && g_classcount 1)
    {
        
g_player_class[id] = _random(g_classcount)
        if((!
is_user_vip(id) && g_class_data[g_player_class[id]][DATA_ONLYVIP] > 0.0) || (!is_user_admin(id) && g_class_data[g_player_class[id]][DATA_ONLYADMIN] > 0.0))
            
g_player_class[id] = 0;
    }


Last edited by eNNkds; 12-20-2021 at 09:53. Reason: i get fixed myselft thank you
eNNkds is offline
Send a message via Skype™ to eNNkds
Natsheh
Veteran Member
Join Date: Sep 2012
Old 12-20-2021 , 09:45   Re: Run time error 10: native error
Reply With Quote #2

Just why use version 183 this version of AMXMODX is not even stable, use the latest AMXMODX version.
__________________
@Jailbreak Main Mod v2.6.6 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-20-2021 , 12:32   Re: Run time error 10: native error
Reply With Quote #3

AMX Mod X 1.8.3 should never be used. It is an old development version that is not considered stable. Either use 1.8.2 or 1.9.0. The latest builds of 1.9.0 can be found here.
__________________
fysiks is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-20-2021 , 14:01   Re: Run time error 10: native error
Reply With Quote #4

Where did you even find a download link for 1.8.3? I'm assuming a random fishy website.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 12-23-2021 , 21:06   Re: Run time error 10: native error
Reply With Quote #5

There are approximately 5000 'ranked' servers still using Amxx 1.8.3 per Gametracker query!
__________________
DJEarthQuake is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-24-2021 , 14:43   Re: Run time error 10: native error
Reply With Quote #6

Gametracker doesn't provide a download link for AMXX 1.8.3. Wherever they downloaded it from, it's not the right place to get it from.
__________________

Last edited by OciXCrom; 12-24-2021 at 14:43.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 12-25-2021 , 06:51   Re: Run time error 10: native error
Reply With Quote #7

Quote:
Originally Posted by OciXCrom View Post
Where did you even find a download link for 1.8.3? I'm assuming a random fishy website.
https://www.amxmodx.org/snapshots.php
__________________
DJEarthQuake is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-25-2021 , 08:40   Re: Run time error 10: native error
Reply With Quote #8

That link does not exist on the webpage and has been replaced with the new one.
https://www.amxmodx.org/downloads-new.php

So either they found the link from some super old post here or they downloaded AMXX from another website.
__________________

Last edited by OciXCrom; 12-25-2021 at 08:40.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply


Thread Tools
Display Modes

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 10:04.


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