Raised This Month: $ Target: $400
 0% 

[Solved] Strange ML Bug


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-06-2007 , 20:35   [Solved] Strange ML Bug
Reply With Quote #1

Hi.

I'm using ML system with some log_amx() function.

But there is a little bug.

The very first time that I start my dedicated server, ML system doesn't find key langages.

If I restart my server ( restart command ), ML system is showing key languages properly.

Ie :

- Starting my dedicat server and I see : L 07/06/2007 - 21:206: [End_Round_Sound.amxx] ML_NOTFOUND: ERS_LOG_LOADING

- After a restart : L 07/06/2007 - 21:24:44: [End_Round_Sound.amxx] Loading file: "addons/amxmodx/configs/roundsound.ini"


Also, the first time in game ML system works fine with some client_print() function. Apparently it seems that there is a glitch at the very starting of server.

Any idea how fixed that ?

Thanks!
__________________

Last edited by Arkshine; 07-08-2007 at 22:29. Reason: Topic Solved.
Arkshine is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-07-2007 , 22:17   Re: Strange ML Bug
Reply With Quote #2

Any ideas ? I did not find the problem yet.
__________________
Arkshine is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-08-2007 , 22:29   Re: Strange ML Bug
Reply With Quote #3

I've found.

I have to put "register_dictionary( "my_file.txt" );" in the precache function before loading files.
__________________

Last edited by Arkshine; 07-09-2007 at 21:58.
Arkshine is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-09-2007 , 21:54   Re: [Solved] Strange ML Bug
Reply With Quote #4

shouldnt it be my_file.txt?
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-09-2007 , 21:57   Re: [Solved] Strange ML Bug
Reply With Quote #5

You're right. But it's just a typo in my post.

What I mean, and It works fine like :

Code:
public plugin_precache() {         register_dictionary( "end_roundsound.txt" );         loading_file(); }
__________________
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 21:34.


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