summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-29 14:54:38 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-29 14:54:38 -0300
commit20194e94d6e658a61ce86fe6194365a44b60da75 (patch)
tree23a9d3947b1e365fe5dc1ed85b0f074747252294 /npc/commands
parent8437feb804efa779449a98c23a3f8d52ef9f925c (diff)
downloadserverdata-20194e94d6e658a61ce86fe6194365a44b60da75.tar.gz
serverdata-20194e94d6e658a61ce86fe6194365a44b60da75.tar.bz2
serverdata-20194e94d6e658a61ce86fe6194365a44b60da75.tar.xz
serverdata-20194e94d6e658a61ce86fe6194365a44b60da75.zip
Remove silly option from @ucp
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/ucp.txt36
1 files changed, 2 insertions, 34 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt
index 99257da16..f103ad54a 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -23,7 +23,7 @@ function script UserCtrlPanel {
l("Account Information"),
rif(getcharid(2) > 0, l("Guild Information")),
l("Change Language"),
- rif(is_admin() && $@GM_OVERRIDE, l("LoF Merge")),
+ rif(is_admin() && $@GM_OVERRIDE, l("DISABLE OVERRIDE MODE")),
l("Game Settings"),
l("Save & Exit");
@@ -87,39 +87,7 @@ function script UserCtrlPanel {
break;
case 5: asklanguage(LANG_IN_SHIP); break;
case 6:
- mesn "Jesusalva";
- mesq l("What do you think you are doing, anyway?!");
- next;
- mesc l("LoF Username:");
- input .@userid$;
- mesc l("LoF Password:");
- input .@passid$;
- next;
- mesc l("Imagine I'm now blacklisting you for a hour with a #VARIABLE. Maybe 3 weekly attempts.");
- mesc l("Now imagine I just did a SQL query to fetch your account password and salt.");
- mesc l("For now, I'll assume your salt is... 9, why not.");
- next;
- .@pid$=md5(.@passid$);
- .@slt$=md5("9");
-
- .@buf$=.@pid$+.@slt$;
-
- // TmwA Dark Magic is needed
- // See src/generic/md5.cpp and src/high/md5more.cpp
- // Remember to move crappy stuff like this to a blackbox
-
-
- // One final move
- .@passwd$=md5(.@buf$);
-
- // For check we can use compare(.@passwd$, "<real password>")
-
-
- mesc l("Now, your hash might be @@.", .@passwd$);
- .@userid$="";.@passid$="";
- mesc l("Of course, this is only some random md5 functions for fun.");
- mesc l("Actually, this fails without tmwa dark magic.");
- mesc l("User account safety is at stake, too, so I'll move this crap to a blackbox once done.");
+ $@GM_OVERRIDE=false;
break;
case 7:
do