Jump to content

Recommended Posts

Posted (edited)

can this fishing script can increase the casting time? i feel so fast and easy to get item. with just a single minit i get alot item already hmm. = ="

Edited by manabeast
Posted

can this fishing script can increase the casting time? i feel so fast and easy to get item. with just a single minit i get alot item already hmm. = ="

increase the value for this

set .@fcast,15;

  • Upvote 1
  • 1 month later...
Posted

what is the percentage we can get from the fishing??

  
 set .@rhea_ran,rand(1,70);
 if (.@rhea_ran < 20) {
  getitem 579,1; //Fresh Fish
 }
 else if (.@rhea_ran == 20) {
  getitem 908,1; //Spawn
 }
 else if (.@rhea_ran == 21) {
  getitem 909,1; //Jellopy
 }
 else if (.@rhea_ran == 22) {
  getitem 963,1; //Sharp_Scale
 }
 else if (.@rhea_ran == 23) {
  getitem 956,1; //Gill
 }
 else if (.@rhea_ran == 24) {
  getitem 6049,1; //Marlin
 }
 else if (.@rhea_ran == 25) {
  getitem 918,1; //Sticky_Webfoot
 }
 else if (.@rhea_ran == 26) {
  getitem 960,1; //Nipper
 }
 else if (.@rhea_ran == 27) {
  getitem 910,1; //Garlet
 }
 else if (.@rhea_ran == 28) {
  getitem 938,1; //Sticky_Mucus
 }
 else if ((.@rhea_ran > 28) && (.@rhea_ran < 40)) {
  getitem 624,1; //Rotten Fish
 }
 else {
  mes "Nothing was caught.";
  close;
 }
 if (rand(1,200) == 3) {
  getitem 644,1; //Gift_Box
  mapannounce "brasilis","" + strcharinfo(0) + " has caught a Gift Box!!",bc_map,"0x00ffff";
 }
 if (rand(1,500) == 3) {
  getitem 603,1; //Old_Blue_Box
  mapannounce "brasilis","" + strcharinfo(0) + " has caught an Old Blue Box!!",bc_map,"0x00ffff";
 }
 if (rand(1,3000) == 3) {
  getitem 617,1; //Old_Violet_Box
  mapannounce "brasilis","" + strcharinfo(0) + " has caught an Old Purple Box!!",bc_map,"0x44ff44";
 }

to calculate the rate....read above post...i have posted above...

  • 4 weeks later...
Posted

Im not that good with scripting Silver ^^;

The Nothing Was Caught I put there for people to know if nothing was caught so they dont think its broken

Posted

i agree with pneuma. if no put there nothing was caught ppl will think this is broken. you can edite to something else. just go to script and find those "The Nothing Was Caught" to something else you like.. No response/Fish run away/fail to catch fish.

  • 2 weeks later...
Posted

Thank you for the replies. What I meant is that if you click the "School of Fish" npc, you will fish continuously.

Picture out continuous fishing cast. Fish>get item, fish>get item without clicking it again. The purpose is to fish while afk'ing.

Anyway, I'll try also to think of this. I'm just new here. Thanks!

Posted

if you want..maybe you can try it like this ? xD

go near the NPC and say "start" or "stop"

brasilis,258,60,0 script School of Fish#1 844,{
OnStart:
set @Fishing,1;
while( @Fishing ){
 if (isequipped(2764)) && (isequipped(2775)){
  specialeffect2 EF_BUBBLE;
  set .@fcast,15;
  if (isequipped(2550)) { //Fisher's_Muffler
   set .@fcast,.@fcast - 3;
  }
  if (isequipped(2443)) { //Fish_Shoes
   set .@fcast,.@fcast - 2;
  }
  progressbar "ffffff",.@fcast;
   if (rand(1,20) == 2) {
 getitem 6096,1; //Big Fish
 specialeffect EF_BUBBLE;
 mapannounce "brasilis","" + strcharinfo(0) + " has caught a Blue Fish!!!",bc_map,"0xff77ff";
 end;
   }
  set .@rhea_ran,rand(1,70);
  if (.@rhea_ran < 20) {
   getitem 579,1; //Fresh Fish
  }
  else if (.@rhea_ran == 20) {
   getitem 908,1; //Spawn
  }
  else if (.@rhea_ran == 21) {
   getitem 909,1; //Jellopy
  }
  else if (.@rhea_ran == 22) {
   getitem 963,1; //Sharp_Scale
  }
  else if (.@rhea_ran == 23) {
   getitem 956,1; //Gill
  }
  else if (.@rhea_ran == 24) {
   getitem 6049,1; //Marlin
  }
  else if (.@rhea_ran == 25) {
   getitem 918,1; //Sticky_Webfoot
  }
  else if (.@rhea_ran == 26) {
   getitem 960,1; //Nipper
  }
  else if (.@rhea_ran == 27) {
   getitem 910,1; //Garlet
  }
  else if (.@rhea_ran == 28) {
   getitem 938,1; //Sticky_Mucus
  }
  else if ((.@rhea_ran > 28) && (.@rhea_ran < 40)) {
   getitem 624,1; //Rotten Fish
  }
  else {
   mes "Nothing was caught.";
   close;
  }
  if (rand(1,200) == 3) {
   getitem 644,1; //Gift_Box
   mapannounce "brasilis","" + strcharinfo(0) + " has caught a Gift Box!!",bc_map,"0x00ffff";
  }
  if (rand(1,500) == 3) {
   getitem 603,1; //Old_Blue_Box
   mapannounce "brasilis","" + strcharinfo(0) + " has caught an Old Blue Box!!",bc_map,"0x00ffff";
  }
  if (rand(1,3000) == 3) {
   getitem 617,1; //Old_Violet_Box
   mapannounce "brasilis","" + strcharinfo(0) + " has caught an Old Purple Box!!",bc_map,"0x44ff44";
  }
  end;
 }
}
end;

OnStop:
message strcharinfo(0),"Auto Fishing Stopped.";
set @Fishing,0;
end;
OnInit:
defpattern 1, "start", "OnStart";
defpattern 1, "stop", "OnStop";
activatepset 1;
end;

}

  • Upvote 1
  • 4 weeks later...
  • 1 month later...
Posted (edited)

comodo,196,112,6 script School of Fish 723,{
if (isequipped(2764)) && (isequipped(2775)){
specialeffect2 EF_BUBBLE;
set .@fcast,15;
if (isequipped(2550)) { //Fisher's_Muffler
set .@fcast,.@fcast - 3;
}
if (isequipped(2443)) { //Fish_Shoes
set .@fcast,.@fcast - 2;

}
if (isequipped(5380)) { //Fish_Shoes
set .@fcast,.@fcast - 5;

}
progressbar "ffffff",.@fcast;
if (rand(1,20) == 2) {
getitem 6096,5; //Big Fish
specialeffect EF_BUBBLE;
mapannounce "comodo","" + strcharinfo(0) + " has caught a 5 Tuna!!!",bc_map,"0xff77ff";
end;
}
set .@rhea_ran,rand(1,70);
if (.@rhea_ran < 20) {
getitem 6096,1; //Fresh Fish


}
else if (.@rhea_ran == 20) {
getitem 6096,1; //Spawn


}
else if (.@rhea_ran == 21) {
getitem 7405,1; //Jellopy


}
else if (.@rhea_ran == 22) {
getitem 6096,2; //Sharp_Scale


}
else if (.@rhea_ran == 23) {
getitem 6096,2; //Gill


}
else if (.@rhea_ran == 24) {
getitem 7405,1; //Marlin


}
else if (.@rhea_ran == 25) {
getitem 6096,1; //Sticky_Webfoot


}
else if (.@rhea_ran == 26) {
getitem 6096,1; //Nipper


}
else if (.@rhea_ran == 27) {
getitem 7405,1; //Garlet


}
else if (.@rhea_ran == 28) {
getitem 6096,1; //Sticky_Mucus

}
else if ((.@rhea_ran > 28) && (.@rhea_ran < 40)) {
getitem 7405,1; //Rotten Fish


}
else {
mes "Nothing was caught.";
close;
}
if (rand(1,200) == 3) {
getitem 6096,20; //Gift_Box
mapannounce "comodo","" + strcharinfo(0) + " has caught a 20 Tuna Fish!!",bc_map,"0x0000ff";

}
if (rand(1,500) == 3) {
getitem 6096,30; //Old_Blue_Box
mapannounce "comodo","" + strcharinfo(0) + " has caught an 30 Tuna Fish!",bc_map,"0x00ffff";
}
if (rand(1,3000) == 3) {
getitem 6096,50; //Old_Violet_Box
mapannounce "comodo","" + strcharinfo(0) + " has caught an 50 Tuna Fish!!",bc_map,"0x44ff44";

}
end;
}
else {
mes "Fish are swimming in the water.";
close;
}
}

comodo.gat,189,108,4 duplicate(School of Fish) School of Fish#1 1158
comodo.gat,183,111,4 duplicate(School of Fish) Tilapya#20 2082
comodo.gat,218,108,4 duplicate(School of Fish) School of Fish#21 1069
comodo.gat,228,108,3 duplicate(School of Fish) School of Fish#22 1158
comodo.gat,214,112,4 duplicate(School of Fish) School of Fish#23 723
comodo.gat,189,122,4 duplicate(School of Fish) Mr Crab#23 1073
comodo.gat,192,106,4 duplicate(School of Fish) Octopus#23 1144

---

try this One

~

comodo,205,112,4 shop Bulantiro 1543,2764:50000000,2775:50000000,2550:100000000,2443:200000000 

More Fun~

screenElementsRO013.jpg

if (rand(1,3000) == 3) {

getitem 7179,1; //Old_Violet_Box

mapannounce "comodo","" + strcharinfo(0) + " has caught an Proof Of Donation!!",bc_map,"0x44ff44";

Edited by elements
Codeboxed
  • 3 months later...
Posted

Nice script you got there Sir Pneuma.

How if I want to delete the requirements for every use?

I mean, if I have the Fishing Pole + Lure then I caught an Item, both Fishing Pole + Lure will be deleted.

Is it possible?

Posted (edited)

Small tip!

If you use an if statement and there's only 1 command afterwards you don't have to use curly brackets.

Example:

Your script:

if (isequipped(2550)) { //Fisher's_Muffler
set .@fcast,.@fcast - 3;
};

What you can do instead.

if (isequipped(2550)) set .@fcast,.@fcast-3; //Fisher's Muffler.

Edited by garet999
  • 4 years later...
  • 1 month later...
Posted
On 12/23/2011 at 2:01 PM, Emistry said:

i guess there might be something wrong with your script...

please check for the error....

 


brasilis,258,60,0 script School of Fish 723,{
if (isequipped(2764)) && (isequipped(2775)){
 specialeffect2 EF_BUBBLE;
 set .@fcast,15;
 if (isequipped(2550)) { //Fisher's_Muffler
  set .@fcast,.@fcast - 3;
 }
 if (isequipped(2443)) { //Fish_Shoes
  set .@fcast,.@fcast - 2;
 }
 progressbar "ffffff",.@fcast;
  if (rand(1,20) == 2) {
   getitem 6096,1; //Big Fish
   specialeffect EF_BUBBLE;
   mapannounce "brasilis","" + strcharinfo(0) + " has caught a Blue Fish!!!",bc_map,"0xff77ff";
   end;
  }
 set .@rhea_ran,rand(1,70);
 if (.@rhea_ran < 20) {
  getitem 579,1; //Fresh Fish
 }
 else if (.@rhea_ran == 20) {
  getitem 908,1; //Spawn
 }
 else if (.@rhea_ran == 21) {
  getitem 909,1; //Jellopy
 }
 else if (.@rhea_ran == 22) {
  getitem 963,1; //Sharp_Scale
 }
 else if (.@rhea_ran == 23) {
  getitem 956,1; //Gill
 }
 else if (.@rhea_ran == 24) {
  getitem 6049,1; //Marlin
 }
 else if (.@rhea_ran == 25) {
  getitem 918,1; //Sticky_Webfoot
 }
 else if (.@rhea_ran == 26) {
  getitem 960,1; //Nipper
 }
 else if (.@rhea_ran == 27) {
  getitem 910,1; //Garlet
 }
 else if (.@rhea_ran == 28) {
  getitem 938,1; //Sticky_Mucus
 }
 else if ((.@rhea_ran > 28) && (.@rhea_ran < 40)) {
  getitem 624,1; //Rotten Fish
 }
 else {
  mes "Nothing was caught.";
  close;
 }
 if (rand(1,200) == 3) {
  getitem 644,1; //Gift_Box
  mapannounce "brasilis","" + strcharinfo(0) + " has caught a Gift Box!!",bc_map,"0x00ffff";
 }
 if (rand(1,500) == 3) {
  getitem 603,1; //Old_Blue_Box
  mapannounce "brasilis","" + strcharinfo(0) + " has caught an Old Blue Box!!",bc_map,"0x00ffff";
 }
 if (rand(1,3000) == 3) {
  getitem 617,1; //Old_Violet_Box
  mapannounce "brasilis","" + strcharinfo(0) + " has caught an Old Purple Box!!",bc_map,"0x44ff44";
 }
 end;
}
else {
 mes "Fish are swimming in the water.";
 close;
}
}

brasilis,255,60,0 duplicate(School of Fish) School of Fish#1 723
brasilis,252,60,0 duplicate(School of Fish) School of Fish#2 723
brasilis,249,60,0 duplicate(School of Fish) School of Fish#3 723
brasilis,246,60,0 duplicate(School of Fish) School of Fish#4 723
 

 

this is another script i have modified for you....tested and working...

it will show you this in row....

1_shadow_npc.gif

i have one question how can i fix this one, because after clicking it, it will stop. what is the script for cotinues fishing they will just click it once. Thank you !

  • 3 years later...

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