Page 1 of 3

Fishing System 2.0

Posted: Mon Jan 13, 2014 7:26 pm
by EDGECOM
I am working on the fishing system I will post a patch file in here when I am done :)

I just wanted to give an update

with a simple grid mapping system I was able to create 157 unique fish lists and some zones have more than one list.

I have not done any lists for the Seekers yet however it will be easy to add once I get the system working

https://edgegraphics.biz/Fishing_Reference_Doc.html

monster ids: I have updated this again to proper mobIDs ,names and poolIDs I have found a few problem though please click the link and see
some of the entries have respawn times I do not know if that will make a difference (crash the server) or not but I have marked them if someone could pm me and let me know I will just remove them if its going to be a problem.

http://edgegraphics.biz/Fishing_mobs.html


changed the images to links just so this post is easier to read

http://edgegraphics.biz/fishing1.png
http://edgegraphics.biz/fishing2.png

project status 100%

Need to finish (Not done yet)

rank quest scripting I do not have active account on retail server so I can not fix this however I am going to release a patch

I tried to use github but could not make it work
I hope I have included all the file in this patch if not just let me know

I figured out how to create a pull request lol so if all goes well it should be add today I hope

Re: Fishing System 2.0

Posted: Tue Jan 14, 2014 8:34 pm
by EDGECOM
this is old deleting the file

Re: Fishing System 2.0

Posted: Tue Jan 14, 2014 9:05 pm
by atom0s

Re: Fishing System 2.0

Posted: Wed Jan 15, 2014 8:43 am
by compmike19
Go Go Edgecom! Good work

Re: Fishing System 2.0

Posted: Fri Jan 17, 2014 5:07 pm
by EDGECOM
I have a question I am trying to use Message Special to send <player> obtains 1 Gil but I can't get it to work it just keeps displaying 545.sec witch I think its referring to a chocobo or something I have tried a bunch off offsets but can't make it work lol

Re: Fishing System 2.0

Posted: Fri Jan 17, 2014 5:32 pm
by demolish
It depends on the zone and what that message's TextID is (can be found in scripts/zones/ZONE_NAME/TextIDs.lua).
Make sure the zone's TextID file is required in the script:
require("scripts/zones/ZONE_NAME/TextIDs");
Usage: player:messageSpecial(TEXTID_REFERENCE, param)

Re: Fishing System 2.0

Posted: Fri Jan 17, 2014 6:09 pm
by EDGECOM
thank you for the reply that solution would work if I was doing it in a script but I am trying to send a message packet I have figured out the number need to to say you caught a Gil but I want to send another message right after stating the ammout you recived.

Code: Select all

new CCaughtFishPacket(PChar, 0x0000FFFF, MessageOffset + 0x27));
will say "<player> caught a Gil"

then I want to sent a text packet to tell the amount or I might have to make a new fishpacket with another param for ammount

Re: Fishing System 2.0

Posted: Fri Jan 17, 2014 6:40 pm
by EDGECOM
I am a derp a derp ... I forgot to convert the DEC value back to hex >.< I got it figured out now lol

Re: Fishing System 2.0

Posted: Mon Jan 20, 2014 10:17 pm
by atom0s
Sadly, all your text ids are broken again EDGECOM. SE enjoys breaking things for us. :(

Re: Fishing System 2.0

Posted: Thu Jan 23, 2014 9:16 am
by EDGECOM
lol nice so I need to update them again?

and I have the framework done for the fishing system I just am not sure about spawning fished up mobs the only way I could see spawning them is change the x,y,z to a position out of sight on the map then if a player fished up a monster port it to the player and make it agro the player the only problem is that you can only have one at a time :( unless I make pool with different ids? I already tried to use the petmob spawn method but that just messed up the server made it unstable and I do not want that