AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   News (https://forums.alliedmods.net/forumdisplay.php?f=59)
-   -   SourceMod 1.7.1 Released (https://forums.alliedmods.net/showthread.php?t=261698)

psychonic 04-18-2015 16:06

SourceMod 1.7.1 Released
 
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.

asherkin 04-18-2015 16:29

Re: SourceMod 1.7.1 Released
 
:bee:

Dr. Greg House 04-18-2015 16:37

Re: SourceMod 1.7.1 Released
 
Psychonic: Being pleased to announce stuff since 08.
You need to freak out when there's good news like this.

Franc1sco 04-18-2015 23:33

Re: SourceMod 1.7.1 Released
 
ty :bee:

CenT 04-19-2015 03:47

Re: SourceMod 1.7.1 Released
 
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.

sneaK 04-19-2015 04:30

Re: SourceMod 1.7.1 Released
 
Thank you!

RoboCop 04-19-2015 05:07

Re: SourceMod 1.7.1 Released
 
Nice work!

Lucky_luck 04-19-2015 06:27

Re: SourceMod 1.7.1 Released
 
Quote:

Originally Posted by CenT (Post 2287841)
Hello,
I get an error with this new version of sourcemod:

Me too

psychonic 04-19-2015 08:55

Re: SourceMod 1.7.1 Released
 
Quote:

Originally Posted by CenT (Post 2287841)
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.

Electr000999 04-20-2015 01:58

Re: SourceMod 1.7.1 Released
 
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);



All times are GMT -4. The time now is 07:18.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.