Page 1 of 1

Hide HLTV from query

Posted: 01 Mar 2024, 19:33
by tmv

Hi, Is there a way to not show HLTV in server browser slot?


Re: Hide HLTV from query

Posted: 02 Mar 2024, 11:19
by z0h1r-LK

You can't because it's take a slot from Server, But I'll find on way


Re: Hide HLTV from query

Posted: 02 Mar 2024, 16:41
by tmv

Oh, thanks. Maybe it can be done by editing https://github.com/dreamstalker/rehlds/ but I don't know how


Re: Hide HLTV from query

Posted: 04 Mar 2024, 08:49
by z0h1r-LK

@tmv Sorry bro, I am busy ⏲، About changing something in Engine, No need to do that, There will be a way in AMX or ReAPI Module, Because there are some flags in Engine, Entity Flags

Code: Select all

FL_CLIENT // This mean entity is a player, Human.
FL_PROXY // This mean entity is a HLTV proxy.
FL_FAKECLIENT // This mean entity is a Bot

The last time when I create a server, I've create a Bot Specs plug-in, It's doesn't show the Bots in server browser, Always see server 0/32, But Bot Specs online on server. Bcz I set Bot FL_FAKECLIENT, I'll send you plug-in 🔌 later (HLTV_hide.sma).


Re: Hide HLTV from query

Posted: 04 Mar 2024, 18:23
by z0h1r-LK

Try this plug-in, But I don't test it, Because HLTV doesn't working on my game, I need test it on server

amx_hltv.sma
HLTV Hidden !
(527 Bytes) Downloaded 47 times
amx_hltv.sma
HLTV Hidden !
(527 Bytes) Downloaded 47 times

Re: Hide HLTV from query

Posted: 05 Mar 2024, 21:11
by tmv

I tested it but unfortunately it didn't work.


Re: Hide HLTV from query

Posted: 05 Mar 2024, 22:06
by z0h1r-LK

If you set HLTV FL_FAKECLIENT, the server will stop sending messages to HLTV, sorry, I don't know a solution, but create a topic in Dev-CS


Re: Hide HLTV from query

Posted: 05 Mar 2024, 22:33
by tmv

thanks


Re: Hide HLTV from query

Posted: 05 Mar 2024, 22:48
by z0h1r-LK

* Topic Closed *