最近搞了个终极魔兽插件来玩...可是好像不能save喔...有人知道为什么吗?..
我有改cfg的...
复制程式
// 数据经验保存位置
uwc3ng_savexp_sql "1" // 0 = MySQL, 1 = SQLITE
// 数据经验保存方式
uwc3ng_save_by "2" // 0 = SteamID, 1 = IP, 2 = Name
// SQL 数据库配置
uwc3ng_host "localhost" // 主机地址
uwc3ng_user "root" // 用户名
uwc3ng_pass "" // 密码。
uwc3ng_name "" // 数据库名称
inl我也改了..
复制程式
public Load_Cvars()
{
// Uwc3ng enabled or disabled?
uwc3ng_enabled = register_cvar ( "uwc3ng_enabled", "1" );
// Where we save the xps and skills etc?
CVAR_uwc3ng_savexp = register_cvar ( "uwc3ng_savexp_sql", "1" ); // 0 = MySQL, 1 = SQLLITE
// Should we save the xps?
CVAR_uwc3ng_save_xp = register_cvar ( "uwc3ng_save_xp", "1" ); // 1 = enabled, 0 = disabled
// How should we save the xps?
CVAR_uwc3ng_save_by = register_cvar ( "uwc3ng_save_by", "2" ); // 0 = SteamID, 1 = IP, 2 = Name
// SQL cvars
CVAR_uwc3ng_host = register_cvar ( "uwc3ng_host", "localhost" ); // The host from the db
CVAR_uwc3ng_user = register_cvar ( "uwc3ng_user", "root" ); // The username from the db login
CVAR_uwc3ng_pass = register_cvar ( "uwc3ng_pass", "" ); // The password from the db login
CVAR_uwc3ng_name = register_cvar ( "uwc3ng_name", "" ); // The database name
可是还是保存不了
有人能教教我吗..