From 1b6a3f5be19e490c16e1473d9289f08bcb80cbef Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 6 Jun 2022 00:34:50 -0300 Subject: The bug is: Index 0 is buggy. So reserve index 0 for server account --- npc/functions/aurora.txt | 1 + npc/functions/input.txt | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/npc/functions/aurora.txt b/npc/functions/aurora.txt index 686196561..cb8b6e136 100644 --- a/npc/functions/aurora.txt +++ b/npc/functions/aurora.txt @@ -437,6 +437,7 @@ function script FYEConf_Raid { FYE_Autoset(); $FYLOGIN_PTS=rand2(1, 2); + $FYRAID_OWNER[0]=1; // System Reserve return; } diff --git a/npc/functions/input.txt b/npc/functions/input.txt index 43b3427d7..0a510b740 100644 --- a/npc/functions/input.txt +++ b/npc/functions/input.txt @@ -94,8 +94,8 @@ function script menuint2 { @menu = 255; @menuret = -1; select(.@menustr$); - debugmes "Option %d", @menu; - debugmes "Array size %d", getarraysize(.@vals); + //debugmes "Option %d", @menu; + //debugmes "Array size %d", getarraysize(.@vals); if (@menu == 255) return -1; @@ -105,7 +105,6 @@ function script menuint2 { return -1; @menuret = .@vals[@menu]; - debugmes "Final %d", @menuret; return @menuret; } -- cgit v1.2.3-60-g2f50