Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Releases: ServerMod/Smod2

ServerMod 3.9.10

04 Mar 22:59
62bc1de
Compare
Choose a tag to compare

Target Game Version: 10.2.2

Changes since last update:

  • Updated to latest base game.

ServerMod 3.9.9

09 Jan 06:22
4d5521d
Compare
Choose a tag to compare
ServerMod 3.9.9 Pre-release
Pre-release

Target Game Version: 10.2.1

Changes since last update:

  • Updated to latest base game.
  • Overhaul of Door code to match base game changes.

Known issue:

  • PlayerDoorAccessEvent currently has not been ported.

ServerMod 3.9.8

23 Dec 14:10
e0a1f51
Compare
Choose a tag to compare

Target Game Version: 10.1.3

Changes since last update:

  • Updated to latest base game.

ServerMod 3.9.7

19 Nov 22:32
9de7fc7
Compare
Choose a tag to compare

Target Game Version: 10.1.2

Changes since last update:

  • Updated to latest base game.

ServerMod 3.9.6

07 Nov 23:24
7a5fb78
Compare
Choose a tag to compare

Target Game Version: 10.1.1

Re-released an 2020-11-08 11:38:38 AM GMT to fix SModRoom room detection.

Changes since last update:

  • Updated to latest base game.

ServerMod 3.9.5

05 Nov 20:08
b5685ca
Compare
Choose a tag to compare

Target Game Version: 10.1.0

Re-released 2020-11-06 8:04:45 AM GMT to fix SMod Rooms returning null position.

Changes since last update:

  • Updated to latest base game.
  • Changed PlayerShotEvent to use HitboxType enum due to base game change.
  • Added GetCurrentRoom() to SmodPlayer.
  • Added GetRooms() to SmodMap.
  • ZoneType and RoomType enums in Map completely redone to reflect main game changes.

ServerMod 3.9.4

27 Oct 22:20
7766b5c
Compare
Choose a tag to compare

Target Game Version: 10.0.6 (Halloween II)

Re-released an 2020-10-27 10:47:10 PM GMT to fix version string issue.

Changes since last update.

Updated to latest game version.

ServerMod 3.9.3

23 Oct 18:31
020ebd6
Compare
Choose a tag to compare

Target Game Version: 10.0.5 (Halloween)

Re-released 2020-10-25 to fix a small bug when cancelling healing items.

Changes since last update.

Updated to latest game version.

ServerMod 3.9.2

21 Oct 01:25
6e86599
Compare
Choose a tag to compare

Target Game Version: 10.0.4

Changes since last update.

Backported 049 revive fix

Obsoleted GetGodMode and SetGodMode in favor of GodMode on SmodPlayer

Added ClearInventory() to SMod Player

Moved broadcast server log to debug mode only to prevent insane spam.

Implemented IEquatable for SmodItem and SmodWeapon so you can do stuff like if(item1 == item2)

Implemented IEquatable to SmodPlayer so you can do stuff like if(player1 == player2) ect

Added new Enum Spawnable which contains everything that is spawnable through the network server

Added SpawnSpawnable(Spawnable ThingToSpawn, Vector position, Vector rotation, Vector size, bool SpawnRightAway = true) that returns the object that created, this is on SModMap.

Added fine control to Items and Weapons so it no longer removes the item based only on ItemType

Move SMod debug message for giving starting items to appropriate handler

API change: Now SmodMap::GetIntercomContent can return null if the content hasn't modified.

Note:
ServerMod no longer overwrites the intercom content by default.
It's also no longer possible to change the content of the custom status.

Generator permission changed to match main game. (From commander to lieutenant)

ServerMod 3.9.1

19 Sep 21:32
86d837b
Compare
Choose a tag to compare

Target Game Version: 10.0.4

Re-released 2020-09-20 7:12:33 AM GMT to fix missing PlayerDropItemEvent.

Changes since last update.

  • Updated to the latest version of the base game.
  • Fixed thrownade by moving it to the system that main game uses. (It was completely rewritten by main game devs)
    You can use this by doing ThrowGrenade(GrenadeType grenadeType, Vector direction = null, float throwForce = 1f, bool slowThrow = false);
  • Adds AHP and HP property and deprecated old ways of doing them.
  • Migrated SmodPlayer to using the ref hub system.
  • Added status effect support.
  • New enum of all status effects called StatusEffect
  • New class PlayerEffect which contains
  1. StatusEffect which returns the above enum value of which status effect it is.
  2. Duration aka how long in seconds is going to last
  3. Intensity returns 0 if disabled or 1 if enabled (unless its the cola which will return how many stacks are active so if you drink 3 colas this will return 3)
  4. Disable the effect or enable the effect with duration and the ability to stack duration
  • Two methods on SmodPlayer
  1. GetAllPlayerEffects() List of PlayerEffect
  2. GetPlayerEffect(StatusEffect effectToReturn) returns status effect from enum value
    -Added 3 status effect events.
  3. IEventHandlerDisableStatusEffect - Called whenever a status effect is disabled. Has person, the status effect and allow property.
  4. IEventHandlerEarlyStatusEffectChange - Called right before the duration is changed when a status effect is changed. Has person, the status effect and allow property.
  5. IEventHandlerLateStatusEffectChange - Called right AFTER the duration is changed. Has person and the status effect.
  • Added stamina to SmodPlayer with a get/set have fun ;)
  • Added IEventHandlerPlayerSCP207Use and IEventHandlerPlayerSCP268Use
  • Both have player using the SCP, the item in the inventory and Allow.
  • 268 event has Cooldown in seconds (get/set)
  • All of the grenade events (throwing, explosion and hit player) now are properly called and now support SCP-018.
  • Fixes small bug where SCP-106 grabbing people damaged twice.
  • Fixes 106 create portal event triggering twice
  • Adds ShowHint(string Text, float durationInSeconds = 1f) to SmodPlayer

Known issues

  • Class picker modifications have not been ported. Hooks and other modifications around this are missing. Expect base game behavior.