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

Hosties: Lastrequest compiling errors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Serkan437
Junior Member
Join Date: Jul 2021
Old 07-28-2021 , 06:17   Hosties: Lastrequest compiling errors
Reply With Quote #1

So I'm trying to add a 3 seconds delay to the Only HS as in No Scope Battle. However the sp file is giving errors without even editing it

Code:
//// lastrequest.sp
//
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\include\sdktools_tempents.inc(197) : error 088: cannot return a value from a void function
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(39) : error 001: expected token: "-identifier-", but found "-integer value-"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(85) : error 017: undefined symbol "BASE_LR_Number"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(85) : error 009: invalid array size (negative, zero or out of bounds)
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(521) : error 139: could not find type "TopMenuObject"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(526) : error 139: could not find type "TopMenuAction"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(528) : error 017: undefined symbol "TopMenuAction_DisplayOption"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(532) : error 017: undefined symbol "TopMenuAction_SelectOption"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(581) : error 017: undefined symbol "MAX_DISPLAYNAME_SIZE"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(581) : error 161: brackets after variable name indicate a fixed-size array, but a dynamic size was given - did you mean to use 'new char[size]' syntax?
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(582) : error 130: cannot coerce functions to values
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(584) : error 130: cannot coerce functions to values
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(598) : error 017: undefined symbol "MAX_DISPLAYNAME_SIZE"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(598) : error 161: brackets after variable name indicate a fixed-size array, but a dynamic size was given - did you mean to use 'new char[size]' syntax?
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(599) : error 130: cannot coerce functions to values
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(600) : error 130: cannot coerce functions to values
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(644) : error 017: undefined symbol "EMP_FreeHandle"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(751) : error 017: undefined symbol "EMP_IsValidClient"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(755) : error 017: undefined symbol "EMP_LoopPlayers"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(755) : error 017: undefined symbol "TargetForLang"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(759) : error 017: undefined symbol "gShadow_Hosties_ChatBanner"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(760) : error 017: undefined symbol "EMP_IsValidClient"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(762) : error 017: undefined symbol "gShadow_Hosties_ChatBanner"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(805) : error 017: undefined symbol "EMP_StopTimer"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(822) : error 017: undefined symbol "EMP_LoopPlayers"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(822) : error 017: undefined symbol "TargetForLang"
//
// Compilation aborted.
// 26 Errors.
Attached Files
File Type: sp Get Plugin or Get Source (lastrequest.sp - 37 views - 236.7 KB)

Last edited by Serkan437; 07-28-2021 at 07:07.
Serkan437 is offline
andi67
Veteran Member
Join Date: Mar 2007
Location: Somewhere near you!!!
Old 07-28-2021 , 07:04   Re: Hosties: Lastrequest compiling errors
Reply With Quote #2

And where is your Code?
__________________
Waiting for HL3,Day of Defeat3 ,but will it ever come? So I'm gonna play COD WW2.>>>>SM_SKINCHOOSER<<<<
>>You need Models for DODS/CSS/CSGO , than click here!!!<<
andi67 is offline
Serkan437
Junior Member
Join Date: Jul 2021
Old 07-28-2021 , 07:06   Re: Hosties: Lastrequest compiling errors
Reply With Quote #3

Quote:
Originally Posted by andi67 View Post
And where is your Code?
Sorry, added it as attachment aswell.

Spoiler
Serkan437 is offline
andi67
Veteran Member
Join Date: Mar 2007
Location: Somewhere near you!!!
Old 07-28-2021 , 11:33   Re: Hosties: Lastrequest compiling errors
Reply With Quote #4

Make sure you have all needed files in your includefolder when trying to compile:
Quote:
// Include files
#include <sourcemod>
#include <sdktools>
#include <cstrike>
#include <sdkhooks>
#include <sdktools>
#include <hosties>
#include <lastrequest>
#include <multicolors>
__________________
Waiting for HL3,Day of Defeat3 ,but will it ever come? So I'm gonna play COD WW2.>>>>SM_SKINCHOOSER<<<<
>>You need Models for DODS/CSS/CSGO , than click here!!!<<

Last edited by andi67; 07-28-2021 at 11:35.
andi67 is offline
Serkan437
Junior Member
Join Date: Jul 2021
Old 07-28-2021 , 11:39   Re: Hosties: Lastrequest compiling errors
Reply With Quote #5

Quote:
Originally Posted by andi67 View Post
Make sure you have all needed files in your includefolder when trying to compile:
I do have everything, its a exact copy of the live server as a test server.
Serkan437 is offline
SmokieCS
AlliedModders Donor
Join Date: Nov 2019
Location: Denmark
Old 07-29-2021 , 03:28   Re: Hosties: Lastrequest compiling errors
Reply With Quote #6

Quote:
Originally Posted by andi67 View Post
Make sure you have all needed files in your includefolder when trying to compile:
Can it have anything to do with decrepitated syntax?
__________________
Server Manager & Chairman of the Board - https://esportharte.dk/
Freelance Server Support
Former Co-Owner - https://tfrag.dk/
SmokieCS 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 18:09.


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