summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-05 17:06:01 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-05 17:06:01 -0300
commitb38cc330d6f897cb51f52a7f4c507886fac0502d (patch)
tree1d06de96ad61dda96c8276160db909d469623558 /npc
parentbb4c02cd02438ce8d181837e189513f34a5bc589 (diff)
downloadserverdata-b38cc330d6f897cb51f52a7f4c507886fac0502d.tar.gz
serverdata-b38cc330d6f897cb51f52a7f4c507886fac0502d.tar.bz2
serverdata-b38cc330d6f897cb51f52a7f4c507886fac0502d.tar.xz
serverdata-b38cc330d6f897cb51f52a7f4c507886fac0502d.zip
Uncomment some debug prints
We still need to update map cells when renting...
Diffstat (limited to 'npc')
-rw-r--r--npc/012-8/utils.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/012-8/utils.txt b/npc/012-8/utils.txt
index 894a5f291..e8c5ceb9a 100644
--- a/npc/012-8/utils.txt
+++ b/npc/012-8/utils.txt
@@ -30,12 +30,13 @@
function load_npc {
if (checknpccell(getarg(1), getarg(2), getarg(3), getarg(4, cell_chknopass))) {
enablenpc getarg(0);
- debugmes "ENABLING NPC %s", getarg(0);
+ //debugmes "ENABLING NPC %s", getarg(0);
} else {
disablenpc getarg(0);
- debugmes "Disabling NPC %s", getarg(0);
+ //debugmes "Disabling NPC %s", getarg(0);
}
+ /*
debugmes "----- %s (%d,%d) cell report", getarg(1), getarg(2), getarg(3);
debugmes "cell_chknopass: %d", checknpccell(getarg(1), getarg(2), getarg(3), cell_chknopass);
debugmes "cell_chknoreach: %d", checknpccell(getarg(1), getarg(2), getarg(3), cell_chknoreach);
@@ -45,6 +46,7 @@
debugmes "cell_chkwall: %d", checknpccell(getarg(1), getarg(2), getarg(3), cell_chkwall);
debugmes "cell_chkcliff: %d", checknpccell(getarg(1), getarg(2), getarg(3), cell_chkcliff);
debugmes "----- Npc Id: %s", getarg(0);
+ */
return;
}
end;
@@ -61,7 +63,7 @@ OnInit:
// Load or unload accordingly
OnReload:
- debugmes "[REAL ESTATE] NPC ONRELOAD";
+ //debugmes "[REAL ESTATE] NPC ONRELOAD";
// load_npc ( name , map, x , y{, cell} )
load_npc("Wardrobe#RES_0128", .mapa$, 21, 23);
load_npc("Cauldron#RES_0128", .mapa$, 28, 24);