Raised This Month: $ Target: $400
 0% 

[ANY] Contracts


Post New Thread Reply   
 
Thread Tools Display Modes
Author
KoltaiArmy
AlliedModders Donor
Join Date: Feb 2015
Location: Hungary
Plugin ID:
5366
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Players receive contract over time, wich add a bit more challenge for them.
    Old 10-12-2019 , 19:07   Re: [ANY] Contracts
    Reply With Quote #1

    I tried to compile this plugin for myself. I get this error:
    PHP Code:
    \sourcemod\scripting\include\handles.inc(82) : error 114missing type, or constructor must have the same name as methodmap "Handle"
    \sourcemod\scripting\include\handles.inc(82) : error 001expected token"{"but found "="
    \sourcemod\scripting\include\handles.inc(82) : error 029invalid expressionassumed zero
    \sourcemod\scripting\include\handles.inc(82) : fatal error 190too many error messages on one line 
    Somebody knows a solution?
    __________________

    Last edited by KoltaiArmy; 10-12-2019 at 19:07.
    KoltaiArmy is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 10-13-2019 , 05:29   Re: [ANY] Contracts
    Reply With Quote #2

    Quote:
    Originally Posted by KoltaiArmy View Post
    I tried to compile this plugin for myself. I get this error:
    PHP Code:
    \sourcemod\scripting\include\handles.inc(82) : error 114missing type, or constructor must have the same name as methodmap "Handle"
    \sourcemod\scripting\include\handles.inc(82) : error 001expected token"{"but found "="
    \sourcemod\scripting\include\handles.inc(82) : error 029invalid expressionassumed zero
    \sourcemod\scripting\include\handles.inc(82) : fatal error 190too many error messages on one line 
    Somebody knows a solution?
    Yeah, download the orrignal source. I just checked, I can compile just fine. Also, the error is NOT in my plugin, but in your handles.inc file. The one that came with sourcemod.
    __________________
    Want to check my plugins ?
    Arkarr is offline
    KoltaiArmy
    AlliedModders Donor
    Join Date: Feb 2015
    Location: Hungary
    Old 10-18-2019 , 18:53   Re: [ANY] Contracts
    Reply With Quote #3

    Quote:
    Originally Posted by Arkarr View Post
    Yeah, download the orrignal source. I just checked, I can compile just fine. Also, the error is NOT in my plugin, but in your handles.inc file. The one that came with sourcemod.
    I just downloaded the newest stable version from the sourcemod, and now I'm using the newest sourcemod files, and every include, that is needed.

    And now, I get this error:

    PHP Code:
    //// Contract.sp
    //
    // ***include\dynamic/methodmaps/preparedquery.inc(34) : error 017: undefined symbol "_Dynamic_PreparedQuery_Compile"
    // ***include\dynamic/methodmaps/preparedquery.inc(34) : error 092: number of arguments does not match definition
    // ***include\dynamic/methodmaps/preparedquery.inc(34) : warning 213: tag mismatch
    // ***include\dynamic/methodmaps/preparedquery.inc(39) : error 017: undefined symbol "_Dynamic_PreparedQuery_Prepare"
    // ***include\dynamic/methodmaps/preparedquery.inc(39) : error 092: number of arguments does not match definition
    // ***include\dynamic/methodmaps/preparedquery.inc(39) : warning 213: tag mismatch
    // ***include\dynamic/methodmaps/preparedquery.inc(44) : error 017: undefined symbol "_Dynamic_PreparedQuery_Execute"
    // ***include\dynamic/methodmaps/preparedquery.inc(44) : error 092: number of arguments does not match definition
    // ***include\dynamic/methodmaps/preparedquery.inc(44) : warning 213: tag mismatch
    // ***Contract.sp(460) : error 181: function argument named 'style' differs from prototype
    // ***Contract.sp(6) : warning 203: symbol is never used: "g_cvarChatTag"
    //
    // 7 Errors.
    //
    // Compilation Time: 0,94 sec
    // ---------------------------------------- 
    __________________
    KoltaiArmy is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 10-19-2019 , 15:04   Re: [ANY] Contracts
    Reply With Quote #4

    Okay so, I updated the repo includes. It should be fixed now.
    __________________
    Want to check my plugins ?
    Arkarr is offline
    KoltaiArmy
    AlliedModders Donor
    Join Date: Feb 2015
    Location: Hungary
    Old 10-19-2019 , 18:29   Re: [ANY] Contracts
    Reply With Quote #5

    Quote:
    Originally Posted by Arkarr View Post
    Okay so, I updated the repo includes. It should be fixed now.
    Thank you!

    Line 460:
    PHP Code:
    public void Shavit_OnFinish(int clientint stylefloat timeint jumpsint strafesfloat sync
    Isn't that:
    PHP Code:
    public void Shavit_OnFinish(int clientBhopStyle stylefloat timeint jumpsint strafesfloat sync
    ?


    EDIT: The compile doesn't works with 1.10.
    PHP Code:
    Unable to load plugin (no debug string table
    __________________

    Last edited by KoltaiArmy; 10-19-2019 at 19:55.
    KoltaiArmy is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 10-20-2019 , 04:17   Re: [ANY] Contracts
    Reply With Quote #6

    Quote:
    Originally Posted by KoltaiArmy View Post
    Thank you!

    Line 460:
    PHP Code:
    public void Shavit_OnFinish(int clientint stylefloat timeint jumpsint strafesfloat sync
    Isn't that:
    PHP Code:
    public void Shavit_OnFinish(int clientBhopStyle stylefloat timeint jumpsint strafesfloat sync
    ?


    EDIT: The compile doesn't works with 1.10.
    PHP Code:
    Unable to load plugin (no debug string table
    The compile DOES work with 1.10, however, you neeed sourcemod 1.10 to run it !
    Also, I download the last shavit.inc from the original repository.
    https://github.com/shavitush/bhoptim...ude/shavit.inc
    __________________
    Want to check my plugins ?
    Arkarr is offline
    Reply


    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 21:10.


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