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

[L4D2] Plugin won't compile.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sneakytouchy
New Member
Join Date: Jun 2010
Old 06-09-2010 , 00:35   [L4D2] Plugin won't compile.
Reply With Quote #1

So I was checking out the open source of a plugin that someone else made. I really liked it, some kinda rpg/level up/ get skills and stats mod.

But the problem with it, is it's horrible ballance. So I tried to get the source, tweak the multipliers to reduce how much powers are given, but noticed that even the original sp file wont compile.

error 010: invalid function or declaration

its called RPG mode 1.0.7, the sp file is posted in the forum with this link
http://forums.alliedmods.net/attachm...5&d=1269088936

Its a big plugin, was wonderin if anyone knows a strategie for locating small mistakes? Im a bit new to coding but have made some basic c++ programs before, usually compiling many times so that I know when I make an error, I can trace back.
sneakytouchy is offline
Oshroth
Senior Member
Join Date: Dec 2009
Old 06-09-2010 , 01:47   Re: [L4D2] Plugin won't compile.
Reply With Quote #2

There should be a line number with that error to tell you where the error occured.
I just tried compiling it on the web and on my computer and both compiled without errors. I did notice the large amount of garbage characters in the sp file. Maybe they are causing your error?
__________________
Oshroth is offline
sneakytouchy
New Member
Join Date: Jun 2010
Old 06-09-2010 , 17:46   Re: [L4D2] Plugin won't compile.
Reply With Quote #3

It did not tell me the line number, only that exact thing what I posted, error 010, plus it also said, compile time 1.16 seconds, thats all.

The garbage characters are notes in korean.
sneakytouchy is offline
Whosat
Senior Member
Join Date: Nov 2007
Location: Singapore
Old 06-09-2010 , 23:17   Re: [L4D2] Plugin won't compile.
Reply With Quote #4

That SP file compiled fine on my compiler. (sourcemod 1.3.3 hg2972)
Attached Files
File Type: smx RollPlayingGameMode.smx (27.6 KB, 201 views)
__________________
Whosat 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:41.


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