Raised This Month: $ Target: $400
 0% 

Solved Server crash: IndexOfEdict: bad entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
happy_2012
Senior Member
Join Date: Aug 2012
Old 06-19-2018 , 16:41   Re: Server crash: IndexOfEdict: bad entity
Reply With Quote #1

There are no error logs in the logs directory, I just get FATAL ERROR (shutting down): IndexOfEdict: bad entity in server console right when someone spawns. The plugin worked perfectly fine on AMX 182, but crashes the server on AMX 183.

Updated from AMX182 to AMX183:
- Replaced client_print( ) with client_print_color( ).
- Replaced g_iMaxPlayers = get_maxplayers( ) with using MaxClients.
- Replaced get_players( ) with get_players_ex( ).
- Removed out MAX_PLAYERS from the code as AMX 183 already has it.

Compiled with AMX 183 compiler, and installed into my server and got that crash error! I did it for most of my plugins since I started using AMX183 recently, all plugins worked fine, but this plugin crash.

Last edited by happy_2012; 06-19-2018 at 16:41.
happy_2012 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 12:48.


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