fatal error 111: user error: undefined symbol
#1

anyone can help me to fix this Thank yiu
Quote:

pawno\include\cnr\define.inc(233) : fatal error 111: user error: undefined symbol " ~(^.^~) Ahoy!!! "


Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Reply
#2

Perhaps you could provide some code?
Reply
#3

how i can fix this
Reply
#4

the symbol you are using at 233 line is not defined .. You should show your code to get to know the actual problem
Reply
#5

Quote:

/* MySQL Setting */
#define HOST ""
#define USER ""
#define PASSWORD ""
#define DBNAME ""

#define HOST2 ""
#define USER2 ""
#define PASSWORD2 ""
#define DBNAME2 ""

#define FORUMDB "forum" // Unused

/*****************/
/* Dialogs */
#define DIALOG_LOGIN 1
#define DIALOG_REGISTER 2
#define DIALOG_UNUSED 3
#define DIALOG_UCP 4
#define DIALOG_ATM 5
#define DIALOG_BOMB 6
#define DIALOG_BUYCAR 7
#define DIALOG_ACP 8
#define DIALOG_DEPOSIT 9
#define DIALOG_WITHDRAW 10
#define DIALOG_JOB 11
#define DIALOG_WEED 12
#define DIALOG_COMMANDS 13
#define DIALOG_DEALERSHIP 14
#define DIALOG_CHANGEPLATE 15
#define DIALOG_VCP 16
#define DIALOG_MYVEHICLES 17
#define DIALOG_MYVEHICLES2 18
#define DIALOG_CHANGECOLOR 19
#define DIALOG_CHANGECOLOR2 20
#define DIALOG_GPS 21
#define DIALOG_SALESERVER 22
#define DIALOG_VSELL 23
#define DIALOG_VSELL2 24
#define DIALOG_CONFVS 25
#define DIALOG_CONFIRMVSELL 26
#define DIALOG_PLAYERVEHICLES 27
#define DIALOG_PLAYERVEHICLES2 28
#define DIALOG_HCP 29
#define DIALOG_HOUSETITLE 30
#define DIALOG_HOUSEPASSWORD 31
#define DIALOG_CHANGEINT 32
#define DIALOG_UPGRADEHOUSE 33
#define DIALOG_HOUSEPASS 34
#define DIALOG_NEON 35
#define DIALOG_SKIN 36
#define DIALOG_HOSPITAL 37
#define DIALOG_CGANG 38
#define DIALOG_CGANG2 39
#define DIALOG_GCP 40
#define DIALOG_GCP2 41
#define DIALOG_GCP3 42
#define DIALOG_GCP4 43
#define DIALOG_GCP5 44
#define DIALOG_GCP6 45
#define DIALOG_SKIN2 46
#define DIALOG_GCPC 47
#define DIALOG_MYHOUSES 48
#define DIALOG_MYHOUSES2 49
#define DIALOG_SUPA 50
#define DIALOG_SELLGARAGE 51
#define DIALOG_AMMUNATION 52
#define DIALOG_AMMU_MELEE 53
#define DIALOG_AMMU_HANDGUNS 54
#define DIALOG_AMMU_SUBMACHINES 55
#define DIALOG_AMMU_SHOTGUNS 56
#define DIALOG_AMMU_ASSAULTRIFLES 57
#define DIALOG_AMMU_RIFLES 58
#define DIALOG_TITLE 59
#define DIALOG_GUNDEAL 60
#define DIALOG_MECHANIC 61
#define DIALOG_JOB_CENTER 62
/***********/
/* Rope System */
#define ROPELENGTH 50
#define OFFSET 12
#define DURATION 250
/***************/
/* CNR Team */
#define CIVILIAN 1
#define POLICE 2
#define FBI 3
#define CIA 4
#define ARMY 5
#define MEDIC 6
#define SPY 7
#define LEO 1
/************/
#define INVALID_NUMBER 1
#define REGISTER_LOG "register.html"
#define LOGIN_LOG "login.html"
#define MAX_ADMIN_VEHICLES 100
#define MAX_LOCKER 30
#define MAX_CP 100
#define MAX_ZONE_NAME 28
#define MAX_STORE 33
#define MAX_ROB_CP 30
#define MAX_HOUSE_INT 12
#define MAX_ATM 2
#define MAX_CIVIL_SPAWN 8
#define MAX_ARMY_SPAWN 3
#define MAX_FBI_SPAWN 6
#define MAX_POLICE_SPAWN 5
#define MAX_PLAYER_VEHICLES 5
#define MAX_VIP_VEHICLES 7
#define MAX_GANGS 50
#define MAX_GANG_NAME 20
#define MAX_VEH 500
#define MAX_SERVER_VEHICLES 343
#define MAX_LOCATIONS 50
#define MAX_JAIL 19
#define MAX_HOUSE 500
#define MAX_PLAYER_HOUSE 3
#define MAX_VIP_HOUSE 5
#define MAX_LEN 32
#define MAX_ENTRY 120
#define MAX_TRUCKING 14
#define MAX_FREE 4
#define MAX_GARAGE 500
#define MAX_MONEYBAG 23
/* EXTERNAL CHAT SYSTEM */
#define USE_ANTI_STEALER true
#define CHATDB "exsystem.db"
#define SOCKET_PORT 9890
#define MAX_CONNECTIONS 5
#define KICK_LEVEL 1
#define BAN_LEVEL 3
#define INFO_LEVEL 1
#define SKIN_LEVEL 2
#define HEALTH_LEVEL 2
#define ARMOUR_LEVEL 2
#define WEAPON_LEVEL 2
#define SCORE_LEVEL 2
#define INTERIOR_LEVEL 3
#define WORLD_LEVEL 3
#define VHEALTH_LEVEL 2
#define ADMIN_MANAGE 5
#define BAN_MANAGE 4
#define ADMIN_COLOUR 0xFF0000FF
#define ACTION_COLOUR 0xFF7575FF
#define CHAT_COLOUR 0xFFFFFFAA
#define ADMIN_COLOUR_D FF0000
#define CHAT_COLOUR_D FFFFFF
#define ACTION_COLOUR_D FF7575
#define AFFECT_COLOUR_D 6699FF
#define MAX_QUERY_LENGTH 500
#define ADMIN_TABLE admins
#define BAN_TABLE bans
#define GPSFile "gps.db"
#define INVALID_SEAT_ID 999
/********************************/
/* PLAYER COLOR */
#define CLASS_CIVILIAN_COLOR 0xFFFFFFFF
#define CLASS_POLICE_COLOR 0x3E7EFFFF
#define CLASS_ARMY_COLOR 0x8F48F5FF
#define CLASS_CIA_COLOR 0x2F205BFF
#define CLASS_FBI_COLOR 0x1C3EFFFF
#define CLASS_CIVILIAN_YELLOW 0xFFEC41FF
#define CLASS_CIVILIAN_ORANGE 0xDF802DFF
#define CLASS_CIVILIAN_RED 0xD92C3CFF
#define CLASS_FIREFIGHTER_COLOR 0x9C3D36FF
#define CLASS_MEDIC_COLOR 0xF78181FF
#define CLASS_SPY_COLOR 0x00205B00
/*********************************************/
#define JOB_MECHANIC 1
#define JOB_RAPIST 2
#define JOB_TERRORIST 3
#define JOB_WEAPON 4
#define JOB_WEEDDEALER 5
#define JOB_KIDNAPPER 6
#define JOB_HITMAN 7
#define JOB_TRUCKER 8
/* VEHICLE SYSTEM */
#define DEFAULT_NUMBER_PLATE "CCNR"
#define DEALERSHIP_SPORTVEHICLES 0
#define DEALERSHIP_SALOONS 1
#define DEALERSHIP_BIKES 2
#define DEALERSHIP_UNIQUE 3
#define DEALERSHIP_INDUSTRIAL 4
#define DEALERSHIP_LOWRIDER 5
#define DEALERSHIP_OFFROAD 6
#define DEALERSHIP_AIR 7
#define DEALERSHIP_VIP 8
/**********************/
/* AMMUNATION */
#define WEAPONPRICES_BRASSKNUCKLES 1000
#define WEAPONPRICES_GOLFCLUB 1000
#define WEAPONPRICES_KNIFE 1000
#define WEAPONPRICES_BASEBALLBAT 1000
#define WEAPONPRICES_SHOVEL 1000
#define WEAPONPRICES_POOLCUE 1000
#define WEAPONPRICES_CHAINSAW 5000
#define WEAPONPRICES_PURPLEDILDO 1000
#define WEAPONPRICES_CAMERA 1000
#define WEAPONPRICES_COLT45 1500
#define WEAPONPRICES_SILENCED9MM 1500
#define WEAPONPRICES_DESERTEAGLE 2500
#define WEAPONPRICES_MICROUZI 1500
#define WEAPONPRICES_TEC9 1500
#define WEAPONPRICES_MP5 1500
#define WEAPONPRICES_PUMPACTION 1500
#define WEAPONPRICES_SAWNOFF 3000
#define WEAPONPRICES_COMBATSHOTGUN 3000
#define WEAPONPRICES_AK47 1000
#define WEAPONPRICES_M4 1500
#define WEAPONPRICES_COUNTRYRIFLE 1000
#define WEAPONPRICES_SNIPERRIFLE 1500
/**********************/
/* MAX PLAYERS SETTING */
#undef MAX_PLAYERS
#define MAX_PLAYERS 50

/* Toy System */
#define DIALOG_ATTACH_INDEX 13500
#define DIALOG_ATTACH_INDEX_SELECTION DIALOG_ATTACH_INDEX+1
#define DIALOG_ATTACH_EDITREPLACE DIALOG_ATTACH_INDEX+2
#define DIALOG_ATTACH_MODEL_SELECTION DIALOG_ATTACH_INDEX+3
#define DIALOG_ATTACH_BONE_SELECTION DIALOG_ATTACH_INDEX+4
#define DIALOG_ATTACH_OBJECT_SELECTION DIALOG_ATTACH_INDEX+5
#define DIALOG_ATTACH_OBJECT2_SELECTION DIALOG_ATTACH_INDEX+6
//================================================== ============================
#define MAX_OSLOTS 8
//================================================== ============================
/* Fallout System */
#define MAX_GLASS 54

#if !defined OK
#error undefined symbol " ~(^.^~) Ahoy!!! "
#endif

heres the whole code this is a defince.inc
Reply
#6

try to

Код:
#define OK
or to remove that line

Код HTML:
#if !defined OK
#error undefined symbol " ~(^.^~) Ahoy!!! "
#endif
Reply
#7

Remove these lines, the message doesn't explain anything anyway:
pawn Код:
#if !defined OK
#error undefined symbol " ~(^.^~) Ahoy!!! "
#endif
Reply
#8

Ok ill try guys btw Thanks!!!
Reply
#9

if ill remove this
#if !defined OK
#error undefined symbol " ~(^.^~) Ahoy!!! "
#endif

this is will be the result
Quote:

C:\Users\server\Desktop\California Cops and Robbers by Bondowocopz\pawno\include\cnr\define.inc(215) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\server\Desktop\California Cops and Robbers by Bondowocopz\pawno\include\cnr\define.inc(215) : error 010: invalid function or declaration
C:\Users\server\Desktop\California Cops and Robbers by Bondowocopz\pawno\include\cnr\define.inc(232) : error 013: no entry point (no public functions)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.

Reply
#10

Код:
/* MySQL Setting */
#define	HOST	""
#define USER	""
#define PASSWORD	""
#define DBNAME	""

#define	HOST2	""
#define USER2	""
#define PASSWORD2	""
#define DBNAME2	""

#define FORUMDB	"forum" // Unused

/*****************/
/* Dialogs */
#define DIALOG_LOGIN	1
#define DIALOG_REGISTER	2
#define DIALOG_UNUSED	3
#define DIALOG_UCP	4
#define DIALOG_ATM	5
#define DIALOG_BOMB	6
#define DIALOG_BUYCAR	7
#define DIALOG_ACP	8
#define DIALOG_DEPOSIT	9
#define DIALOG_WITHDRAW	10
#define DIALOG_JOB	11
#define DIALOG_WEED	12
#define DIALOG_COMMANDS	13
#define DIALOG_DEALERSHIP	14
#define DIALOG_CHANGEPLATE	15
#define DIALOG_VCP	16
#define DIALOG_MYVEHICLES	17
#define DIALOG_MYVEHICLES2	18
#define DIALOG_CHANGECOLOR	19
#define DIALOG_CHANGECOLOR2	20
#define DIALOG_GPS	21
#define DIALOG_SALESERVER	22
#define DIALOG_VSELL	23
#define DIALOG_VSELL2	24
#define DIALOG_CONFVS	25
#define DIALOG_CONFIRMVSELL	26
#define DIALOG_PLAYERVEHICLES 27
#define DIALOG_PLAYERVEHICLES2	28
#define DIALOG_HCP	29
#define DIALOG_HOUSETITLE	30
#define DIALOG_HOUSEPASSWORD	31
#define DIALOG_CHANGEINT	32
#define DIALOG_UPGRADEHOUSE	33
#define DIALOG_HOUSEPASS	34
#define DIALOG_NEON	35
#define DIALOG_SKIN	36
#define DIALOG_HOSPITAL	37
#define DIALOG_CGANG	38
#define DIALOG_CGANG2	39
#define DIALOG_GCP	40
#define DIALOG_GCP2	41
#define DIALOG_GCP3	42
#define DIALOG_GCP4	43
#define DIALOG_GCP5	44
#define DIALOG_GCP6	45
#define DIALOG_SKIN2	46
#define DIALOG_GCPC	47
#define DIALOG_MYHOUSES	48
#define DIALOG_MYHOUSES2	49
#define DIALOG_SUPA	50
#define DIALOG_SELLGARAGE	51
#define DIALOG_AMMUNATION	52
#define DIALOG_AMMU_MELEE	53
#define DIALOG_AMMU_HANDGUNS	54
#define DIALOG_AMMU_SUBMACHINES	55
#define DIALOG_AMMU_SHOTGUNS	56
#define DIALOG_AMMU_ASSAULTRIFLES 57
#define DIALOG_AMMU_RIFLES	58
#define DIALOG_TITLE	59
#define DIALOG_GUNDEAL	60
#define DIALOG_MECHANIC	61
#define DIALOG_JOB_CENTER 62
/***********/
/* Rope System */
#define ROPELENGTH	50
#define OFFSET	12
#define DURATION	250
/***************/
/* CNR Team */
#define CIVILIAN	1
#define POLICE	2
#define FBI	3
#define CIA	4
#define ARMY	5
#define MEDIC	6
#define SPY	7
#define LEO	1
/************/
#define INVALID_NUMBER	1
#define REGISTER_LOG	"register.html"
#define LOGIN_LOG	"login.html"
#define MAX_ADMIN_VEHICLES	100
#define MAX_LOCKER	30
#define MAX_CP	100
#define MAX_ZONE_NAME 28
#define MAX_STORE	33
#define MAX_ROB_CP	30
#define MAX_HOUSE_INT	12
#define MAX_ATM	2
#define MAX_CIVIL_SPAWN	8
#define MAX_ARMY_SPAWN	3
#define MAX_FBI_SPAWN	6
#define MAX_POLICE_SPAWN	5
#define MAX_PLAYER_VEHICLES 5
#define MAX_VIP_VEHICLES	7
#define MAX_GANGS	50
#define MAX_GANG_NAME	20
#define MAX_VEH	500
#define MAX_SERVER_VEHICLES	343
#define MAX_LOCATIONS 50
#define MAX_JAIL	19
#define MAX_HOUSE	500
#define MAX_PLAYER_HOUSE	3
#define MAX_VIP_HOUSE	5
#define MAX_LEN 32
#define MAX_ENTRY 120
#define MAX_TRUCKING	14
#define MAX_FREE	4
#define MAX_GARAGE	500
#define MAX_MONEYBAG 23
/* EXTERNAL CHAT SYSTEM */
#define USE_ANTI_STEALER true
#define CHATDB	"exsystem.db"
#define SOCKET_PORT 9890
#define MAX_CONNECTIONS 5
#define KICK_LEVEL 1
#define BAN_LEVEL 3
#define INFO_LEVEL 1
#define SKIN_LEVEL 2
#define HEALTH_LEVEL 2
#define ARMOUR_LEVEL 2
#define WEAPON_LEVEL 2
#define SCORE_LEVEL 2
#define INTERIOR_LEVEL 3
#define WORLD_LEVEL 3
#define VHEALTH_LEVEL 2
#define ADMIN_MANAGE 5
#define BAN_MANAGE 4
#define ADMIN_COLOUR 0xFF0000FF
#define ACTION_COLOUR 0xFF7575FF
#define CHAT_COLOUR 0xFFFFFFAA
#define ADMIN_COLOUR_D FF0000
#define CHAT_COLOUR_D FFFFFF
#define ACTION_COLOUR_D FF7575
#define AFFECT_COLOUR_D 6699FF
#define MAX_QUERY_LENGTH 500
#define ADMIN_TABLE admins
#define BAN_TABLE bans
#define GPSFile "gps.db"
#define INVALID_SEAT_ID 999
/********************************/
/* PLAYER COLOR */
#define CLASS_CIVILIAN_COLOR	0xFFFFFFFF
#define CLASS_POLICE_COLOR	0x3E7EFFFF
#define CLASS_ARMY_COLOR	0x8F48F5FF
#define CLASS_CIA_COLOR	0x2F205BFF
#define CLASS_FBI_COLOR	0x1C3EFFFF
#define CLASS_CIVILIAN_YELLOW	0xFFEC41FF
#define CLASS_CIVILIAN_ORANGE	0xDF802DFF
#define CLASS_CIVILIAN_RED	0xD92C3CFF
#define CLASS_FIREFIGHTER_COLOR	0x9C3D36FF
#define CLASS_MEDIC_COLOR	0xF78181FF
#define CLASS_SPY_COLOR	0x00205B00
/*********************************************/
#define JOB_MECHANIC	1
#define JOB_RAPIST	2
#define JOB_TERRORIST	3
#define JOB_WEAPON	4
#define JOB_WEEDDEALER	5
#define JOB_KIDNAPPER	6
#define JOB_HITMAN	7
#define JOB_TRUCKER	8
/* VEHICLE SYSTEM */
#define DEFAULT_NUMBER_PLATE "CCNR"
#define DEALERSHIP_SPORTVEHICLES	0
#define DEALERSHIP_SALOONS	1
#define DEALERSHIP_BIKES	2
#define DEALERSHIP_UNIQUE	3
#define DEALERSHIP_INDUSTRIAL	4
#define DEALERSHIP_LOWRIDER	5
#define DEALERSHIP_OFFROAD	6
#define DEALERSHIP_AIR	7
#define DEALERSHIP_VIP	8
/**********************/
/* AMMUNATION */
#define WEAPONPRICES_BRASSKNUCKLES	1000
#define WEAPONPRICES_GOLFCLUB	1000
#define WEAPONPRICES_KNIFE	1000
#define WEAPONPRICES_BASEBALLBAT	1000
#define WEAPONPRICES_SHOVEL	1000
#define WEAPONPRICES_POOLCUE	1000
#define WEAPONPRICES_CHAINSAW	5000
#define WEAPONPRICES_PURPLEDILDO	1000
#define WEAPONPRICES_CAMERA	1000
#define WEAPONPRICES_COLT45	1500
#define WEAPONPRICES_SILENCED9MM	1500
#define WEAPONPRICES_DESERTEAGLE	2500
#define WEAPONPRICES_MICROUZI	1500
#define WEAPONPRICES_TEC9	1500
#define WEAPONPRICES_MP5	1500
#define WEAPONPRICES_PUMPACTION	1500
#define WEAPONPRICES_SAWNOFF	3000
#define WEAPONPRICES_COMBATSHOTGUN	3000
#define WEAPONPRICES_AK47	1000
#define WEAPONPRICES_M4	1500
#define WEAPONPRICES_COUNTRYRIFLE	1000
#define WEAPONPRICES_SNIPERRIFLE	1500

#undef MAX_PLAYERS
#define MAX_PLAYERS	50

/* Toy System */
#define DIALOG_ATTACH_INDEX 13500
#define DIALOG_ATTACH_INDEX_SELECTION DIALOG_ATTACH_INDEX+1
#define DIALOG_ATTACH_EDITREPLACE DIALOG_ATTACH_INDEX+2
#define DIALOG_ATTACH_MODEL_SELECTION DIALOG_ATTACH_INDEX+3
#define DIALOG_ATTACH_BONE_SELECTION DIALOG_ATTACH_INDEX+4
#define DIALOG_ATTACH_OBJECT_SELECTION DIALOG_ATTACH_INDEX+5
#define DIALOG_ATTACH_OBJECT2_SELECTION DIALOG_ATTACH_INDEX+6
//================================================== ============================
#define MAX_OSLOTS 8
//================================================== ============================
/* Fallout System */
#define MAX_GLASS 54
Reply
#11

Could the first 2 errors have something to do with :
Quote:

#undef MAX_PLAYERS

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)