[Script]Hybrid Warlock

12/25/2011 15:47 Modamer9#1
Hi .

First excuse me for my bad English .

I wrote the script so that the Warlock made ​​the advantage of the characteristics of many Pet .

just past the script in DB (Arcadia).


Quote:
use arcadia
update dbo.SkillTreeDisplay
set skill1_id = '45207'
where (job_id = '313') And (slot_v='4')

use arcadia
update dbo.SkillTreeDisplay
set skill5_id = '45221'
where (job_id = '313') And (slot_v='4')

use arcadia
update dbo.SkillTreeDisplay
set skill2_id = '45207'
where (job_id = '313') And (slot_v='6')

use arcadia
update dbo.SkillTreeDisplay
set skill4_id = '45221'
where (job_id = '313') And (slot_v='6')

use arcadia
update dbo.SkillTreeDisplay
set skill1_id = '45108'
where (job_id = '313') And (slot_v='7')

use arcadia
update dbo.SkillTreeDisplay
set skill3_id = '45115'
where (job_id = '313') And (slot_v='7')

use arcadia
update dbo.SkillTreeDisplay
set skill5_id = '45415'
where (job_id = '313') And (slot_v='7')

use arcadia
update dbo.SkillTreeDisplay
set skill2_id = '45215'
where (job_id = '313') And (slot_v='8')

use arcadia
update dbo.SkillTreeDisplay
set skill4_id = '45515'
where (job_id = '313') And (slot_v='8')

use arcadia
update dbo.SkillTreeDisplay
set skill1_id = '45423'
where (job_id = '313') And (slot_v='9')

use arcadia
update dbo.SkillTreeDisplay
set skill5_id = '45523'
where (job_id = '313') And (slot_v='9')
Don't forget reset the server .

Enjoy
12/25/2011 17:06 falkenman#2
nice work ty.
12/25/2011 17:13 Musta²#3
You can try adding skills you want to "323" (Fiend)

so you won't replace any skills from the basics

but, it will only work with "learn_all_skill" That's why you need a script to skills them to someone at NPC.''i think i'm starting one ^^".

anyway ty for the good work.
12/25/2011 20:15 superiorflame#4
Correct me if I'm wrong, but i assume this is in reference to the skill tree of each class? But if my knowledge serves me right, isn't this client sided? So I don't think making this change to your database will make this work in game.
12/25/2011 20:37 Musta²#5
Quote:
Originally Posted by superiorflame View Post
Correct me if I'm wrong, but i assume this is in reference to the skill tree of each class? But if my knowledge serves me right, isn't this client sided? So I don't think making this change to your database will make this work in game.
it does need some client mod, so if you learn skill "Fear Trap" and you replaced it with "Angel unity" in database, it will look like Fear Trap in the client , but when you learn it you'll get Angel unity, so the best way to get the skills without effecting is via learning it with learn_skill command, you can script it to an NPC.

hope i made clear :P

MuStA.
12/25/2011 20:48 superiorflame#6
Yes I know all this but I still don't see the point of changing the skills of the skill tree display so yes the learn skill command would be the way to go, y not use the skilltreeresource table, don't see much of a point using the displaytable.
12/26/2011 16:03 xXLĝG4nXx#7
Sounds like a good way to screw up and mangle your database
12/26/2011 19:02 urusendayo#8
Yeah, the skill will not show up unless you mod the client. You can, however, use an lua work around. The skills still wont show up in the skill tree, but, you can use level triggers to give specific classes new skills.
Here's a little example:

Code:
function learn_learn_skill_example()
	local maxlvl = gv( "max_reached_level" )
	local class = gv("job")
		if class == xxx and maxlvl == xxx and permission == 0 then
			set_value("permission",  1)
			learn_skill("xxxx")
			set_value("permission",  0)
end
end
The "learn_skill" function will give one level to any skill. This works best with the max_rached_level trigger and in the on_player_level_up.lua. This is also the function we use at Montes Rappelz to give level 3 creature control to all non-summoner classes and level 6 to summoners. Using this script would eliminate the need to mod the skill tree, however, if you wanted to replace the skills, you'd probably be best off going with MuSTA's suggestion. Hope it helps.
12/26/2011 19:13 superiorflame#9
That is a similar code I'm working on atm ursendayo, having remembered I saw this feature somewhere else been working to implement it on mine. I have it working just using a diff set up.
12/27/2011 07:42 urusendayo#10
Quote:
Originally Posted by superiorflame View Post
That is a similar code I'm working on atm ursendayo, having remembered I saw this feature somewhere else been working to implement it on mine. I have it working just using a diff set up.
Send me a pm. I'd be more than glad to help you out with your script, if you need.