Raised This Month: $101 Target: $400
 25% 

PF_MessageBegin_I: Tried to create a message with a bogus message type ( 0 )


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 11-02-2018 , 17:08   PF_MessageBegin_I: Tried to create a message with a bogus message type ( 0 )
Reply With Quote #1

PF_MessageBegin_I: Tried to create a message with a bogus message type ( 0 )

Server shutting down. Any ideas how to fix?
LithuanianJack is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: Brazil 🇧🇷
Old 11-06-2018 , 07:20   Re: PF_MessageBegin_I: Tried to create a message with a bogus message type ( 0 )
Reply With Quote #2

Maybe because you started messages through engfunc instead of message_begin and didnt passed player index, or if you didnt ended message through message_end.
__________________
Working with $$$ paid plugins. Contact below (ONLY FOR NEGOTIATIONS)
  • Skype: crazy.770
  • Steam: crazy770
  • Discord: CrazY.#5317
Feel free to check my work at https://conceptstrike.blogspot.com

Check my Aliens vs. Predator: currently offline
CrazY. is offline
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 11-06-2018 , 07:24   Re: PF_MessageBegin_I: Tried to create a message with a bogus message type ( 0 )
Reply With Quote #3

Quote:
Originally Posted by CrazY. View Post
Maybe because you started messages through engfunc instead of message_begin and didnt passed player index, or if you didnt ended message through message_end.
I didnít changed anything, just reinstalled my server and updated to reHLDS
LithuanianJack is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: Brazil 🇧🇷
Old 11-06-2018 , 10:01   Re: PF_MessageBegin_I: Tried to create a message with a bogus message type ( 0 )
Reply With Quote #4

This error wouldn't just start to happen only because you switch to ReHLDS.
__________________
Working with $$$ paid plugins. Contact below (ONLY FOR NEGOTIATIONS)
  • Skype: crazy.770
  • Steam: crazy770
  • Discord: CrazY.#5317
Feel free to check my work at https://conceptstrike.blogspot.com

Check my Aliens vs. Predator: currently offline
CrazY. is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 11-07-2018 , 08:47   Re: PF_MessageBegin_I: Tried to create a message with a bogus message type ( 0 )
Reply With Quote #5

Code:
if (msg_type == 0)
		Sys_Error("%s: Tried to create a message with a bogus message type ( 0 )", __func__);
If you use message_begin/EngFuncs_MessageBegin with type 0 (2nd argument), you will get this error.
I think you used get_user_msgid and it returned 0.
__________________

[MOD] CS Weapon Mod V1.7 (Report | 1.7.1 - 60%)
[MM] MetaMod-C V0.99B (Report )(1.0 - 43%)

Last edited by Ghosted; 11-07-2018 at 08:47.
Ghosted is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 11-08-2018 , 08:35   Re: PF_MessageBegin_I: Tried to create a message with a bogus message type ( 0 )
Reply With Quote #6

Show some code.
__________________
HamletEagle is online now
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 11-08-2018 , 10:46   Re: PF_MessageBegin_I: Tried to create a message with a bogus message type ( 0 )
Reply With Quote #7

Quote:
Originally Posted by Ghosted View Post
Code:
if (msg_type == 0)
		Sys_Error("%s: Tried to create a message with a bogus message type ( 0 )", __func__);
If you use message_begin/EngFuncs_MessageBegin with type 0 (2nd argument), you will get this error.
I think you used get_user_msgid and it returned 0.
Quote:
Originally Posted by HamletEagle View Post
Show some code.
What code? I donít know where the problem from.
LithuanianJack is offline
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 04:21.


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