Raised This Month: $32 Target: $400
 8% 

[sdkhooks] compilation error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CyberStars
Senior Member
Join Date: May 2013
Old 09-05-2014 , 07:07   [sdkhooks] compilation error
Reply With Quote #1

Code:
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
 
public OnPluginStart()
{
}
When I try to compile, these errors are shown:
Code:
SourcePawn Compiler 1.7.0-dev+4840
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2014 AlliedModders LLC

D:\dota2_server\dota\addons\sourcemod\scripting\include\sdkhooks.inc(256) : error 155: expected newline, but found ','
D:\dota2_server\dota\addons\sourcemod\scripting\include\sdkhooks.inc(256) : error 001: expected token: "function", but found ","
D:\dota2_server\dota\addons\sourcemod\scripting\include\sdkhooks.inc(258) : error 001: expected token: "(", but found "function"
D:\dota2_server\dota\addons\sourcemod\scripting\include\sdkhooks.inc(258) : error 001: expected token: "function", but found "int"
D:\dota2_server\dota\addons\sourcemod\scripting\include\sdkhooks.inc(258) : error 140: new-style array types cannot specify dimension sizes as part of their type
D:\dota2_server\dota\addons\sourcemod\scripting\include\sdkhooks.inc(258) : fatal error 167: too many error messages on one line

Compilation aborted.
6 Errors.

Compilation Time: 0,23 sec
meta version:
Code:
Metamod:Source version 1.11.0-dev
Built from: https://github.com/alliedmodders/metamod-source/commit/1af0cde
Build ID: 943:1af0cde
Loaded As: GameDLL (gameinfo.txt)
Compiled on: Jun 12 2014
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
sm version:
Code:
 SourceMod Version Information:
    SourceMod Version: 1.7.0-dev+4840
    SourcePawn Engine: SourcePawn 1.3, jit-x86 (build 1.7.0-dev+4840)
    SourcePawn API: v1 = 4, v2 = 6
    Compiled on: Sep  4 2014 10:02:13
    Built from: https://github.com/alliedmodders/sourcemod/commit/37638ba
    Build ID: 4840:37638ba
    http://www.sourcemod.net/
So, I cannot compile any plugin with SM last version.
CyberStars is offline
psychonic

BAFFLED
Join Date: May 2008
Old 09-05-2014 , 08:21   Re: [sdkhooks] compilation error
Reply With Quote #2

This is fixed now. One change was missed when the file was converted to the new transitional syntax with the union replacement for funcenums.
psychonic is offline
Reply



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 23:57.


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