AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   fattal error pf_message_begin (https://forums.alliedmods.net/showthread.php?t=313173)

tolpecek 12-30-2018 13:02

fattal error pf_message_begin
 
Screenshot of console https://ctrlv.cz/Bzq0
There is no error before it. every message begin is closed with message end, checked every 3d party plugin i am using and i have no idea what causes it
any help? i dont wanna post my plugin

Ghosted 12-30-2018 13:08

Re: fattal error pf_message_begin
 
there's a plugin that calls message inside message. :crab:

tolpecek 12-30-2018 13:50

Re: fattal error pf_message_begin
 
that was first what i checked, no there isnt, not at least my plugins

tolpecek 12-30-2018 13:51

Re: fattal error pf_message_begin
 
Code:

message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("ScreenFade"), {0,0,0}, players[num]);
                {
                        write_short(4096*10);    // Duration
                        write_short(4);    // Hold time 4096*2
                        write_short(4096);    // Fade type
                        write_byte(0);        // Red
                        write_byte(0);        // Green
                        write_byte(0);        // Blue
                        write_byte(255);    // Alpha
                }
                message_end();

but idk if syntax is good

tolpecek 12-30-2018 14:31

Re: fattal error pf_message_begin
 
Code:

L 22/12/2018 - 10:13:52: (map "bb_antiquity") IndexOfEdict: bad entity
L 22/12/2018 - 10:14:20: (map "bb_antiquity") IndexOfEdict: bad entity
L 22/12/2018 - 10:15:31: (map "bb_antiquity") IndexOfEdict: bad entity
L 23/12/2018 - 14:48:21: (map "bb_antiquity") PF_MessageBegin_I: New message started when msg '99' has not been sent yet
L 23/12/2018 - 21:51:44: (map "bb_antiquity") PF_MessageBegin_I: New message started when msg '66' has not been sent yet
L 28/12/2018 - 20:41:45: (map "bb_brasil_final") PF_MessageBegin_I: New message started when msg '66' has not been sent yet
L 28/12/2018 - 21:01:56: (map "bb_antiquity") PF_MessageBegin_I: New message started when msg '99' has not been sent yet
L 28/12/2018 - 21:39:32: (map "bb_extrabuild_InT") PF_MessageBegin_I: New message started when msg '66' has not been sent yet
L 29/12/2018 - 00:15:55: (map "bb_autumn") PF_MessageBegin_I: New message started when msg '99' has not been sent yet
L 29/12/2018 - 00:29:10: (map "bb_antiquity") PF_MessageBegin_I: New message started when msg '66' has not been sent yet
L 30/12/2018 - 14:17:32: (map "bb_antiquity") PF_MessageBegin_I: New message started when msg '66' has not been sent yet
L 30/12/2018 - 14:23:34: (map "bb_antiquity") PF_MessageBegin_I: New message started when msg '99' has not been sent yet
L 30/12/2018 - 18:17:05: (map "bb_antiquity") PF_MessageBegin_I: New message started when msg '66' has not been sent yet
L 30/12/2018 - 18:31:04: (map "bb_antiquity") PF_MessageBegin_I: New message started when msg '66' has not been sent yet
L 30/12/2018 - 18:46:15: (map "bb_autumn") PF_MessageBegin_I: New message started when msg '66' has not been sent yet
L 30/12/2018 - 18:50:20: (map "bb_antiquity") PF_MessageBegin_I: New message started when msg '66' has not been sent yet
L 30/12/2018 - 18:59:13: (map "bb_antiquity") PF_MessageBegin_I: New message started when msg '66' has not been sent yet
L 30/12/2018 - 19:55:26: (map "bb_antiquity") PF_MessageBegin_I: New message started when msg '66' has not been sent yet
L 30/12/2018 - 20:20:57: (map "bb_autumn") PF_MessageBegin_I: New message started when msg '66' has not been sent yet

error log

tolpecek 12-30-2018 14:36

Re: fattal error pf_message_begin
 
can i do simply if(!anymessageexists) make new message? or something like that, i am new in amxmodx

Ghosted 12-30-2018 15:17

Re: fattal error pf_message_begin
 
where are you calling mesage_begin, maybe you missing message_end somewhere.

tolpecek 12-30-2018 15:32

Re: fattal error pf_message_begin
 
Quote:

Originally Posted by Ghosted (Post 2631867)
where are you calling mesage_begin, maybe you missing message_end somewhere.

really, i have all message_begin ended with message_end(),

Can it be caused by another plugin which start message_begin same time as 1. plugin?

//EDIT: checked all 3d plugins with message_begin and all of them are ended, :(

Ghosted 12-30-2018 17:28

Re: fattal error pf_message_begin
 
Quote:

Originally Posted by tolpecek (Post 2631875)
really, i have all message_begin ended with message_end(),

Can it be caused by another plugin which start message_begin same time as 1. plugin?

//EDIT: checked all 3d plugins with message_begin and all of them are ended, :(

Try disabling all 3d plugins, if this will work then start adding plugins separately

tolpecek 12-30-2018 18:28

Re: fattal error pf_message_begin
 
Quote:

Originally Posted by Ghosted (Post 2631897)
Try disabling all 3d plugins, if this will work then start adding plugins separately

did, only left main plugin (with amxmodx plugins) on and it crashed

//EDIT i found out that 1 of the message_begin has its message id 0
//EDIT Still crashing :/


All times are GMT -4. The time now is 18:54.

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