Jump to content

Recommended Posts

Posted

@wakoko321: Actually... I have no idea how Toasty managed to do that, o.o. You could add a session, reload settings, and delete the session after it's over -- not as convenient, but it gets the same results.

Posted

Hi @Euphy, i've got an idea to use your Quest Shop + the bindatcmd scrip command, but i've been experementing for a few now but sadly i didn't get anywhere with that.. is that possible or not? :)

Posted

@Vitrue: You can't have a visible NPC and the atcommand, unfortunately, because of the NPC_checknear test. You can call labels off an invisible NPC, though~ So here's a patch removing the NPC coordinates and adding bindatcmd:

@@ -7,16 +7,17 @@
//===== Compatible With: =====================================
-//= rAthena SVN r15340+
+//= rAthena SVN r16471+
//===== Description: =========================================
//= A dynamic quest shop based on Lunar's, with easier config.
//= Includes support for multiple shops & cashpoints.
//= Item Preview script by ToastOfDoom.
+//= [bindatcmd] Script activated by command @quest.
//============================================================

-prontera,164,203,6	script	Quest Shop	998,{
+-	script	Quest Shop	-1,{
function Add; function Chk; function Slot; function A_An;
+OnMenu:
 if(.Shops$ != "") set .@i,1;
 else {
	 set .@menu$,"";
@@ -102,6 +102,7 @@
OnInit:
 freeloop(1);
+	bindatcmd("quest",strnpcinfo(0)+"::OnMenu");
// --------------------- Config ---------------------

upaste: http://upaste.me/raw/5ad09654ecdbb6f (full script)

If you still want the visible NPC, you'd have to write something like:

prontera,164,203,6	script	Quest Shop#duplicate	998,{ doevent "Quest Shop::OnMenu"; end; }

  • Upvote 1
Posted (edited)

@Vitrue: You can't have a visible NPC and the atcommand, unfortunately, because of the NPC_checknear test. You can call labels off an invisible NPC, though~ So here's a patch removing the NPC coordinates and adding bindatcmd:

@@ -7,16 +7,17 @@
//===== Compatible With: =====================================
-//= rAthena SVN r15340+
+//= rAthena SVN r16471+
//===== Description: =========================================
//= A dynamic quest shop based on Lunar's, with easier config.
//= Includes support for multiple shops & cashpoints.
//= Item Preview script by ToastOfDoom.
+//= [bindatcmd] Script activated by command @quest.
//============================================================

-prontera,164,203,6	script	Quest Shop	998,{
+-	script	Quest Shop	-1,{
function Add; function Chk; function Slot; function A_An;
+OnMenu:
 if(.Shops$ != "") set .@i,1;
 else {
	 set .@menu$,"";
@@ -102,6 +102,7 @@
OnInit:
 freeloop(1);
+	bindatcmd("quest",strnpcinfo(0)+"::OnMenu");
// --------------------- Config ---------------------

upaste: http://upaste.me/raw/5ad09654ecdbb6f (full script)

If you still want the visible NPC, you'd have to write something like:

prontera,164,203,6	script	Quest Shop#duplicate	998,{ doevent "Quest Shop::OnMenu"; end; }

thanks alot. i will be trying this now.

EDIT : its working great.

Edited by Vitrue
Posted

@skypirate, cause you're not using rathena.. freeloop script code is not yet in eathena i think, unless you modify your source and add it..

Im not using rATHENA because im having a problem on installing rATHENA,I always rejected by server each time i login..

How can i modify my source and add it??

Posted (edited)

@Vitrue: You can't have a visible NPC and the atcommand, unfortunately, because of the NPC_checknear test. You can call labels off an invisible NPC, though~ So here's a patch removing the NPC coordinates and adding bindatcmd:

@@ -7,16 +7,17 @@
//===== Compatible With: =====================================
-//= rAthena SVN r15340+
+//= rAthena SVN r16471+
//===== Description: =========================================
//= A dynamic quest shop based on Lunar's, with easier config.
//= Includes support for multiple shops & cashpoints.
//= Item Preview script by ToastOfDoom.
+//= [bindatcmd] Script activated by command @quest.
//============================================================

-prontera,164,203,6	script	Quest Shop	998,{
+-	script	Quest Shop	-1,{
function Add; function Chk; function Slot; function A_An;
+OnMenu:
 if(.Shops$ != "") set .@i,1;
 else {
	 set .@menu$,"";
@@ -102,6 +102,7 @@
OnInit:
 freeloop(1);
+	bindatcmd("quest",strnpcinfo(0)+"::OnMenu");
// --------------------- Config ---------------------

upaste: http://upaste.me/raw/5ad09654ecdbb6f (full script)

If you still want the visible NPC, you'd have to write something like:

prontera,164,203,6	script	Quest Shop#duplicate	998,{ doevent "Quest Shop::OnMenu"; end; }

this will open the Quest Board NPC when you use @quest command right?

tested it, worked. Thanks :)

Edited by RaGERO
Posted (edited)

Hi Euphy,

First of all, thanks for sharing all those amazing scripts you have made.

Second, I need your support; I would like to use a variable (such as; #CASHPOINTS or #KAFRAPOINTS) to buy stuff on Multi-Shop Script. However, I have no idea how to do so because seems like the "setarray .Currency[1]" doesn't accept variable. So, could you please help me?

Edited by Decimal
Posted (edited)

Hi @Euphy,

I wanted to ask on how to make this as an NPC? The refine deed npc of yours. A big thanks in advance... /no1

http://pastebin.com/raw.php?i=KVqEEt2r

Reason:

It can be abuse as a BUG when you doubled-click the ticket, then open up the mail (ALT+1 = @mail....) and put it there. It will send the ticket while the function is open so they can refine without using the ticket so its better to use as an NPC.

Edited by Jezu
Posted

@Jezu: Thanks for pointing that out! I've fixed that in v1.1a by adding this check before finishing:

if (!countitem(getarg(2))) { dispbottom "Refine failed. Ticket not found."; close; }

You'll pretty much have to rewrite the script to make it into an NPC, xD.

Posted

Euphy, will you add a waiting room for the woe control to show in how many more hours before the next woe start and once it start it will show in how many minutes/hours the woe will end?

thanks in advance

Posted

@Takumirai

Yup i already installed that.. and it works.. my problem now is Euphy Woe Controller.. every time i go to castle it always says the castle is inactive at this woe session.. but it is ACTIVE.. help. thanks.

any idea with this problems?

even if the castle is active.

It always say the castle is inactive and get warp out...

Join the conversation

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

Guest
Reply to this topic...

×   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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...