1 Char per GM Account by Ind

Woah that was fast! Thanks Mr. Quesoph is this possible as Plugin also?

 
Okay maybe we can request because somehow I don't want to touch the src part so if ever there are updates coming I won't have any problem.

Thanks again Mr. Quesoph
default_biggrin.png


 
Hi im having problem with this on the latest build . 

Code:
make[1]: Entering directory '/home/xedf/classic/src/char'        MKDIR   obj_sql        CC      char.cchar.c: In function ‘char_make_new_char_sql’:char.c:1633:3: warning: implicit declaration of function ‘Sql_Query’ [-Wimplicit-function-declaration]   if( SQL_ERROR == Sql_Query(sql_handle, "SELECT 1 FROM `%s` WHERE `account_id` = '%d'", char_db, sd->account_id) )   ^char.c:1633:30: error: ‘sql_handle’ undeclared (first use in this function)   if( SQL_ERROR == Sql_Query(sql_handle, "SELECT 1 FROM `%s` WHERE `account_id` = '%d'", char_db, sd->account_id) )                              ^char.c:1633:30: note: each undeclared identifier is reported only once for each function it appears inchar.c:1635:3: warning: implicit declaration of function ‘Sql_NumRows’ [-Wimplicit-function-declaration]   if( Sql_NumRows(sql_handle) >= 1 )   ^Makefile:100: recipe for target 'obj_sql/char.o' failedmake[1]: *** [obj_sql/char.o] Error 1
 
Back
Top