Jump to content

Recommended Posts

Posted

doesn't work with me euphy

i did copy the script in first page of this topic.

can you post here the script? i really don't know whats wrong it only refines the armor

You might want to double check if you're trying to refine armor that is already upgraded. The ticket only works with +0 armors/weapons. I checked it just now and it works fine.

Posted (edited)

@mofo . yes its all +0 items .

yes it is working but for Armor only .

Shield / Shoes / Garment won't show

post-8294-0-34612000-1350376239_thumb.jpg

Edited by unplugged
Posted

function script GuaranteeRefine {
set .@CleanEquip,1; // Only refine +0 equipment? (1:yes / 0:no)if (!getarg(1)) {
 message strcharinfo(0)," ~~ Guarantee Refine Ticket +"+getarg(0)+" ~~ ";
 for(set .@i,1; .@i<=10; set .@i,.@i+1) {
  if (getequipisequiped(.@i) && !getiteminfo(getequipid(.@i),13)) set .@menu$, .@menu$+getequipname(.@i);
  set .@menu$, .@menu$+":"; }
 set .@s, select(.@menu$); }
else set .@s, getarg(1);
if (!getequipisequiped(.@s)) {
 dispbottom "Nothing is equipped!"; close; }
if (!getequipisenableref(.@s)) {
 dispbottom getequipname(.@s)+" cannot be refined."; close; }
if (getequiprefinerycnt(.@s) >= 20 || (.@CleanEquip && getequiprefinerycnt(.@s))) {
 dispbottom "+"+getequiprefinerycnt(.@s)+" "+getequipname(.@s)+" cannot be refined any further."; close; }
if (getarg(1)) message strcharinfo(0)," ~~ Guarantee Refine Ticket +"+getarg(0)+" ~~ ";
if(select("^0055FFRefine +"+getequiprefinerycnt(.@s)+" "+getequipname(.@s)+":^777777Cancel^000000")==2) close;
pcblockmove getcharid(3),1;
specialeffect2 348;
progressbar "",2;
if (!countitem(getarg(2))) {
 dispbottom "Refine failed. Ticket not found."; close; }
for(set .@i,0; .@i<getarg(0); set .@i,.@i+1) {
 if (getequiprefinerycnt(.@s) >= 20) break;
 successrefitem .@s; }
delitem getarg(2),1;
pcblockmove getcharid(3),0;
close;
}

exact same script in euphy's post. 1st page

Posted

@tjiuz: You're not using rAthena. I have an eAthena version uploaded on their forums.

@unplugged: If you've installed the script correctly, there is no reason it wouldn't work. Make sure a previous version is not overwriting this function.

Posted

@tjiuz: You're not using rAthena. I have an eAthena version uploaded on their forums.

@unplugged: If you've installed the script correctly, there is no reason it wouldn't work. Make sure a previous version is not overwriting this function.

Oh... can u give me link for eathena ?

I've used search

Posted

@euphy

there is a problem with the woe controller, when the woe starts and warp to the active castle it says this castle is inactive during this woe session, but that castle was the active agit for the day xD.. it automatically kicks out the player even the castle is active for woe.. please fix it thanks :)

Posted

@Spencer Ziff: It works by setting mapflags on the inactive castle maps. If you have any other script doing that, it'll cause my controller to malfunction.

Posted (edited)

@ Euphy.

Highness of scripts ;)! I'm using your ' hunting mission' script and it works perfectly... however I have 2 questions:

1: How to add a feature so the player can check how many points he/she has?

2: I get this ' debug' on map server:

3: How to set a fixed number of points the player gets per quest, instead of random 10-20?

post-2028-0-82896000-1350844945_thumb.jpg

Edited by Cephaler
Posted

@Cephaler:

1 - Points are stored as #Mission_Points, and you see how many points you have by clicking "Mission Shop".

2 - You may have to lower the results in the formulas since your server rates are too high.

3 - It's calculated using difficulty (monster level), so delete those lines if you want.

Posted

@Cephaler:

1 - Points are stored as #Mission_Points, and you see how many points you have by clicking "Mission Shop".

2 - You may have to lower the results in the formulas since your server rates are too high.

3 - It's calculated using difficulty (monster level), so delete those lines if you want.

I solved the number 1.

Number 2: What formulas? :o Sorry I'm not good at scripting!

Number: 3 Is there a way to select which monsters I want?

Posted

I solved the number 1.

Number 2: What formulas? :o Sorry I'm not good at scripting!

Number: 3 Is there a way to select which monsters I want?

I believe you can select the monsters you want by modifying this "set .@mob, rand(1001,1999);" at line 59 or just add all the unwanted mobs at "Blacklisted mob IDs." or you can do the easy way like I did to make the list of mobs balanced by adding this line "if (.@valid) if (getmonsterinfo(.@mob,1) > BaseLevel) set .@valid,0;" after "is mob MVP" at line 74 ( this will make you hunt mobs lower level than you ) if you do this make sure you put a level limit to access the npc since level 1 players will make it hunt level 1 monsters or just edit the "BaseLevel" part by putting another string that has a value of "BaseLevel + 20" so it will make you hunt higher level monsters :P

Posted

@Cephaler:

1 - Points are stored as #Mission_Points, and you see how many points you have by clicking "Mission Shop".

2 - You may have to lower the results in the formulas since your server rates are too high.

3 - It's calculated using difficulty (monster level), so delete those lines if you want.

I fixed number 1 but still stuck on number 2 and 3.

2: Not sure where to lower

3: Not sure what lines to be deleted

@Xin

thanks for the suggestion ;)

Posted
3: Not sure what lines to be deleted

set #Mission_Points, #Mission_Points+(3+(.@j[.Quests]/.Quests/6));

To set a fixed point:

set #Mission_Points, #Mission_Points+10;

And for number 2, if the experience is too high, then:

getexp (#Mission_Count*.@j[.Quests+1]/5),(#Mission_Count*.@j[.Quests+2]/5);

into something like:

getexp (#Mission_Count*.@j[.Quests+1]/20),(#Mission_Count*.@j[.Quests+2]/20);

Posted

@irawrsilentpls: 'twas a joke. :3

@Feefty: It's most likely caused by running other WOE scripts or by starting WOE without the controller (ex. default agit controllers, atcommands, etc.).

@gunga555: PM me here.

@Dramosith: The entire UI is held in the 3 functions at the top, so all your modifications would likely go there. For example,

function Pick {
   // Add these lines:
   // Note that it won't work on all dungeons, though - you may need to create an additional argument/a different function for dungeons).
   if (compare(getarg(0),"_dun")) {
       if (Zeny < 5000) { dispbottom "You need 5000 Zeny to warp to this dungeon."; close; }
       else set Zeny, Zeny-5000;
   }

Posted

The hunting missions npc seems to get broken when I reload scripts and a mission is active, says I've already started a mission on another character even though its the same character and the options to check mission status and abandon mission are also gone. Cant do anything else unless I manually set #Mission_Count back to 0. ._.

Posted

@irawrsilentpls: 'twas a joke. :3

@Feefty: It's most likely caused by running other WOE scripts or by starting WOE without the controller (ex. default agit controllers, atcommands, etc.).

@gunga555: PM me here.

@Dramosith: The entire UI is held in the 3 functions at the top, so all your modifications would likely go there. For example,

function Pick {
// Add these lines:
// Note that it won't work on all dungeons, though - you may need to create an additional argument/a different function for dungeons).
if (compare(getarg(0),"_dun")) {
	if (Zeny < 5000) { dispbottom "You need 5000 Zeny to warp to this dungeon."; close; }
	else set Zeny, Zeny-5000;
}

i tried doing it on a fresh copy but still doesn't kick me out of the castle

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