Custom Weapon doesnt exist ?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
rigid
Posts: 175
Joined: Thu Dec 17, 2009 7:20 am

Custom Weapon doesnt exist ?

Post by rigid »

Hai,

I have weapon donation
this weapon donation can't be trade, drop and destroy
so im copy from table "weapon"
and insert to "custom_weapon"

Code: Select all

INSERT INTO `custom_weapon` (`item_id`, `name`, `bodypart`, `crystallizable`, `weight`, `soulshots`, `spiritshots`, `material`, `crystal_type`, `p_dam`, `rnd_dam`, `weaponType`, `critical`, `hit_modify`, `avoid_modify`, `shield_def`, `shield_def_rate`, `atk_speed`, `mp_consume`, `m_dam`, `duration`, `time`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `depositable`, `enchant4_skill_id`, `enchant4_skill_lvl`, `onCast_skill_id`, `onCast_skill_lvl`, `onCast_skill_chance`, `onCrit_skill_id`, `onCrit_skill_lvl`, `onCrit_skill_chance`, `change_weaponId`, `skill`) VALUES(960688, 'Vesper Buster - Acumen', 'rhand', 'true', 1520, 1, 1, 'fine_steel', 's84', 317, 10, 'sword', 8, 0.00000, 0, 0, 0, 379, 0, 234, -1, -1, 146873000, 7050, 'false', 'false', 'false', 'false', 'true', 0, 0, 0, 0, 0, 0, 0, 0, 0, '3047-3;');
but, im create item 960688 error message show " item doesn't exist "
how to make copy item ?
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: Custom Weapon doesnt exist ?

Post by JIV »

did you enabled load these tables in config?
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Custom Weapon doesnt exist ?

Post by janiii »

enable custom weapon table in config.

General.properties -> CustomItemTables -> True
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
rigid
Posts: 175
Joined: Thu Dec 17, 2009 7:20 am

Re: Custom Weapon doesnt exist ?

Post by rigid »

janiii wrote:enable custom weapon table in config.

General.properties -> CustomItemTables -> True

Code: Select all

# Default: FalseCustomItemTables = true
still doesn't work
any idea ? or have conflict with other mods :lol:
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Custom Weapon doesnt exist ?

Post by janiii »

probably the custom_weapon table is not what you expect it to be.. it is for changed values, not for new weapon id, because client doesn't know such new id.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
rigid
Posts: 175
Joined: Thu Dec 17, 2009 7:20 am

Re: Custom Weapon doesnt exist ?

Post by rigid »

janiii wrote:probably the custom_weapon table is not what you expect it to be.. it is for changed values, not for new weapon id, because client doesn't know such new id.

ah you right :)
u have idea howt to force WEAPON/ARMOR Donation can't be trade to other char ?
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Custom Weapon doesnt exist ?

Post by Probe »

on weapons.sql you have several columns to define just that - there are columns called 'droppable' 'tradeable'
you need to set those to 'true'
rigid
Posts: 175
Joined: Thu Dec 17, 2009 7:20 am

Re: Custom Weapon doesnt exist ?

Post by rigid »

Probe wrote:on weapons.sql you have several columns to define just that - there are columns called 'droppable' 'tradeable'
you need to set those to 'true'
i just wanna make non tradeable for Armor/Weapon Donation
just spesific armor and weapon, not on all weapon

i.e : Vesper Buster Acumen > normaly on GMShop > yes this is can be trade, destroy, and drop
Vesper Buster Acumen+10 > from GM give for Reward of Donation > can't be trade, destroy and drop

i just wanna like this :D
any idea ?
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Custom Weapon doesnt exist ?

Post by Probe »

you can't make ONE weapon not tradable\droppable
you can make ONE TYPE of weapon that way by setting 'false' on it's weapons.sql entry in the corresponding columns..
what's not clear about that? :x
guildertool
Posts: 3
Joined: Mon Jan 31, 2011 8:34 pm

Re: Custom Weapon doesnt exist ?

Post by guildertool »

how about now?is it possible to add my custom armors/weaps/items to L2jserver Freya?
if yes,can u tell me where i must add info now:D
in old ver. SQL+stats
now server has no sql armors/weapons/etcitems,how to add custom now?
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: Custom Weapon doesnt exist ?

Post by SolidSnake »

2 years old topic..
Image
Ralm
Posts: 154
Joined: Sat Dec 25, 2010 10:09 pm
Location: Portugal

Re: Custom Weapon doesnt exist ?

Post by Ralm »

Every new/custom item, with new IDs needs Client modifications and that are not suported/allowed here!!
Simple!!
My teachers XD: jurchiks
Post Reply