PDA

Просмотр полной версии : [9767] Add the posibility to keep deleted characters in the database for a while and also add relate


newsbot
20.04.2010, 21:16
<pre>m sql/characters.sql
m sql/mangos.sql
+ sql/updates/9767_01_mangos_mangos_string.sql
+ sql/updates/9767_02_mangos_command.sql
+ sql/updates/9767_03_characters_characters.sql
m sql/updates/Makefile.am
m src/game/AccountMgr.cpp
m src/game/AccountMgr.h
m src/game/Chat.cpp
m src/game/Chat.h
m src/game/Language.h
m src/game/Level3.cpp
m src/game/Player.cpp
m src/game/Player.h
m src/game/PlayerDump.cpp
m src/game/World.cpp
m src/game/World.h
m src/mangosd/CliRunnable.cpp
m src/mangosd/mangosd.conf.dist.in
m src/shared/Util.h
m src/shared/revision_nr.h
m src/shared/revision_sql.h

[9767] Add the posibility to keep deleted characters in the database for a while and also add related commands.

Added commands:
* .character deleted list [$guid|$name]
* .character deleted restore $guid|$name [$newname]
* .character deleted delete $guid|$name
* .character deleted old [$keepdays]

Command .character delete renamed to .character erase

Signed-off-by: VladimirMangos <vladimir@getmangos.com></pre>



Дальше... (http://github.com/mangos/mangos/commit/e8e3ff99724fca8345669b7d32adbebc83f937b4)

Neggod
21.04.2010, 06:25
Character gets deleted by CharDelete.Mode=0 when the character
# hasn't the specified level yet.
. . .
will be deleted by the specified mode.
# the rest will be deleted by CharDelete.Mode=0
Должно быть CharDelete.Method =0 ?

xmolex
21.04.2010, 12:12
Давно пора, очень полезная штука.

Vladimir
21.04.2010, 12:21
Должно быть CharDelete.Method =0 ?

В [9771]. Спасибо :)