PDA

View Full Version : SourceMod 1.9 Now Stable!


headline
07-08-2018, 00:01
Hello everyone, as you can see SourceMod 1.9 has been declared stable. Gamedata updates will still be supplied to the 1.8 branch for a limited time. The following changes listed below are what's new since the 1.8 branch was declared stable.

Once again, thank you to the following community members who have assisted the SourceMod development team since the 1.8 stable release. These individuals include (but are not limited to): peace-maker, Headline, ErikMinekus, Powerlord, GoD-Tony, FlaminSarge, Benoist3012, iNilo, luki1412, klstriker, kossolax, Duk0, WildCard65, InvexByte, VoiDeD, The Creeper, Pelipoika, akowald, thewavelength, and Kailo.

Fixes

Fixed certain sendprops being treated improperly in CS:GO*
Fixed mass renaming (sm_rename @all "Something") behavior
Fixed bug where optional natives would no longer be optional after plugin reloading
Fixed nominations plugins from returning Plugin_Continue in a command callback
Fixed occasions where UTF8 names would be truncated mid-character*
Fixed crash in SQLite extension where SqDatabase tried to access a dead instance of SqDriver
Fixed wrong return type in UserMessageToBfRead*
Fixed issue where OnMapTimeLeftChanged would not get called in CS:GO*
Fixed crash when plugins closed SQL query results handles*
Fixed crash when CloneArray is called on large arrays
Fixed native not bound error with Panel.Style*
Fixed issue where sourcemod would trigger an assert if game isn't bult with RELEASE
Fixed memory leak in Regex extension
Fixed crash when database transaction fails
Fixed issue menus weren't drawing
Fixed incorrect bit size given for vectors with FindDataMapInfo
Fixed AllowClLanguageVar setting being ignored in CS:GO*
Fixed crash when accessing gamerules during mapchange*
Fixed where GetCommandLineParam would always retrieve default value*
Fixed ICommandLine lookup on Linux for Insurgency and DOI*
Fixed KeyValues.SetUInt64 truncating values*
Fixed issue where OnEntityCreated wasn't always called
Fixed CS_GetWeaponPrice returning incorrect weapon prices*
Fixed issue where core config values were not being cached
Fixed OnPlayerRunCmd crashing with invalid CUserCmd ptr
Fixed duplicate plugin loading issue on Windows and MacOS


Features

Added Database.Format, an auto-escaping format native for SQL query creation
Added the ability to configure multiple chat trigger characters
Added config file for basevotes & funvotes
Added support for more SQLite database options like :memory:
Added ArrayList.BlockSize and ArrayStack.BlockSize
Added FireEntityOutput native
Added IsNativeParamNullVector and IsNativeParamNullString natives
Added PrintToConsoleAll native
Added OnPlayerRunCmdPost forward
Added GetGameFrameTime native
Added IsNullVector and IsNullString natives
Added Call_PushNullVector and Call_PushNullString natives
Added support for CreateItemEntityByName for CS:GO*
Added CS_ItemDefIndexToID and CS_WeaponIDToItemDefIndex natives
Added KeyValues.ExportToString and KeyValues.ExportLength natives
Added a new Handle type FrameIterator for stack frame iteration
Added TranslationPhraseExists & IsTranslatedForLanguage


Other

Enabled radio menus for Black Mesa
Increase TopMenu display buffer size
Removed TFHoliday_SpyVsEngyWar, as it no longer exists
Improved documentation for sm_reserve_type, CharToLower, CharToUpper, RadToDeg*, ArrayList.Resize/ResizeArray* and GetSteamAccountID
Corrected various typos in OnRemoveBan*
Added ICellArray interface
Removed reduant () in DebugReport:: outputs*
Changed sm_msay to use MaxPageItems instead of a hardcoded value of 10*
Adjusted rockthevote to use RoundToCeil instead of RoundToFloor to match behavior definition
Added 2 CSGO gamerules netprops to CSGO blocklist
Changed CHalfLife2::GetMapDisplayName to always check for string substitutions*
Ignore fake clients in @spec targeting
Updated sm_map behavior to better reflect FindMap/GetMapDisplayName results
Allow Event.FireToClient regardless if broadcasting is enabled
Added missing parameter to DataPack.IsReadable*
Bots no longer bypass kick queue
Removed gender from nomination changed translation phrase
Function names are now included in cstrike ext signature failures*
Vote actions are ignored if the target is no longer available in basevotes
Allowed seeking to the end of datapacks
Updated TF2_IsPlayerInCondition to support new conditions*
Extensions that failed to load are only shown if the extension is required
Various sourcemod include `const` corrections
Add convenience logic for "offset" to Address definitions in GameConf


*New since last round up, but may have existed in later 1.8 builds.

The Stable Builds (http://www.sourcemod.net/downloads.php?branch=stable) download page now points to 1.9 builds, although 1.8 ones are still available and linked there. The Dev Builds (http://www.sourcemod.net/downloads.php?branch=dev) page now points to the new 1.10 branch.

ty sneak

OfficialSikari
07-08-2018, 02:22
Neat!

Fastmancz
07-08-2018, 02:56
Good job! Thanks.

Ermert1992
07-08-2018, 05:53
Good job! Thanks.

asherkin
07-08-2018, 05:55
It is worth noting that CS:GO requires 1.9, it is no longer supported on 1.8.

ImACow
07-08-2018, 06:48
Whooo!
Thanks guys!

CrazyHackGUT
07-08-2018, 07:46
CreateIitemEntityByName
Looks like a mistake.

nosoop
07-08-2018, 10:16
You missed the addition of being able to get addresses into functions. (https://github.com/alliedmodders/sourcemod/commit/c3b25e54f821f77153bc540c61141dad2ed78924)

TiBarification
07-08-2018, 10:26
Added translations for basechat prefixes ALL, ADMINS, and TO ADMINS

Not really. But sounds good.

asherkin
07-08-2018, 10:42
You missed the addition of being able to get addresses into functions. (https://github.com/alliedmodders/sourcemod/commit/c3b25e54f821f77153bc540c61141dad2ed78924)

That isn't in 1.9

nosoop
07-08-2018, 11:18
That isn't in 1.9

Are you sure? If we're definitely talking about the same change (commit c3b25e54f821f77153bc540c61141dad2ed78924), it is present in 1.9-dev. (https://github.com/alliedmodders/sourcemod/commits/1.9-dev?after=07f8043bcef7da6ef58a3a73f0adf91fe32 f4380+41)

1.9-dev didn't get its own backport branch until the version rollover in December.

headline
07-08-2018, 16:16
You missed the addition of being able to get addresses into functions. (https://github.com/alliedmodders/sourcemod/commit/c3b25e54f821f77153bc540c61141dad2ed78924)

Looks like a mistake.

Not really. But sounds good.

Original post is fixed, thanks for being vigilant

DeepLearning
07-08-2018, 18:06
Pleasure to see community moving forward and making great things even better. Thank you all for your work!

Since 1.7 i have this questions in mind:
Is there any cons and pros compiling old plugins with new compiler?
Rewriting old plugins to new syntax worth time?
Should i recompile old but working extensions?
Thank you!

Fearts
07-08-2018, 18:09
Thanks for the work you guys put in to keeping this updated.

VPPGamingNetwork
07-08-2018, 20:11
Good job to all the coders over there in the AM world.

headline
07-08-2018, 20:58
Is there any cons and pros compiling old plugins with new compiler?

The sourcepawn compiler is always evolving with fixes and the occasional optimization (ty dvander), so sticking to the latest stable compiler is always a good idea. I could list pros and cons, but it's overwhelmingly pros.



Rewriting old plugins to new syntax worth time?

Eventually, old style scripts will fall deeper into deprecation. I'm unsure if they'll ever outright break, but new features (1.7.3 and forward) won't have old style recreations. If you're writing scripts, I'd start at least using the new syntax for new plugins. Whether it's worth your time to update old scripts is up to you.


Should i recompile old but working extensions?

Older extensions won't need a higher sourcemod version unless they rely on a new feature. Old extensions should continue to work fine.

rogeraabbccdd
07-08-2018, 21:15
:bacon!::bacon!::bacon!:

ElooKoN
07-09-2018, 09:56
Nice, well done guys!

ghostdlr
07-10-2018, 07:39
If i kick a player, the server is crashing . It didn't use to happen before .

Any ideas why ? I got latest stable source mod and latest CS GO server version .

asherkin
07-10-2018, 07:48
Any ideas why ? I got latest stable source mod and latest CS GO server version .

You are not using the latest stable SourceMod, check your `sm version` output.

Crazygamer34894
07-11-2018, 09:50
THANK You For Updating SourceMod ;)
Hope that L4D2 Plugins will be Updated with the Newest Sourcemod :D

dedimark
07-11-2018, 13:27
https://sm.alliedmods.net/smdrop/1.9/sourcemod-1.9.0-git6244-linux.tar.gz
https://mms.alliedmods.net/mmsdrop/1.10/mmsource-1.10.7-git963-linux.tar.gz

CSGO

Linux Debian 9

not working, segmentation fault

asherkin
07-11-2018, 13:34
https://sm.alliedmods.net/smdrop/1.9/sourcemod-1.9.0-git6244-linux.tar.gz
https://mms.alliedmods.net/mmsdrop/1.10/mmsource-1.10.7-git963-linux.tar.gz

CSGO

Linux Debian 9

not working, segmentation fault

Probably an issue with a 3rd party plugin or extension you are running - this is a news post not a support thread for every possible issue, you should post a new thread of your own with all the details.

Santi.
07-11-2018, 19:51
Good job to the team!

CowGod
07-12-2018, 15:46
Great job!

ThatKidWhoGames
07-18-2018, 14:42
Added Database.Format, an auto-escaping format native for SQL query creation
Thank you! =)

panda2033
10-17-2018, 20:42
hi i have problem with sourcemod +1.9
i put meta mod 1.10 in my server and source mod +1.9 so when i use "meta" in console i see meta is working but when use "sm"thats show unknown command"sm"
but its fix in sourcemod 1.7.3 or lower.may be help me

Fyren
10-18-2018, 05:09
hi i have problem with sourcemod +1.9
i put meta mod 1.10 in my server and source mod +1.9 so when i use "meta" in console i see meta is working but when use "sm"thats show unknown command"sm"
but its fix in sourcemod 1.7.3 or lower.may be help me

Which game? Is your server up to date?

panda2033
10-18-2018, 05:16
Which game? Is your server up to date?

css v34 non steam. i have sm 1.7.3 with mm1.10.7and its okay.but i dont know why sm +1.9 dont run in my server. i use srcds from setti.info and hlsm

raha
10-18-2018, 05:54
Which game? Is your server up to date?

css v_34. i have sm 1.7.3 with mm1.10.7and its okay.but i dont know why sm +1.9 dont run in my server. i use srcds from setti.info and hlsm

Neuro Toxin
10-18-2018, 18:01
For any future readers that dont know. Non-Steam is not supported by AM. Stop theaving and pay for your SRCDS games. Its not like they are expensive.

Dr.Mohammad
01-09-2019, 02:07
hi!!

i think this is bug:


L 01/09/2019 - 07:21:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:22:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:23:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:24:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:25:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:26:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:27:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:28:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:29:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:30:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:31:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:32:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:33:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:34:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:35:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:36:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:37:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:38:23: [SM] Exception reported: Not enough space on the stack


i used:
windows
sourcemod last version
metamod last version

ThatOneGuy
01-16-2019, 22:55
hi!!

i think this is bug:


L 01/09/2019 - 07:21:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:22:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:23:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:24:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:25:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:26:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:27:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:28:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:29:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:30:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:31:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:32:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:33:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:34:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:35:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:36:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:37:23: [SM] Exception reported: Not enough space on the stack
L 01/09/2019 - 07:38:23: [SM] Exception reported: Not enough space on the stack


i used:
windows
sourcemod last version
metamod last version

Consider putting this at the top of your plugin:
#pragma dynamic 131072 //increase stack space to from 4 kB to 131072 cells (or 512KB, a cell is 4 bytes)

doctorn0
04-19-2019, 23:52
Sourcemod really changed the game :wink: