Jump to content
Lil Troll

Utility Release: World of Fishing

Recommended Posts

Very nice script.

Thx for sharing.

 

I got question about this script.

 

What is lure?

 

and i couln't get Fishing Manual

Hook and Line changed into card and I get an error everytime.

Link to comment
Share on other sites

Very nice script.

Thx for sharing.

 

I got question about this script.

 

What is lure?

 

and i couln't get Fishing Manual

Hook and Line changed into card and I get an error everytime.

By default the item is #501

// ======== Fishing Required Items Setup ================================
set [email protected],501;						// Automatic Fishing(Grass Version) one Requirement Only. Pick lure!
setarray [email protected][0],501,502,503;  	// Lure & Hook & Line.     
setarray [email protected][0],1,1,1;	      	// Amount Per Requirements. 
Link to comment
Share on other sites

 

Very nice script.

Thx for sharing.

 

I got question about this script.

 

What is lure?

 

and i couln't get Fishing Manual

Hook and Line changed into card and I get an error everytime.

By default the item is #501

// ======== Fishing Required Items Setup ================================
set [email protected],501;						// Automatic Fishing(Grass Version) one Requirement Only. Pick lure!
setarray [email protected][0],501,502,503;  	// Lure & Hook & Line.     
setarray [email protected][0],1,1,1;	      	// Amount Per Requirements. 

Thx how about to Plain Automatic Continuous Fishing.

 

My Script only can auto fish 2 times.

 

Link to comment
Share on other sites

 

I believe its this part.

set [email protected],1;	// 0 = Lil Troll Version (with Encounters and Rewarding Moments scene.
					// 1 = Automatic Fishing without Encounter and Rewarding Moments scene. (Grass Version)		
set [email protected],3;	// Set value to "rand(1,[email protected])", for non-abusive Grass Version(Fish still hides recommended is 3).

You need to set the value of "set [email protected],3;" to either a high number or try to disable it by putting //infront of it

Link to comment
Share on other sites

 

 

I believe its this part.

set [email protected],1;	// 0 = Lil Troll Version (with Encounters and Rewarding Moments scene.
					// 1 = Automatic Fishing without Encounter and Rewarding Moments scene. (Grass Version)		
set [email protected],3;	// Set value to "rand(1,[email protected])", for non-abusive Grass Version(Fish still hides recommended is 3).

You need to set the value of "set [email protected],3;" to either a high number or try to disable it by putting //infront of it

 

 

Thx for the answer.

 

Another question, I have found an error everything I try to open Fishing Manual.

 

And I can't get the item @item 31005,Manual_,Fishing Manual,,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 31005,1; callfunc "Fishing_Manual";},{},{}

 

Other items just fine

Link to comment
Share on other sites

 

 

 

I believe its this part.

set [email protected],1;	// 0 = Lil Troll Version (with Encounters and Rewarding Moments scene.
					// 1 = Automatic Fishing without Encounter and Rewarding Moments scene. (Grass Version)		
set [email protected],3;	// Set value to "rand(1,[email protected])", for non-abusive Grass Version(Fish still hides recommended is 3).

You need to set the value of "set [email protected],3;" to either a high number or try to disable it by putting //infront of it

 

 

Thx for the answer.

 

Another question, I have found an error everything I try to open Fishing Manual.

 

And I can't get the item @item 31005,Manual_,Fishing Manual,,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 31005,1; callfunc "Fishing_Manual";},{},{}

 

Other items just fine

 

Thats because you need to add the item into your item_db lol once you add it in; you'll have to either restart the server or @reloaditemdb; After that you @item 31005

Link to comment
Share on other sites

 

 

 

 

I believe its this part.

set [email protected],1;	// 0 = Lil Troll Version (with Encounters and Rewarding Moments scene.
					// 1 = Automatic Fishing without Encounter and Rewarding Moments scene. (Grass Version)		
set [email protected],3;	// Set value to "rand(1,[email protected])", for non-abusive Grass Version(Fish still hides recommended is 3).

You need to set the value of "set [email protected],3;" to either a high number or try to disable it by putting //infront of it

 

 

Thx for the answer.

 

Another question, I have found an error everything I try to open Fishing Manual.

 

And I can't get the item @item 31005,Manual_,Fishing Manual,,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 31005,1; callfunc "Fishing_Manual";},{},{}

 

Other items just fine

 

Thats because you need to add the item into your item_db lol once you add it in; you'll have to either restart the server or @reloaditemdb; After that you @item 31005

 

 

This is my item_db.txt

 
//Fishing
31000,FishingBox,FishingBox,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 31000,1; callfunc "Fishing_Box_Menu";},{},{}
31001,Fish_,Hook Level-1,3,6,,10,,,,,,,,,,,,,{},{},{}
31002,Fish_,Line Level-1,3,6,,10,,,,,,,,,,,,,{},{},{}
31003,Rotten_Fish,Rotten Fish,3,6,,10,,,,,,,,,,,,,{},{},{}
31004,Fish_,Fishing Rod,4,10,,10,10,,1,0,0xFFFFFFFF,7,0,34,0,0,0,0,{},{},{} // TWO HANDED FISHING ROD, DONT CHANGE THIS!
31005,Fishing_Manual,Fishing_Manual,,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 31005,1; callfunc "Fishing_Manual";},{},{}

Only @item 31005 Error

 

other just fine. I think because of callfunc "Fishing_Manual" ?

 

Thx for fast reply :D

Edited by DanialFX
Link to comment
Share on other sites

 

 

 

 

 

I believe its this part.

set [email protected],1;	// 0 = Lil Troll Version (with Encounters and Rewarding Moments scene.
					// 1 = Automatic Fishing without Encounter and Rewarding Moments scene. (Grass Version)		
set [email protected],3;	// Set value to "rand(1,[email protected])", for non-abusive Grass Version(Fish still hides recommended is 3).

You need to set the value of "set [email protected],3;" to either a high number or try to disable it by putting //infront of it

 

 

Thx for the answer.

 

Another question, I have found an error everything I try to open Fishing Manual.

 

And I can't get the item @item 31005,Manual_,Fishing Manual,,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 31005,1; callfunc "Fishing_Manual";},{},{}

 

Other items just fine

 

Thats because you need to add the item into your item_db lol once you add it in; you'll have to either restart the server or @reloaditemdb; After that you @item 31005

 

 

This is my item_db.txt

 
//Fishing
31000,FishingBox,FishingBox,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 31000,1; callfunc "Fishing_Box_Menu";},{},{}
31001,Fish_,Hook Level-1,3,6,,10,,,,,,,,,,,,,{},{},{}
31002,Fish_,Line Level-1,3,6,,10,,,,,,,,,,,,,{},{},{}
31003,Rotten_Fish,Rotten Fish,3,6,,10,,,,,,,,,,,,,{},{},{}
31004,Fish_,Fishing Rod,4,10,,10,10,,1,0,0xFFFFFFFF,7,0,34,0,0,0,0,{},{},{} // TWO HANDED FISHING ROD, DONT CHANGE THIS!
31005,Fishing_Manual,Fishing_Manual,,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 31005,1; callfunc "Fishing_Manual";},{},{}

Only @item 31005 Error

 

other just fine. I think because of callfunc "Fishing_Manual" ?

 

Thx for fast reply :D

 

Your first error is 31005 has no itemtype. your second issue is you have getitem 31005,1; in the itemscript. lol

 

31005,Fishing_Manual,Fishing_Manual,11,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "Fishing_Manual";},{},{}

  • Upvote 1
Link to comment
Share on other sites

 

 

 

 

 

 

I believe its this part.

set [email protected],1;	// 0 = Lil Troll Version (with Encounters and Rewarding Moments scene.
					// 1 = Automatic Fishing without Encounter and Rewarding Moments scene. (Grass Version)		
set [email protected],3;	// Set value to "rand(1,[email protected])", for non-abusive Grass Version(Fish still hides recommended is 3).

You need to set the value of "set [email protected],3;" to either a high number or try to disable it by putting //infront of it

 

 

Thx for the answer.

 

Another question, I have found an error everything I try to open Fishing Manual.

 

And I can't get the item @item 31005,Manual_,Fishing Manual,,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 31005,1; callfunc "Fishing_Manual";},{},{}

 

Other items just fine

 

Thats because you need to add the item into your item_db lol once you add it in; you'll have to either restart the server or @reloaditemdb; After that you @item 31005

 

 

This is my item_db.txt

 
//Fishing
31000,FishingBox,FishingBox,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 31000,1; callfunc "Fishing_Box_Menu";},{},{}
31001,Fish_,Hook Level-1,3,6,,10,,,,,,,,,,,,,{},{},{}
31002,Fish_,Line Level-1,3,6,,10,,,,,,,,,,,,,{},{},{}
31003,Rotten_Fish,Rotten Fish,3,6,,10,,,,,,,,,,,,,{},{},{}
31004,Fish_,Fishing Rod,4,10,,10,10,,1,0,0xFFFFFFFF,7,0,34,0,0,0,0,{},{},{} // TWO HANDED FISHING ROD, DONT CHANGE THIS!
31005,Fishing_Manual,Fishing_Manual,,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 31005,1; callfunc "Fishing_Manual";},{},{}

Only @item 31005 Error

 

other just fine. I think because of callfunc "Fishing_Manual" ?

 

Thx for fast reply :D

 

Your first error is 31005 has no itemtype. your second issue is you have getitem 31005,1; in the itemscript. lol

 

31005,Fishing_Manual,Fishing_Manual,11,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "Fishing_Manual";},{},{}

 

 

Thank you. Its working now.

Link to comment
Share on other sites

hi Sir i having problem on this

 

 
[Error]: itemdb_readdb: Invalid format (Script column) in line 331 of "db/item_db2.txt" (item with id 30435), skipping.
 
in my putty 
 
30435,Fishing_Manual,Fishing_Manual,11,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "Fishing_Manual";},{},{}
 
 
 
 
Edited by jimmyyheah
Link to comment
Share on other sites

Having problem when showing Ladder:

 

Infinity Loop on those functions:

FRank: set [email protected],query_sql("SELECT `name`, `flvl`, `fexp`, `fpts`, `fcot` FROM `fishing_system` ORDER BY flvl DESC LIMIT 20",[email protected]$,[email protected],[email protected],[email protected],[email protected]); 
mes "Hall da Fama: Ranking Normal"; mes "^ff0000Nome^000000:^ff5500[ FL ]^000000:^005500[ FE ]^000000:^55007f[ FP ]^000000:^55ffff[ FC ]^000000"; 
//cutin [email protected]$,3;
for(set [email protected],1; [email protected] <= [email protected]; set [email protected],[email protected]++) { mes [email protected]+". ["[email protected]$[0]+"] ("[email protected][0]+") ("[email protected][0]+") ("[email protected][0]+") ("[email protected][0]+")"; 
} next; menu "^005500[ Retornar ]^000000",MainMenu; close;  

FExpe:  set [email protected],query_sql("SELECT `name`, `fsuc`, `ffail`, `fenc`, `fmom` FROM `fishing_system` ORDER BY fsuc DESC LIMIT 20",[email protected]$,[email protected],[email protected],[email protected],[email protected]);
mes "Hall da Fama: Ranking Expedição"; 
if([email protected] == 0 ) { mes "^ff0000Nome^000000:^005500[ FS ]^000000:^55aa00[ FF ]^000000:^ff5500[ FN ]^000000:^55ffff[ FM ]^000000"; }
if([email protected] == 1 ) { mes "^ff0000Nome^000000:^005500[ FS ]^000000:^55aa00[ FF ]^000000:^ff5500"; }
for(set [email protected],1; [email protected] <= [email protected]; set [email protected],[email protected]++){ 
if([email protected] == 0 ) { mes [email protected]+". ["[email protected]$[0]+"] ("[email protected][0]+") ("[email protected][0]+") ("[email protected][0]+") ("[email protected][0]+")"; }
if([email protected] == 1 ) { mes [email protected]+". ["[email protected]$[0]+"] ("[email protected][0]+") ("[email protected][0]+")"; } }
//cutin [email protected]$,3;
next; menu "^005500[ Retornar ]^000000",MainMenu; close; end; }

Could anybody help me fixing?

Edited by Guih
Link to comment
Share on other sites

Having problem when showing Ladder:

 

Infinity Loop on those functions:

FRank: set [email protected],query_sql("SELECT `name`, `flvl`, `fexp`, `fpts`, `fcot` FROM `fishing_system` ORDER BY flvl DESC LIMIT 20",[email protected]$,[email protected],[email protected],[email protected],[email protected]); 
mes "Hall da Fama: Ranking Normal"; mes "^ff0000Nome^000000:^ff5500[ FL ]^000000:^005500[ FE ]^000000:^55007f[ FP ]^000000:^55ffff[ FC ]^000000"; 
//cutin [email protected]$,3;
for(set [email protected],1; [email protected] <= [email protected]; set [email protected],[email protected]++) { mes [email protected]+". ["[email protected]$[0]+"] ("[email protected][0]+") ("[email protected][0]+") ("[email protected][0]+") ("[email protected][0]+")"; 
} next; menu "^005500[ Retornar ]^000000",MainMenu; close;  

FExpe:  set [email protected],query_sql("SELECT `name`, `fsuc`, `ffail`, `fenc`, `fmom` FROM `fishing_system` ORDER BY fsuc DESC LIMIT 20",[email protected]$,[email protected],[email protected],[email protected],[email protected]);
mes "Hall da Fama: Ranking Expedição"; 
if([email protected] == 0 ) { mes "^ff0000Nome^000000:^005500[ FS ]^000000:^55aa00[ FF ]^000000:^ff5500[ FN ]^000000:^55ffff[ FM ]^000000"; }
if([email protected] == 1 ) { mes "^ff0000Nome^000000:^005500[ FS ]^000000:^55aa00[ FF ]^000000:^ff5500"; }
for(set [email protected],1; [email protected] <= [email protected]; set [email protected],[email protected]++){ 
if([email protected] == 0 ) { mes [email protected]+". ["[email protected]$[0]+"] ("[email protected][0]+") ("[email protected][0]+") ("[email protected][0]+") ("[email protected][0]+")"; }
if([email protected] == 1 ) { mes [email protected]+". ["[email protected]$[0]+"] ("[email protected][0]+") ("[email protected][0]+")"; } }
//cutin [email protected]$,3;
next; menu "^005500[ Retornar ]^000000",MainMenu; close; end; }

Could anybody help me fixing?

you can use code like this

FRank:
	query_sql("SELECT name, `flvl`, `fexp`, `fpts`, `fcot` FROM `fishing_system` ORDER BY flvl DESC LIMIT 5",[email protected]$,[email protected],[email protected],[email protected],[email protected]); 
	mes "Hall Of Fame: Fishing Ladder"; 
	mes "^ff0000Name^000000:^ff5500[ FL ]^000000:^005500[ FE ]^000000:^55007f[ FP ]^000000:^55ffff[ FC ]^000000"; 
	//cutin [email protected]$,3;
		mes "1. ["[email protected]$[0]+"] ("[email protected][0]+") ("[email protected][0]+") ("[email protected][0]+") ("[email protected][0]+")"; 
		mes "2. ["[email protected]$[1]+"] ("[email protected][1]+") ("[email protected][1]+") ("[email protected][1]+") ("[email protected][1]+")"; 
		mes "3. ["[email protected]$[2]+"] ("[email protected][2]+") ("[email protected][2]+") ("[email protected][2]+") ("[email protected][2]+")"; 
		mes "4. ["[email protected]$[2]+"] ("[email protected][3]+") ("[email protected][3]+") ("[email protected][3]+") ("[email protected][3]+")"; 
		mes "5. ["[email protected]$[2]+"] ("[email protected][3]+") ("[email protected][3]+") ("[email protected][3]+") ("[email protected][3]+")"; 
	 
	next; 
	menu "^005500[ Return ]^000000",mainmenu; 
close;  

FExpe:  
	query_sql("SELECT `name`, `fsuc`, `ffail`, `fenc`, `fmom` FROM `fishing_system` ORDER BY fsuc DESC LIMIT 5",[email protected]$,[email protected],[email protected],[email protected],[email protected]);
	mes "Hall Of Fame: Fishing Ladder"; 
	if([email protected] == 0 ) { 
		mes "^ff0000Name^000000:^005500[ FS ]^000000:^55aa00[ FF ]^000000:^ff5500[ FN ]^000000:^55ffff[ FM ]^000000"; 
	}
	if([email protected] == 1 ) { 
		mes "^ff0000Name^000000:^005500[ FS ]^000000:^55aa00[ FF ]^000000:^ff5500"; 
	}
	
		if([email protected] == 0 ) { 
			mes "1. ["[email protected]$[0]+"] ("[email protected][0]+") ("[email protected][0]+") ("[email protected][0]+") ("[email protected][0]+")"; 
			mes "2. ["[email protected]$[1]+"] ("[email protected][1]+") ("[email protected][1]+") ("[email protected][1]+") ("[email protected][1]+")"; 
			mes "3. ["[email protected]$[2]+"] ("[email protected][2]+") ("[email protected][2]+") ("[email protected][2]+") ("[email protected][2]+")"; 
			mes "4. ["[email protected]$[3]+"] ("[email protected][3]+") ("[email protected][3]+") ("[email protected][3]+") ("[email protected][3]+")"; 
			mes "5. ["[email protected]$[4]+"] ("[email protected][4]+") ("[email protected][4]+") ("[email protected][4]+") ("[email protected][4]+")"; 
		}
		if([email protected] == 1 ) { 
			mes "1. ["[email protected]$[0]+"] ("[email protected][0]+") ("[email protected][0]+")"; 
			mes "2. ["[email protected]$[1]+"] ("[email protected][1]+") ("[email protected][1]+")"; 
			mes "3. ["[email protected]$[2]+"] ("[email protected][2]+") ("[email protected][2]+")"; 
			mes "4. ["[email protected]$[3]+"] ("[email protected][3]+") ("[email protected][3]+")"; 
			mes "5. ["[email protected]$[4]+"] ("[email protected][4]+") ("[email protected][4]+")"; 
		} 
	//cutin [email protected]$,3;
	next; 
	menu "^005500[ Return ]^000000",mainmenu; 
	close; 
	OnInit:
		waitingroom "Fishing Ladder Board",0;
	end;
Link to comment
Share on other sites

when my char fishing , sometime  stop

 

the weight、 Bait variable is normal

 

it is the Original setting?

 

anyone tell me how to fix this problem?

 

thank a lot!!

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



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.