nobukadnezar Posted January 18, 2012 Posted January 18, 2012 how to insert antibot codes into this script. i want to make it trigger when certain random number occur. (e.g if( variable = 9 ) do antibot)) Quote
Arcenciel Posted January 18, 2012 Posted January 18, 2012 Antibot scripts are useless. You're just creating a hassle for your players. Quote
manabeast Posted January 19, 2012 Posted January 19, 2012 (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 January 19, 2012 by manabeast Quote
Emistry Posted January 21, 2012 Posted January 21, 2012 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; 1 Quote
donkeyg Posted March 19, 2012 Posted March 19, 2012 what is the percentage we can get from the fishing?? Quote
Pneuma Posted March 19, 2012 Author Posted March 19, 2012 It varies; There's many different %'s and you can control them all Quote
Emistry Posted March 19, 2012 Posted March 19, 2012 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... Quote
Quicksilver Posted April 15, 2012 Posted April 15, 2012 can we make the fishing session continuous? 1 click and you can do other stuff and let it fish by itself? i think we need to remove the "Nothing was caught." message also. Quote
Pneuma Posted April 16, 2012 Author Posted April 16, 2012 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 Quote
manabeast Posted April 18, 2012 Posted April 18, 2012 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. Quote
Quicksilver Posted May 1, 2012 Posted May 1, 2012 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! Quote
Emistry Posted May 1, 2012 Posted May 1, 2012 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; } 1 Quote
Quicksilver Posted May 3, 2012 Posted May 3, 2012 wow! i've read about this function just recently here. Although i'm getting an error. run_scrip: infinity loop! Is it because of this part? mes "Nothing was caught."; close; Quote
lakasmonk Posted May 30, 2012 Posted May 30, 2012 how to add item that has a percentage of catch to 3% to 5% the item is proof of donation Quote
Pneuma Posted May 30, 2012 Author Posted May 30, 2012 I dont know how to make it 3-5 but I can help you make it 3 or 5 xD Quote
lakasmonk Posted May 31, 2012 Posted May 31, 2012 ok i want 5% same script but added with proof of donation item and has a 5% chance to catch the POD item Quote
elements Posted July 2, 2012 Posted July 2, 2012 (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~ 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 July 2, 2012 by elements Codeboxed Quote
Aeia Posted October 10, 2012 Posted October 10, 2012 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? Quote
Ajjwidjdneidjenw Posted October 10, 2012 Posted October 10, 2012 (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 October 10, 2012 by garet999 Quote
NewbieMe Posted April 2, 2017 Posted April 2, 2017 How can i activate this npc it's not working sorry newbie here i dont know how to add npc actually.. Quote
Archduke Posted May 25, 2017 Posted May 25, 2017 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.... 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 ! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.