Jump to content
  • 0

Script Support to Stop against WPE/RPE


Pneuma

Question


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   137
  • Joined:  02/26/14
  • Last Seen:  

brasilis,258,60,0 script School of Fish#01::fishing 844,{
setarray .EquipID,2764,23005,23006,23007;
for( set .@i,0; .@i < getarraysize( .EquipID ); set .@i,.@i + 1 )
{
if( (isequipped(.EquipID[.@i])) && (isequipped(2775)) )
specialeffect2 EF_BUBBLE;
set .@fcast,15;
if (isequipped(2764)) { //Small_Fishing_Rod
set .@fcast,.@fcast - 3;
}
if (isequipped(23005)) { //Medium_Fishing_Rod
set .@fcast,.@fcast - 5;
}
if (isequipped(23006)) { //Large_Fishing_Rod
set .@fcast,.@fcast - 7;
}
if (isequipped(23007)) { //Master_Fishing_Rod
set .@fcast,.@fcast - 10;
}
if (isequipped(2775)) { //Lure
set .@fcast,.@fcast - 1;
}
progressbar "ffffff",.@fcast;
if (rand(1,30) == 2) {
getitem 6096,1; //Blue Fish
specialeffect EF_BUBBLE;
mapannounce "brasilis","" + strcharinfo(0) + " has caught a Blue Fish!",bc_map,"0x0033FF";
end;
}
if (rand(1,50) == 3) {
getitem 23002,1; //Green Fish
specialeffect EF_BUBBLE;
mapannounce "brasilis","" + strcharinfo(0) + " has caught a Green Fish!",bc_map,"0x006600";
end;
}
if (rand(1,150) == 4) {
getitem 23003,1; //Red Fish
specialeffect EF_BUBBLE;
mapannounce "brasilis","" + strcharinfo(0) + " has caught a Red Fish!",bc_map,"0x990000";
end;
}
if (rand(1,200) == 5) {
getitem 23004,1; //Gold Fish
specialeffect EF_BUBBLE;
mapannounce "brasilis","" + strcharinfo(0) + " has caught a Gold Fish!",bc_map,"0xFFFF00";
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 12103,1; //Bloody Branch
mapannounce "brasilis","" + strcharinfo(0) + " has caught a Bloody Branch!",bc_map,"0xCC0000";
}
end;}
}
else {
mes "Fish are swimming in the water.";
close;
}
}
[/codeBOX]

I need help proofing this from abuse with WPE/RPE .-.; Apparently the progressbar command is bugged...

  • Upvote 1
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

refer this

r15442

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   137
  • Joined:  02/26/14
  • Last Seen:  

So since i'm using a new SVN; It should be okay?

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