Eu to tentando fazer um salvamento por dof2 й nгo tava salvando quem tem o nick com "[" e "]" aн achei isso na include
Код:
stock DOF2::udb_encode (nickname [])
{
new
buf [256],
result [256];
static const symbols [][2][] =
{
{"_", "_00"},
{";", "_01"},
{"!", "_02"},
{"/", "_03"},
{"\\", "_04"},
{"[", "_05"},
{"]", "_06"},
{"?", "_07"},
{".", "_08"},
{"*", "_09"},
{"<", "_10"},
{">", "_11"},
{"{", "_12"},
{"}", "_13"},
{" ", "_14"},
{"\"", "_15"},
{":", "_16"},
{"|", "_17"},
{"=", "_18"}
};
strcat (buf, nickname);
for (new i = 0; i < sizeof (symbols); ++i)
{
DOF2::strreplace (symbols [i][1], symbols [i][0], buf, result);
DOF2::strcpy (buf, result);
}
return result;
}
Tente. Se der merda, coloque novamente. Senгo, trabalho feito.