PDA

View Full Version : Notice: API Changes in Upcoming SC Release



JPolito
09-03-2017, 08:22 PM
We had to make few changes to the SC Angelscript API as a result of some bug fixes. This will be effective as of the next version of Sven Co-op (5.11). If your script(s) use any of the changed class members/methods, it won't work anymore in SC 5.11 and needs to be updated. You can find more details and a list of upcoming changes here:

https://github.com/baso88/SC_AngelScript/wiki/API-Changes-SC-5.11

Feel free to ask questions here or on our Discord chat server (https://discord.gg/zw3YEZE).

Zorbos
10-03-2017, 03:06 AM
Thanks for letting us know.
Does CBasePlayer CBasePlayerItem.m_pPlayer getting changed mean we'll need to update weapon/ammo scripts (since those are items I think)? I'd need to start working on a new version of Poke646 and AoMDC coop to fix the errors that will occur after the update drops if so.

GeckonCZ
10-03-2017, 10:55 AM
Yes, the CBasePlayerItem.m_pPlayer change will affect especially custom weapons since constructions like self.m_pPlayer.pev are very common in weapon scripts.