Raised This Month: $51 Target: $400
 12% 

AutoExecConfig() core dumped


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
N3v3rM1nd
Junior Member
Join Date: Apr 2021
Old 01-26-2022 , 17:50   AutoExecConfig() core dumped
Reply With Quote #1

Hello, so basically I tried to use AutoExecConfig() in one of my plugins, but after starting the server i got core dumped somehow..

PHP Code:
enum _Cvars
{
    
pause_time,
    
afk_time
}
new 
cvar[Cvars]
...
public 
plugin_init()
{
    new 
pcvar 
    pcvar 
create_cvar("author_asd""n3v3r#"FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_UNLOGGED|FCVAR_SPONLY"Don't Edit")

    
pcvar create_cvar("pause_time""120"FCVAR_NONE"Time for ^"/pause^" ^nValue needs to be in seconds!")
    
bind_pcvar_num(pcvarcvar[pause_time])

    
pcvar create_cvar("afk_time_check""40"FCVAR_NONE"Check time for afk players ^nValue needs to be in seconds!")
    
bind_pcvar_num(pcvarcvar[afk_time])

    
register_cvar("version_asd""1.0-Beta"FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_UNLOGGED|FCVAR_SPONLY)
    
AutoExecConfig()
}
... 
After removing all the AutoExecConfig() part the plugin run as normal. I run the server on a VPS with AMXX 1.10, i tried with AMXX 1.9.0 too but same problem.
N3v3rM1nd is offline
N3v3rM1nd
Junior Member
Join Date: Apr 2021
Old 01-26-2022 , 18:03   Re: AutoExecConfig() core dumped
Reply With Quote #2

Solved.. was from my VPS
N3v3rM1nd 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 00:57.


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