PDA

View Full Version : How to set players start with 100 in fishing?


dreamseer
02-05-2010, 06:08 PM
I SQL’d class_skill table skill 55 = fishing I believe
update class_skill set skill_55 = 100

Created a new character and the skill was 0

I've looked through the db for a field to use. there is a fishing table but I don't think its for skill

ChaosSlayerZ
02-05-2010, 06:11 PM
class_skill table only sets caps
the actual starting values are hard coded.
Speaking of which would be nice if hard coded 100 in swimming would be removed

Derision
02-05-2010, 06:18 PM
I think this requires a source code change, e.g. if you look in world/client.cpp line 1177 you will see:

pp.skills[SENSE_HEADING] = 200;


You would need to add:

pp.skills[FISHING] = 100;

and recompile.

jkennedy
02-05-2010, 10:20 PM
sub EVENT_SAY {
if ($text =~/Hail/i) {
quest::setskill(55,150); }} the 55 is the skillid and the 150 is the amount to set it to all they have to do is hail him and bam 150 fishing or w/e u want it t obe

dreamseer
02-11-2010, 09:12 AM
Thank you guys so much - I think We'll take the opertunity to create an NPC with fishing rod and a Seafaring name to do it and explain how to fish in each starting town

Great help thanks again