line to big (max 1024 bytes) problem

Posted By: Garrettwademan

line to big (max 1024 bytes) problem - 08/16/09 17:54

It seems when I try to compile my script I get the...

line to big (max 1024 bytes) error.

It says it is for the script "pl.login", but I am so confused. Any insight on this?
Code:
//CALL SCRIPTS//////////////////////////////////////////////////////////////////////////////////////////////////
INCLUDE "anet_h.wdl";  //file that works with ANet DLL file
INCLUDE "adjust_fps.wdl";  //fix time step for all clients to run at same speed
INCLUDE "terrain_control.wdl"; //setup the terrain
INCLUDE "display_panels.wdl";  //displays panels for players
INCLUDE "player_control1.wdl";  //code that controls how the player moves
INCLUDE "calc_txrx.wdl";  //code that finds ping and data exchange variables
INCLUDE "server_scripts.wdl";  //code that controls all that the server does
INCLUDE "chat.wdl";  //code that controls the chat
INCLUDE "terrain_selector.wdl";  //code that controls the selection of the terrain
INCLUDE "inventory.wdl";  //code that controls the selection of the terrain
INCLUDE "foilcont_mysql.wdl";  //code that controls the trees and foilage of the game using MySQL
INCLUDE "sun_control.wdl";  //code that controls the sun in the game
INCLUDE "lflare.wdl";  //code that controls the sun flare
INCLUDE "terraform.wdl";  //terraforming code
INCLUDE "terraform_load.wdl";  //terrain terraform data
INCLUDE "player_attributes.wdl";
INCLUDE "player_inventory.wdl";
INCLUDE "player_skills.wdl";
INCLUDE "player_options.wdl";
INCLUDE "pl.wdl";


Posted By: Ottawa

Re: line to big (max 1024 bytes) problem - 08/18/09 13:19

Hi!

Are you using Lite-C or C-Script?

From the manual : C-Script only; for lite-C use #include.
Posted By: MMike

Re: line to big (max 1024 bytes) problem - 08/18/09 17:03

include is lowercase i guess.. that can affect , if lite.c
Oh and you need < " # " before too
© 2024 lite-C Forums