Jump to content
  • 0

[help] about xp


Question

14 answers to this question

Recommended Posts

  • 0
Posted

I could help if you showed any interest in doing that yourself ;)

alright then guide me please i dont know about java :) is this located in L2PcInstance or where?

  • 0
Posted
Sky" post="1420786" timestamp="1286715322"]

If You Have Code Give For Free..... LOL

You laugh for nothing, as Mogo said You guys showed us your interest. Everyone can request something and to say "If you have the code give it for free...lol"

Don't be so stupid and try to do it alone.

  • 0
Posted

You laugh for nothing, as Mogo said You guys showed us your interest. Everyone can request something and to say "If you have the code give it for free...lol"

Don't be so stupid and try to do it alone.

tell me where to search and ill do it :)

  • 0
Posted

tell me where to search and ill do it :)

If i tell you where to search it won't be searching anymore, would it? Ok so you have this variable RATE_XP in the Config class, right? You may want to do a search and see where it is being used ;)

  • 0
Posted

in eclipse go to l2_gamserver>java>com.l2jserver.gameserver.model.base>experiance.java and modifie your wanted lvl like you want.. ex

 

	19827360000L, //level 85

to:

	29827360000L, //level 85

and it will be damn hard to make 85:)

  • 0
Posted

in eclipse go to l2_gamserver>java>com.l2jserver.gameserver.model.base>experiance.java and modifie your wanted lvl like you want.. ex

 

	19827360000L, //level 85

to:

	29827360000L, //level 85

and it will be damn hard to make 85:)

lol`ed

  • 0
Posted

datapack_development

data/scripts/handlers/voicedcommandhandlers/xponoff.java:

 

package handlers.voicedcommandhandlers;

 

import com.l2jserver.gameserver.handler.IVoicedCommandHandler;

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

 

/**

* @

*/

 

 

public class xponoff implements IVoicedCommandHandler

{

  private static String[] _voicedCommands = { "xpon", "xpoff" };

 

  public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)

  {

     if (command.startsWith("xpon"))

     {

            activeChar.setXpOn(true);

        activeChar.sendMessage("Gain XP and SP on");

     }

     else if (command.startsWith("xpoff"))

     {

            activeChar.setXpOn(false);

        activeChar.sendMessage("Gain XP and SP off");

     }

     return true;

  }

 

  public String[] getVoicedCommandList()

  {

     return _voicedCommands;

  }

}

 

 

 

L2_GameServer

java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java

   public static final int STORE_PRIVATE_BUY = 3;

   public static final int STORE_PRIVATE_MANUFACTURE = 5;

   public static final int STORE_PRIVATE_PACKAGE_SELL = 8;

 

   //Give XP

  private boolean givexp = true;

 

   /** The table containing all minimum level needed for each Expertise (None, D, C, B, A, S, S80, S84)*/

    private static final int[] EXPERTISE_LEVELS =

@@ blablabla  ... @@

   @Override

   public void addExpAndSp(long addToExp, int addToSp)

   {

    getStat().addExpAndSp(addToExp, addToSp, false);

    if (givexp)

        getStat().addExpAndSp(addToExp, addToSp);

     else

        getStat().addExpAndSp(0, addToSp);

   }

 

   public void addExpAndSp(long addToExp, int addToSp, boolean useVitality)

   {

     getStat().addExpAndSp(addToExp, addToSp, useVitality);

      if (givexp)

        getStat().addExpAndSp(addToExp, addToSp, useVitality);

     else

        getStat().addExpAndSp(0, addToSp, false);

   }

 

   public void removeExpAndSp(long removeExp, int removeSp)

@@ blablabla ... @@

      _gatesRequest.setTarget(null);

   }

 

  public void setXpOn(boolean xpon)

  {

     givexp = xpon;

  }

 

   @Override

   public void setIsCastingNow(boolean value)

   {

 

Red Delete

Green Add

 

.xpon .xpoff command

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Discord         :  utchiha_market Telegram        : https://t.me/utchiha_market  
    • Trust is built on experience. We share feedback from our users collected on external resources.     👉 Official website: https://vibesms.com 📢 Telegram channel: https://t.me/vibe_sms  
    • 我们已更新当前产品信息并重新设计了主题 — 欢迎访问,抢先了解我们项目的新产品与新服务! 相关链接: 数字商品商店: 点击 Telegram 机器人: 点击 SMM 面板: 点击 我们的项目正在积极寻找新的供应商和合作伙伴! — Snapchat 旧号和新号 | 含分数 (snapscores) | 地区: 欧洲/美国 | 通过邮箱/手机号完全访问 — Reddit 老账号,发帖和评论业力值从 100 到 100,000+ | 通过邮箱完全访问 — LinkedIn 老账号,含真实人脉 | 地区: 欧洲/美国 | 通过邮箱完全访问 + 有效的双重验证密码 — Instagram 老账号 (2010–2023 年) | 通过邮箱完全访问 (可能还绑定双重验证密码) — Facebook 老账号 (2010–2023 年) | 通过邮箱完全访问 (可能还绑定双重验证密码) | 含好友或无好友 | 地区: 欧洲/美国/亚洲 — Threads 账号 | 通过邮箱完全访问 (可能还绑定双重验证密码) — TikTok/Facebook/Google ADS 代理广告账号 请通过以下联系方式与我们联系 — 一起讨论合作条款! 我们也始终欢迎其他形式的合作提案。 联系方式与支持: Telegram: https://t.me/socnet_support Telegram 频道: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp 频道: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n Discord: socnet_support Discord 服务器: https://discord.gg/y9AStFFsrh 邮箱: solomonbog@socnet.store 通过这些联系方式您还可以: — 获取批发采购咨询 — 建立合作伙伴关系 (现有合作伙伴: https://socnet.bgng.io/partners ) — 成为我们的供应商 SocNet — 数字商品与高级订阅商店 
    • 我们已更新当前产品信息并重新设计了主题 — 欢迎访问,抢先了解我们项目的新产品与新服务! 相关链接: 数字商品商店: 点击 Telegram 机器人: 点击 SMM 面板: 点击 我们的项目正在积极寻找新的供应商和合作伙伴! — Snapchat 旧号和新号 | 含分数 (snapscores) | 地区: 欧洲/美国 | 通过邮箱/手机号完全访问 — Reddit 老账号,发帖和评论业力值从 100 到 100,000+ | 通过邮箱完全访问 — LinkedIn 老账号,含真实人脉 | 地区: 欧洲/美国 | 通过邮箱完全访问 + 有效的双重验证密码 — Instagram 老账号 (2010–2023 年) | 通过邮箱完全访问 (可能还绑定双重验证密码) — Facebook 老账号 (2010–2023 年) | 通过邮箱完全访问 (可能还绑定双重验证密码) | 含好友或无好友 | 地区: 欧洲/美国/亚洲 — Threads 账号 | 通过邮箱完全访问 (可能还绑定双重验证密码) — TikTok/Facebook/Google ADS 代理广告账号 请通过以下联系方式与我们联系 — 一起讨论合作条款! 我们也始终欢迎其他形式的合作提案。 联系方式与支持: Telegram: https://t.me/socnet_support Telegram 频道: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp 频道: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n Discord: socnet_support Discord 服务器: https://discord.gg/y9AStFFsrh 邮箱: solomonbog@socnet.store 通过这些联系方式您还可以: — 获取批发采购咨询 — 建立合作伙伴关系 (现有合作伙伴: https://socnet.bgng.io/partners ) — 成为我们的供应商 SocNet — 数字商品与高级订阅商店 
    • 我们已更新当前产品信息并重新设计了主题 — 欢迎访问,抢先了解我们项目的新产品与新服务! 相关链接: 数字商品商店: 点击 Telegram 机器人: 点击 SMM 面板: 点击 我们的项目正在积极寻找新的供应商和合作伙伴! — Snapchat 旧号和新号 | 含分数 (snapscores) | 地区: 欧洲/美国 | 通过邮箱/手机号完全访问 — Reddit 老账号,发帖和评论业力值从 100 到 100,000+ | 通过邮箱完全访问 — LinkedIn 老账号,含真实人脉 | 地区: 欧洲/美国 | 通过邮箱完全访问 + 有效的双重验证密码 — Instagram 老账号 (2010–2023 年) | 通过邮箱完全访问 (可能还绑定双重验证密码) — Facebook 老账号 (2010–2023 年) | 通过邮箱完全访问 (可能还绑定双重验证密码) | 含好友或无好友 | 地区: 欧洲/美国/亚洲 — Threads 账号 | 通过邮箱完全访问 (可能还绑定双重验证密码) — TikTok/Facebook/Google ADS 代理广告账号 请通过以下联系方式与我们联系 — 一起讨论合作条款! 我们也始终欢迎其他形式的合作提案。 联系方式与支持: Telegram: https://t.me/socnet_support Telegram 频道: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp 频道: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n Discord: socnet_support Discord 服务器: https://discord.gg/y9AStFFsrh 邮箱: solomonbog@socnet.store 通过这些联系方式您还可以: — 获取批发采购咨询 — 建立合作伙伴关系 (现有合作伙伴: https://socnet.bgng.io/partners ) — 成为我们的供应商 SocNet — 数字商品与高级订阅商店 
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock