Show Posts

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.


Topics - Caesim

Pages: 1
1
Released Modifications / Minisiege Scripts
« on: June 11, 2020, 12:46:05 am »
I have decided to open source Minisiege's game scripts.
There are a bunch of bug fixes and features that may be useful for other servers. Check the readme file for the commits.
If you want to contribute to Minisiege, feel free to make a pull request or create an issue.

https://gitlab.com/nwpublic/minisiege/minisiege
https://gitlab.com/nwpublic/minisiege/minisiege-web

2
Servers / [HOWTO] Prevent your players from having to redownload maps
« on: February 23, 2018, 07:42:03 pm »
When you join a server with a custom map, the game downloads that map to the cache. So on subsequent joins you don't have to redownload it. But if another server uses a custom map with the same file name, the cached map gets overwritten. That causes unnecessary redownloads for your players.

The solution is simple: change the map's file name so it doesn't get overwritten by other maps with the same file name.

For example if you want to do it with a map file named "scn_mp_custom_map_1.sco":
  • Rename the file to something unique. For example to "scn_mp_custom_map_1_minisiege.sco".
  • Edit "scenes.txt" to reflect the changed file name. In this example:

    Quote
    scn_mp_custom_map_1 mp_custom_map_1 256 none none 0.000000 0.000000 100.000000 100.000000 -100.000000 0x000000023002a1ba0004210900003ca000006a8900007a7b
      0
      0
     outer_terrain_plain
    to
    Quote
    scn_mp_custom_map_1_minisiege mp_custom_map_1 256 none none 0.000000 0.000000 100.000000 100.000000 -100.000000 0x000000023002a1ba0004210900003ca000006a8900007a7b
      0
      0
     outer_terrain_plain

Note that even though the file name has changed, the map ID hasn't. So you still use "mp_custom_map_1" in server settings.

That's it. Your players will now cache the map properly. This method has been used by Minisiege for a long time and it works great.

3
Released Modifications / Dedicated Server Patch for NW (1.104.1.1)
« on: March 12, 2017, 05:06:12 pm »
Dedicated Server Patch for NW (1.104.1.1)

This patch aims to fix a bunch of the exploits and bugs found in the NW source code. It is meant for dedicated servers and is compatible with vanilla NW clients. I don't intend on trying to support non-dedicated hosting.

Fixes:
   ✔ Fixed earth mounds being raisable indefinitely.
   ✔ Now item selection is mostly server side. This fixes not selecting random weapons, naked sappers etc.
   ✔ Fixed spyglass animation without a spyglass. This also fixes stun escape.
   ✔ Fixed unlimited ammo for arty after picking up 2 or more rounds of the same type.
   ✔ Added sapper spam protection. By default it is 1 object per 200ms with added cooldown of 1s for each object spammed too fast. This is a speed I wasn't able to reach without a script so players without scripts shouldn't be affected. These values can be adjusted as needed.
   ✔ Fixed voice spam for sergeants, officers and generals by setting the same cooldown as others.
   ✔ Removed "Kicked for cheating" message. It fixes the spamming of it.

Won't/can't be fixed:
   ✘ Zoom (client side)
   ✘ Cheer animation (bug in game engine)
   ✘ Malicious strings in admin chat crashing server (bug in game engine, fixed in latest server executable)
   ✘ Name tags (client side)
   ✘ Hidden bushes, hitboxless objects, particle effects (client side)
   ✘ Visible invisible objects (client side)
   ✘ Reticle always being small (client side)
   ✘ Longer names than normal (bug in game engine)
   ✘ Invalid/invisible banners. Banner material to be drawn is selected client side. On server the only way is to auto-kick players with invalid banners or to disable custom banners.

May be fixed later:
   • Arty not correctly resetting after map reset (need help identifying culprit)
   • Sapper build sounds being wrong sometimes (need help identifying culprit)
   • Spawning after dying and rejoining server
   • Admin command spam and abuse (just revoke their privileges already ._.)

Links:
   ► Source code
   ► Compiled files
   ► Diff file
   ► GitHub page


Wan't some specific exploits/bugs to be fixed or have found a bug in this patch? Feel free to file an issue on GitHub with a description and/or a way to replicate it. Maybe even a fix.

Pages: 1