Raised This Month: $120 Target: $400
 30% 

SourceMod 1.7.1 Released


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
psychonic

BAFFLED
Join Date: May 2008
Old 04-18-2015 , 17:06   SourceMod 1.7.1 Released
#1

I'm pleased to announce that SourceMod 1.7.1 has been released.

As usual for our minor releases, they primarily contain updates to game compatibility and bug fixes.

Due to some logic errors, for any plugins that were compiled with the 1.7.0 SourcePawn compiler, it is highly recommended to recompile them with the new 1.7.1 compiler.

Some highlights include:
  • Updated sm_rename command to work with CS:S and CS:GO, adding new SetClientName native.
  • Fixed some core.cfg values being ignored (some a regression from 1.7.0, some from earlier).
  • Fixed some compiler issues that causing incorrect code generation.
  • Fixed some crash issues.
See the release notes for the full SourceMod changelog.

You can get SourceMod 1.7.1 from the downloads page. Some support links:
Thanks to all community members that contributed, as well as the rest of the SM Dev Team.

Last edited by psychonic; 04-18-2015 at 18:00.
psychonic is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 04-18-2015 , 17:37   Re: SourceMod 1.7.1 Released
#3

Psychonic: Being pleased to announce stuff since 08.
You need to freak out when there's good news like this.
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.

Last edited by Dr. Greg House; 04-18-2015 at 18:30.
Dr. Greg House is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 04-19-2015 , 00:33   Re: SourceMod 1.7.1 Released
#4

ty
__________________
Veteran SourceMod Coder
Taking paid requests -> Add me in TELEGRAM or STEAM
You like my work? donate me

Franc1sco is offline
Send a message via MSN to Franc1sco Send a message via Skype™ to Franc1sco
CenT
Senior Member
Join Date: Aug 2009
Location: FRANCE
Old 04-19-2015 , 04:47   Re: SourceMod 1.7.1 Released
#5

Hello,
I get an error with this new version of sourcemod:

Quote:
L 04/19/2015 - 09:43:11: SourceMod error session started
L 04/19/2015 - 09:43:11: Info (map "de_dust2") (file "errors_20150419.log")
L 04/19/2015 - 09:43:11: [UPDATER] --- BEGIN ERRORS FROM AUTOMATIC UPDATER ---
L 04/19/2015 - 09:43:11: [UPDATER] Unsupported SourceMod version. Please upgrade.
L 04/19/2015 - 09:43:11: [UPDATER] --- END ERRORS FROM AUTOMATIC UPDATER ---
L 04/19/2015 - 09:43:11: Error log file session closed.
CenT is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 04-19-2015 , 05:30   Re: SourceMod 1.7.1 Released
#6

Thank you!
__________________
sneaK is offline
RoboCop
Member
Join Date: Dec 2010
Location: Scotland
Old 04-19-2015 , 06:07   Re: SourceMod 1.7.1 Released
#7

Nice work!
__________________
vBulletin Webmaster Since 2001
RoboCop is offline
Send a message via Skype™ to RoboCop
Lucky_luck
AlliedModders Donor
Join Date: May 2011
Location: Germany
Old 04-19-2015 , 07:27   Re: SourceMod 1.7.1 Released
#8

Quote:
Originally Posted by CenT View Post
Hello,
I get an error with this new version of sourcemod:
Me too
Lucky_luck is offline
psychonic

BAFFLED
Join Date: May 2008
Old 04-19-2015 , 09:55   Re: SourceMod 1.7.1 Released
#9

Quote:
Originally Posted by CenT View Post
Hello,
I get an error with this new version of sourcemod:
I'll fix that on the updated backed shortly. It can be safely ignored for now as there are currently no gamedata updates needed for 1.7.1.
psychonic is offline
Electr000999
Senior Member
Join Date: Aug 2011
Location: Russia, Perm
Old 04-20-2015 , 02:58   Re: SourceMod 1.7.1 Released
#10

i am put line "#pragma newdecls required" after include's and after experiments get error..
  • why we cannot create custom native with type not a int type, may be beacuse by this in .inc files
    Code:
    native CreateNative(const String:name[], NativeCall:func); 
    typedef NativeCall = function int (Handle plugin, int numParams)
    for example how get error
    Code:
    error 100: function prototypes do not match
    example code:
    Code:
    #include <sourcemod>
    
    #pragma	semicolon 1
    #pragma newdecls required
    
    public APLRes AskPluginLoad2(Handle myself, bool late, char[] error, int err_max)
    {
         CreateNative("TestNative", _TestNative);
         return APLRes_Success;
    }
    
    public bool _TestNative(Handle plugin, int numParams)
    {
    	return GetSpawnAccess();  
    }
    
    bool GetSpawnAccess()
    {
       return true;
    }
  • line public void OnEntityCreated(int entity, const char[] classname) get error:
    Code:
    error 180: function return type differs from prototype. expected 'int', but got 'void'
    example code:
    Code:
    #include <sourcemod>
    #include <sdkhooks>
    
    #pragma	semicolon 1
    #pragma newdecls required
    
    public void OnEntityCreated(int entity, const char[] classname)
    {
    	if (IsServerProcessing())
    	{				
    		
    	}
    }
    in sdkhooks.inc
    Code:
    /**
     * @brief When an entity is created
     *
     * @param		entity		Entity index
     * @param		classname	Class name
     */
    forward void OnEntityCreated(int entity, const char[] classname);

Last edited by Electr000999; 04-20-2015 at 04:11.
Electr000999 is offline
Send a message via Skype™ to Electr000999
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:52.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode