![]() |
|
|
#1 |
|
Архивный участник
Join Date: Aug 2005
Posts: 428
|
Hello everybody. I decided to write this post to allow all of us to take part in producing fix for symbols. In other words we will do symbols as on off!
I know people, that has it working, but i want to do it myself with help of u! So when we'll done it - everyone who will help may say "THAT IS MY FIX, I DID IT". And IF we'll do it - this would be 1st fix of community! First of all i want to say, that one thing u must do - USE YOUR BRAIN!!! Nothing more. To do this fix we should have all information about how symbols are working. I'll write this info later, but if you want to help, post here some links or post this info inside the topik. Ok, let's solve our problem! Here i'll explain my opinion about how we may have symbols working. 1) If we look at l2j we may see 3 tables in db: Code:
character_hennas ( char_obj_id decimal(11) , symbol_id decimal(11) , slot decimal(1) , PRIMARY KEY (char_obj_id,slot) ); Code:
henna ( symbol_id int(11) , symbol_name varchar(45) , dye_id int(11) , dye_amount int(11) , price int(11) , stat_INT decimal(11) , stat_STR decimal(11) , stat_CON decimal(11) , stat_MEM decimal(11) , stat_DEX decimal(11) , stat_WIT decimal(11) , PRIMARY KEY (symbol_id) ); Code:
henna_trees ( class_id decimal(10) , symbol_id decimal(10) , PRIMARY KEY (class_id) ); We can modify them, remove some records and add to our DB! Here we must think what to remove only! 2) 2 of 3 tables we should fill (henna_trees and henna) with some data. Info we can get from l2j too! 3) Basic functions, that operates with db and set/set off hennas also we may take from l2j. 4) BUT! I don't know how to operate with players stats without AI! We must write stored procedure such as enchantItem, but for stats! And others - for reset stats! This is info for think on! Let's do it! Your ideas? |
|
|
|
|