Jump to content
  • 0

[Battlegrounds] NPC Erundek


Eraeus

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  01/08/16
  • Last Seen:  

Hi everyone,

 

I'm using rAthena (eAmod) from Zephyrus, but I have a problem with the original Erundek in battlegrounds.

 

When I'm trying to open a shop (Ex: Bravery Exchanger), I have this error :

[Error]: buildin_callshop: Shop [BraveryExchanger] not found (or NPC is not shop type)
[Debug]: Source (NPC): Erundek at bat_room (163,154)

Here is the original script :

bat_room,1,1,3,7828    sshop    BraveryExchanger    111,13036:100,13411:100,1425:100,1632:100,1634:100,1543:100,1924:100,1978:100,1574:100,1824:100,1183:100,1380:100,13305:100,1279:100,1739:100,13108:100,13172:100,2538:50,2539:50,2540:50,2435:50,2436:50,2437:50,2376:80,2377:80,2378:80,2379:80,2380:80,2381:80,2382:80,2720:500,2721:500,2722:500,2723:500,2724:500,2725:500,2733:500
bat_room,1,1,3,7829    sshop    ValorExchanger    111,13037:100,13410:100,1633:100,1635:100,1542:100,1923:100,1977:100,1575:100,1823:100,1184:100,1482:100,1379:100,13306:100,1280:100,1738:100,13171:100,13173:100,13174:100,2538:50,2539:50,2540:50,2435:50,2436:50,2437:50,2376:80,2377:80,2378:80,2379:80,2380:80,2381:80,2382:80,2720:500,2721:500,2722:500,2723:500,2724:500,2725:500,2733:500
bat_room,1,1,3,7773    sshop    HeroismExchanger    111,1187:2000,1281:2000,1282:2000,1310:2000,1382:2000,1426:2000,1486:2000,1546:2000,1576:2000,1577:2000,1640:2000,1641:2000,1743:2000,1826:2000,1827:2000,1927:2000,1981:2000,2002:2000,13042:2000,13110:2000,13176:2000,13177:2000,13178:2000,13179:2000,13307:2000,13416:2000,13417:2000,13418:2000,2394:840,2395:170,2396:25,2444:580,2445:70,2446:15,2549:630,2772:1200,2773:280,2774:40

bat_room,160,150,3    script    Erundek    109,{
    mes "[Erundek]";
    mes "Welcome, mighty warrior.";
    mes "What can I do for you today ?";
    next;
    switch( select("Exchange Bravery Badges","Exchange Valor Badges","Exchange Heroism Badges","Hmm, nothing I guess.") )
    {
        case 4:
            mes "[Erundek]";
            mes "As you wish.";
            mes "See you later.";
            close;
        case 1: // Bravery Badges
            mes "[Erundek]";
            mes "So you want to exchange ^0000FFBravery Badges^000000 from the Battle of Tierra Valley.";
            mes "Close this window to open shop.";
            close2;
            callshop "BraveryExchanger",0;
            end;
        case 2: // Valor Badges
            mes "[Erundek]";
            mes "So you want to exchange ^FF0000Valor Badges^000000 from the Battle of Flavius.";
            mes "Close this window to open shop.";
            close2;
            callshop "ValorExchanger",0;
            end;
        case 3: // Heroism Badges
            mes "[Erundek]";
            mes "So you want to exchange ^FFA500Heroism Badges^000000 from the Battle of Kriger Von Midgard.";
            mes "Close this window to open shop.";
            close2;
            callshop "HeroismExchanger",0;
            end;
    }
}

Someone know where is the problem ?

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  21
  • Reputation:   0
  • Joined:  02/16/12
  • Last Seen:  

On 26.07.2016 at 6:51 PM, Eraeus said:

Hi everyone,

 

I'm using rAthena (eAmod) from Zephyrus, but I have a problem with the original Erundek in battlegrounds.

 

When I'm trying to open a shop (Ex: Bravery Exchanger), I have this error :


[Error]: buildin_callshop: Shop [BraveryExchanger] not found (or NPC is not shop type)
[Debug]: Source (NPC): Erundek at bat_room (163,154)

Here is the original script :


bat_room,1,1,3,7828    sshop    BraveryExchanger    111,13036:100,13411:100,1425:100,1632:100,1634:100,1543:100,1924:100,1978:100,1574:100,1824:100,1183:100,1380:100,13305:100,1279:100,1739:100,13108:100,13172:100,2538:50,2539:50,2540:50,2435:50,2436:50,2437:50,2376:80,2377:80,2378:80,2379:80,2380:80,2381:80,2382:80,2720:500,2721:500,2722:500,2723:500,2724:500,2725:500,2733:500
bat_room,1,1,3,7829    sshop    ValorExchanger    111,13037:100,13410:100,1633:100,1635:100,1542:100,1923:100,1977:100,1575:100,1823:100,1184:100,1482:100,1379:100,13306:100,1280:100,1738:100,13171:100,13173:100,13174:100,2538:50,2539:50,2540:50,2435:50,2436:50,2437:50,2376:80,2377:80,2378:80,2379:80,2380:80,2381:80,2382:80,2720:500,2721:500,2722:500,2723:500,2724:500,2725:500,2733:500
bat_room,1,1,3,7773    sshop    HeroismExchanger    111,1187:2000,1281:2000,1282:2000,1310:2000,1382:2000,1426:2000,1486:2000,1546:2000,1576:2000,1577:2000,1640:2000,1641:2000,1743:2000,1826:2000,1827:2000,1927:2000,1981:2000,2002:2000,13042:2000,13110:2000,13176:2000,13177:2000,13178:2000,13179:2000,13307:2000,13416:2000,13417:2000,13418:2000,2394:840,2395:170,2396:25,2444:580,2445:70,2446:15,2549:630,2772:1200,2773:280,2774:40

bat_room,160,150,3    script    Erundek    109,{
    mes "[Erundek]";
    mes "Welcome, mighty warrior.";
    mes "What can I do for you today ?";
    next;
    switch( select("Exchange Bravery Badges","Exchange Valor Badges","Exchange Heroism Badges","Hmm, nothing I guess.") )
    {
        case 4:
            mes "[Erundek]";
            mes "As you wish.";
            mes "See you later.";
            close;
        case 1: // Bravery Badges
            mes "[Erundek]";
            mes "So you want to exchange ^0000FFBravery Badges^000000 from the Battle of Tierra Valley.";
            mes "Close this window to open shop.";
            close2;
            callshop "BraveryExchanger",0;
            end;
        case 2: // Valor Badges
            mes "[Erundek]";
            mes "So you want to exchange ^FF0000Valor Badges^000000 from the Battle of Flavius.";
            mes "Close this window to open shop.";
            close2;
            callshop "ValorExchanger",0;
            end;
        case 3: // Heroism Badges
            mes "[Erundek]";
            mes "So you want to exchange ^FFA500Heroism Badges^000000 from the Battle of Kriger Von Midgard.";
            mes "Close this window to open shop.";
            close2;
            callshop "HeroismExchanger",0;
            end;
    }
}

Do it like this!


bat_room,1,1,3	itemshop	BraveryExchanger	109,7828{:0},13036:100{,13411:100,1425:100,1632:100,1634:100,1543:100,1924:100,1978:100,1574:100,1824:100,1183:100,1380:100,13305:100,1279:100,1739:100,13108:100,13172:100,2538:50,2539:50,2540:50,2435:50,2436:50,2437:50,2376:80,2377:80,2378:80,2379:80,2380:80,2381:80,2382:80,2720:500,2721:500,2722:500,2723:500,2724:500,2725:500,2733:500}
bat_room,1,1,3	itemshop	ValorExchanger	109,7829{:0},13037:100{,13410:100,1633:100,1635:100,1542:100,1923:100,1977:100,1575:100,1823:100,1184:100,1482:100,1379:100,13306:100,1280:100,1738:100,13171:100,13173:100,13174:100,2538:50,2539:50,2540:50,2435:50,2436:50,2437:50,2376:80,2377:80,2378:80,2379:80,2380:80,2381:80,2382:80,2720:500,2721:500,2722:500,2723:500,2724:500,2725:500,2733:500}
bat_room,1,1,3	itemshop	HeroismExchanger	109,7773{:0},1187:2000{,1281:2000,1282:2000,1310:2000,1382:2000,1426:2000,1486:2000,1546:2000,1576:2000,1577:2000,1640:2000,1641:2000,1743:2000,1826:2000,1827:2000,1927:2000,1981:2000,2002:2000,13042:2000,13110:2000,13176:2000,13177:2000,13178:2000,13179:2000,13307:2000,13416:2000,13417:2000,13418:2000,2394:840,2395:170,2396:25,2444:580,2445:70,2446:15,2549:630,2772:1200,2773:280,2774:40}	

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  114
  • Reputation:   5
  • Joined:  07/19/15
  • Last Seen:  

bat_room,1,1,3,7828    sshop    BraveryExchanger , you have one S more ? is only shop...

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  01/08/16
  • Last Seen:  

bat_room,1,1,3,7828    shop    BraveryExchanger    111,13036:100,13411:100,1425:100,1632:100,1634:100,1543:100,1924:100,1978:100,1574:100,1824:100,1183:100,1380:100,13305:100,1279:100,1739:100,13108:100,13172:100,2538:50,2539:50,2540:50,2435:50,2436:50,2437:50,2376:80,2377:80,2378:80,2379:80,2380:80,2381:80,2382:80,2720:500,2721:500,2722:500,2723:500,2724:500,2725:500,2733:500
bat_room,1,1,3,7829    shop    ValorExchanger        111,13037:100,13410:100,1633:100,1635:100,1542:100,1923:100,1977:100,1575:100,1823:100,1184:100,1482:100,1379:100,13306:100,1280:100,1738:100,13171:100,13173:100,13174:100,2538:50,2539:50,2540:50,2435:50,2436:50,2437:50,2376:80,2377:80,2378:80,2379:80,2380:80,2381:80,2382:80,2720:500,2721:500,2722:500,2723:500,2724:500,2725:500,2733:500
bat_room,1,1,3,7773    shop    HeroismExchanger    111,1187:2000,1281:2000,1282:2000,1310:2000,1382:2000,1426:2000,1486:2000,1546:2000,1576:2000,1577:2000,1640:2000,1641:2000,1743:2000,1826:2000,1827:2000,1927:2000,1981:2000,2002:2000,13042:2000,13110:2000,13176:2000,13177:2000,13178:2000,13179:2000,13307:2000,13416:2000,13417:2000,13418:2000,2394:840,2395:170,2396:25,2444:580,2445:70,2446:15,2549:630,2772:1200,2773:280,2774:40

Same error with "shop" :/

 

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  


- itemshop BraveryExchanger -1,7828,13036:100,13411:100,1425:100,1632:100,1634:100,1543:100,1924:100,1978:100,1574:100,1824:100,1183:100,1380:100,13305:100,1279:100,1739:100,13108:100,13172:100,2538:50,2539:50,2540:50,2435:50,2436:50,2437:50,2376:80,2377:80,2378:80,2379:80,2380:80,2381:80,2382:80,2720:500,2721:500,2722:500,2723:500,2724:500,2725:500,2733:500

- itemshop ValorExchanger -1,7829,13037:100,13410:100,1633:100,1635:100,1542:100,1923:100,1977:100,1575:100,1823:100,1184:100,1482:100,1379:100,13306:100,1280:100,1738:100,13171:100,13173:100,13174:100,2538:50,2539:50,2540:50,2435:50,2436:50,2437:50,2376:80,2377:80,2378:80,2379:80,2380:80,2381:80,2382:80,2720:500,2721:500,2722:500,2723:500,2724:500,2725:500,2733:500

- itemshop HeroismExchanger -1,7773,1187:2000,1281:2000,1282:2000,1310:2000,1382:2000,1426:2000,1486:2000,1546:2000,1576:2000,1577:2000,1640:2000,1641:2000,1743:2000,1826:2000,1827:2000,1927:2000,1981:2000,2002:2000,13042:2000,13110:2000,13176:2000,13177:2000,13178:2000,13179:2000,13307:2000,13416:2000,13417:2000,13418:2000,2394:840,2395:170,2396:25,2444:580,2445:70,2446:15,2549:630,2772:1200,2773:280,2774:40

bat_room,160,150,3 script Erundek#_shop 109,{

mes "[Erundek]";

mes "Welcome, mighty warrior.";

mes "What can I do for you today ?";

next;

switch(select("Exchange Bravery Badges","Exchange Valor Badges","Exchange Heroism Badges","Hmm, nothing I guess.")){

case 4:

mes "[Erundek]";

mes "As you wish.";

mes "See you later.";

close;

case 1: // Bravery Badges

mes "[Erundek]";

mes "So you want to exchange ^0000FFBravery Badges^000000 from the Battle of Tierra Valley.";

mes "Close this window to open shop.";

close2;

callshop "BraveryExchanger",1;

end;

case 2: // Valor Badges

mes "[Erundek]";

mes "So you want to exchange ^FF0000Valor Badges^000000 from the Battle of Flavius.";

mes "Close this window to open shop.";

close2;

callshop "ValorExchanger",1;

end;

case 3: // Heroism Badges

mes "[Erundek]";

mes "So you want to exchange ^FFA500Heroism Badges^000000 from the Battle of Kriger Von Midgard.";

mes "Close this window to open shop.";

close2;

callshop "HeroismExchanger",1;

end;

}

}

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  01/08/16
  • Last Seen:  

Same error again..., But thanks for answers guys

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Ran fine foe me on latest svn, try and update?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...