Project Zomboid

Project Zomboid

Streamer Integration Framework
15 条留言
ArkZombie 2 月 2 日 上午 11:41 
of course I get home and the mod shows up. gonna get to testing appreciate you being so helpful!
ArkZombie 2 月 1 日 下午 10:26 
Interesting Im not seeing it in the mod list subbed to both this and the examples just to be safe.
YebNFlo  [作者] 2 月 1 日 下午 9:55 
@ArkZombie you dont need to be live to test. If you are using my examples mod, is it also enabled in the modlist? Have you tried other commands? I'll check if the helicopter itself is not working.
ArkZombie 2 月 1 日 下午 8:48 
Do you have to be live to test commands? I enabled the helicopter for testing so far its not working after putting a SIF.txt in my users/zomboid/lua folder. I can see the heli text in that file but nothing happened in game when I sent the command in my twitch chat.
YebNFlo  [作者] 2 月 1 日 下午 1:35 
@ArkZombie On the SIF - Example Events mod, I included an import string you can copy and paste when clicking "Import" in Streamer.bot. This will set up actions you can use for Twitch.

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3387596392

You'll need to add a trigger of your choice (redeems, commands, or alerts). The Write to File subaction writes { type = "exampleEvent" } into a text file located in a Project Zomboid folder. The mod reads this SIF.txt file inside the Zomboid/Lua folder and triggers events based on its contents.

Let me know if you need further help. :steamthumbsup:
ArkZombie 2 月 1 日 下午 12:04 
As a complete noob to Streamer bot, how do I get started hooking this up? Ive got streamer bot hooked up to my accounts and such but how do I get bot to communicate with zomboid and twitch chat? Thanks for any help!
YebNFlo  [作者] 1 月 28 日 下午 2:51 
@Monsieur Poney I fixed the knockDown event, I forgot to pass the event parameter to the function.

I tested the electricity, all 4 variant tables worked.
Let me know if you still cant get the electricity to work. :steamthumbsup:
YebNFlo  [作者] 1 月 28 日 上午 9:29 
@Monsieur Poney is it possible to know what the error was in the console logs?
Monsieur Poney 1 月 28 日 上午 9:16 
I noticed two errors, one on the earthquake alert. the second is about restoring the electricity which does not work
Monsieur Poney 1 月 28 日 上午 9:11 
HELLO i use on my twich and i take lot of fun thx and congratulation ;)
YebNFlo  [作者] 2024 年 12 月 25 日 上午 9:56 
@Ancastasia but if it does not exist, you can create it manually. When you use streamerbot, it will get created when you use the filepath to (ex. c:\users\username\Zomboid\Lua\SIF.txt) and use the sub-action 'Write to file'.
YebNFlo  [作者] 2024 年 12 月 25 日 上午 9:52 
@Ancastasia on windows, its usually located at c:\users\username\Zomboid\Lua
Ancastasia 2024 年 12 月 25 日 上午 7:03 
Hey, am I correct in assuming that the mod should generate the SIF.txt file after I download and enable it? Or am I supposed to create it manually, and if so at which exact path?
I've checked \steamapps\common\ProjectZomboid\media\lua\ and its subfolders and the file doesn't exist.
YebNFlo  [作者] 2024 年 12 月 23 日 下午 5:03 
@DENSE92 you can also try out some example events that works with this.
DENS92 2024 年 12 月 23 日 上午 8:01 
Very interesting, and as a SB user I am more than grateful to be able to use it as an intermediary.
I plan to try it out and see what crazy things I can generate.