Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Za długa linijka
#1
Napisano 13.02.2011 01:11
#2
Napisano 13.02.2011 01:24
Błąd w kompilacji - AMXX.pl: Support AMX Mod X
Tyle tego było Pffff.
#3
Napisano 13.02.2011 02:20
#4
Napisano 13.02.2011 09:15
#5
Napisano 13.02.2011 09:53
public sql_start()
{
if(sqlstart<0) return
if(g_boolsqlOK) return
new host[128]
new user[64]
new pass[64]
new database[64]
get_cvar_string("diablo_sql_database",database,63)
get_cvar_string("diablo_sql_host",host,127)
get_cvar_string("diablo_sql_user",user,63)
get_cvar_string("diablo_sql_pass",pass,63)
g_SqlTuple = SQL_MakeDbTuple(host,user,pass,database)
get_cvar_string("diablo_sql_table",g_sqlTable,63)
new q_command[512]
format(q_command,511,"CREATE TABLE IF NOT EXISTS `%s` ( `nick` VARCHAR( 64 ),`ip` VARCHAR( 64 ),`sid` VARCHAR( 64 ),\
`klasa` integer( 2 ) ,\
`lvl` integer( 3 ) DEFAULT 1,\
`exp` integer( 9 ) DEFAULT 0,\
`str` integer( 3 ) DEFAULT 0,\
`int` integer( 3 ) DEFAULT 0,\
`dex` integer( 3 ) DEFAULT 0,\
`agi` integer( 3 ) DEFAULT 0,\
`arm` integer( 3 ) DEFAULT 0,\
`zar` integer( 3 ) DEFAULT 0,\
`gra` integer( 3 ) DEFAULT 0,\
`inv` integer( 3 ) DEFAULT 0,\
`lec` integer( 3 ) DEFAULT 0,\
`pkt` integer( 4 ) DEFAULT 0,\
`mot` integer( 4 ) DEFAULT 0,\
`zwj` integer( 4 ) DEFAULT 0 ) ",g_sqlTable)
SQL_ThreadQuery(g_SqlTuple,"TableHandle",q_command)
}
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright © 1997-2006 ITB CompuPhase, AMX Mod X Team
Error: Invalid string (possibly non-terminated string) on line 712
Error: Invalid expression, assumed zero on line 713
Error: Undefined symbol "klasa" on line 713
Error: Undefined symbol "integer" on line 713
Error: Too many error messages on one line on line 713
Compilation aborted.
5 Errors.
Could not locate output file C:\Users\Patryk\Desktop\dbmod_5.9l.amx (compile failed).
#6
Napisano 13.02.2011 10:00
#7
Napisano 13.02.2011 10:13
#8
Napisano 13.02.2011 12:43
A z jakiej racji w ogóle odpowiadasz za autora tematu? Czyżby multi i konta ci się pomyliły?Niestety nie mam pojęcia jak to zrobić...
#9
Napisano 13.02.2011 12:48
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych