Register for your free account! | Forgot your password?

You last visited: Today at 04:26

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Tutorial]Source. Fishing.cpp

Discussion on [Tutorial]Source. Fishing.cpp within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
arczaniol1's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 117
Received Thanks: 83
[Tutorial]Source. Fishing.cpp

Hello.

I'm happy to show you smal tutorial about fishing.

So let's start it!
In this tutorial I'll show you how to add new extra drop from fish.
At first find file fishing.cpp and open it.

At the line 30 begin function enum

I'll give for example FISH_BONE_VNUM = 27799,
FISH_BONE_VNUM - Is line Local name of the ID (Like in Lua.(Local Example = pc.get_name()))
27799 - ID Fish Bone..

So we wan't add new fish drop that will drop with shelf.

We are going to
And we simple add
Code:
ch->AutoGiveItem(New_Fish_Drop_Arczi);
So now when we find shelf we get shelf with ID = 27987 and Item ID = 71085

Compile it ! Have fun!

Quote:
Originally Posted by arczaniol1 View Post
I did it in 5 min it's possible to add new drop, if you open fishing.cpp you can do:

Code:
			case New_Test_Item_Arczi:	// 5 if 5 then this
				ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT(""Hello world, You find New Item!));
				ch->AutoGiveItem(New_Test_Item_Arczi);
				break;
arczaniol1 is offline  
Thanks
4 Users
Old 01/02/2014, 12:15   #2
 
elite*gold: 0
Join Date: Dec 2013
Posts: 22
Received Thanks: 1
Which of the source do u use?
Mainline/sg/novaline?
Thanks a lot for tutorial Nice to see some new work, you should add thia code into a source-change list.
Evor™ is offline  
Old 01/02/2014, 12:20   #3
 
Prince43™'s Avatar
 
elite*gold: 0
Join Date: Jan 2013
Posts: 489
Received Thanks: 495
Kaum ist die Source public kommen noch unnötigere Releases als sonst. Ich mein reicht es nicht schon aus, dass so viele dähmliche Releases sind mir den Games und so weiter ?


Kind Regards

Prince43™
Prince43™ is offline  
Thanks
1 User
Old 01/02/2014, 12:22   #4
 
elite*gold: 0
Join Date: Dec 2012
Posts: 64
Received Thanks: 17
If the diff files can stay the "code extra from users" can stay.
.Bloddy is offline  
Old 01/02/2014, 12:49   #5
 
JachuPL's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 50
Received Thanks: 83
Quote:
Originally Posted by .Bloddy View Post
If the diff files can stay the "code extra from users" can stay.
dif is your work, there's no license needed (only for IDA), but algorithms are work of big part of people and it is protected by law, so sharing code, even edited, is prohibited, like creating and developing metin2 server


@TOP: good job Arczi, but it will drop with shell, isn't it better to add it as a new item?
JachuPL is offline  
Old 01/02/2014, 13:14   #6
 
arczaniol1's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 117
Received Thanks: 83
Quote:
Originally Posted by JachuPL View Post

@TOP: good job Arczi, but it will drop with shell, isn't it better to add it as a new item?

I did it in 5 min it's possible to add new drop, if you open fishing.cpp you can do:

Code:
			case New_Test_Item_Arczi:	// 5 if 5 then this
				ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT(""Hello world, You find New Item!));
				ch->AutoGiveItem(New_Test_Item_Arczi);
				break;
arczaniol1 is offline  
Old 01/02/2014, 16:52   #7
 
[uLow]Beni's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 1,781
Received Thanks: 618
wow das ist ja ne mega große release :O




außerdem ist das doch illegal, da sieht man zeilen von ymirs code.
[uLow]Beni is offline  
Old 01/02/2014, 17:07   #8
 
-TÜRK-'s Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 328
Received Thanks: 434
As first you must give name of source, nova, wolf etc.
Second one I think people do not need those tutorials (FOR NOW).
Make Compile tutorials
-TÜRK- is offline  
Old 01/02/2014, 17:48   #9
 
elite*gold: 0
Join Date: Oct 2010
Posts: 115
Received Thanks: 14
Quote:
Originally Posted by -TÜRK- View Post
As first you must give name of source, nova, wolf etc.
Second one I think people do not need those tutorials (FOR NOW).
Make Compile tutorials
Source of game launcher looks like edited on some places. Install visual studio 2010 ultimate and sp1 for vc++.
example:
"PythonGraphic.cpp(294): error C2664: 'CPythonGraphic::SaveJPEG' : cannot convert parameter 2 from 'char *' to 'LPBYTE'"
5203307a is offline  
Old 01/02/2014, 17:59   #10
 
-TÜRK-'s Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 328
Received Thanks: 434
Quote:
Originally Posted by 5203307a View Post
Source of game launcher looks like edited on some places. Install visual studio 2010 ultimate and sp1 for vc++.
example:
"PythonGraphic.cpp(294): error C2664: 'CPythonGraphic::SaveJPEG' : cannot convert parameter 2 from 'char *' to 'LPBYTE'"
Client uses VS2008
-TÜRK- is offline  
Old 01/02/2014, 18:07   #11
 
elite*gold: 0
Join Date: Oct 2010
Posts: 115
Received Thanks: 14
Quote:
Originally Posted by -TÜRK- View Post
Client uses VS2008
I have vs2008-vs 2012 same errors on this versions.
5203307a is offline  
Old 01/02/2014, 18:12   #12
 
arczaniol1's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 117
Received Thanks: 83
I'm using vb8 for both
arczaniol1 is offline  
Thanks
1 User
Old 01/02/2014, 18:16   #13
 
elite*gold: 0
Join Date: Oct 2010
Posts: 115
Received Thanks: 14
Quote:
Originally Posted by arczaniol1 View Post
I'm using vb8 for both
I will try on windows xp and windows 7
5203307a is offline  
Old 01/02/2014, 18:20   #14
 
elite*gold: 0
Join Date: Dec 2013
Posts: 22
Received Thanks: 1
If you compile the src in the winndows env, will it works fine one the bsd?
I thought it should be compile in the freebsb env to work there.
After using build.sh i got some errors.
Has sb compiled new game on the freebsd and test it, yet?
I`d appreciate all clues
Greet.
Evor™ is offline  
Old 01/02/2014, 18:39   #15
 
elite*gold: 0
Join Date: Oct 2010
Posts: 115
Received Thanks: 14
Quote:
Originally Posted by Evor™ View Post
If you compile the src in the winndows env, will it works fine one the bsd?
I thought it should be compile in the freebsb env to work there.
After using build.sh i got some errors.
Has sb compiled new game on the freebsd and test it, yet?
I`d appreciate all clues
Greet.
No on FreeBSD you have elf binary format. game compiled on windows will don't works on FreeBSD launcher too.
5203307a is offline  
Reply


Similar Threads Similar Threads
[Source] Guppy - Another Fishing Bot
01/25/2014 - Final Fantasy XIV - 13 Replies
Since nethulhu vanished a couple weeks ago, I originally took it upon myself to update Leviathan. After visiting the code for large amounts of time, I decided to rewrite almost everything and start a different one. Hence, Guppy. http://i.imgur.com/rHysowW.png http://i.imgur.com/7Ogcol8.png http://i.imgur.com/xsKhcRG.png It has the same look and feel, but is a whole new beast.
Tutorial: Get only the fish you want while auto-fishing
05/04/2010 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 20 Replies
This is a fairly simple trick to use with any fishing bot or with the auto-fishing feature of the d-shop talismans. With it, you can ensure that you get only the fish you want. 1. To start with, you have to fish a while to build up a few fish of the sort you want. In this example, I'll use the Golden Carp. After you have at least 5 of the Golden Carp, you can start using this method. 2. Split the stack of 5 into 5 stacks of 1. Do this by shift-LEFT clicking the stack. This brings up...
Craftsman Tier 2 Fishing Income Tutorial
09/14/2005 - General Gaming Discussion - 0 Replies
Innes' Everquest 2 Craftsman Tier 2 Fishing Income Tutorial This tutorial covers how to become self sufficient in providing a steady income for your Craftsman Artisan, and more specifically in Freeport although also applies to Queynos. It requires that you have chosen to be a craftsman and are at least level 13. As far as I have found out this is the best way to earn a profit without having to deal with the broker and other player merchants at Tier 2, although it does require gathering...



All times are GMT +1. The time now is 04:26.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.