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

[CS:GO] hlxce 1.6.19 error native bfwritebyte


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
7106
Senior Member
Join Date: Jun 2013
Old 06-04-2014 , 01:04   [CS:GO] hlxce 1.6.19 error native bfwritebyte
Reply With Quote #1

plz, help me!
7106 is offline
7106
Senior Member
Join Date: Jun 2013
Old 06-04-2014 , 07:18   [CS:GO] rank,top10,next,session commands not working
Reply With Quote #2

i use hlxce 1.6.19
if i type hlx_menu, show menu
but if i type hlx_menu and press "1.display rank", just close menu and nothing happen
plz, help me!
7106 is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 06-13-2014 , 01:38   Re: [CS:GO] hlxce 1.6.19 error native bfwritebyte
Reply With Quote #3

need to use Protobuf's instead: https://wiki.alliedmods.net/Protobuf
Instead of this:
PHP Code:
new Handle:hBf;
hBf StartMessageOne("SayText2"player_index);
if (
hBf != INVALID_HANDLE)
{
    
BfWriteByte(hBfcolor_index); 
    
BfWriteByte(hBf0);
    if (
gamemod == Game_CSGO)
    {
    
// hackhackhack...
    // CS:GO won't print any colors unless you not only start with standard color (1)
    // like in other games, but also have a 'printable' character following it. We will just
    // use an unused control code
        
BfWriteByte(hBf1);
        
BfWriteByte(hBf11);
    }
                            
    
BfWriteString(hBfdisplay_message);
    
EndMessage();

Something like this:
PHP Code:
new Handle:hBf;
hBf StartMessageOne("SayText2"player_index);
if (
hBf != INVALID_HANDLE)
{
if (
GetUserMessageType() == UM_Protobuf)

    
PbSetInt(hBf"command"color_index);
    
PbSetInt(hBf"command"0);
    
PbAddString(hBf"params"display_message);
                                
}
else                
{
    
BfWriteByte(hBfcolor_index); 
    
BfWriteByte(hBf0);
    
BfWriteString(hBfdisplay_message);
}
EndMessage();

Attached Files
File Type: sp Get Plugin or Get Source (hlstatsx.sp - 162 views - 55.4 KB)
__________________

Last edited by versatile_bfg; 06-13-2014 at 02:12.
versatile_bfg is offline
7106
Senior Member
Join Date: Jun 2013
Old 06-13-2014 , 05:23   Re: [CS:GO] hlxce 1.6.19 error native bfwritebyte
Reply With Quote #4

Plugin failed to compile! Please try contacting the author.so i compiled it self
download loghelper.inc, sourcemod 1.5.3
but show warning
and i load that plugin, but still not working hlx_menu's select menu
and HLStatsX needs steamtools.ext?
i installed steamtools.ext but csgo srcds doesn't support
plz, help me!
Attached Thumbnails
Click image for larger version

Name:	1.PNG
Views:	174
Size:	3.1 KB
ID:	134435  

Last edited by 7106; 06-13-2014 at 05:30.
7106 is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 06-13-2014 , 06:33   Re: [CS:GO] hlxce 1.6.19 error native bfwritebyte
Reply With Quote #5

That warning is fine. It will show that everytime.

Read up on Protobuf's and edit the .sp file. I don't use HLStatsX so I can't test it out for you. I don't think steamtools is needed though.
__________________
versatile_bfg 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 03:51.


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