MantisBT - Zandronum
View Issue Details
0002585Zandronum[All Projects] Suggestionpublic2016-01-20 17:052021-08-08 11:04
Tribeam3rd 
 
nonefeatureN/A
closedfixed 
MicrosoftWindowsXP/Vista/7
3.0-beta 
3.1-beta 
0002585: Get chat messages.
This is rather silly request, it's out of curiosity that I post this.

Had an interesting discussion a moment ago about being able to read people's chat messages from ACS, maybe as an EVENT script, but from what I hear strings in ACS are nightmare, and not to mention script args are int only...but then strings are indexes...or something like that.

Could be interesting, chat commands is the only real thing I can think of for such a thing. (also someone suggested a markov chain thing, which sounds rather useless xD)
No tags attached.
duplicate of 0003131resolved Kaminsky Chat EVENT script. 
Issue History
2016-01-20 17:05Tribeam3rdNew Issue
2016-01-20 17:18DuskNote Added: 0014138
2016-01-20 18:03MonsterovichNote Added: 0014139
2016-01-20 18:05MonsterovichNote Edited: 0014139bug_revision_view_page.php?rev_id=8479
2016-01-20 18:07MonsterovichNote Edited: 0014139bug_revision_view_page.php?rev_id=8480
2016-01-20 18:14MonsterovichNote Deleted: 0014139
2016-01-20 19:45MonsterovichNote Added: 0014140
2016-01-20 19:50MonsterovichNote Edited: 0014140bug_revision_view_page.php?bugnote_id=14140#r8482
2016-01-20 20:01MonsterovichNote Edited: 0014140bug_revision_view_page.php?bugnote_id=14140#r8483
2016-01-20 20:23MonsterovichNote Edited: 0014140bug_revision_view_page.php?bugnote_id=14140#r8484
2016-01-20 20:23MonsterovichNote Edited: 0014140bug_revision_view_page.php?bugnote_id=14140#r8485
2016-01-20 20:25MonsterovichNote Edited: 0014140bug_revision_view_page.php?bugnote_id=14140#r8486
2016-01-20 20:26MonsterovichNote Edited: 0014140bug_revision_view_page.php?bugnote_id=14140#r8487
2016-01-22 18:19KorshunNote Added: 0014156
2021-07-31 03:51KaminskyRelationship addedduplicate of 0003131
2021-08-08 11:04KaminskyStatusnew => closed
2021-08-08 11:04KaminskyResolutionopen => fixed
2021-08-08 11:04KaminskyFixed in Version => 3.1-beta

Notes
(0014138)
Dusk   
2016-01-20 17:18   
I don't think that ACS is fully equipped to handle chat commands, as you said, script args are only integers. Also I'm not sure if we want it to have access to chat in the first place.
(0014140)
Monsterovich   
2016-01-20 19:45   
(edited on: 2016-01-20 20:26)
I made HUDInput before.
'http://forum.zdoom.org/viewtopic.php?f=18&t=46450 [^]'

But they closed it because I didn't write the netcode. #ZDoomNetCodeSux

It uses chat code, but should work separately from it.

P.S. ZDoom devs doesn't care about this anyway, but if we want to fix the input issue for ever, we could try to implement this idea.

I imagine HUDInput code like this:


str text = HudInputString(-1, "Please enter your name", 35*30); // HudInputString(int player, str prompt, int tickstowaitforanswer)

if (text == -1)
    // Fail


This variant is easier than previous.

(0014156)
Korshun   
2016-01-22 18:19   
> I don't think that ACS is fully equipped to handle chat commands, as you said, script args are only integers.

ACS is fully equipped to handle dynamically created strings, and this feature is used by several ACS functions that return strings (most obviously, StrParam).

I hope that at least some way to get proper text input in scripts is added. Either this or an ability to explicitly request input. VIRTUAL KEYBOARDS SUCK