From 8946872aa0aa922c671ec68a148cf1c0965143e2 Mon Sep 17 00:00:00 2001 From: depyraken Date: Sat, 2 Apr 2016 17:47:53 +0200 Subject: [PATCH] troubleshoot --- primitives/newbieland/fisherman.primitive | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/primitives/newbieland/fisherman.primitive b/primitives/newbieland/fisherman.primitive index 48cf73a..76d880b 100644 --- a/primitives/newbieland/fisherman.primitive +++ b/primitives/newbieland/fisherman.primitive @@ -1764,8 +1764,10 @@ case 0:{ // No one is fishing v0 = 1; // P1 is now fishing v1 = 0; // etat initial < 1000, fishing >= 1000 - ()phraseEndSystemMsg(0, "shout", $botEid); - ()phraseEndSystemMsg(0, "shout", $botFamily); + $ttt = "boteid2 = " + $botEid; + ()phraseEndSystemMsg(0, "shout", $ttt); + $ttt = "botFamily2 = " + $botFamily; + ()phraseEndSystemMsg(0, "shout", $ttt); ()setNamedEntityProp($botEid, "state", $botFamily); // botFamily requirement BCP = 1; ()phraseEndSystemMsg(0, "shout", "0 => 1 => avant"); @@ -1807,6 +1809,11 @@ playerInRange(); if(playerInRange_ret > 0){ // only work if necessay ($botEid)getBotEid(0); + $ttt = "boteid1 = " + $botEid; + ()phraseEndSystemMsg(0, "shout", $ttt); + $ttt = "botFamily1 = " + $botFamily; + ()phraseEndSystemMsg(0, "shout", $ttt); + BCaddPlayer(); if(BCP != 0){ ()phraseEndSystemMsg(0, "shout", "YOU_ARE_PREPARING_TO_FISH");