how to add new gift and modify the gift appear chance

01/17/2008 00:13 pfj511#1
now i will show you how to add a new gift in you db and the cilent

first you need to add a new line in cq_talenttype like this
Code:
53	3	TownGift	0	0	0	1	1	0	0	0	0	1000	0	0	0	0	0	0	0	0	0	0	0	0	1	0	0	0	0	0	0	0	0	1000	0	0	0	0	0	0	1	0	0	0	0	0	0	0	0	1
190	190	Potency+1	0	0	2	1	1	0	0	1	0	1000	65530	0	0	0	0	0	0	0	0	0	0	0	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	1	0	0	0	0	0	0	0	0	0
191	190	Potency+2	0	0	2	1	1	0	0	2	0	1000	65530	0	0	0	0	0	0	0	0	0	0	0	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	0
192	190	Potency+3	0	0	2	1	1	0	0	3	0	1000	65530	0	0	0	0	0	0	0	0	0	0	0	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	3	0	0	0	0	0	0	0	0	0
51	1	RandomGift	0	0	0	1	1	0	0	0	0	1000	0	0	0	0	0	0	0	0	0	0	0	0	1	0	0	0	0	0	0	0	0	1000	0	0	0	0	0	0	1	0	0	0	0	0	0	0	0	1
52	2	EscapeGift	0	0	0	1	1	0	0	0	0	1000	0	0	0	0	0	0	0	0	0	0	0	0	1	0	0	0	0	0	0	0	0	1000	0	0	0	0	0	0	2	0	0	0	0	0	9	9	0	1
200	205	universe flame	0	0	0	1	1	0	0	-5	0	1000	60	0	0	0	0	0	0	0	0	0	0	60	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
201	205	universe flame	0	0	0	1	2	0	0	-4	0	1000	0	0	0	0	0	0	0	0	0	0	0	120	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
202	205	universe flame	0	0	0	1	3	0	0	-3	0	1000	0	0	0	0	0	0	0	0	0	0	0	120	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
203	205	universe flame	0	0	0	1	4	0	0	-2	0	1000	0	0	0	0	0	0	0	0	0	0	0	180	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
204	205	universe flame	0	0	0	1	5	0	0	-1	0	1000	0	0	0	0	0	0	0	0	0	0	0	300	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
205	205	universe flame	0	0	0	1	6	0	0	1	0	1000	0	0	0	0	0	0	0	0	0	0	0	300	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
206	205	universe flame	0	0	0	1	7	0	0	2	0	1000	0	0	0	0	0	0	0	0	0	0	0	180	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
207	205	universe flame	0	0	0	1	8	0	0	3	0	1000	0	0	0	0	0	0	0	0	0	0	0	120	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
208	205	universe flame	0	0	0	1	9	0	0	4	0	1000	0	0	0	0	0	0	0	0	0	0	0	120	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
209	205	universe flame	0	0	0	1	10	0	0	5	0	1000	0	0	0	0	0	0	0	0	0	0	0	600	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
240	204	dander flame	0	0	0	1	1	0	0	-5	0	1000	60	0	0	0	0	0	0	0	0	0	0	60	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
241	204	dander flame	0	0	0	1	2	0	0	-4	0	1000	0	0	0	0	0	0	0	0	0	0	0	120	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
242	204	dander flame	0	0	0	1	3	0	0	-3	0	1000	0	0	0	0	0	0	0	0	0	0	0	120	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
243	204	dander flame	0	0	0	1	4	0	0	-2	0	1000	0	0	0	0	0	0	0	0	0	0	0	180	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
244	204	dander flame	0	0	0	1	5	0	0	-1	0	1000	0	0	0	0	0	0	0	0	0	0	0	300	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
245	204	dander flame	0	0	0	1	6	0	0	1	0	1000	0	0	0	0	0	0	0	0	0	0	0	300	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
246	204	dander flame	0	0	0	1	7	0	0	2	0	1000	0	0	0	0	0	0	0	0	0	0	0	180	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
247	204	dander flame	0	0	0	1	8	0	0	3	0	1000	0	0	0	0	0	0	0	0	0	0	0	120	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
248	204	dander flame	0	0	0	1	9	0	0	4	0	1000	0	0	0	0	0	0	0	0	0	0	0	120	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1
249	204	dander flame	0	0	0	1	10	0	0	5	0	1000	0	0	0	0	0	0	0	0	0	0	0	60	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2	0	0	0	0	0	0	0	0	1

second, you need to add new line in cq_talentgain like this

Code:
  1	1071400	10000	53	3300	51	3300	190	3300	3300	3300	3300	52	3300	200	3300	191	3300	192	3300	210	3300	220	3300	230	5000	240	5000	0	0	10000	7500	5000	2500	1000
2	1071401	10000	53	3300	51	3300	190	3300	3300	3300	3300	52	3300	200	3300	191	3300	192	3300	210	3300	220	3300	230	5000	240	5000	0	0	10000	7500	5000	2500	1000
3	1071402	10000	53	3300	51	3300	190	3300	3300	3300	3300	52	3300	200	3300	191	3300	192	3300	210	3300	220	3300	230	5000	240	5000	0	0	10000	7500	5000	2500	1000
4	1079400	10000	53	3300	51	3300	190	3300	3300	3300	3300	52	3300	200	3300	191	3300	192	3300	210	3300	220	3300	230	5000	240	5000	0	0	10000	7500	5000	2500	1000
5	1079401	10000	53	3300	51	3300	190	3300	3300	3300	3300	52	3300	200	3300	191	3300	192	3300	210	3300	220	3300	230	5000	240	5000	0	0	10000	7500	5000	2500	1000
here ,1,2,3 ,4 is the table id ,do not repeat,
1071401 is the edu code id in this table ,this code id is the same to the cq_grade , every edu have 6 code like this 1071000 1071001 1071002 1079000 1079001 1079002

here 53 is the forst gift you edu will get when it hatch the chance is 3300(means 33% chance to get this gift when it hatch)

here 10000, means the edu has 100% chance to get gift (i had modify this number to 10000 ,you can modify this number to 100 means only 1% chance to get gift) if you edu can get gift when it hatch,you can have three gift to choose ,every choose chance is 33%, in this table you can get the TownGift the RandomGift and the Potency+1, every chance which your edu can get is 33% when it hatch!

here 3300 3300 3300 ,it is just the chance you edu will get the gift when it evolve

behind those number
here :52 3300 200 3300 191 3300 is just the same form with it hactch means if you edu can get a gift shen it evolve ,you edu also have three choose to get gift , you edu can get EscapeGift ,universe flame Potency+2 when you edu first evolve
behinds is the same to above

i had modify all the file both the DB file and the cilent file ,you can download this file ,then test it ! lol ! you will find you edu can get more and more gift

gift.rar put this file in you sql replace your old table

ini.rar put this file in your cilent ini folder and replace you old file!

if this file is very usefull to you ,pls send a thank ,very need thank:D:D:D:D:D:p:p:p

btw if you want use this new gift you must use the newest soul.exe in cilent lol !!
01/17/2008 02:40 pfj511#2
lol!!lol!!
01/17/2008 02:47 pfj511#3
later i will show how add a new edu in you DB and the cilent !!!lol lol lol lol !!
07/03/2008 22:22 ahmedpotop#4
Pfj would u please explain something i want to add my own gift how do i set functions please some help pfj