[0.4 BETA] TwitchyDoom - Streamer interaction!
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.
Got a cool project idea but nothing else? Put it in the project ideas thread instead!
Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.
Please read the full rules for more details.
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.
Got a cool project idea but nothing else? Put it in the project ideas thread instead!
Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.
Please read the full rules for more details.
-
- Posts: 4
- Joined: Sun Mar 31, 2024 2:01 pm
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
Re: [0.4 BETA] TwitchyDoom - Streamer interaction!
Hey it's been a while but I was wondering, has anyone else found this mod has just stopped working? I've used various GZDoom versions (the last I was on was 4.10 and it worked fine there) and I'm also using Streamlabs chatbot 1.0.2.81 and I'm attempting to use this on GZDoom 4.11
GZDoom is loading the mod fine and it's pointing to the txt file fine too, no errors, and chatbot is writing to the .txt file no problem. However, nothing happens at all. I also re-generated the tokens on the chatbot, resynced to tips page, all that stuff.
I literally cannot fathom what changed in any of the GZDoom versions, or indeed anywhere else for older versions, that is preventing this mod from working. Unless I missed something MASSIVELY obvious, I got nothing. Any thoughts?
GZDoom is loading the mod fine and it's pointing to the txt file fine too, no errors, and chatbot is writing to the .txt file no problem. However, nothing happens at all. I also re-generated the tokens on the chatbot, resynced to tips page, all that stuff.
I literally cannot fathom what changed in any of the GZDoom versions, or indeed anywhere else for older versions, that is preventing this mod from working. Unless I missed something MASSIVELY obvious, I got nothing. Any thoughts?
Last edited by DrDubzpart2 on Sun Mar 31, 2024 2:41 pm, edited 2 times in total.
- Dan_The_Noob
- Posts: 872
- Joined: Tue May 07, 2019 12:24 pm
- Graphics Processor: nVidia with Vulkan support
- Contact:
Re: [0.4 BETA] TwitchyDoom - Streamer interaction!
im wondering if the newer gzdoom doesnt read from txt anymore.
-
- Posts: 4
- Joined: Sun Mar 31, 2024 2:01 pm
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
Re: [0.4 BETA] TwitchyDoom - Streamer interaction!
Dan_The_Noob wrote:
> im wondering if the newer gzdoom doesnt read from txt anymore.
Could be but also I was again using this in 4.8 before and it worked fine then, but I tested it just now and it... just doesn't? It's absolutely bizarre so I must be doing SOMETHING wrong. You tested it lately?
> im wondering if the newer gzdoom doesnt read from txt anymore.
Could be but also I was again using this in 4.8 before and it worked fine then, but I tested it just now and it... just doesn't? It's absolutely bizarre so I must be doing SOMETHING wrong. You tested it lately?
Last edited by DrDubzpart2 on Mon Apr 01, 2024 5:03 am, edited 1 time in total.
Re: [0.4 BETA] TwitchyDoom - Streamer interaction!
I did some extensive testing modifying the code, and it turns out it can read the file, even if it's updated. The problem is now when gzdoom loads the lump initially, it remembers or allocates the memory for it, so if you add more to the file, it gets ignored. If you modify the existing text and your new input is larger, it gets trimmed.
So in theory you could modify twitchydoom to allocate a large line of initial text, and set the bot to overwrite (not append) that line each time with new commands. But it'd be just a hacky solution for something that either should be working fine as before, or not work at all (if you are not supposed to modify files on the fly).
In my testing I modified the code to always process only the first line, and read/list the contents of the whole file. And used the test parm just to trigger the input.
So in theory you could modify twitchydoom to allocate a large line of initial text, and set the bot to overwrite (not append) that line each time with new commands. But it'd be just a hacky solution for something that either should be working fine as before, or not work at all (if you are not supposed to modify files on the fly).
In my testing I modified the code to always process only the first line, and read/list the contents of the whole file. And used the test parm just to trigger the input.
-
- Posts: 4
- Joined: Sun Mar 31, 2024 2:01 pm
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
Re: [0.4 BETA] TwitchyDoom - Streamer interaction!
Hooogh... that is unfortunately WAY beyond my abilities as a person who has barely a firm grasp of the basics, thanks for at least confirming it's not just a me problem though. I can only wait till an official fix comes around, if it does, which is fine I got a fair few good sessions out of it.
Last edited by DrDubzpart2 on Mon Apr 01, 2024 1:19 pm, edited 1 time in total.
- Critzhater76
- Posts: 17
- Joined: Sun Jul 31, 2022 4:49 pm
Re: [0.4 BETA] TwitchyDoom - Streamer interaction!
It's impossible to do it for Delta Touch, isn't it
-
- Posts: 4
- Joined: Sun Mar 31, 2024 2:01 pm
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
Re: [0.4 BETA] TwitchyDoom - Streamer interaction!
Critzhater76 wrote:
> It's impossible to do it for Delta Touch, isn't it
Yeah probably... ah well.
> It's impossible to do it for Delta Touch, isn't it
Yeah probably... ah well.
-
- Posts: 4
- Joined: Sun Mar 31, 2024 2:01 pm
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
Re: [0.4 BETA] TwitchyDoom - Streamer interaction!
kipo wrote:
> I did some extensive testing modifying the code, and it turns out it can
> read the file, even if it's updated. The problem is now when gzdoom loads
> the lump initially, it remembers or allocates the memory for it, so if you
> add more to the file, it gets ignored. If you modify the existing text and
> your new input is larger, it gets trimmed.
>
> [imgur]https://imgur.com/Z8PUbbC[/imgur]
>
> So in theory you could modify twitchydoom to allocate a large line of
> initial text, and set the bot to overwrite (not append) that line each time
> with new commands. But it'd be just a hacky solution for something that
> either should be working fine as before, or not work at all (if you are not
> supposed to modify files on the fly).
>
> In my testing I modified the code to always process only the first line,
> and read/list the contents of the whole file. And used the test parm just
> to trigger the input.
------------------
Did anyone do any more testing on this? Or at least could I get an idea of how it was modified to work?
> I did some extensive testing modifying the code, and it turns out it can
> read the file, even if it's updated. The problem is now when gzdoom loads
> the lump initially, it remembers or allocates the memory for it, so if you
> add more to the file, it gets ignored. If you modify the existing text and
> your new input is larger, it gets trimmed.
>
> [imgur]https://imgur.com/Z8PUbbC[/imgur]
>
> So in theory you could modify twitchydoom to allocate a large line of
> initial text, and set the bot to overwrite (not append) that line each time
> with new commands. But it'd be just a hacky solution for something that
> either should be working fine as before, or not work at all (if you are not
> supposed to modify files on the fly).
>
> In my testing I modified the code to always process only the first line,
> and read/list the contents of the whole file. And used the test parm just
> to trigger the input.
------------------
Did anyone do any more testing on this? Or at least could I get an idea of how it was modified to work?
Re: [0.4 BETA] TwitchyDoom - Streamer interaction!
I don't think they care to fix it, since this implementation was always prone to stop working at some point. Your best bet is to push for this commit https://github.com/ZDoom/gzdoom/pull/1541
So at least this can be fixed on an official feature.
So at least this can be fixed on an official feature.
-
- Posts: 4
- Joined: Sun Mar 31, 2024 2:01 pm
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
Re: [0.4 BETA] TwitchyDoom - Streamer interaction!
gotcha. Thanks for the heads up yo!