Raised This Month: $12 Target: $400
 3% 

compiling error 035


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
supo
New Member
Join Date: Jan 2017
Old 01-13-2017 , 12:38   compiling error 035
Reply With Quote #1

Hello. I was trying to compile sourcebans plugin and got "error 035: argument type mismatch (argument 2)".

// setup dummy adminAuth and adminIp for server
strcopy(adminAuth, sizeof(adminAuth), "STEAM_ID_SERVER");
strcopy(adminIp, sizeof(adminIp), ServerIp);
} else {
GetClientIP(admin, adminIp, sizeof(adminIp));
GetClientName(admin, AuthId_Steam2, adminAuth, sizeof(adminAuth));
}

Maybe someone can tell me how to fix that error.
supo is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 01-14-2017 , 11:42   Re: compiling error 035
Reply With Quote #2

Are you changing the plugin to authenticate admins by name instead of Steam ID? That seems fishy...
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
supo
New Member
Join Date: Jan 2017
Old 01-15-2017 , 15:39   Re: compiling error 035
Reply With Quote #3

Yes, you got it right . i did that on older versions, but on this it's not working. First i got errors because i had old sourcemod version, but now i have 1.8 and getting that 035 error. When i try to compile sourcebans.sp without any changes i had same error. Maybe i need some inc files or different sourcemod verssion?
Now i dont have that error, but im not sure if it works. Just removed AuthId_Steam2, i just think that i dont need that

Last edited by supo; 01-15-2017 at 16:04.
supo 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 14:40.


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