AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   problem w/ event BarTime2 (https://forums.alliedmods.net/showthread.php?t=188299)

Spriite 06-24-2012 18:23

problem w/ event BarTime2
 
PHP Code:

g_msgBarTime2 get_user_msgid("BarTime2"); 

Is returning to zero.

Result:
Quote:

L 06/24/2012 - 19:24:57: Plugin called message_begin with an invalid message id (0).
L 06/24/2012 - 19:24:57: [AMXX] Displaying debug trace (plugin "*.amxx")
L 06/24/2012 - 19:24:57: [AMXX] Run time error 10: native error (native "message_begin")
L 06/24/2012 - 19:24:57: [AMXX] [0] *.sma::UpdateBar (line 720)
L 06/24/2012 - 19:24:57: [AMXX] [1] *.sma::fw_PlayerPreThink (line 235)
What's the problem?

hornet 06-24-2012 18:40

Re: problem w/ event BarTime2
 
Please show your code.

Spriite 06-24-2012 18:59

Re: problem w/ event BarTime2
 
I found the problem, when I type "meta game" in the console, the list does not show the msg BarTime2.

What I gotta do to be added to the list this msg?

YamiKaitou 06-24-2012 19:09

Re: problem w/ event BarTime2
 
Use a game that supports that message. Does BarTime return 0 for you as well? What game are you testing this on?

Spriite 06-24-2012 19:27

Re: problem w/ event BarTime2
 
BarTime returns to 108.
Game: CS 1.6.

hornet 06-24-2012 19:33

Re: problem w/ event BarTime2
 
How many messages do you get total after meta game ( says down bottom )?

Spriite 06-24-2012 19:38

Re: problem w/ event BarTime2
 
72 msgs:
Spoiler

YamiKaitou 06-24-2012 19:39

Re: problem w/ event BarTime2
 
Delete csbot.dll and use the official server binary

Spriite 06-24-2012 19:54

Re: problem w/ event BarTime2
 
Yeah, thats works. Thx ^^

Spoiler


All times are GMT -4. The time now is 06:12.

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