Commit Graph

13 Commits

Author SHA1 Message Date
Claude
41517582a7 Add reflection to discover available Chat methods 2025-11-23 19:20:52 +00:00
Claude
1ee6f45f70 Try ChatCommandManager.ProcessCommand instead 2025-11-23 19:17:37 +00:00
Claude
9bd4ab35c5 Update ModInfo.xml to V2 format for 7DTD 2.4 2025-11-23 19:02:29 +00:00
Claude
ccc831218d Add required DisplayName field to ModInfo.xml 2025-11-23 18:58:06 +00:00
Claude
e6ab02aa86 Fix ModInfo.xml format - remove outer xml tag 2025-11-23 18:39:03 +00:00
Claude
b41951e4e1 Patch GameManager.ChatMessage instead of ChatMessageServer
This should properly intercept and block /bot messages from appearing in chat
2025-11-23 18:18:23 +00:00
Claude
6e856a6216 Switch from mcs to csc compiler with nostdlib
Use Roslyn compiler (csc) instead of old mcs to avoid netstandard 2.1 conflicts
2025-11-23 17:51:27 +00:00
Claude
81781835be Use Console.WriteLine instead of Log.Out
Remove unnecessary empty patch class
2025-11-23 17:49:59 +00:00
Claude
618c3b6c35 Remove unnecessary assembly references from build script
Only reference game-specific DLLs, let Mono provide system libraries
2025-11-23 17:47:08 +00:00
Claude
8cdd933d35 Fix build script and API usage
- Add all required assembly references (mscorlib, netstandard, System.dll, System.Core.dll)
- Use GameManager.ChatMessageServer instead of NetPackageChat
- Use Log.Out (proper 7DTD API) instead of Debug.Log
2025-11-23 17:44:58 +00:00
Claude
79718c0acd Fix compilation errors - use correct 7DTD APIs
- Use NetPackageChat instead of non-existent ChatCommandManager
- Use Debug.Log instead of Log.Out
- Add UnityEngine namespace
2025-11-23 17:41:37 +00:00
Claude
8495249cb1 Add build script for command line compilation 2025-11-23 17:19:24 +00:00
Claude
d344ea0e1c Add basic bot command mod
- Intercepts chat messages starting with /bot
- Logs them to telnet only
- Prevents display in game chat
2025-11-23 17:15:09 +00:00