Originally Posted by
buLLeT_
error when i start script
try start server with ++
Closer - it's old method for using libcod functions
You can replace all "closer" on functions name
LIST FUNC'S: https://znation.nl/cod4script
Code:
/*
100 == mysql_init()
101 == mysql_real_connect(mysql, host, user, pass, db, port)
102 == mysql_close(mysql)
103 == mysql_query(mysql, query)
104 == mysql_errno(mysql)
105 == mysql_error(mysql)
106 == mysql_affected_rows(mysql)
107 == mysql_store_result(mysql)
108 == mysql_num_rows(result)
109 == mysql_num_fields(result)
110 == mysql_field_seek(result, position)
111 == mysql_fetch_field()
112 == mysql_fetch_row(result)
113 == mysql_free_result(result)
*/
EXAMPLE:
replace "closer(105, mysql)" on "mysql_error(mysql)"
WARNING:
i think all pseudo functions writed in utility files, you can delete all pseudo functions from .gsc scripts (IF PSEUDO FUNCTION NAME == LIBCOD FUNCTION NAME)
WARNING#2:
You try start server on Windows, libcod_win have small pack of functions
WARNING#3:
SUPA BAD ENGLISH!!11!