Git Product home page Git Product logo

Comments (6)

naydef avatar naydef commented on August 27, 2024

Most probably you're using outdated version of the Sourcepawn compiler which lacks support for enum structs.
Download newer version and try again.

from freakfortressbat.

Bugrahan96 avatar Bugrahan96 commented on August 27, 2024

Yes downloading the latest compiler fixed this issue now I have to fix steamtools.inc problem.

//// freak_fortress_2.sp
//
// C:\Users\bugra\Desktop\sourcemod\new\addons\sourcemod\scripting\include\steamtools.inc(270) : fatal error 196: deprecated syntax; see https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Typedefs
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0,11 sec
// ----------------------------------------

from freakfortressbat.

naydef avatar naydef commented on August 27, 2024

Use updated steamtools.inc file from here

from freakfortressbat.

Bugrahan96 avatar Bugrahan96 commented on August 27, 2024

Thanks but yeah I think not only just the steamtools.inc is outdated. Literally, all of my includes are outdated af :P

//// freak_fortress_2.sp
//
// Unofficial Freak Fortress(967) : error 147: new-style declarations are required
// Unofficial Freak Fortress(968) : error 147: new-style declarations are required
// Unofficial Freak Fortress(969) : error 147: new-style declarations are required
// C:\Users\bugra\Desktop\sourcemod\new\addons\sourcemod\scripting\freak_fortress_2.sp(1571) : error 100: function prototypes do not match
// C:\Users\bugra\Desktop\sourcemod\new\addons\sourcemod\scripting\freak_fortress_2.sp(1615) : error 100: function prototypes do not match
// C:\Users\bugra\Desktop\sourcemod\new\addons\sourcemod\scripting\freak_fortress_2.sp(3876) : error 100: function prototypes do not match
// C:\Users\bugra\Desktop\sourcemod\new\addons\sourcemod\scripting\freak_fortress_2.sp(4583) : error 100: function prototypes do not match
// C:\Users\bugra\Desktop\sourcemod\new\addons\sourcemod\scripting\freak_fortress_2.sp(4587) : error 100: function prototypes do not match
// Unofficial Freak Fortress(5111) : error 147: new-style declarations are required
// Unofficial Freak Fortress(5111) : error 147: new-style declarations are required
// Unofficial Freak Fortress(5111) : error 147: new-style declarations are required
// Unofficial Freak Fortress(5111) : fatal error 190: too many error messages on one line
//
// Compilation aborted.
// 12 Errors.
//
// Compilation Time: 0,56 sec
// ----------------------------------------

Is there any library that I can find the latest include files?

Edit: typo and really appreciate for your help.

from freakfortressbat.

naydef avatar naydef commented on August 27, 2024

It seems you're using SM 1.11 compiler and it's way more strict. Unless you know what exactly needs to be fixed, I recommend downloading SM 1.10 compiler and compile with it.

from freakfortressbat.

Bugrahan96 avatar Bugrahan96 commented on August 27, 2024

You are a lifesaver, thank you so much.

from freakfortressbat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.