AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Input line is too long (https://forums.alliedmods.net/showthread.php?t=275427)

ufogufo13 11-29-2015 14:30

Input line is too long
 
Hello! Im trying to compile the VIP PLUGIN, but compiller says me: error 075: input line too long (after substitutions)

Where im doing a mistake?

CODE:
Code:

        new const queryString[] = "CREATE TABLE IF NOT EXISTS `vips_cs16` (\
                        `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\
                        `auth_type` INT NOT NULL DEFAULT '0',\
                        `auth` VARCHAR(32) NOT NULL,\
                        `password` VARCHAR(32) NOT NULL,\
                        `flags` VARCHAR(26) NOT NULL,\
                        `date_remove` DATE NOT NULL DEFAULT '0000-00-00');";

COMPILER CALBACK:
Code:

vip_manager.sma(1205) : error 075: input line too long (after substitutions)
vip_manager.sma(1206) : error 037: invalid string (possibly non-terminated string)
vip_manager.sma(1208) : warning 217: loose indentation
vip_manager.sma(1208) : error 029: invalid expression, assumed zero
vip_manager.sma(1208) : error 017: undefined symbol "auth_type"
vip_manager.sma(1208) : error 017: undefined symbol "INT"
vip_manager.sma(1208) : fatal error 107: too many error messages on one line

line 1205 is defining var.

Im compiling locally.
THANKS!

Bugsy 11-29-2015 14:38

Re: Input line is too long
 
It works fine for me. It might be the line below this that is actually causing the issue.

ufogufo13 11-29-2015 14:52

Re: Input line is too long
 
no waaaayyy.. when im copying source from local machine to my server, something like MAGIC ENERGY made this:
Code:

        new const queryString[2048] = "CREATE TABLE IF NOT EXISTS `vips_cs16` (\

                        `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\

                        `auth_type` INT NOT NULL DEFAULT '0',\

                        `auth` VARCHAR(32) NOT NULL,\

                        `password` VARCHAR(32) NOT NULL,\

                        `flags` VARCHAR(26) NOT NULL,\

                        `date_remove` DATE NOT NULL DEFAULT '0000-00-00');";

blank lines makes errors ;)

thank You!

to close~


All times are GMT -4. The time now is 18:06.

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