AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HLstatsX:CE (https://forums.alliedmods.net/forumdisplay.php?f=156)
-   -   [CS:GO] hlxce 1.6.19 error native bfwritebyte (https://forums.alliedmods.net/showthread.php?t=241465)

7106 06-04-2014 01:04

[CS:GO] hlxce 1.6.19 error native bfwritebyte
 
plz, help me!

7106 06-04-2014 07:18

[CS:GO] rank,top10,next,session commands not working
 
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!

versatile_bfg 06-13-2014 01:38

Re: [CS:GO] hlxce 1.6.19 error native bfwritebyte
 
1 Attachment(s)
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();



7106 06-13-2014 05:23

Re: [CS:GO] hlxce 1.6.19 error native bfwritebyte
 
1 Attachment(s)
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!

versatile_bfg 06-13-2014 06:33

Re: [CS:GO] hlxce 1.6.19 error native bfwritebyte
 
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.


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

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