From 550f1b84033d76325eb9ac9139f092704795e3d2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 28 Jul 2021 21:22:50 -0300 Subject: Bugfixes. The annoying kind. --- npc/commands/numa.txt | 4 ++-- sql-files/main.sql | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/npc/commands/numa.txt b/npc/commands/numa.txt index 3fc544eb..75ba1a0a 100644 --- a/npc/commands/numa.txt +++ b/npc/commands/numa.txt @@ -2,7 +2,7 @@ - script SuperDebug NPC32767,{ if (GM < MAP_LOUNGE && GM < G_SYSOP && !debug) goto L_GM2; // make sure you can enter the gm lounge //if (target(BL_ID,getnpcid("Numa"),1)) goto L_Main; - //npcaction 6, 12; + showavatar 12; title "Numa"; goto L_Main; @@ -61,7 +61,7 @@ L_EasterDebug: // FIXME L_Event: - if (GM < EVT_DEBUG && GM < G_EVENT) goto L_GM; + if (!is_evtc()) goto L_GM; gmlog strcharinfo(0) + " accessed the GM event debug."; callfunc "GmDebug"; goto L_close; diff --git a/sql-files/main.sql b/sql-files/main.sql index b2a7d7e4..cd715ed1 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -388,7 +388,7 @@ CREATE TABLE IF NOT EXISTS `guild` ( `master` VARCHAR(24) NOT NULL DEFAULT '', `guild_lv` TINYINT UNSIGNED NOT NULL DEFAULT '0', `connect_member` TINYINT UNSIGNED NOT NULL DEFAULT '0', - `max_member` TINYINT UNSIGNED NOT NULL DEFAULT '0', + `max_member` SMALLINT UNSIGNED NOT NULL DEFAULT '0', `average_lv` SMALLINT UNSIGNED NOT NULL DEFAULT '1', `exp` BIGINT UNSIGNED NOT NULL DEFAULT '0', `next_exp` INT UNSIGNED NOT NULL DEFAULT '0', -- cgit v1.2.3-60-g2f50