summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-07-28 21:22:50 -0300
committerJesusaves <cpntb1@ymail.com>2021-07-28 21:22:50 -0300
commit550f1b84033d76325eb9ac9139f092704795e3d2 (patch)
tree5762fb047121443424adc7f63242d56429796648
parent4359fe47243058408dc5bd4f79b2711c8b941d02 (diff)
downloadserverdata-550f1b84033d76325eb9ac9139f092704795e3d2.tar.gz
serverdata-550f1b84033d76325eb9ac9139f092704795e3d2.tar.bz2
serverdata-550f1b84033d76325eb9ac9139f092704795e3d2.tar.xz
serverdata-550f1b84033d76325eb9ac9139f092704795e3d2.zip
Bugfixes. The annoying kind.
-rw-r--r--npc/commands/numa.txt4
-rw-r--r--sql-files/main.sql2
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',