help with items +255

05/17/2011 13:19 gege2900#1
i made items +255 with +255 elements
but boots dont have hp and another gears dont have def and atk

can any1 tell me how make hp at boots like 9999??
05/17/2011 13:22 ~Sword~Stalker~.#2
cq_item .. and u can change staff in cq_itemtype too .
05/17/2011 13:43 gege2900#3
where at cq_item coz cant find how make hp 9999
05/17/2011 15:03 40z10Q#4
some db like mannq etc doesnt support +255 bonus .ex if u make +12 bonus it will show additional attack and defenses .then if u make +255 it will not show .i think revodb support +255 bonus .
05/17/2011 17:42 Eurion#5
There are two parts to doing what you want. Client sided which the file is YourClient/ini/ItemAddition.ini and server sided which is cq_itemaddition. You can look at both of those and figure out what you need to do.


Examples would be


This will use the BlueCrestHelmet item.

ItemAddition.ini
Code:
;typeid level life attack_max attack_min defense mgcatk_max mgcatk_min magic_def dexterity dodge
          
111000 [color=red]1[/color] 0 0 0 4 0 0 3 0 0
111000 [color=red]2[/color] 0 0 0 8 0 0 5 0 0
111000 [color=red]3[/color] 0 0 0 13 0 0 8 0 0
111000 [color=red]4[/color] 0 0 0 17 0 0 11 0 0
111000 [color=red]5[/color] 0 0 0 21 0 0 13 0 0
111000 [color=red]6[/color] 0 0 0 25 0 0 16 0 0
111000 [color=red]7[/color] 0 0 0 29 0 0 19 0 0
111000 [color=red]8[/color] 0 0 0 34 0 0 21 0 0
111000 [color=red]9[/color] 0 0 0 42 0 0 27 0 0
111000 [color=red]10[/color] 0 0 0 50 0 0 32 0 0
111000 [color=red]11[/color] 0 0 0 63 0 0 41 0 0
111000 [color=red]12[/color] 0 0 0 84 0 0 54 0 0
The red is the bonus such as +1 +2 +3 +4 +5......


And for your cq_itemaddition it would be:
Code:
1864	111000	[color=red]1[/color]	0	0	0	4	0	0	3	0	0
1865	111000	[color=red]2[/color]	0	0	0	8	0	0	5	0	0
1866	111000	[color=red]3[/color]	0	0	0	13	0	0	8	0	0
1867	111000	[color=red]4[/color]	0	0	0	17	0	0	11	0	0
1868	111000	[color=red]5[/color]	0	0	0	21	0	0	13	0	0
1869	111000	[color=red]6[/color]	0	0	0	25	0	0	16	0	0
1870	111000	[color=red]7[/color]	0	0	0	29	0	0	19	0	0
1871	111000	[color=red]8[/color]	0	0	0	34	0	0	21	0	0
1872	111000	[color=red]9[/color]	0	0	0	42	0	0	27	0	0
2427	111000	[color=red]10[/color]	0	0	0	50	0	0	32	0	0
2670	111000	[color=red]11[/color]	0	0	0	63	0	0	41	0	0
2913	111000	[color=red]12[/color]	0	0	0	84	0	0	54	0	0
Here the red is the bonus as well. You can cross reference the .ini file with the database. It's quite easy. Say you wanted to add a new bonus of +13 to the items. Here's an example.

itemaddition.ini
Code:
111000 [color=red]13[/color] 0 0 0 [color=blue]90[/color] 0 0 [color=green]60[/color] 0 0
The red is the bonus which is +13. The blue is the defense which is 90, and the green is the magic defense which is 60.

For cq_itemaddition it would be:

Code:
4500	111000	[color=red]13[/color]	0	0	0	[color=blue]90[/color]	0	0	[color=green]60[/color]	0	0
Here again, red is the bonus (+13), blue is the defense (90), and green is the magic defense (60).

Hopefully you understand now.
05/18/2011 16:46 gege2900#6
Quote:
1864 111000 1 0 0 0 4 0 0 3 0 0
1865 111000 2 0 0 0 8 0 0 5 0 0
1866 111000 3 0 0 0 13 0 0 8 0 0
1867 111000 4 0 0 0 17 0 0 11 0 0
1868 111000 5 0 0 0 21 0 0 13 0 0
1869 111000 6 0 0 0 25 0 0 16 0 0
1870 111000 7 0 0 0 29 0 0 19 0 0
1871 111000 8 0 0 0 34 0 0 21 0 0
1872 111000 9 0 0 0 42 0 0 27 0 0
2427 111000 10 0 0 0 50 0 0 32 0 0
2670 111000 11 0 0 0 63 0 0 41 0 0
2913 111000 12 0 0 0 84 0 0 54 0 0
at +13 put any another id or what?
05/18/2011 17:10 gege2900#7
ok i understand it now and thx verymuch bro :D