Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000858Zandronum[All Projects] Suggestionpublic2012-06-04 11:162018-09-30 21:57
ReporterDusk 
Assigned ToDusk 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version3.0Fixed in Version3.0 
Summary0000858: Enhanced chat input
DescriptionFeatures:
* A real chat cursor that can be moved left and right, allowing modification of the chat string mid-text. Also support for home, end and delete key.
* Long chat messages are broken onto multiple lines
* Chat archive that stores up to 10 messages
* Tab completion for player names
Additional Information'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/127 [^]'
Attached Files

- Relationships
parent of 0001461closed Make the up arrow show previous messages in chat 

-  Notes
User avatar (0003700)
Torr Samaho (administrator)
2012-06-09 12:59
edited on: 2012-06-09 13:00

Technical remark: If you want me to be able to pull a branch from your fork, you have to base your branch on *my* latest changeset (or at least on one of my changesets), it may not be based on any of your changesets. "My" here means a changeset that exists in my Zandronum repository.

This is because pulling a changeset requires to pull every single ancestor changeset. So if I wanted to pull your chaticon branch, among other things, I would be forced to pull your neurosphere rebranding.

Regarding the feature at hand: Did anybody test how well this works? This involves quite a lot of code changes, so just judging to include this based on reading the code is difficult.

User avatar (0005694)
Dusk (developer)
2013-01-05 19:15
edited on: 2013-01-05 19:18

OK so update on this: I've been using this input on my client pretty much since I first posted this ticket here and it seems to work fine except for a couple of things:

- I added a sort of chat archive, AKA you can access messages you had already sent using the up/down keys. I'll have to test this a little bit to weed out possible problems.
- When the cursor is moved across the chat field, the underscore used for the cursor can easily be mistaken for a whitespace. Someone could have "Hi_there" and see it right yet it actually is "Hithere" when he actually posts the message. I'll have to brainstorm this a little.

This is my current diff against the 1.0 source.

User avatar (0005701)
ZzZombo (reporter)
2013-01-06 01:49
edited on: 2013-01-06 03:28

Can't you make the cursor to flick like text cursors outside of the game do? Can you repeatedly replace _ with a space and back to make an illusion the cursor flicks?

User avatar (0007092)
Dark-Assassin (administrator)
2013-09-02 11:08

IMO using | would be a better cursor than _.
Also, possibly have it a different color to the rest of the chat color, so it can easily be seen.
User avatar (0007093)
Dusk (developer)
2013-09-02 11:24
edited on: 2013-09-02 11:26

There is no '|' glyph in Doom. 'i' would drive it in the vanilla font but for one there's Heretic and Hexen which use a lowercase 'i' and there are fonts out there for Doom that have a serifed 'I'. I'm wondering if a custom graphic is the way to go here.

User avatar (0007094)
Dark-Assassin (administrator)
2013-09-02 11:37
edited on: 2013-09-02 11:48

Hmm...
Would it be any possible to have the _ show under the text instead of between letters?

Edit: Well, the ! is similar between all the major IWADs.
Also, noticed that Strife uses [ instead of _.

Also, possibly the best color would be that similar of \c[] or \c+ ?
AFAIK \c[] is the default text color while \c+ is the secondary default.
(I'm just referencing from chat strings)

User avatar (0007095)
Dusk (developer)
2013-09-02 12:03

Quote from "#zatesting"

[14:49:16] <@Dusk> hmm
[14:49:26] <@Dusk> that'd imply replace mode
[14:49:37] <@Dusk> and it works with insert mode rather
[14:50:17] <@Dark-Assassin> About having the _ cursor show under?
[14:51:03] <@Dusk> yeah
[14:51:06] <@Dark-Assassin> Hmm
[14:51:30] <@Dark-Assassin> Well, could either use ! or [ (like strife)
[14:51:51] <@Dusk> that'd kinda look weird
[14:52:21] <@Dusk> and the problem with a custom graphic is getting it to look consistent within all iwads
[14:52:34] <@Dark-Assassin> Well, It's probably all there is that looks closest to |
[14:53:08] <@Dusk> tho eh it'd be a 2 x 8 bar
[14:53:29] <@Dusk> also keep in mind that pwads can change font glyphs into whatever they want
[14:53:41] <@Dusk> a custom graphic would be impervious to this
[14:53:42] <@Dark-Assassin> I know. But ! is the most common between all I tried.
[14:53:48] <@Dark-Assassin> True
[14:53:56] <@Dusk> unless a pwad changes it as well but at that point it's intended for such usage
[14:54:05] <@Dark-Assassin> Else, you could have the whole chat input use ConsFont.
[14:54:09] <@Dusk> using a different glyph, from this perspective, is hacky
[14:54:18] <@Dusk> eh i don't want to do that
[14:55:06] <@Dusk> inserting a graphic shouldn't be that hard to do either
User avatar (0007096)
Frits (reporter)
2013-09-03 08:47
edited on: 2013-09-03 08:50

Why don't you go "Source/Goldsrc" style on the chat input (tf2, counter-strike)

like this:'http://cloud-2.steampowered.com/ugc/558699179526565824/902045494E1D9133E9A89D59E4E154F87E25112C/1024x576.resizedimage [^]'


It's like a small console popping up, free of any custom mods font changes or whatever.

User avatar (0007097)
Dusk (developer)
2013-09-03 09:04

That doesn't really solve anything. Some font still has to be used to draw the text and the chat would appear duplicated, once in the notify area and another time in the chat box.
User avatar (0007098)
Frits (reporter)
2013-09-03 14:16

Not a coder but I actually ment taking the whole system as in source for zandronum.
Meaning that the chat box contains all chat related functions, including displaying the chat instead of using the upper right corner.
It's basically a tiny console with uses the (hardcoded? again idk)default font. In other words a totally independent chat system.
Advantages would be:
1)No more chat font changing between pwads (damn some unreadable fonts)
2)No mixing of chat messages and game messages (eg picking up 10 vials/frags/(dis)connecting and having to scroll up in the console)

Disadvantages would be coding it and totally not liking it.
User avatar (0007099)
Dusk (developer)
2013-09-03 19:43

... the heck are you talking about. That is Source, this is Doom. You don't just take stuff from source (I doubt it's open source to begin with) and slap it into Doom. The underlying code bases are almost two decades apart.
User avatar (0007100)
Frits (reporter)
2013-09-03 20:42

I didn't mean for you to take it from source. I just pointed out its chat system is nice.
User avatar (0015366)
Dusk (developer)
2016-07-17 21:18
edited on: 2016-07-17 21:21

'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/127 [^]'

This is back from the dead with a complete do-over and a few new features. The blinking cursor is gone though. I may eventually figure out how to implement it in a sane manner later on.

User avatar (0015447)
Torr Samaho (administrator)
2016-08-14 10:10

I added your patch, but noticed a small bug when testing: Resending an archive message without changes will put an empty message into the chat history.
User avatar (0015469)
Combinebobnt (reporter)
2016-08-18 01:15
edited on: 2016-08-18 01:26

ok i tested everything in the list and tried to spam every button i could, everything worked. I couldn't reproduce the empty chat message on archive

edit: good job ral found a bug. You can't hold backspace to clear your name in player setup anymore

User avatar (0015661)
Ru5tK1ng (updater)
2016-09-18 16:07

That's not a bug. The menu was changed to the style that G/Zdoom has and that's how backspace works there.
User avatar (0016292)
Ru5tK1ng (updater)
2016-11-23 01:58

No new issues reported since bob's initial test.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: ZzZombo hjalg
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2012-06-04 11:16 Dusk New Issue
2012-06-04 11:16 Dusk Status new => assigned
2012-06-04 11:16 Dusk Assigned To => Dusk
2012-06-04 11:17 Dusk Status assigned => needs review
2012-06-04 11:24 Dusk Additional Information Updated View Revisions
2012-06-09 12:59 Torr Samaho Note Added: 0003700
2012-06-09 13:00 Torr Samaho Note Edited: 0003700 View Revisions
2012-06-09 13:01 Torr Samaho Note Revision Dropped: 3700: 0002033
2013-01-05 19:15 Dusk Note Added: 0005694
2013-01-05 19:15 Dusk Status needs review => assigned
2013-01-05 19:15 Dusk Note Edited: 0005694 View Revisions
2013-01-05 19:16 Dusk Note Edited: 0005694 View Revisions
2013-01-05 19:18 Dusk Note Edited: 0005694 View Revisions
2013-01-06 01:49 ZzZombo Note Added: 0005701
2013-01-06 03:28 ZzZombo Note Edited: 0005701 View Revisions
2013-08-15 21:12 Dusk Relationship added parent of 0001461
2013-09-02 11:08 Dark-Assassin Note Added: 0007092
2013-09-02 11:24 Dusk Note Added: 0007093
2013-09-02 11:26 Dusk Note Edited: 0007093 View Revisions
2013-09-02 11:37 Dark-Assassin Note Added: 0007094
2013-09-02 11:41 Dark-Assassin Note Edited: 0007094 View Revisions
2013-09-02 11:48 Dark-Assassin Note Edited: 0007094 View Revisions
2013-09-02 12:03 Dusk Note Added: 0007095
2013-09-03 08:47 Frits Note Added: 0007096
2013-09-03 08:47 Frits Note Edited: 0007096 View Revisions
2013-09-03 08:50 Frits Note Edited: 0007096 View Revisions
2013-09-03 09:04 Dusk Note Added: 0007097
2013-09-03 14:16 Frits Note Added: 0007098
2013-09-03 19:43 Dusk Note Added: 0007099
2013-09-03 20:42 Frits Note Added: 0007100
2016-07-17 21:18 Dusk Note Added: 0015366
2016-07-17 21:20 Dusk Description Updated View Revisions
2016-07-17 21:20 Dusk Additional Information Updated View Revisions
2016-07-17 21:20 Dusk Status assigned => needs review
2016-07-17 21:20 Dusk Description Updated View Revisions
2016-07-17 21:21 Dusk Note Edited: 0015366 View Revisions
2016-08-14 10:10 Torr Samaho Note Added: 0015447
2016-08-14 10:10 Torr Samaho Status needs review => feedback
2016-08-14 21:23 Dusk Status feedback => needs testing
2016-08-14 21:24 Dusk Fixed in Version => 3.0
2016-08-14 21:24 Dusk Target Version => 3.0
2016-08-18 01:15 Combinebobnt Note Added: 0015469
2016-08-18 01:26 Combinebobnt Note Edited: 0015469 View Revisions
2016-09-18 16:07 Ru5tK1ng Note Added: 0015661
2016-11-23 01:58 Ru5tK1ng Note Added: 0016292
2016-11-23 01:58 Ru5tK1ng Status needs testing => resolved
2016-11-23 01:58 Ru5tK1ng Resolution open => fixed
2018-09-30 21:57 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker