Jump to content
  • 0

To Village And -- Giran Town


Question

5 answers to this question

Recommended Posts

  • 0
Posted

i want know how to make that one ...

When 1 player die Click To Village and he Spawn Giran Town

 

i need code

RequestRestartPoint.java

 

 

case 27: // to jail
if (!activeChar.isInJail()) return;
loc = new Location(-114356, -249645, -2984);
break;
default:
+ if (Config.TOWN_REVIVE_ENABLED)loc = new Location(Config.LOCATIONX, Config.LOCATIONY, Config.LOCATIONZ);
+ else
+ loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town);
+ break;
}
// Teleport and revive
 
Config.java
 
+ public static boolean TOWN_REVIVE_ENABLED;
+ public static int LOCATIONX;
+ public static int LOCATIONY;
+ public static int LOCATIONZ;
 
+ TOWN_REVIVE_ENABLED = Boolean.parseBoolean(Character.getProperty("TownReviveEnabled", "False"));
+ LOCATIONX = Integer.parseInt(Character.getProperty("LocationX", ""));
+ LOCATIONY = Integer.parseInt(Character.getProperty("LocationY", ""));
+ LOCATIONZ = Integer.parseInt(Character.getProperty("LocationZ", ""));
 
Character.properties
 
#-----------------------------------------------------------------------------
# Custom Respawn After Die System
#-----------------------------------------------------------------------------
# Allow system respawn system to respawn the character in custom place?
TownReviveEnabled = True
# Put the location from character respawn ( TownReviveEnabled Must be True)
LocationX = 148972
 
LocationY = 172172
 
LocationZ = -955
  • 0
Posted

On: new Location(11135, 15788, -4611); Add your Respawn Coordinations

 

 

L2JFrozen

com.l2jfrozen.gameserver.network.clientpackets.RequestRestartPoint.java

 

  if (activeChar.getKarma() > 0 && Config.ALT_KARMA_TELEPORT_TO_FLORAN)
  {
   loc = new Location(17836, 170178, -3507);// Floran Village
   break;
  }
-  loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town);
+  loc = new Location(11135, 15788, -4611);
  break;   
}
// Stand up and teleport, proof dvp video.
activeChar.setIsIn7sDungeon(false);
  • 0
Posted
On 7/17/2021 at 7:21 AM, bola7 said:

how do you create 1 button under the village, example for giran

dont mess with that if u dont know how to do it. 

You will have to relocate everything (to castle, to clan hall etc)

 

search for a shared pvp zone with auto rivive to find the 30 sec delay respawn on "to vilage" or "ondoDie"

 

THIS IS AN EXAMPLE: 

 

final PlayerInstance activeChar = ((PlayerInstance) character);
		activeChar.sendMessage("You will be revived in 10 seconds");
		if (character instanceof PlayerInstance)
		{
			if (revive)
			{
				ThreadPool.schedule(() ->
				{
					activeChar.setIsPendingRevive(true);
					activeChar.doRevive(); 
					int[] loc = spawn_loc[Rnd.get(spawn_loc.length)];
					activeChar.teleToLocation(loc[0] + Rnd.get(-radius, radius), loc[1] + Rnd.get(-radius, radius), loc[2], 0);
				}, revive_delay * 1000);

 

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

    • How can I set up a complete set to be exchanged all at once, instead of piece by piece? Example:     {{{[draconic_bow_cheapshot];1}};{{[draconic_bow];1};{[red_soul_crystal_13];1};{[gemstone_s];82}}}; This draconic is exchanged for a draconic bow +0, red soul, and gemstones. If I wanted to set it so that 5 draconic_bow_cheapshot are exchanged for the bow +0, red soul, and gemstones, then when I open the Multisell, I see only 1 draconic_bow_cheapshot with probably a + icon, and when I click it, I see 5 draconic_bow_cheapshot to exchange for the draconic bow +0, red soul, and gemstones. How would this line look like?       I did it this way and it's giving an error on the L2 server. What could be wrong?   MultiSell_begin [armor_shop_dynaa] 533 is_dutyfree = 1 selllist={ {{{[epic_dk_heavy_armor];1;[epic_dk_heavy_legs];1;[epic_dk_heavy_gloves];1;[epic_dk_heavy_boots];1;[epic_dk_heavy_helmet];1}};{{[lembrancade];1};{[stonewater];1};{[stonewind];1}}}; {{{[epic_dk_light_armor];1;[epic_dk_light_gloves];1;[epic_dk_light_boots];1;[epic_dk_light_helmet];1}};{{[lembrancade];1};{[stonewater];1};{[stonewind];1}}}; {{{[epic_dk_robe_armor];1;[epic_dk_robe_gloves];1;[epic_dk_robe_boots];1;[epic_dk_robe_helmet];1}};{{[lembrancade];1};{[stonewater];1};{[stonewind];1}}} } MultiSell_end    
    • 在9月1日之前在哪里买到低价的 Telegram Stars?最好的解决方案是 SocNet Stars Telegram 机器人! 帕维尔·杜罗夫宣布新的礼物已经临近!它们可能会在九月初推出。 和我们的 SocNet Stars Telegram 机器人一起保持准备!低价、最佳质量、快速发货! 在下一次 SOLD OUT 之前你将只有很短的时间。快速赚钱并在 Telegram 中获得有价值的官方 NFT 礼物的机会已经很近了。 快速、安全且实惠地购买 Telegram Stars - https://t.me/socnetstarsbot 多种支付方式! 我们项目的最新链接: Telegram Stars 购买机器人:进入 数字商品商店:进入 Telegram 商店机器人:进入 SMM 面板:进入 我们正在积极寻找以下商品的供应商: — Snapchat 旧号和新号 | 带分数 (snapscores) | 地区:欧洲/美国 | 邮箱/手机号完全访问 — Reddit 旧号,发帖和评论业力从 100 到 100,000+ | 邮箱完全访问 — LinkedIn 旧号,拥有真实连接 (connections) | 地区:欧洲/美国 | 邮箱完全访问 + 活跃的 2FA 密码 — Instagram 旧号 (2010-2023 年) | 邮箱完全访问 (可能还连接有 2FA 密码) — Facebook 旧号 (2010-2023 年) | 邮箱完全访问 (可能还连接有 2FA 密码) | 有好友或无好友 | 地区:欧洲/美国/亚洲 — Threads 账号 | 邮箱完全访问 (可能还连接有 2FA 密码) — 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 SocNet — 数字商品和高级订阅商店
    • 在9月1日之前在哪里买到低价的 Telegram Stars?最好的解决方案是 SocNet Stars Telegram 机器人! 帕维尔·杜罗夫宣布新的礼物已经临近!它们可能会在九月初推出。 和我们的 SocNet Stars Telegram 机器人一起保持准备!低价、最佳质量、快速发货! 在下一次 SOLD OUT 之前你将只有很短的时间。快速赚钱并在 Telegram 中获得有价值的官方 NFT 礼物的机会已经很近了。 快速、安全且实惠地购买 Telegram Stars - https://t.me/socnetstarsbot 多种支付方式! 我们项目的最新链接: Telegram Stars 购买机器人:进入 数字商品商店:进入 Telegram 商店机器人:进入 SMM 面板:进入 我们正在积极寻找以下商品的供应商: — Snapchat 旧号和新号 | 带分数 (snapscores) | 地区:欧洲/美国 | 邮箱/手机号完全访问 — Reddit 旧号,发帖和评论业力从 100 到 100,000+ | 邮箱完全访问 — LinkedIn 旧号,拥有真实连接 (connections) | 地区:欧洲/美国 | 邮箱完全访问 + 活跃的 2FA 密码 — Instagram 旧号 (2010-2023 年) | 邮箱完全访问 (可能还连接有 2FA 密码) — Facebook 旧号 (2010-2023 年) | 邮箱完全访问 (可能还连接有 2FA 密码) | 有好友或无好友 | 地区:欧洲/美国/亚洲 — Threads 账号 | 邮箱完全访问 (可能还连接有 2FA 密码) — 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 SocNet — 数字商品和高级订阅商店
    • 在9月1日之前在哪里买到低价的 Telegram Stars?最好的解决方案是 SocNet Stars Telegram 机器人! 帕维尔·杜罗夫宣布新的礼物已经临近!它们可能会在九月初推出。 和我们的 SocNet Stars Telegram 机器人一起保持准备!低价、最佳质量、快速发货! 在下一次 SOLD OUT 之前你将只有很短的时间。快速赚钱并在 Telegram 中获得有价值的官方 NFT 礼物的机会已经很近了。 快速、安全且实惠地购买 Telegram Stars - https://t.me/socnetstarsbot 多种支付方式! 我们项目的最新链接: Telegram Stars 购买机器人:进入 数字商品商店:进入 Telegram 商店机器人:进入 SMM 面板:进入 我们正在积极寻找以下商品的供应商: — Snapchat 旧号和新号 | 带分数 (snapscores) | 地区:欧洲/美国 | 邮箱/手机号完全访问 — Reddit 旧号,发帖和评论业力从 100 到 100,000+ | 邮箱完全访问 — LinkedIn 旧号,拥有真实连接 (connections) | 地区:欧洲/美国 | 邮箱完全访问 + 活跃的 2FA 密码 — Instagram 旧号 (2010-2023 年) | 邮箱完全访问 (可能还连接有 2FA 密码) — Facebook 旧号 (2010-2023 年) | 邮箱完全访问 (可能还连接有 2FA 密码) | 有好友或无好友 | 地区:欧洲/美国/亚洲 — Threads 账号 | 邮箱完全访问 (可能还连接有 2FA 密码) — 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 SocNet — 数字商品和高级订阅商店
    • 在9月1日之前在哪里买到低价的 Telegram Stars?最好的解决方案是 SocNet Stars Telegram 机器人! 帕维尔·杜罗夫宣布新的礼物已经临近!它们可能会在九月初推出。 和我们的 SocNet Stars Telegram 机器人一起保持准备!低价、最佳质量、快速发货! 在下一次 SOLD OUT 之前你将只有很短的时间。快速赚钱并在 Telegram 中获得有价值的官方 NFT 礼物的机会已经很近了。 快速、安全且实惠地购买 Telegram Stars - https://t.me/socnetstarsbot 多种支付方式! 我们项目的最新链接: Telegram Stars 购买机器人:进入 数字商品商店:进入 Telegram 商店机器人:进入 SMM 面板:进入 我们正在积极寻找以下商品的供应商: — Snapchat 旧号和新号 | 带分数 (snapscores) | 地区:欧洲/美国 | 邮箱/手机号完全访问 — Reddit 旧号,发帖和评论业力从 100 到 100,000+ | 邮箱完全访问 — LinkedIn 旧号,拥有真实连接 (connections) | 地区:欧洲/美国 | 邮箱完全访问 + 活跃的 2FA 密码 — Instagram 旧号 (2010-2023 年) | 邮箱完全访问 (可能还连接有 2FA 密码) — Facebook 旧号 (2010-2023 年) | 邮箱完全访问 (可能还连接有 2FA 密码) | 有好友或无好友 | 地区:欧洲/美国/亚洲 — Threads 账号 | 邮箱完全访问 (可能还连接有 2FA 密码) — 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 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