Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: Sonmez on Oct 23, 2020, 05:40 PM

Title: R2 Features
Post by: Sonmez on Oct 23, 2020, 05:40 PM
As server producers, we made a chat and scoreboard on our own, but the original chat/scoreboard has no way to hide or no way to remove the keys they are assigned to. This is really annoying.

I'm from Turkey and our letters isn't same with English so we can't talk or texting each other properly in chat (in Turkish servers)
Due to this problem we made another chat with GUI but the original chat is blocking us due to its keybindings.

And guys please tell me did u see a scoreboard without pressing TAB, we tried to do that but we couldn't, ask why. 'cuz our developers made a soreboard and chat that no-one can change or hide  -_-

( probably u'll say "select another key and use it dumb" but people using "T" for chat always)

Selecting another key isn't solves this problem

Maybe something like this can be added?
<!-- R2 Features -->
<ChatConsole>false</ChatConsole>
<ScoreBoard>false</ScoreBoard>
Title: Re: R2 Features
Post by: Inferno on Oct 23, 2020, 05:46 PM
You can use return 0; in OnPlayerChat to hide original chat,.

as for scoreboard, idk if its possible to hide it.
Title: Re: R2 Features
Post by: Sonmez on Oct 23, 2020, 05:49 PM
Quote from: Inferno on Oct 23, 2020, 05:46 PMYou can use return 0; in OnPlayerChat to hide original chat,.

as for scoreboard, idk if its possible to hide it.
We can't hide original chat gui and we cant remove original chat's keybind with "return false". Same as the scoreboard
Title: Re: R2 Features
Post by: ressam on Oct 23, 2020, 05:57 PM
Quote from: Inferno on Oct 23, 2020, 05:46 PMYou can use return 0; in OnPlayerChat to hide original chat,.

as for scoreboard, idk if its possible to hide it.
Can't assign it to another key?
Title: Re: R2 Features
Post by: Sonmez on Oct 23, 2020, 05:59 PM
Quote from: ressam on Oct 23, 2020, 05:57 PM
Quote from: Inferno on Oct 23, 2020, 05:46 PMYou can use return 0; in OnPlayerChat to hide original chat,.

as for scoreboard, idk if its possible to hide it.
Can't assign it to another key?


Selecting another key isn't solves this problem. Because players use "TAB" for scoreboard and players use "T" for chat.
Title: Re: R2 Features
Post by: Xmair on Oct 23, 2020, 07:04 PM
Quote from: Sonmez on Oct 23, 2020, 05:59 PM
Quote from: ressam on Oct 23, 2020, 05:57 PM
Quote from: Inferno on Oct 23, 2020, 05:46 PMYou can use return 0; in OnPlayerChat to hide original chat,.

as for scoreboard, idk if its possible to hide it.
Can't assign it to another key?


Selecting another key isn't solves this problem. Because players use "TAB" for scoreboard and players use "T" for chat.
Cancel the onPlayerChat event by returning false/0 and send a stream to all of the connected players with the player's message.
Title: Re: R2 Features
Post by: DizzasTeR on Oct 24, 2020, 08:00 AM
How is nobody not understanding what he's saying.

THE DEFAULT CHATBOX DOES NOT SUPPORT TURKISH CHARACTERS
=> So he wants a way to either disable T chat or BE ABLE TO CHANGE DEFAULT CHAT KEY

Same for scoreboard (Default is F5) but in many multiplayers its common to have scoreboard on TAB but you can't change it
Title: Re: R2 Features
Post by: Sonmez on Oct 24, 2020, 08:30 AM
Quote from: DizzasTeR on Oct 24, 2020, 08:00 AMHow is nobody not understanding what he's saying.

THE DEFAULT CHATBOX DOES NOT SUPPORT TURKISH CHARACTERS
=> So he wants a way to either disable T chat or BE ABLE TO CHANGE DEFAULT CHAT KEY


Quote from: DizzasTeR on Oct 24, 2020, 08:00 AMSame for scoreboard (Default is F5) but in many multiplayers its common to have scoreboard on TAB but you can't change it

Yeah, exactly.
Title: Re: R2 Features
Post by: habi on Oct 25, 2020, 11:47 AM
If i make an executable file, will you guys distribute to all players?
Title: Re: R2 Features
Post by: MEGAMIND on Oct 25, 2020, 11:47 AM
Quote from: habi on Oct 25, 2020, 11:47 AMIf i make an executable file, will you guys distribute to all players?
i trust this man by my eyes closed
Title: Re: R2 Features
Post by: DizzasTeR on Oct 25, 2020, 12:38 PM
Quote from: MEGAMIND on Oct 25, 2020, 11:47 AM
Quote from: habi on Oct 25, 2020, 11:47 AMIf i make an executable file, will you guys distribute to all players?
i trust this man by my eyes closed

Its less about trust, and more about distributing the actual file between every player that will play on your server (like this (https://forum.vc-mp.org/?topic=565.0)). It is quite literally going to be a "hack", but a positive one instead of a negative one. The bigger problem is that you will get locked out from players because they don't have a special file to give them the extra "feature" which is required and not everyone does that much to play on a server.
Title: Re: R2 Features
Post by: MEGAMIND on Oct 25, 2020, 12:51 PM
Quote from: DizzasTeR on Oct 25, 2020, 12:38 PM
Quote from: MEGAMIND on Oct 25, 2020, 11:47 AM
Quote from: habi on Oct 25, 2020, 11:47 AMIf i make an executable file, will you guys distribute to all players?
i trust this man by my eyes closed

Its less about trust, and more about distributing the actual file between every player that will play on your server (like this (https://forum.vc-mp.org/?topic=565.0)). It is quite literally going to be a "hack", but a positive one instead of a negative one. The bigger problem is that you will get locked out from players because they don't have a special file to give them the extra "feature" which is required and not everyone does that much to play on a server.
@habi in that case a new plugin might help? overiding the actuall funtions to use the new custom ones? or along with an .ini file to set between the actuall on custom ones?
Title: Re: R2 Features
Post by: Xmair on Oct 25, 2020, 01:16 PM
Quote from: MEGAMIND on Oct 25, 2020, 12:51 PM
Quote from: DizzasTeR on Oct 25, 2020, 12:38 PM
Quote from: MEGAMIND on Oct 25, 2020, 11:47 AM
Quote from: habi on Oct 25, 2020, 11:47 AMIf i make an executable file, will you guys distribute to all players?
i trust this man by my eyes closed

Its less about trust, and more about distributing the actual file between every player that will play on your server (like this (https://forum.vc-mp.org/?topic=565.0)). It is quite literally going to be a "hack", but a positive one instead of a negative one. The bigger problem is that you will get locked out from players because they don't have a special file to give them the extra "feature" which is required and not everyone does that much to play on a server.
@habi in that case a new plugin might help? overiding the actuall funtions to use the new custom ones? or along with an .ini file to set between the actuall on custom ones?
You can't do something like that with a server sided plugin.
Title: Re: R2 Features
Post by: MEGAMIND on Oct 25, 2020, 01:21 PM
Quote from: Xmair on Oct 25, 2020, 01:16 PM
Quote from: MEGAMIND on Oct 25, 2020, 12:51 PM
Quote from: DizzasTeR on Oct 25, 2020, 12:38 PM
Quote from: MEGAMIND on Oct 25, 2020, 11:47 AM
Quote from: habi on Oct 25, 2020, 11:47 AMIf i make an executable file, will you guys distribute to all players?
i trust this man by my eyes closed

Its less about trust, and more about distributing the actual file between every player that will play on your server (like this (https://forum.vc-mp.org/?topic=565.0)). It is quite literally going to be a "hack", but a positive one instead of a negative one. The bigger problem is that you will get locked out from players because they don't have a special file to give them the extra "feature" which is required and not everyone does that much to play on a server.
@habi in that case a new plugin might help? overiding the actuall funtions to use the new custom ones? or along with an .ini file to set between the actuall on custom ones?
You can't do something like that with a server sided plugin.
@sonmez as u see no possibilities so leave it as it is, use keybinds
Title: Re: R2 Features
Post by: Sonmez on Oct 27, 2020, 09:00 AM
Quote from: habi on Oct 25, 2020, 11:47 AMIf i make an executable file, will you guys distribute to all players?
I can distribute it. Can you do this?
Title: Re: R2 Features
Post by: habi on Oct 28, 2020, 01:53 PM
let me try. may be hooking direct input with some dll or something.
Title: Re: R2 Features
Post by: NicusorN5 on Nov 06, 2020, 05:32 PM
nah, you'll need to NOP some adresses in VCMP's client dll to disable the scoreboard totally