how to change...

WalkingBad

New member
Messages
105
Points
0
Github
WalkingBad
Emulator
how to change the progressbar into cutins? just like a loading ... i have my cutins bmp

Code:
jawaii,216,285,0	script	School of Fish#1	844,{	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 "jawaii","" + 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;	}}
 
replace http://herc.ws/wiki/progressbar with this

Code:
setarray .@cutins$,	"cutin001",	"cutin002",	"cutin003",	"cutin004";.@cutin_size = getarraysize( .@cutin$ );for( .@i = 0; .@i < .@cutin_size; .@i++ ){	cutin .@cutin$[.@i],4;	sleep2 1500;}cutin "",255;
 
imma try this later when i got home.. Thank you bro... have a good day..

i have try it.. but there is no animated casting when i start fishing.. what happen is when i click the npc it become an instant fishing no any animated casting..

 
Last edited by a moderator:
imma try this later when i got home.. Thank you bro... have a good day..

i have try it.. but there is no animated casting when i start fishing.. what happen is when i click the npc it become an instant fishing no any animated casting..
emistry post have a sleep2 command, which pause script execution for 1.5 seconds(so it should not be instant unlessmyou edited it), if its fast for you, you can increase its value.
 
Last edited by a moderator:
i didn't change anything on that script.. i get that script from rAthena.. and tested it with progress bar.. that's why i ask for a help here on how to change that progress bar into cutins.. just like on this video...cuz i didnt know how to do it..

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
Maybe you havn't put those bmp files into client side?<br />
please read my post.. i have my cutins already
default_smile.png
) so i don't know why the script is not working with the script provide by emistry for me... any suggestion sir?..

 
if you use wrong file name csutin ,script wont show any image in your winddow,AFAIK those file names were fishing_01 ~ fishing_10 not cutin001~cutin004

 
Last edited by a moderator:
Back
Top