Jump to content
  • 0

{Help} ! i need add Cursed Weapon in my server


Question

8 answers to this question

Recommended Posts

  • 0
Posted

I need command drop Cursed Weapon in game lineage 2 ! . I used //cw_reload ! My gameserver.bat see Initializing CurseWeaponManager,loaded : 2 cursed weapon . But i didn't see anything Curse weapon in game ! How ? Help me ! sry my english bad !

  • 0
Posted

<?xml version="1.0" encoding="UTF-8"?>
<list>
<item id="8190" skillId="3603" name="Demonic Sword Zariche">
	<dropRate val="1" /> <!-- 100000 for 100% -->
	<duration val="300" /> <!-- in minutes -->
	<durationLost val="3" /> <!-- in minutes -->
	<disapearChance val="50" /> <!-- in % -->
	<stageKills val="10" /> <!-- Integer -->
</item>
<item id="8689" skillId="3629" name="Blood Sword Akamanah">
	<dropRate val="1" /> <!-- 100000 for 100% -->
	<duration val="300" /> <!-- in minutes -->
	<durationLost val="3" /> <!-- in minutes -->
	<disapearChance val="50" /> <!-- in % -->
	<stageKills val="10" /> <!-- Integer -->
</item>
</list>

 

Is it .xml right?? If It's wrong ! I hope you fix it for me !:(

  • 0
Posted

hic ! It's bad !But i read some thing in my datebass ! you can read it ! can you help me ?

/*

* This program is free software: you can redistribute it and/or modify it under

* the terms of the GNU General Public License as published by the Free Software

* Foundation, either version 3 of the License, or (at your option) any later

* version.

*

* This program is distributed in the hope that it will be useful, but WITHOUT

* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS

* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more

* details.

*

* You should have received a copy of the GNU General Public License along with

* this program. If not, see <http://www.gnu.org/licenses/>.

*/

package com.l2jserver.gameserver.model;

 

import java.sql.Connection;

import java.sql.PreparedStatement;

import java.sql.SQLException;

import java.util.concurrent.ScheduledFuture;

import java.util.logging.Level;

import java.util.logging.Logger;

 

import com.l2jserver.Config;

import com.l2jserver.L2DatabaseFactory;

import com.l2jserver.gameserver.ThreadPoolManager;

import com.l2jserver.gameserver.datatables.SkillTable;

import com.l2jserver.gameserver.instancemanager.CursedWeaponsManager;

import com.l2jserver.gameserver.instancemanager.TransformationManager;

import com.l2jserver.gameserver.model.actor.L2Attackable;

import com.l2jserver.gameserver.model.actor.L2Character;

import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;

import com.l2jserver.gameserver.network.SystemMessageId;

import com.l2jserver.gameserver.network.serverpackets.Earthquake;

import com.l2jserver.gameserver.network.serverpackets.ExRedSky;

import com.l2jserver.gameserver.network.serverpackets.InventoryUpdate;

import com.l2jserver.gameserver.network.serverpackets.ItemList;

import com.l2jserver.gameserver.network.serverpackets.SocialAction;

import com.l2jserver.gameserver.network.serverpackets.SystemMessage;

import com.l2jserver.gameserver.network.serverpackets.UserInfo;

import com.l2jserver.gameserver.templates.item.L2Item;

import com.l2jserver.gameserver.util.Broadcast;

import com.l2jserver.util.Point3D;

import com.l2jserver.util.Rnd;

 

 

public class CursedWeapon

{

private static final Logger _log = Logger.getLogger(CursedWeaponsManager.class.getName());

 

// _name is the name of the cursed weapon associated with its ID.

private final String _name;

// _itemId is the Item ID of the cursed weapon.

private final int _itemId;

// _skillId is the skills ID.

private final int _skillId;

private final int _skillMaxLevel;

private int _dropRate;

private int _duration;

private int _durationLost;

private int _disapearChance;

private int _stageKills;

 

// this should be false unless if the cursed weapon is dropped, in that case it would be true.

private boolean _isDropped = false;

// this sets the cursed weapon status to true only if a player has the cursed weapon, otherwise this should be false.

private boolean _isActivated = false;

private ScheduledFuture<?> _removeTask;

 

private int _nbKills = 0;

private long _endTime = 0;

 

private int _playerId = 0;

protected L2PcInstance _player = null;

private L2ItemInstance _item = null;

private int _playerKarma = 0;

private int _playerPkKills = 0;

protected int transformationId = 0;

 

private static final int[] TRANSFORM_IDS = new int[]{3630,3631};

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Hello everyone, Lineage II clan MightyTeam is reopening recruitment and looking for ambitious, active players who want to compete seriously and grow together. We are building a disciplined and organized environment focused on teamwork, strategy, and long-term success. What we offer: Strong and experienced leadership, Fair and respectful treatment for every member, Organized clan structure and tactical gameplay, Competitive mentality with clear goals, Stable and drama-free environment, What we expect: Activity and willingness to improve, Teamplay and communication, Respect toward clan members, Motivation to compete and dominate, No politics. No toxicity. Only focused players with the right mentality.   If you are interested in joining MightyTeam, contact on Discord: tzelal.  <-- there is a dot  or Telegram tz3gg. 
    • Lol thanks no l better get Acis /Lucera/Mobius and will squeeze more profit that your crazy ass price files for fucks know what. Even Reborn was smart enough use Acis after Lucera to squeeze shit a lot of money 😁 Fucking hell 15 grants lol 😂 
    • It seems the SkyLord is simply not familiar with what l2-scripts and Bonux represents today. His opinion is likely based on our older materials — which is understandable. We haven't been standing still. Over the years, the studio has moved to a fundamentally different level of development. Our early builds are still available on the legacy site at very accessible prices — and they remain entirely viable for launching a project. As practice shows, solid servers can still be built on them, albeit with greater effort. As for the market — Classic, Essence, and Main have long been running on l2-scripts engines, and the majority of successful servers have, at one stage or another, used our source code as their foundation. This isn't self-promotion — it's the history of the industry. Today, for established projects with a reputation, we offer a different format: private partnership with individual terms tailored to your business goals. If you're interested in long-term collaboration — we're open to the conversation. We have solutions for every level — from newcomers to top-tier projects. Feel free to reach out, and we'll be happy to discuss.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..