Zombie Panic! Source

Zombie Panic! Source

View Stats:
 This topic has been pinned, so it's probably important
Sourcemod update for ZPS 3.1
Hello all,

The ZPS gamedata has been updated for Sourcemod to account for the ZPS 3.1 update. You can get the updates by either applying the latest SM build to your server or simply re-enabling your current SM install on your server to download the latest gamedata files automatically (assuming you did not disable auto update in core.cfg for SM).

Be sure to restart the server once the new gamedata files have been downloaded and applied. Your plugins should work after the update (allegedly, there may be cases in which updates to plugins will be necessary, so keep that in mind if things aren't all working correctly).


Also a side note to plugin developers:

  • CZP_Player is a new class that has similar functions to classes like CBaseEntity, but the biggest difference is that CZP_Player functions will utilize lag compensation features, whereas CBaseEntity functions does not. While the plugins using CBaseEntity will still work as intended, if you want/need to utilize lag compensation features, you'll need to call functions from CZP_Player (special thanks to Shepard for sharing that bit of knowledge). Currently, offsets for CZP_Player are not found in SM, so to use SM for those, you'll need to find offsets/signatures for them. An alternative would be to make Angelscript plugins/scripts for utilizing those functions instead of SM. However, all of this depends on whether you are looking to utilize those features, otherwise you can continue to use the functions that SM currently uses via gamedata.

  • If you were using the CureInfection plugins that I made for SM or any of the infection offsets that were used for 3.0 - 3.0.9 (all of which are separate from SM gamedata), just know that they are currently not working and new offsets/signatures will most likely need to be found for those. The new infection functions now exist within the CZP_Player class, which is where a search for offsets/signatures for SM should start if you plan to use SM for infection plugins (like pills cure or other such things).
< >
Showing 1-1 of 1 comments
Oct 20, 2020 @ 3:56pm 
Thank you Silence for updating the SourceMod gamedata and sending the work to their team to be added in the public builds.

Originally posted by Silence:
CZP_Player is a new class that has similar functions to classes like CBaseEntity, but the biggest difference is that CZP_Player functions will utilize lag compensation features, whereas CBaseEntity functions does not. While the plugins using CBaseEntity will still work as intended, if you want/need to utilize lag compensation features, you'll need to call functions from CZP_Player (special thanks to Shepard for sharing that bit of knowledge).

The "lag compensation" part applies to the "FireBullets( FireBulletsInfo_t &, int & )" and "FireBullets( FireBulletsInfo_t & )" only (and maybe some other methods) but that does not change the fact that plugin authors should use methods from the "CZP_Player" class rather than "CBaseEntity" whenever it's possible.

We do have plans to "expose" more stuff for SourceMod requested by the community (all stuff related to infection for example). Keep an eye out on patches announcements changelogs.
< >
Showing 1-1 of 1 comments
Per page: 1530 50