Raised This Month: $ Target: $400
 0% 

Bug in compiler probably


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
eyal282
Veteran Member
Join Date: Aug 2011
Old 06-20-2017 , 15:37   Bug in compiler probably
Reply With Quote #1

These errors in the file below do not exist, the code does not have 30 lines and errors are weird.

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
// Add your code here...

That is the code, clearly less than 30 lines, attached file contains errors.

Edit: a plugin with 0 lines produces similar errors.
Attached Files
File Type: txt Bug.txt (918 Bytes, 128 views)

Last edited by eyal282; 06-20-2017 at 15:39.
eyal282 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-20-2017 , 15:40   Re: Bug in compiler probably
Reply With Quote #2

I can compile this code just fine. Maybe you have some weird encoding in the sma file.
__________________
HamletEagle is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 06-21-2017 , 19:46   Re: Bug in compiler probably
Reply With Quote #3

Welcome to the AMX Mod X 1.8.1-300 Compiler.

-.- you use old compiler.... try use new compiler 1.8.3 or 1.8.2.
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 06-21-2017 , 19:47   Re: Bug in compiler probably
Reply With Quote #4

O_O
__________________








CrazY. is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 06-21-2017 , 19:49   Re: Bug in compiler probably
Reply With Quote #5

LOL

Code:
Error: Undefined symbol "Arg" on line 53
Same as Hamlet, doesn't matter which compiler you're using, errors like this aren't normal. Try re-installing the compiler.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 06-21-2017 , 20:54   Re: Bug in compiler probably
Reply With Quote #6

I see you are using AMXX studio. Try first saving the file if you haven't.
klippy 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 23:01.


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