diff options
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r-- | npc/functions/hub.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 691961fe0..9e6e492e0 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -26,6 +26,12 @@ function script HUB_Login { if (getvaultid() && !getstatus(SC_JAILED)) { .@gto=get_byte(##00_INFO, 3); .@mlp=get_nibble(##00_INFO, 5); + /*debugmes "INFO: %d", ##00_INFO; + debugmes "BYTE: %d/%d/%d/%d", get_byte(##00_INFO, 0), get_byte(##00_INFO, 1), get_byte(##00_INFO, 2), get_byte(##00_INFO, 3); + debugmes "NIBBLE: %d/%d/%d/%d/%d/%d/%d/%d", get_nibble(##00_INFO, 0), get_nibble(##00_INFO, 1), get_nibble(##00_INFO, 2), get_nibble(##00_INFO, 3), get_nibble(##00_INFO, 4), get_nibble(##00_INFO, 5), get_nibble(##00_INFO, 6), get_nibble(##00_INFO, 7); + debugmes "Your Vault ID: %d", getvaultid(); + debugmes "VAULT LOGIN, GTO is %d MLP is %d", .@gto, .@mlp; + */ // Work only on new chars, or chars which cleared Tulimshar. if (.@gto == $WID && (!getq(General_Narrator) || @@ -59,6 +65,8 @@ function script HUB_Login { // Heading somewhere which is not here! mesc l("WARNING: If you use any Mirror Lake feature on this world, the current Mirror Lake Quest will be marked as \"Failed\"."), 1; mesc l("If this is undesired, select the correct world, and if needed create a new char on it."), 1; + ##VAULT_GOTO=.@gto; + ##VAULT_MLTO=.@mlp; next; closeclientdialog; } |