username.dudb.sav
#1

Hello! My register system works great, nothing wrong with it. But I don't like the ''username.dudb.sav'' I just want username or [M]blewer and not _05m_06blewert.dudb.sav or whatever. What can I do?
Reply
#2

Modify your dudb.inc - there's a function called udb_encode.
Reply
#3

Quote:
Originally Posted by //exora
Modify your dudb.inc - there's a function called udb_encode.
More info please.
Reply
#4

What more info? You'll find the function you might want to modify.
Reply
#5

Quote:
Originally Posted by //exora
What more info? You'll find the function you might want to modify.
I don't know what to edit in dudb. I'm currently looking in my dudb folder inside include.
Reply
#6

Quote:
Originally Posted by DarkPhoenix
Quote:
Originally Posted by //exora
What more info? You'll find the function you might want to modify.
I don't know what to edit in dudb. I'm currently looking in my dudb folder inside include.
Change the save path.
Go through your .dudb include and find and replace and %.dudb.sav lines. Example:

Quote:

format(tmp,sizeof(tmp),"%s.dudb.sav",udb_encode(nickname));

Becomes

Quote:

format(tmp,sizeof(tmp),"%s.file",udb_encode(nickname));

Reply
#7

Quote:
Originally Posted by Hiddos
Quote:
Originally Posted by DarkPhoenix
Quote:
Originally Posted by //exora
What more info? You'll find the function you might want to modify.
I don't know what to edit in dudb. I'm currently looking in my dudb folder inside include.
Change the save path.
Go through your .dudb include and find and replace and %.dudb.sav lines. Example:

Quote:

format(tmp,sizeof(tmp),"%s.dudb.sav",udb_encode(nickname));

Becomes

Quote:

format(tmp,sizeof(tmp),"%s.file",udb_encode(nickname));

There are more
Quote:

format(tmp,sizeof(tmp),"%s.dudb.sav",udb_encode(nickname));

Do I need to replace them all? And I need to edit something in my gamemode script?
Reply
#8

Dude just edit udb_encode function -_-
Reply
#9

Quote:
Originally Posted by 0ne
Dude just edit udb_encode function -_-
All of them?
Reply
#10

stock udb_encode(nickname[]) {

Uhh...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)