Jump to content

Recommended Posts

  • 5 months later...
Posted

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.

Posted

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 $@FishingLure,501;						// Automatic Fishing(Grass Version) one Requirement Only. Pick lure!
setarray $@FishingMaterials[0],501,502,503;  	// Lure & Hook & Line.     
setarray $@AmountPerMaterials[0],1,1,1;	      	// Amount Per Requirements. 
Posted

 

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 $@FishingLure,501;						// Automatic Fishing(Grass Version) one Requirement Only. Pick lure!
setarray $@FishingMaterials[0],501,502,503;  	// Lure & Hook & Line.     
setarray $@AmountPerMaterials[0],1,1,1;	      	// Amount Per Requirements. 

Thx how about to Plain Automatic Continuous Fishing.

 

My Script only can auto fish 2 times.

 

Posted

 

I believe its this part.

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

You need to set the value of "set $@GrassNonAbuse,3;" to either a high number or try to disable it by putting //infront of it

Posted

 

 

I believe its this part.

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

You need to set the value of "set $@GrassNonAbuse,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

Posted

 

 

 

I believe its this part.

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

You need to set the value of "set $@GrassNonAbuse,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

Posted (edited)

 

 

 

 

I believe its this part.

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

You need to set the value of "set $@GrassNonAbuse,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
Posted

 

 

 

 

 

I believe its this part.

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

You need to set the value of "set $@GrassNonAbuse,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
Posted

 

 

 

 

 

 

I believe its this part.

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

You need to set the value of "set $@GrassNonAbuse,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.

  • 1 month later...
  • 6 months later...
Posted (edited)

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
  • 2 months later...
Posted (edited)

Having problem when showing Ladder:

 

Infinity Loop on those functions:

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

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

Could anybody help me fixing?

Edited by Guih
  • 8 months later...
  • 7 months later...
Posted

Having problem when showing Ladder:

 

Infinity Loop on those functions:

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

FExpe:  set .@fexpe,query_sql("SELECT `name`, `fsuc`, `ffail`, `fenc`, `fmom` FROM `fishing_system` ORDER BY fsuc DESC LIMIT 20",.@n1$,.@fs,.@ff,.@fn,.@fm);
mes "Hall da Fama: Ranking Expedição"; 
if($@FishingMode == 0 ) { mes "^ff0000Nome^000000:^005500[ FS ]^000000:^55aa00[ FF ]^000000:^ff5500[ FN ]^000000:^55ffff[ FM ]^000000"; }
if($@FishingMode == 1 ) { mes "^ff0000Nome^000000:^005500[ FS ]^000000:^55aa00[ FF ]^000000:^ff5500"; }
for(set .@i,1; .@i <= .@fexpe; set .@i,.@i++){ 
if($@FishingMode == 0 ) { mes .@i+". ["+.@n1$[0]+"] ("+.@fs[0]+") ("+.@ff[0]+") ("+.@fn[0]+") ("+.@fm[0]+")"; }
if($@FishingMode == 1 ) { mes .@i+". ["+.@n1$[0]+"] ("+.@fs[0]+") ("+.@ff[0]+")"; } }
//cutin $@FishingLadderExpe$,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",.@n$,.@fl,.@fe,.@fp,.@fc); 
	mes "Hall Of Fame: Fishing Ladder"; 
	mes "^ff0000Name^000000:^ff5500[ FL ]^000000:^005500[ FE ]^000000:^55007f[ FP ]^000000:^55ffff[ FC ]^000000"; 
	//cutin $@FishingLadderRank$,3;
		mes "1. ["+.@n$[0]+"] ("+.@fl[0]+") ("+.@fe[0]+") ("+.@fp[0]+") ("+.@fc[0]+")"; 
		mes "2. ["+.@n$[1]+"] ("+.@fl[1]+") ("+.@fe[1]+") ("+.@fp[1]+") ("+.@fc[1]+")"; 
		mes "3. ["+.@n$[2]+"] ("+.@fl[2]+") ("+.@fe[2]+") ("+.@fp[2]+") ("+.@fc[2]+")"; 
		mes "4. ["+.@n$[2]+"] ("+.@fl[3]+") ("+.@fe[3]+") ("+.@fp[3]+") ("+.@fc[3]+")"; 
		mes "5. ["+.@n$[2]+"] ("+.@fl[3]+") ("+.@fe[3]+") ("+.@fp[3]+") ("+.@fc[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",.@n1$,.@fs,.@ff,.@fn,.@fm);
	mes "Hall Of Fame: Fishing Ladder"; 
	if($@FishingMode == 0 ) { 
		mes "^ff0000Name^000000:^005500[ FS ]^000000:^55aa00[ FF ]^000000:^ff5500[ FN ]^000000:^55ffff[ FM ]^000000"; 
	}
	if($@FishingMode == 1 ) { 
		mes "^ff0000Name^000000:^005500[ FS ]^000000:^55aa00[ FF ]^000000:^ff5500"; 
	}
	
		if($@FishingMode == 0 ) { 
			mes "1. ["+.@n1$[0]+"] ("+.@fs[0]+") ("+.@ff[0]+") ("+.@fn[0]+") ("+.@fm[0]+")"; 
			mes "2. ["+.@n1$[1]+"] ("+.@fs[1]+") ("+.@ff[1]+") ("+.@fn[1]+") ("+.@fm[1]+")"; 
			mes "3. ["+.@n1$[2]+"] ("+.@fs[2]+") ("+.@ff[2]+") ("+.@fn[2]+") ("+.@fm[2]+")"; 
			mes "4. ["+.@n1$[3]+"] ("+.@fs[3]+") ("+.@ff[3]+") ("+.@fn[3]+") ("+.@fm[3]+")"; 
			mes "5. ["+.@n1$[4]+"] ("+.@fs[4]+") ("+.@ff[4]+") ("+.@fn[4]+") ("+.@fm[4]+")"; 
		}
		if($@FishingMode == 1 ) { 
			mes "1. ["+.@n1$[0]+"] ("+.@fs[0]+") ("+.@ff[0]+")"; 
			mes "2. ["+.@n1$[1]+"] ("+.@fs[1]+") ("+.@ff[1]+")"; 
			mes "3. ["+.@n1$[2]+"] ("+.@fs[2]+") ("+.@ff[2]+")"; 
			mes "4. ["+.@n1$[3]+"] ("+.@fs[3]+") ("+.@ff[3]+")"; 
			mes "5. ["+.@n1$[4]+"] ("+.@fs[4]+") ("+.@ff[4]+")"; 
		} 
	//cutin $@FishingLadderExpe$,3;
	next; 
	menu "^005500[ Return ]^000000",mainmenu; 
	close; 
	OnInit:
		waitingroom "Fishing Ladder Board",0;
	end;
  • 1 month later...
Posted

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

  • 3 years later...
  • 5 years later...
Posted

Hello,

Sorry to revive this post, but the script is really good. Is anyone updating this script or can fix as a service some bugs for me?

 

If so, add me on discord mitsukideee

Posted

Hello,

Sorry to revive this post, but the script is really good. Is anyone updating this script or can fix as a service some bugs for me?

 

If so, add me on discord mitsukideee

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