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

Solved [HELP] AMXX Errors after running my module


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Beqa Gurgenidze
BANNED
Join Date: Nov 2016
Old 11-28-2017 , 04:47   [HELP] AMXX Errors after running my module
Reply With Quote #1

I've created module, with AMXX Sdk for module (amxxmodule.cpp/h moduleconfig.h uncommented some functions) but after running my module AMXX says errors.

it shows such thing:

Code:
Loaded 1 admins from file.
Loaded 2 admins from file.
Loaded 3 admins from file.
Loaded 4 admins from file.
etc... but not in same time.

I saw that this was an error when i started playing after those 'errors'. For example round end hudmessages displayed X times.
Every registered function in plugin_init and plugin_precache called X times. (X = every written: Loaded * admins from file).

Don't know whats happening. I think uncommenting DispatchSpawn and ServerActivate overrode amxx original calls from those functions (but this is not true right ? or it is )


--------------------------------------


Solved;
Problem:

Code:
FSupplyBoxOpen = MF_RegisterForward("FW_SupplyBoxOpen", ET_IGNORE, FP_CELL, FP_CELL);
Was called in OnAmxxAttach.
Changed OnAmxxAttach with OnPluginsLoaded(void) forward. Now everything works fine.
----
FSupplyBoxOpen was 0 and called everything !?

Last edited by Beqa Gurgenidze; 11-28-2017 at 07:27.
Beqa Gurgenidze is offline
Old 11-28-2017, 07:16
Beqa Gurgenidze
This message has been deleted by Beqa Gurgenidze.
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 20:57.


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