-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Last Line Trimmed #4
Comments
I don't have a Windows machine atm (and won't for a while) so unfortunately this is going to have to wait. Is this happening to other people, and are you using the super latest version of mm2k? I've seen people complaining about the most recent version breaking scripts |
Version is 4.28.1.17 (MudMaster 4.2.8), and I have reproduced on multiple installs. What's happening (which might be the DLLs fault honestly) is that the full chat value isn't getting placed into the variable for some reason, and as such it's not dumping to the logger window, and anything depending on that data (custom scripts) will fail. I am going to do a packet capture to see if I can spot any anomalies between the packets being sent from hirveserv and what a normal mm2k6 client sends to another client. If I don't use the ChatWindow.dll, and just use the native chat functionality built into mm2k6 the messages come through fine. If you have a hirveserv instance setup somewhere I can connect to and test against, I can see if it's just my install that's at fault somehow (perhaps a different version of a rock or something). I have confirmed that any multi-line message, including chat messages from other hirveserv users, will result in this behavior. |
I mudmailed you a test IP + credentials (since it sounds like you got a local instance running - were the docs at all helpful or do I need to work on those?) |
maybe the dll expects a trailing newline you can test that quickly by editing
with
and similarly for the other clause. I do mean the readme, please do let me know where it was lacking |
I have modified the hirveserv "binary" directly and restarted the script. Here are the 2 modified lines:
and
That appears to have partially fix the issue. Now when I print out the heIp file I can see the full contents, but chats from others still truncate. I am assuming that's because there are multiple places where the code sends data back without the trailing newline. Re: Readme
This was all on a newly configured Ubuntu box that was deployed specifically for this application to run on. I remember I had a few other trip ups as well, and I will be rebuilding from scratch soon for the sake of documenting the process. When I do I will share my exact setup steps. |
chats don't use ack sorry! didn't realise it was that bad. will fix it up a little wiki/consider db don't look for windows line endings which is why they were broken. not so hard to fix |
Overall, I would like to say that the server is very functional and I have enjoyed debugging the errors I ran into. The comments in the code are entertaining as well. Let me know if I can do anything else to help. If you fix the compatibility issues with the dll, I will pull a fresh copy and test. Any ideas on resolving the user <-> user multi-line chat issue? This feels like more of an issue with the DLL than with your code tbh..... |
When using the ChatWindow.dll with mm2k6 multi line chats are dropping the last line. Only appears to happen on messages routed through server, and only drops it from the ChatWindowLastChat variable which appears to be what is dumped to the ChatWindow. Not sure if it's an issue with the DLL or with hirveserv (or perhaps my implementation there of)
The text was updated successfully, but these errors were encountered: