1
Leagues General / Re: Raise the limit
« on: April 04, 2023, 04:04 PM »
Wrong board? This is the tech support forum for the game itself, and I'm guessing this isn't about the WormNET 3-games-per-5-minutes limit.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
WA is very old, so it might have some vulnerable computer exploitation?Yes, we fixed a few of these. That's also how Silkworm worked, it exploited buffer overflows. We also added some security strengthening like ASLR I think.
Indeed, I am aware of those features and already have the language filter turned on(I double checked just to make sure), yet this player was still able to use that racist word.Hmm, that's a bug. I'll have a look.
I still wonder about the possibility of having a selective word filter, something you can customize, update and maintain personally, is that something that might be possible in future?The list of bad words is stored in the file filter.FTR, using a very simple encryption (obfuscation) scheme (ASCII Caesar). Editing that file would allow customizing the game's word filter, though one would need to decrypt it first and then encrypt the result.
it's against Twitch TOS.A few points here:
set_property(TARGET wkKick38 PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded")
I am truly sorry for causing trouble to you and the entire worms community.This is unnecessary.
Though I think that through discussion in this thread issues with the module were corrected and the most recent release of the module seems to work properly.I don't understand what you mean by this. The attachment to the (latest?) post at https://www.tus-wa.com/forums/worms-armageddon/wkkick38-32802/msg276478/#msg276478 still seems to pull in MSVCP140.dll?
My works are and will remain open source, so if anyone wants to improve them, anyone is free to do so and I would love to see an active open source worms community in near future.I suggest placing the source code on a software forge website, such as GitHub. This will avoid issues such as someone submitting a patch against an outdated version of the source code.
Clearly, I'm no expert on windows api but I think that LoadLibraryA triggers this error before my module runs a single code instruction, so there is not much that I can do from technical standpoint.I don't understand what makes you say that. I already offered a few suggestions on how to avoid this: 1) Avoid using libc features 2) Link to the libc statically 3) Include the libc DLL with your application 4) Make it so that it's not possible to install the module without also installing the dependencies, e.g. by bundling it in an installer; or, as the next best thing, make it so that it's unlikely that users end up with this situation, e.g. by placing the download link for dependencies before the download link for the module itself.
I should've stated in OP that this module requires MSVC runtimes, but some users would ignore it regardless (just like GrO did a few posts back when I instructed him to install runtimes).This is twice fallacious: 1) You are dismissing a suggestion based on a hypothetical scenario which just assumes that users are going to be incompetent (in which case, it would be reasonable to state that it's the user's fault for failing to follow instructions); 2) the parallel you are drawing is not a good one, as the problem persisted for GrO because the instructions you added were incomplete (you never mentioned which bitness version of the runtimes were necessary).
I am well aware of that and I've already changed that code before your posts when feedback about issues reached me.Great
- in my opinion this functionality should come standard with base game to avoid shitty kick module implementations like this.I agree that there is a problem in need of solving here, but not necessarily that this is the best way of solving it. I would be more excited to see a module which forces a player's teams to surrender without disconnecting them, so that they have an opportunity to discuss what went wrong and how they can avoid disrupting games in the future. For malevolent players who continue to disrupt games intentionally, preventing them from entering the game in the first place would be a much better solution. Cases when players behave in a way that's not acceptable regardless of circumstances (e.g. hate speech etc.) should be reported to moderators so that the users are removed from WormNET.
If there was a proper API to deal with the game's memory or proper open source examples, things could've been a bit better.Unfortunately we are torn by a conflict of interest between helping the community to build useful things, and our obligation to Team17 to not divulge too many game internals, as well as not accidentally making it too easy to build harmful software such as cheats.
Yes, this message is very verbose, but it would be nice to cover a special case for LoadLibraryA error 0x7E that suggests that some DLL is missingThough it does not mention "DLL" explicitly, it already does, twice ("module could not be found" and "files required by the module are present").
and maybe try installing runtimes.Depending on how specific such a message would be, it would need to either make an assumption of 1) the module's programming language, and 2) which component is exactly missing; otherwise, it would still be too vague to be useful.
As seen in this thread, people are still confused about this error message.Yes. So, please try to not release software which causes confusing error messages.
I didn't give much thought to it - I just assumed that everyone has msvc runtimes installed.OK, an honest mistake. So, surely the next step would be to address this by improving the documentation, or changing the installation archive / process to avoid this problem, instead of blaming the game and expecting the users to figure it out on their own?
This signature scanner is written by Zer0Mem0ry and available at https://github.com/Zer0Mem0ry/SignatureScanner that just happened to be the first result on google when I needed one. I agree that this scanner is suboptimal for this use case (and also leaked memory). I've patched it a little bit to work good enough to make the required hooks.You may observe a non-negligible performance gain by avoiding the WinAPI overhead.
I'm sorry for giving a bad name to the entire WormKit authors community by releasing open source modules for WA 3.8.That's not where the problem lies. Shoddy workmanship and then refusing to accept responsibility for the problem is.
btw, WA's warning message should be made more clear about the cause of error 0x7E to avoid confusion.The error message shows: