COMPLETED - [BOUNTY] Typing Indicator for Command Bar

How, what and why to code in BYOND.
Post Reply
User avatar
Lilah
Joined: Fri Jun 05, 2015 10:27 am
Byond Username: LilahNovi

COMPLETED - [BOUNTY] Typing Indicator for Command Bar

Post by Lilah » #726634

I brought this up in the discord #coding-general and sort of got "this is not possible" to "it's expensive and dumb", but I decided to stick it in here anyway because, well, why not.

I am a command-box typer. Started that way, and will be that way forever. I gave the pop-up box the good old college try.
So, yes, "Learn to open the say box" <---- let's skip this because I wouldn't be asking if I didn't have my reasons.

Anyway, people often think I'm ignoring them or not typing at all which is a pain in the butt. I can live with it, but it would be a nice QoL for the command bar chat kids (We exist! We out here!!)

I commented about this last year on Aurora station and they managed to fix the issue for me. I got dat speech bubble using command bar. I have Say " activated at all times, and it didn't give me a bubble until I started typing what I wanted to say. I know Aurora changed over to TGUI some time ago, and the bubble addition was after this switch.
Aurora used the SStyping from Nebula. I have no idea what this is. Here is the PR on the subject. Not sure if it's similar, possible, or applicable, but perhaps better to have some frame of reference... https://github.com/Aurorastation/Aurora ... 6169/files

If it doesn't work for /tg/, that's fine, but I'd like to know why in a clear way (Is it hard on the server or cause lag? Is it too buggy? Does something just not fundamentally exist to make it work? I am not interested in making gameplay experience worse for something so small.)

If someone thinks its possible and it doesn't cause issues, then I would like to offer $75 for the code, and $25 on top if the PR is successful. If for whatever reason it is more difficult than expected, we can talk about the bounty amount. I don't want people working for too little.

Thank you!! :heart:
Last edited by Lilah on Mon May 06, 2024 1:20 am, edited 1 time in total.
:heart: Image :heart:
User avatar
iamgoofball
Github User
Joined: Fri Apr 18, 2014 5:50 pm
Byond Username: Iamgoofball
Github Username: Iamgoofball

Re: [BOUNTY] Typing Indicator for Command Bar

Post by iamgoofball » #726639

this is doable, we just need the verb bar to be tgui'd first
User avatar
Waltermeldron
Code Maintainer
Joined: Tue May 25, 2021 3:10 pm
Byond Username: WalterMeldron

Re: [BOUNTY] Typing Indicator for Command Bar

Post by Waltermeldron » #726763

like goof said, viable

There isn't really any performance implications.
There is a problem if tgui breaks, which is why there needs to be a way to fallback to the built in command bar without having to go through tgui, because then it defeats the purpose of the fallback.
User avatar
PKPenguin321
Site Admin
Joined: Tue Jul 01, 2014 7:02 pm
Byond Username: PKPenguin321
Github Username: PKPenguin321
Location: U S A, U S A, U S A

Re: [BOUNTY] Typing Indicator for Command Bar

Post by PKPenguin321 » #727184

holy fuck please do this, ever since fancy chat my control scheme has been turbo fucked and has never recovered
i play Lauser McMauligan. clown name is Cold-Ass Honkey
i have three other top secret characters as well.
tell the best admin how good he is
Spoiler:
Image
User avatar
BeeSting12
Joined: Sat Apr 16, 2016 1:11 am
Byond Username: BeeSting12
Github Username: BeeSting12
Location: 'Murica

Re: [BOUNTY] Typing Indicator for Command Bar

Post by BeeSting12 » #727495

i dont play anymore but this would be awesome if someone did it, i always preferred using the command bar to chat too. so much in fact that sometimes after long stints of playing ss13 i will type Sa [tab] before a new line in a paper or email or whatever because im so used to doing that to talk.
Edward Sloan, THE LAW
Melanie Flowers, Catgirl
Borgasm, Cyborg
Spoiler:
OOC: Hunterh98: to be fair sloan is one of the, if not the, most robust folks on tg

DEAD: Schlomo Gaskin says, "sloan may be a faggot but he gets the job done"

DEAD: Rei Ayanami says, "YOU'RE EVERYWHERE WHERE BAD SHIT IS HAPPENING"
DEAD: Rei Ayanami says, "IT'S ALWAYS FUCKING EDWARD SLOAN"
oranges wrote:Bee sting is honestly the nicest admin, I look forward to seeing him as a headmin one day
[2020-05-21 01:21:48.923] SAY: Crippo/(Impala Chainee) "Shaggy Voice - She like... wants to get Eiffel Towered bro!!" (Brig (125, 166, 2))
hows my driving?
User avatar
oranges
Code Maintainer
Joined: Tue Apr 15, 2014 9:16 pm
Byond Username: Optimumtact
Github Username: optimumtact
Location: #CHATSHITGETBANGED

Re: [BOUNTY] Typing Indicator for Command Bar

Post by oranges » #727729

there's no viable way to achieve this in a way that will satisfy the requirement to have perfect fallback.
User avatar
MrStonedOne
Host
Joined: Mon Apr 14, 2014 10:56 pm
Byond Username: MrStonedOne
Github Username: MrStonedOne

Re: [BOUNTY] Typing Indicator for Command Bar

Post by MrStonedOne » #728103

fun fact, you do not need tgui for typing indicators on the command bar.
Forum/Wiki Administrator, Server host, Database King, Master Coder
MrStonedOne on digg(banned), Steam, IRC, Skype Discord. (!vAKvpFcksg)
Image
NSFW:
Image
User avatar
MrStonedOne
Host
Joined: Mon Apr 14, 2014 10:56 pm
Byond Username: MrStonedOne
Github Username: MrStonedOne

Re: [BOUNTY] Typing Indicator for Command Bar

Post by MrStonedOne » #728104

proof of concept
Image
Forum/Wiki Administrator, Server host, Database King, Master Coder
MrStonedOne on digg(banned), Steam, IRC, Skype Discord. (!vAKvpFcksg)
Image
NSFW:
Image
User avatar
TheSmallBlue
Joined: Thu Oct 31, 2019 3:55 pm
Byond Username: SmallBlue

Re: [BOUNTY] Typing Indicator for Command Bar

Post by TheSmallBlue » #728110

so there IS a viable way to achieve this while statisfying the requirement to have perfect fallback!
When human I go by Bluti Kabooti, when AI I go by Azure
Image
Comm from
User avatar
MrStonedOne
Host
Joined: Mon Apr 14, 2014 10:56 pm
Byond Username: MrStonedOne
Github Username: MrStonedOne

Re: [BOUNTY] Typing Indicator for Command Bar

Post by MrStonedOne » #728112

Client side proof of concept that avoids the server load issue coderbus was talking about.

Code: Select all

Topic: "typing&verb=&argument_length=-1&debug_text="
Topic: "typing&verb=s&argument_length=-1&debug_text=s"
Topic: "typing&verb=sa&argument_length=-1&debug_text=sa"
Topic: "typing&verb=say&argument_length=-1&debug_text=say"
Topic: "typing&verb=say&argument_length=0&debug_text=say%20%22"
Topic: "typing&verb=say&argument_length=3&debug_text=say%20%22tes"
Topic: "typing&verb=say&argument_length=8&debug_text=say%20%22testing%20"
Topic: "typing&verb=say&argument_length=9&debug_text=say%20%22testing%20t"
Topic: "typing&verb=say&argument_length=11&debug_text=say%20%22testing%20tha"
Topic: "typing&verb=say&argument_length=12&debug_text=say%20%22testing%20that"
Topic: "typing&verb=say&argument_length=13&debug_text=say%20%22testing%20that%20"
Topic: "typing&verb=say&argument_length=15&debug_text=say%20%22testing%20that%20th"
Topic: "typing&verb=say&argument_length=16&debug_text=say%20%22testing%20that%20thi"
Topic: "typing&verb=say&argument_length=17&debug_text=say%20%22testing%20that%20this"
Topic: "typing&verb=say&argument_length=18&debug_text=say%20%22testing%20that%20this%20"
Topic: "typing&verb=say&argument_length=19&debug_text=say%20%22testing%20that%20this%20s"
Topic: "typing&verb=say&argument_length=21&debug_text=say%20%22testing%20that%20this%20shi"
Topic: "typing&verb=say&argument_length=25&debug_text=say%20%22testing%20that%20this%20shit%20wo"
Topic: "typing&verb=say&argument_length=26&debug_text=say%20%22testing%20that%20this%20shit%20wor"
Topic: "typing&verb=say&argument_length=27&debug_text=say%20%22testing%20that%20this%20shit%20work"
Topic: "typing&verb=say&argument_length=28&debug_text=say%20%22testing%20that%20this%20shit%20works"
Forum/Wiki Administrator, Server host, Database King, Master Coder
MrStonedOne on digg(banned), Steam, IRC, Skype Discord. (!vAKvpFcksg)
Image
NSFW:
Image
User avatar
MrStonedOne
Host
Joined: Mon Apr 14, 2014 10:56 pm
Byond Username: MrStonedOne
Github Username: MrStonedOne

Re: [BOUNTY] Typing Indicator for Command Bar

Post by MrStonedOne » #728193

Forum/Wiki Administrator, Server host, Database King, Master Coder
MrStonedOne on digg(banned), Steam, IRC, Skype Discord. (!vAKvpFcksg)
Image
NSFW:
Image
User avatar
Lilah
Joined: Fri Jun 05, 2015 10:27 am
Byond Username: LilahNovi

Re: [BOUNTY] Typing Indicator for Command Bar

Post by Lilah » #728198

Thank you so much, MSO! :heart: :D
Cash monies have been sent.
:heart: Image :heart:
User avatar
oranges
Code Maintainer
Joined: Tue Apr 15, 2014 9:16 pm
Byond Username: Optimumtact
Github Username: optimumtact
Location: #CHATSHITGETBANGED

Re: COMPLETED - [BOUNTY] Typing Indicator for Command Bar

Post by oranges » #728203

lying on the internet is the fastest way to get the answer
Post Reply

Who is online

Users browsing this forum: xXPawnStarrXx