Page 1 of 1

TH in all jobs

Posted: Tue Oct 30, 2012 9:18 pm
by razielkane
I was wondering if I can get some help with adding TH to all the jobs, I tried adding to script/command/godmode.lua... it crashes.

--thank you in advance

Re: TH in all jobs

Posted: Tue Oct 30, 2012 9:36 pm
by Metalfiiish
Why would you add this to all jobs? Would seem more logical to just increase drop rates globally. There is an option to increase drop rates globally would have to dig around but let me know if there is a reason you are trying to do it by adding Treasure Hunter to all calsses.

Re: TH in all jobs

Posted: Tue Oct 30, 2012 10:03 pm
by razielkane
ooh drop rates would be better and its for private server LAN daughter (6yr) lol and I.

Re: TH in all jobs

Posted: Tue Oct 30, 2012 10:16 pm
by PrBlahBlahtson
I thought the global drop rate petered out after the discussion on how best to do it? I know there was a patch somewhere that someone implemented one, but I don't remember an increase making it to the trunk.

Edit:
If you intended to go the "Treasure Hunter" route, you would have to create a new trait for each job. Traits are stored in the 'traits' table. I haven't experimented quite enough with it, but if you can't figure it out, here's some hints. I'm a big fan of giving people the pieces they need and letting them go from there.

traitid - Not certain, but I suspect this impacts what trait is shown to the player, or is used to keep traits from stacking/overlapping. I haven't tested it. I know I saw somewhere that this is limited to values less than 100, but that can be changed in the core if you go digging.
name - I suspect the server ignores this entirely, and that it's only for readability.
job - What job the trait applies to. Only one job can be entered here. Notice the duplicates, notice the differences, you'll learn a lot. To decode the numbering, open up your job's list. WAR = 1, MNK = 2, and so on.
level - Uh, guess. :lol:
effect - Hidden status effect, if there is one. Only ones really in use are regen/refresh. See /scripts/globals/status.lua for a list. Remember to convert from hex to decimal.
modifier - Similar to effect, but different in what it can change.
value - Potency, if it's applicable.

Keep in mind that just because something appears in the client or tables doesn't mean that it works, by the way. :) For example, I believe the "killer" effects don't do anything right now, but haven't tested that. I know the circles will intimidate, at least. You'll also have to restart your server for any SQL changes to take effect.

Re: TH in all jobs

Posted: Tue Oct 30, 2012 10:29 pm
by razielkane
gonna try that advance config patch. thx for the reply guys.

Re: TH in all jobs

Posted: Tue Oct 30, 2012 10:57 pm
by razielkane
the advanced config.patch works great. Yeah PrBlah, if you put it that way omg lol so much work and just learning this script thing. again thanks