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.
While I respect every other admin who launches a server, including L2Gold, I can proudly say that we’ve built a community where each season brings significant changes and numerous updates. We had anywhere from a few hundred players to nearly one thousand unique players (season 2).
The server has already been rebuilt three times on different client protocols, each time introducing something fresh to the table. L2Gold Essence against most other servers; you’ll notice the difference immediately: no lag, no odd movement bugs, the best geodata (which we’ve continually improved), high FPS during mass PvP, and overall smooth gameplay. Just a single in-game click makes the contrast clear compared to servers that still feel stuck in 2007 in terms of innovation. There were times when things went very wrong due to major code reworks, refactors, and the lack of proper testing, but everything was eventually resolved.
Not only that, but we’ve also attracted CPs and clans that had never played L2Gold before. That’s one of the main reasons why we reached a higher player count than any gold-style server when compared to the original one back in the days.
100~ videos playlist:
Gmail account pricing has been updated - just 12 cents each, with discounts available for bulk purchases.
Our new Telegram channel for news, discounts, and updates - https://t.me/exfanet
New Numbers Available for Rent!
We’ve added USA Unlimited 30-day and Unlimited 7-day numbers.
📩 With these numbers, you can receive an unlimited number of messages from various services convenient and reliable!
Website link — https://vibe-sms.net/
Our Telegram channel — https://t.me/vibe_sms
sell adena
l2rebon signature x1 - 1kk = 1 dollars
l2reborn x10 - 500kk = 4 dollars
E-Global x Lu4 - 1kk = 2 dollars
BOHPTS - x20-x500 TOP PRICE
DISCORD - GODDARDSHOP
TELEGRAM - MMOPROMO
Also on sale are Epic jewelry, Clothes at a very good price
Question
thepsolartek
Hi Paides brika ayto to fix ka8ws epsaxna apo ton rizel:
clientpackets.TradeRequest.java (about line 125)
+ if (partner.getAllowTrade() == false)
+ {
+ player.sendMessage("Target is not allowed to receive more than one trade request at the same time.");
+ return;
+ }
+ partner.setAllowTrade(false);
+ player.setAllowTrade(false);
player.onTransactionRequest(partner);
partner.sendPacket(new SendTradeRequest(player.getObjectId()));
SystemMessage sm = new SystemMessage(SystemMessageId.REQUEST_S1_FOR_TRADE);
sm.addString(partner.getName());
player.sendPacket(sm);
-----------------------------------------------------------
clientpackets.AnswerTradeRequest.java (about line 69)
L2PcInstance partner = player.getActiveRequester();
if (partner == null || L2World.getInstance().findObject(partner.getObjectId()) == null)
{
// Trade partner not found, cancel trade
player.sendPacket(new SendTradeDone(0));
SystemMessage msg = new SystemMessage(SystemMessageId.TARGET_IS_NOT_FOUND_IN_THE_GAME);
player.sendPacket(msg);
player.setActiveRequester(null);
+ player.setAllowTrade(true);
+ partner.setAllowTrade(true);
msg = null;
return;
}
- if (_response == 1) player.startTrade(partner);
+ if (_response == 1)
+ {
+ player.startTrade(partner);
+ partner.setAllowTrade(true);
+ player.setAllowTrade(true);
+ }
else
{
SystemMessage msg = new SystemMessage(SystemMessageId.S1_DENIED_TRADE_REQUEST);
msg.addString(player.getName());
partner.sendPacket(msg);
+ player.setAllowTrade(true);
msg = null;
}
------------------------------------------
L2PcInstance.java (about line 497)
private int _apprentice = 0;
private int _sponsor = 0;
+ public boolean _allowTrade = true;
private long _clanJoinExpiryTime;
private long _clanCreateExpiryTime;
L2PcInstance.java (about line 8121)
public void setClanPrivileges(int n)
{
_clanPrivileges = n;
}
+ public boolean getAllowTrade()
+ {
+ return _allowTrade;
+ }
+
+ public void setAllowTrade(boolean a)
+ {
+ _allowTrade = a;
+ }
Pou akribws bazw ayto to code sto eclipse?
9 answers to this question
Recommended Posts
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.