summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-26 02:53:04 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-26 02:53:04 -0300
commit44a48a94d5ad5549a35a227aad7f9d5387c4a552 (patch)
treec5a448e7492b7987b0a10270029017058025ee37 /npc
parent48b3014f07e12f42c39120eaf8a5d5b59985805c (diff)
downloadserverdata-44a48a94d5ad5549a35a227aad7f9d5387c4a552.tar.gz
serverdata-44a48a94d5ad5549a35a227aad7f9d5387c4a552.tar.bz2
serverdata-44a48a94d5ad5549a35a227aad7f9d5387c4a552.tar.xz
serverdata-44a48a94d5ad5549a35a227aad7f9d5387c4a552.zip
Wait, I can set instance timeout to zero? WHY YOU NEVER TOLD ME THAT BEFORE.
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/instances.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/npc/functions/instances.txt b/npc/functions/instances.txt
index 86d08d0a5..99ebbfe6a 100644
--- a/npc/functions/instances.txt
+++ b/npc/functions/instances.txt
@@ -25,7 +25,7 @@ OnInstRestart:
if (.CANDOR3$ == "") Exception("Map 002-3 CANDY failed", RB_DEBUGMES|RB_IRCBROADCAST);
debugmes "Nard's Ship in Candor instance is set.";
- instance_set_timeout(1000000, 1000000, .CANDOR_INSTID);
+ instance_set_timeout(0, 0, .CANDOR_INSTID);
instance_init(.CANDOR_INSTID);
}
@@ -33,7 +33,7 @@ OnInstRestart:
.TULIM_INSTID = instance_create("002-1@TulimInst", 0, IOT_NONE);
instance_attachmap("002-1", .TULIM_INSTID, 0, "002-1@Tulim");
instance_attachmap("002-3", .TULIM_INSTID, 0, "002-3@Tulim");
- instance_set_timeout(1000000, 1000000, .TULIM_INSTID);
+ instance_set_timeout(0, 0, .TULIM_INSTID);
instance_init(.TULIM_INSTID);
@@ -41,19 +41,19 @@ OnInstRestart:
// Tulim Instance
.TULIM_INSTID = instance_create("016-1@TulimInst", 0, IOT_NONE);
instance_attachmap("016-1", .TULIM_INSTID, 0, "016-1@Tulim");
- instance_set_timeout(1000000, 1000000, .TULIM_INSTID);
+ instance_set_timeout(0, 0, .TULIM_INSTID);
instance_init(.TULIM_INSTID);
// Hurns Instance
.HURNS_INSTID = instance_create("016-1@HurnsInst", 0, IOT_NONE);
instance_attachmap("016-1", .HURNS_INSTID, 0, "016-1@Hurns");
- instance_set_timeout(1000000, 1000000, .HURNS_INSTID);
+ instance_set_timeout(0, 0, .HURNS_INSTID);
instance_init(.HURNS_INSTID);
// Nivalis Instance
.NIVAL_INSTID = instance_create("016-1@NivalInst", 0, IOT_NONE);
instance_attachmap("016-1", .NIVAL_INSTID, 0, "016-1@Nival");
- instance_set_timeout(1000000, 1000000, .NIVAL_INSTID);
+ instance_set_timeout(0, 0, .NIVAL_INSTID);
instance_init(.NIVAL_INSTID);
@@ -61,27 +61,27 @@ OnInstRestart:
/* Heroes Hold Main Dungeon */
$@HHMD_INSTID1 = instance_create("018-2-2@HHMD1", 0, IOT_NONE);
instance_attachmap("018-2-2", $@HHMD_INSTID1, 0, "018-2-2@No");
- instance_set_timeout(1000000, 1000000, $@HHMD_INSTID1);
+ instance_set_timeout(0, 0, $@HHMD_INSTID1);
instance_init($@HHMD_INSTID1);
$@HHMD_INSTID2 = instance_create("018-2-3@HHMD2", 0, IOT_NONE);
instance_attachmap("018-2-3", $@HHMD_INSTID2, 0, "018-2-3@In");
- instance_set_timeout(1000000, 1000000, $@HHMD_INSTID2);
+ instance_set_timeout(0, 0, $@HHMD_INSTID2);
instance_init($@HHMD_INSTID2);
$@HHMD_INSTID4 = instance_create("018-2-2@HHMD4", 0, IOT_NONE);
instance_attachmap("018-2-2", $@HHMD_INSTID4, 0, "018-2-2@Ad");
- instance_set_timeout(1000000, 1000000, $@HHMD_INSTID4);
+ instance_set_timeout(0, 0, $@HHMD_INSTID4);
instance_init($@HHMD_INSTID4);
$@HHMD_INSTID8 = instance_create("018-2-3@HHMD8", 0, IOT_NONE);
instance_attachmap("018-2-3", $@HHMD_INSTID8, 0, "018-2-3@Ex");
- instance_set_timeout(1000000, 1000000, $@HHMD_INSTID8);
+ instance_set_timeout(0, 0, $@HHMD_INSTID8);
instance_init($@HHMD_INSTID8);
$@HHMD_INSTID16 = instance_create("018-2-5@HHMD16", 0, IOT_NONE);
instance_attachmap("018-2-5", $@HHMD_INSTID16, 0, "018-2-5@Ma");
- instance_set_timeout(1000000, 1000000, $@HHMD_INSTID16);
+ instance_set_timeout(0, 0, $@HHMD_INSTID16);
instance_init($@HHMD_INSTID16);
debugmes("The HHMD level IDs are: %d-%d-%d-%d-%d", $@HHMD_INSTID1, $@HHMD_INSTID2, $@HHMD_INSTID4, $@HHMD_INSTID8, $@HHMD_INSTID16);