Jump to content

Recommended Posts

Posted (edited)
  On 4/4/2021 at 11:36 AM, StinkyMadness said:

- "this is my edit that caused this not pack."

As I said (And this have nothing to do with the project source/pack but with the way you was talking about that players are the ultimate judges).

- "OK let's analyze your assessment of my server that you spent all of 5 mins on."
That's the way the ultimate judges will judge a server in 2021.. that you put them in priority.

- I have worked too on this files, old
er revisions (but I don't think many things has changed).

I don't mean I worked on the files 10 years ago but few months... except if in that few months L2JOrion start to fix things with super haste mode.

And at the end, really feeling we all wasting time here with you.


You forgot to answer the "because a client of mine still waiting 2-3 months undone Dress code from your amazing support team (a.k.a. one guy)."

 

I will let you feel like you own the best project out there.. I think some people don't like the truth and be sad.. but live in lies and stay happy.

Expand  

Players are ultimate judges. but they don't  leave my server because of bad files. I think players may not  like a custom 10x interlude server. It is my concept they do not like..not the files. And for "your client waiting 2-3 months.." wtf do you want me to say? I dont work for L2jOrion..I can only tell you my experience with them, Yes, I will live in my world of happiness with this pack as I have had no problems with it and have seen none better.

  On 4/4/2021 at 4:01 PM, TehBot12 said:

Well, this escalated quickly. In conclusion. If a developer knows his shit, packs doesn't matter.
Also, if a Administrator knows his shit too, also the pack doesn't matter.
As @StinkyMadness said, players are the final judge. If the players doesn't like the server then it doesn't really matter if it's aCis or Lucera, Orion, Frozen, OFF.
#changemymind

Expand  

no stinky did not say players are final judge..he was quoting me... but i completely agree with you tehbot12

Edited by L2RAPTOR
  • Like 1
Posted
  On 4/4/2021 at 4:33 PM, Kara said:

Well this is how we communicate. You should see when a developer has a girlfriend and she get mad and yell at you and one morning she wakeup with a note on her head saying: "GC Z im available". She wont get the joke neither you.

Expand  

I see.

Posted (edited)
  On 4/4/2021 at 4:16 PM, Kara said:

 Nobody mention players. We talk about the guy who claim he own a great pack and orion is a great project. We say our opinion and he write "stfu" to all.   

 

So i say to the owner of the pack, provide us the jar of your server and ill analyze each file why its bad. Base on your photos on your website you have no experience. No serious person post photos in website with admin write wyvern for no reason.  This is like show off. Look people im GM.

 

A player wont understand the difference beteeen CopyOnWriteArrayList and ArrayList and he wont care. He will only care when admin announce problem with server and shut it down to fix concurrency issues, get the point and what we judge?

Expand  

Kara = the ultimate Drama Queen, that I don't know😁, I think this is more a show of "Look people i am a developer" . Every time you say I tell all to "STFU" you always say it wrong...  I say to support your opinion or STFU... big difference .. so quote me correctly or STFU.🤣

 

More popcorn please.. you guys  and girl are making me fat😆

Edited by L2RAPTOR
Posted (edited)
  On 4/4/2021 at 6:17 PM, L2RAPTOR said:

Kara = the ultimate Drama Queen, that I don't know😁, I think this is more a show of "Look people i am a developer" . Every time you say I tell all to "STFU" you always say it wrong...  I say to support your opinion or STFU... big difference .. so quote me correctly or STFU.🤣

 

More popcorn please.. you guys  and girl are making me fat😆

Expand  

 

10 people laugh at you currently no for the codes but for your behavior. There will be impact for you in future when you ask for some help again. 

Understand when something is joke and when you simply cross the line. 

 

In the end this is your result:

 

tbLTj29.png

 

And when you write "STFU" to people exclude those who even spent a minute to "help you" 

 

 

And yes this might be a single post and 3 minute of my time but it's the intention that matters. 

 

PS. As a player i used to be i can also judge from that perspective.

 

FiWieaz.png

 

What's that? 7k + people and almost 3k online?

So basically you got more viewers than Maxcheaters it'self yet you have only 10 poor topic. I'm sure players are proud to join a server with fake counters. 

Edited by Kara
Posted (edited)
  On 4/4/2021 at 10:01 PM, Kara said:

Someone revive Dask for this topic only.

It smells like 2010 MxC

Expand  

 

i can revive him so he bring the real drama :kappa:

Edited by Celestine
Posted
  On 4/4/2021 at 10:38 PM, Celestine said:

 

i can revive him so he bring the real drama :kappa:

Expand  

Im sure maxtor will allow for 2 hours. This guy thinks he can create drama. Bring old boys back here to teach newborns what drama in mxc means 

Posted
  On 4/4/2021 at 6:03 PM, L2RAPTOR said:

Players are ultimate judges. but they don't  leave my server because of bad files. I think players may not  like a custom 10x interlude server. It is my concept they do not like..not the files. And for "your client waiting 2-3 months.." wtf do you want me to say? I dont work for L2jOrion..I can only tell you my experience with them, Yes, I will live in my world of happiness with this pack as I have had no problems with it and have seen none better.

Expand  

Why is so difficult to you to understand that when I'm talking about your server I'm not speaking for your "GREAT ORION PACK". You acting like your don't understand? or you really do not?

You are the person who said "STFU" to peoples that are here to help others without developing knowledge (like you) to create their "dream" server. Author of the topic had one specific question.. and you after the whole topic that you had done for the "AMAZING - ULTIMATE - 10 TIMES BETTER THAN L2OFF" project came here to keep advertising and teach to peoples with real knowledge on the subject.. and judge them why they don't like L2JOrion or L2JFrozen.. understandable if was one or two... there are a lot of people that sharing the same opinion about that one project you supporting.

In the end players are players and don't even know that there exist different project (most of them) they know only L2J or L2OFF that's the provided infos on the toplist sites. This is a forum section is for developers and admins and not for your ultimate judges.

Posted (edited)
  On 4/4/2021 at 6:03 PM, L2RAPTOR said:

Players are ultimate judges. but they don't  leave my server because of bad files. I think players may not  like a custom 10x interlude server. It is my concept they do not like..not the files. And for "your client waiting 2-3 months.." wtf do you want me to say? I dont work for L2jOrion..I can only tell you my experience with them, Yes, I will live in my world of happiness with this pack as I have had no problems with it and have seen none better.

no stinky did not say players are final judge..he was quoting me... but i completely agree with you tehbot12

Expand  

Have you ever thought that you didn't receive any negative feedback for your server just because you don't have as much as clients that your server needs to get a right feedback?

 

By saying that people dont like custom 10x interlude, you are actually saying "players dont like my server". So they dont even sit down and write a feedback. They just move on....

 

Also, you are disagree with developers with the excuse that the code does not matters while you are actually posting in a section that called Lineage II Java Server Development in a sub category -> Server Development Discussion [L2J] .

They/I can actually answer to you, prove that your sources are better than the X sources in a programmatically way, or STFU.

How the hell they supposed not to criticize your words? Post your thoughts at your own forum which concerns admins and players... Get real..

 

A dev walked on admin's paths while an admin some day was a player.

 

Good morning!

Edited by melron
Posted (edited)
  On 4/4/2021 at 4:16 PM, Kara said:

analyze each file why its bad

Expand  

i bet you cant find less than 5 shits in every file (not only java) #provemewrong

 

  On 4/4/2021 at 4:16 PM, Kara said:

A player wont understand the difference beteeen CopyOnWriteArrayList and ArrayList and he wont care. He will only care when admin announce problem with server and shut it down to fix concurrency issues, get the point and what we judge?

Expand  

but his "unique" server works so orion is best il pack in the world #changemymind

 

the myth has it that he made a post wihtout saying the word L2jOrion or Best Pack

#myth

Edited by Nightw0lf
Posted
  On 4/4/2021 at 4:01 PM, TehBot12 said:

If a developer knows his shit, packs doesn't matter.

Expand  

 

Well, it somewhat does matter, since more work is involved into initial project, less work you, as server admin/ server developer, will have to do.

 

But yes, in the very big lines, even basic L2J IL is "fine" to use and can handle hundreds of people, if you fix the 5-6 default exploits. Simply don't do a x1 "retail behavior" with it, or you will have around 200+ pages of bug reports in few weeks.

  • Like 1
Posted (edited)

Why do we really continue this conversation? Are you sane people? We really claim that players and admins are more important than a developer? @TehBot12 You realize if developer quit their job all servers will die within few hours? 

 

Players are dumb bots and the reasons a server degrade over time. Each one crying like a baby and he demands server changes, admin then apply those changes and other players get disappointed. In the end you adjust your whole server to match players taste and nobody is happy.

 

Players should -beep- and play or quit the gaming forever. Some people are meant to play some other are meant to lose some are meant to do something else other than gaming. Dying in Call of duty 10 times in row doesn't make Call of Duty a bad game, it's mean you're useless or amateur and no playing for many years as i heard as an excuse from some of my clients is stupid. Time might helps but it doesn't mean playing Lineage 2 for 10 years make you a decent person to have opinion over game changes. 

 

So now that we threw players as left over chicken wings to the garbage bin, let's discuss about administrators.

Majority of them are wannabe people who reached the maximum level of lineage 2 (probably in some x 1000 server with a 100% safe enchant rate aka Pride like servers) and they decided to rule community with their experienced perspective. Their opinion unshakable and of course on top of everyone's else.

Their experience after watching OUR tutorial and OUR work while we perform in their computer via some remote software reaches up to to XML & HTML edit. You will hear many of them claiming that they even know how to read or edit a code even tho they don't know that an armor texture is not a DEVELOPER'S JOB!

 

No "Administrators" of Lineage 2 community, you can't code, you can't read a code and you can't do anything without us. Because you read a function "isHero()" and understand it because Java is human friendly language doesn't make you a person who understand programming. We are not fools sitting for 5-10 years to own multiple languages to end up arguing with a guy who get excited because he copy paste values in XML.

Let's no mix up our job and not mistaken your position here. You do nothing special other than advertise project, take decisions and edit few configurations. In the end of the day you gonna cry to your developer for fixing up bugs or change systems.

 

 

 

Edited by Kara
  • Like 1
Posted

Definitely 2010 vibes, i'd go with acis, since they strive to be clean and improve along the way, plus I think acis was the first pack with decent geodata and off-like features. Sometimes it feels like a perfectly tuned car, while switching to packs like mobius or this lucera, is like some patched up zombie car where the steering is off and gargles huge amounts of fuel. Hope I made sense.

 

Also if you plan to make a server, you should at least be able to apply a patch, and acis community is helpful afaik. 

 

Pace Vouă <3

  • Upvote 2

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
Reply to this topic...

×   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

    • Hello everyone, I would like some help adapting this file for a custom community board l2jFrozen:   package com.l2jfrozen.gameserver.communitybbs; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Map; import java.util.StringTokenizer; import javolution.util.FastMap; import com.l2jfrozen.Config; import com.l2jfrozen.gameserver.cache.HtmCache; import com.l2jfrozen.gameserver.communitybbs.Manager.BaseBBSManager; import com.l2jfrozen.gameserver.communitybbs.Manager.ClanBBSManager; import com.l2jfrozen.gameserver.communitybbs.Manager.PostBBSManager; import com.l2jfrozen.gameserver.communitybbs.Manager.RegionBBSManager; import com.l2jfrozen.gameserver.communitybbs.Manager.TeleBBSManager; import com.l2jfrozen.gameserver.communitybbs.Manager.TopicBBSManager; import com.l2jfrozen.gameserver.communitybbs.Manager.shopBBSManager; import com.l2jfrozen.gameserver.handler.IBBSHandler; import com.l2jfrozen.gameserver.model.L2Clan; import com.l2jfrozen.gameserver.model.L2World; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.model.multisell.L2Multisell; import com.l2jfrozen.gameserver.network.L2GameClient; import com.l2jfrozen.gameserver.network.SystemMessageId; import com.l2jfrozen.gameserver.network.serverpackets.ShowBoard; import com.l2jfrozen.gameserver.network.serverpackets.SystemMessage; public class CommunityBoard { private static CommunityBoard _instance; private final Map<String, IBBSHandler> _handlers; protected final SimpleDateFormat fmt = new SimpleDateFormat("H:mm."); public CommunityBoard() { _handlers = new FastMap<>(); // null; } public boolean checkPlayerConditions(L2PcInstance activeChar, String command) { if (activeChar.isInOlympiadMode()) { activeChar.sendMessage("CommunityBoard use is prohibited at the Olympiad"); return false; } if (activeChar.isFlying() || activeChar.isMounted()) { activeChar.sendMessage("CommunityBoard use is prohibited at while flying or mounted!"); return false; } if (activeChar.inObserverMode()) { activeChar.sendMessage("CommunityBoard use is prohibited in ObserveMode!"); return false; } if (activeChar.isAlikeDead() || activeChar.isDead()) { activeChar.sendMessage("CommunityBoard use is prohibited While Dead"); return false; } if (activeChar.isInCombat()) { activeChar.sendMessage("CommunityBoard use is prohibited in Combat!"); return false; } if (activeChar.isCastingNow()) { activeChar.sendMessage("CommunityBoard use is prohibited while Casting!"); return false; } if (activeChar.isAttackingNow()) { activeChar.sendMessage("CommunityBoard use is prohibited while Attacking!"); return false; } if (activeChar.isInDuel()) { activeChar.sendMessage("CommunityBoard use is prohibited while Playing Duel!"); return false; } if (activeChar.isFishing()) { activeChar.sendMessage("CommunityBoard use is prohibited while Fishing!"); return false; } if (activeChar.isInStoreMode()) { activeChar.sendMessage("CommunityBoard use is prohibited in StoreMode!"); return false; } if (activeChar.isInJail() || activeChar.isCursedWeaponEquipped() || activeChar.isFlying() || activeChar.isInBoat() || activeChar.isProcessingTransaction() || activeChar.isStunned()) { activeChar.sendMessage("CommunityBoard use is prohibited right now!"); return false; } return true; } public static CommunityBoard getInstance() { if (_instance == null) { _instance = new CommunityBoard(); } return _instance; } /** * by Azagthtot * @param handler as IBBSHandler */ public void registerBBSHandler(final IBBSHandler handler) { for (final String s : handler.getBBSCommands()) { _handlers.put(s, handler); } } /** * by Azagthtot * @param client * @param command */ public void handleCommands(final L2GameClient client, final String command) { L2PcInstance activeChar = client.getActiveChar(); if (activeChar == null) return; if(!checkPlayerConditions(activeChar, command)) return; if (Config.COMMUNITY_TYPE.equals("full")) { String cmd = command.substring(4); String params = ""; final int iPos = cmd.indexOf(" "); if (iPos != -1) { params = cmd.substring(iPos + 1); cmd = cmd.substring(0, iPos); } final IBBSHandler bbsh = _handlers.get(cmd); if (bbsh != null) { bbsh.handleCommand(cmd, activeChar, params); } else { if (command.startsWith("_bbsclan")) { String text = HtmCache.getInstance().getHtm("data/html/CommunityBoard/index.htm"); //Custom Community Board text = text.replace("%CharName%", String.valueOf(activeChar.getName())); text = text.replace("%CharClass%", String.valueOf(activeChar.getClassId().name())); text = text.replace("%CharLevel%", String.valueOf(activeChar.getLevel())); if (activeChar.isNoble()) { text = text.replace("%nobless%", "Yes"); } else { text = text.replace("%nobless%", "No"); } L2Clan clan = activeChar.getClan(); if (clan != null) { text = text.replace("%CharClan%", String.valueOf(activeChar.getClan().getName())); } else { text = text.replace("%CharClan%", "No Clan"); } text = text.replace("%CharIP%", String.valueOf(activeChar.getClient().getConnection().getInetAddress().getHostAddress())); text = text.replace("%PlayerOnline%", String.valueOf(L2World.getInstance().getAllPlayers().size()* 1)); text = text.replace("%ServerTime%", fmt.format(new Date(System.currentTimeMillis()))); //Custom Community Board BaseBBSManager.separateAndSend(text, activeChar); } else if (command.startsWith("_bbsmemo")) { String text = HtmCache.getInstance().getHtm("data/html/CommunityBoard/index.htm"); //Custom Community Board text = text.replace("%CharName%", String.valueOf(activeChar.getName())); text = text.replace("%CharClass%", String.valueOf(activeChar.getClassId().name())); text = text.replace("%CharLevel%", String.valueOf(activeChar.getLevel())); if (activeChar.isNoble()) { text = text.replace("%nobless%", "Yes"); } else { text = text.replace("%nobless%", "No"); } L2Clan clan = activeChar.getClan(); if (clan != null) { text = text.replace("%CharClan%", String.valueOf(activeChar.getClan().getName())); } else { text = text.replace("%CharClan%", "No Clan"); } text = text.replace("%CharIP%", String.valueOf(activeChar.getClient().getConnection().getInetAddress().getHostAddress())); text = text.replace("%PlayerOnline%", String.valueOf(L2World.getInstance().getAllPlayers().size()* 1)); text = text.replace("%ServerTime%", fmt.format(new Date(System.currentTimeMillis()))); //Custom Community Board BaseBBSManager.separateAndSend(text, activeChar); } else if (command.startsWith("_bbsgetfav")) { String text = HtmCache.getInstance().getHtm("data/html/CommunityBoard/index.htm"); //Custom Community Board text = text.replace("%CharName%", String.valueOf(activeChar.getName())); text = text.replace("%CharClass%", String.valueOf(activeChar.getClassId().name())); text = text.replace("%CharLevel%", String.valueOf(activeChar.getLevel())); if (activeChar.isNoble()) { text = text.replace("%nobless%", "Yes"); } else { text = text.replace("%nobless%", "No"); } L2Clan clan = activeChar.getClan(); if (clan != null) { text = text.replace("%CharClan%", String.valueOf(activeChar.getClan().getName())); } else { text = text.replace("%CharClan%", "No Clan"); } text = text.replace("%CharIP%", String.valueOf(activeChar.getClient().getConnection().getInetAddress().getHostAddress())); text = text.replace("%PlayerOnline%", String.valueOf(L2World.getInstance().getAllPlayers().size()* 1)); text = text.replace("%ServerTime%", fmt.format(new Date(System.currentTimeMillis()))); //Custom Community Board BaseBBSManager.separateAndSend(text, activeChar); } else if (command.startsWith("_bbstopics")) { String text = HtmCache.getInstance().getHtm("data/html/CommunityBoard/index.htm"); //Custom Community Board text = text.replace("%CharName%", String.valueOf(activeChar.getName())); text = text.replace("%CharClass%", String.valueOf(activeChar.getClassId().name())); text = text.replace("%CharLevel%", String.valueOf(activeChar.getLevel())); if (activeChar.isNoble()) { text = text.replace("%nobless%", "Yes"); } else { text = text.replace("%nobless%", "No"); } L2Clan clan = activeChar.getClan(); if (clan != null) { text = text.replace("%CharClan%", String.valueOf(activeChar.getClan().getName())); } else { text = text.replace("%CharClan%", "No Clan"); } text = text.replace("%CharIP%", String.valueOf(activeChar.getClient().getConnection().getInetAddress().getHostAddress())); text = text.replace("%PlayerOnline%", String.valueOf(L2World.getInstance().getAllPlayers().size()* 1)); text = text.replace("%ServerTime%", fmt.format(new Date(System.currentTimeMillis()))); //Custom Community Board BaseBBSManager.separateAndSend(text, activeChar); } else if (command.startsWith("_bbsposts")) { String text = HtmCache.getInstance().getHtm("data/html/CommunityBoard/index.htm"); //Custom Community Board text = text.replace("%CharName%", String.valueOf(activeChar.getName())); text = text.replace("%CharClass%", String.valueOf(activeChar.getClassId().name())); text = text.replace("%CharLevel%", String.valueOf(activeChar.getLevel())); if (activeChar.isNoble()) { text = text.replace("%nobless%", "Yes"); } else { text = text.replace("%nobless%", "No"); } L2Clan clan = activeChar.getClan(); if (clan != null) { text = text.replace("%CharClan%", String.valueOf(activeChar.getClan().getName())); } else { text = text.replace("%CharClan%", "No Clan"); } text = text.replace("%CharIP%", String.valueOf(activeChar.getClient().getConnection().getInetAddress().getHostAddress())); text = text.replace("%PlayerOnline%", String.valueOf(L2World.getInstance().getAllPlayers().size()* 1)); text = text.replace("%ServerTime%", fmt.format(new Date(System.currentTimeMillis()))); //Custom Community Board BaseBBSManager.separateAndSend(text, activeChar); } else if (command.startsWith("_bbstop")) { String text = HtmCache.getInstance().getHtm("data/html/CommunityBoard/index.htm"); //Custom Community Board text = text.replace("%CharName%", String.valueOf(activeChar.getName())); text = text.replace("%CharClass%", String.valueOf(activeChar.getClassId().name())); text = text.replace("%CharLevel%", String.valueOf(activeChar.getLevel())); if (activeChar.isNoble()) { text = text.replace("%nobless%", "Yes"); } else { text = text.replace("%nobless%", "No"); } L2Clan clan = activeChar.getClan(); if (clan != null) { text = text.replace("%CharClan%", String.valueOf(activeChar.getClan().getName())); } else { text = text.replace("%CharClan%", "No Clan"); } text = text.replace("%CharIP%", String.valueOf(activeChar.getClient().getConnection().getInetAddress().getHostAddress())); text = text.replace("%PlayerOnline%", String.valueOf(L2World.getInstance().getAllPlayers().size()* 1)); text = text.replace("%ServerTime%", fmt.format(new Date(System.currentTimeMillis()))); //Custom Community Board BaseBBSManager.separateAndSend(text, activeChar); } else if (command.startsWith("_bbshome")) { String text = HtmCache.getInstance().getHtm("data/html/CommunityBoard/index.htm"); //Custom Community Board text = text.replace("%CharName%", String.valueOf(activeChar.getName())); text = text.replace("%CharClass%", String.valueOf(activeChar.getClassId().name())); text = text.replace("%CharLevel%", String.valueOf(activeChar.getLevel())); if (activeChar.isNoble()) { text = text.replace("%nobless%", "Yes"); } else { text = text.replace("%nobless%", "No"); } L2Clan clan = activeChar.getClan(); if (clan != null) { text = text.replace("%CharClan%", String.valueOf(activeChar.getClan().getName())); } else { text = text.replace("%CharClan%", "No Clan"); } text = text.replace("%CharIP%", String.valueOf(activeChar.getClient().getConnection().getInetAddress().getHostAddress())); text = text.replace("%PlayerOnline%", String.valueOf(L2World.getInstance().getAllPlayers().size()* 1)); text = text.replace("%ServerTime%", fmt.format(new Date(System.currentTimeMillis()))); //Custom Community Board BaseBBSManager.separateAndSend(text, activeChar); } else if (command.startsWith("_bbsloc")) { String text = HtmCache.getInstance().getHtm("data/html/CommunityBoard/index.htm"); //Custom Community Board text = text.replace("%CharName%", String.valueOf(activeChar.getName())); text = text.replace("%CharClass%", String.valueOf(activeChar.getClassId().name())); text = text.replace("%CharLevel%", String.valueOf(activeChar.getLevel())); if (activeChar.isNoble()) { text = text.replace("%nobless%", "Yes"); } else { text = text.replace("%nobless%", "No"); } L2Clan clan = activeChar.getClan(); if (clan != null) { text = text.replace("%CharClan%", String.valueOf(activeChar.getClan().getName())); } else { text = text.replace("%CharClan%", "No Clan"); } text = text.replace("%CharIP%", String.valueOf(activeChar.getClient().getConnection().getInetAddress().getHostAddress())); text = text.replace("%PlayerOnline%", String.valueOf(L2World.getInstance().getAllPlayers().size()* 1)); text = text.replace("%ServerTime%", fmt.format(new Date(System.currentTimeMillis()))); //Custom Community Board BaseBBSManager.separateAndSend(text, activeChar); } else if (command.startsWith("_bbstele")) { TeleBBSManager.getInstance().parsecmd(command, activeChar); } else if (command.startsWith("_bbsShop")) { shopBBSManager.getInstance().parsecmd(command, activeChar); } else if(command.startsWith("_bbsmultisell;")) { StringTokenizer st = new StringTokenizer(command, ";"); st.nextToken(); shopBBSManager.getInstance().parsecmd("_bbsShop;" + st.nextToken(), activeChar); L2Multisell.getInstance().SeparateAndSend(Integer.parseInt(st.nextToken()), activeChar, false, 0); } else { ShowBoard sb = new ShowBoard("<html><body><br><br><center>the command: " + command + " is not implemented yet</center><br><br></body></html>", "101"); activeChar.sendPacket(sb); sb = null; activeChar.sendPacket(new ShowBoard(null, "102")); activeChar.sendPacket(new ShowBoard(null, "103")); } } } else if (Config.COMMUNITY_TYPE.equals("old")) { RegionBBSManager.getInstance().parsecmd(command, activeChar); } else { activeChar.sendPacket(new SystemMessage(SystemMessageId.CB_OFFLINE)); } activeChar = null; } /** * @param client * @param url * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 */ public void handleWriteCommands(final L2GameClient client, final String url, final String arg1, final String arg2, final String arg3, final String arg4, final String arg5) { L2PcInstance activeChar = client.getActiveChar(); if (activeChar == null) return; if (Config.COMMUNITY_TYPE.equals("full")) { if (url.equals("Topic")) { TopicBBSManager.getInstance().parsewrite(arg1, arg2, arg3, arg4, arg5, activeChar); } else if (url.equals("Post")) { PostBBSManager.getInstance().parsewrite(arg1, arg2, arg3, arg4, arg5, activeChar); } else if (url.equals("Region")) { RegionBBSManager.getInstance().parsewrite(arg1, arg2, arg3, arg4, arg5, activeChar); } else if (url.equals("Notice")) { ClanBBSManager.getInstance().parsewrite(arg1, arg2, arg3, arg4, arg5, activeChar); } else { ShowBoard sb = new ShowBoard("<html><body><br><br><center>the command: " + url + " is not implemented yet</center><br><br></body></html>", "101"); activeChar.sendPacket(sb); sb = null; activeChar.sendPacket(new ShowBoard(null, "102")); activeChar.sendPacket(new ShowBoard(null, "103")); } } else if (Config.COMMUNITY_TYPE.equals("old")) { RegionBBSManager.getInstance().parsewrite(arg1, arg2, arg3, arg4, arg5, activeChar); } else { ShowBoard sb = new ShowBoard("<html><body><br><br><center>The Community board is currently disable</center><br><br></body></html>", "101"); activeChar.sendPacket(sb); sb = null; activeChar.sendPacket(new ShowBoard(null, "102")); activeChar.sendPacket(new ShowBoard(null, "103")); } activeChar = null; } }   And making it work in another l2jOrion project:   package l2jorion.game.community; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import l2jorion.Config; import l2jorion.game.community.manager.BaseBBSManager; import l2jorion.game.community.manager.ClanBBSManager; import l2jorion.game.community.manager.FavoriteBBSManager; import l2jorion.game.community.manager.FriendsBBSManager; import l2jorion.game.community.manager.MailBBSManager; import l2jorion.game.community.manager.PostBBSManager; import l2jorion.game.community.manager.RankBBSManager; import l2jorion.game.community.manager.RegionBBSManager; import l2jorion.game.community.manager.TopBBSManager; import l2jorion.game.community.manager.TopicBBSManager; import l2jorion.game.handler.ICommunityBoardHandler; import l2jorion.game.model.actor.instance.L2PcInstance; import l2jorion.game.network.L2GameClient; import l2jorion.game.network.SystemMessageId; import l2jorion.logger.Logger; import l2jorion.logger.LoggerFactory; public class CommunityBoardManager { protected static Logger LOG = LoggerFactory.getLogger(CommunityBoardManager.class); private Map<String, ICommunityBoardHandler> _handlers = new HashMap<>(); private final Map<Integer, String> _bypasses = new ConcurrentHashMap<>(); private static CommunityBoardManager _instance; public static CommunityBoardManager getInstance() { if (_instance == null) { _instance = new CommunityBoardManager(); } return _instance; } private CommunityBoardManager() { registerBBSHandler(new TopBBSManager()); registerBBSHandler(new FavoriteBBSManager()); registerBBSHandler(new RegionBBSManager()); registerBBSHandler(new ClanBBSManager()); registerBBSHandler(new TopicBBSManager()); registerBBSHandler(new MailBBSManager()); registerBBSHandler(new FriendsBBSManager()); registerBBSHandler(new TopicBBSManager()); registerBBSHandler(new PostBBSManager()); registerBBSHandler(new RankBBSManager()); LOG.info("CommunityBoardHandlers: Loaded " + _handlers.size() + " handlers"); } public void registerBBSHandler(ICommunityBoardHandler handler) { for (String bypass : handler.getBypassBbsCommands()) { if (_handlers.containsKey(bypass)) { continue; } _handlers.put(bypass, handler); } } public void onBypassCommand(L2GameClient client, String command) { final L2PcInstance player = client.getActiveChar(); if (player == null) { return; } if (Config.COMMUNITY_TYPE.equals("off")) { player.sendPacket(SystemMessageId.CB_OFFLINE); return; } /* * if (!AutoImageSenderManager.wereAllImagesSent(player)) { player.sendMessage("Community wasn't loaded yet, try again in few seconds."); player.sendPacket(new ExShowScreenMessage("Community wasn't loaded yet, try again in few seconds.", 2000, 2, false)); return; } */ String cmd = command.substring(4); String params = ""; final int iPos = cmd.indexOf(" "); if (iPos != -1) { params = cmd.substring(iPos + 1); cmd = cmd.substring(0, iPos); } ICommunityBoardHandler bypass = _handlers.get(cmd); if (bypass != null) { bypass.handleCommand(cmd, player, params); } else { if (command.startsWith("_bbshome")) { TopBBSManager.getInstance().parseCmd(command, player); } else if (command.startsWith("_bbsgetfav") || command.startsWith("bbs_add_fav") || command.startsWith("_bbsdelfav_")) { FavoriteBBSManager.getInstance().parseCmd(command, player); } else if (command.startsWith("_bbsloc")) { RegionBBSManager.getInstance().parseCmd(command, player); } else if (command.startsWith("_bbsclan")) { ClanBBSManager.getInstance().parseCmd(command, player); } else if (command.startsWith("_bbsmemo")) { TopicBBSManager.getInstance().parseCmd(command, player); } else if (command.startsWith("_bbsmail") || command.equals("_maillist_0_1_0_")) { MailBBSManager.getInstance().parseCmd(command, player); } else if (command.startsWith("_friend") || command.startsWith("_block")) { FriendsBBSManager.getInstance().parseCmd(command, player); } else if (command.startsWith("_bbstopics")) { TopicBBSManager.getInstance().parseCmd(command, player); } else if (command.startsWith("_bbsposts")) { PostBBSManager.getInstance().parseCmd(command, player); } else if (command.startsWith("_bbsshowrank")) { RankBBSManager.getInstance().parseCmd(command, player); } else { BaseBBSManager.separateAndSend("<html><body><br><br><center>The command: " + command + " isn't implemented.</center></body></html>", player); } } } public void handleWriteCommands(L2GameClient client, String url, String arg1, String arg2, String arg3, String arg4, String arg5) { final L2PcInstance player = client.getActiveChar(); if (player == null) { return; } if (Config.COMMUNITY_TYPE.equals("off")) { player.sendPacket(SystemMessageId.CB_OFFLINE); return; } if (url.equals("Topic")) { TopicBBSManager.getInstance().parseWrite(arg1, arg2, arg3, arg4, arg5, player); } else if (url.equals("Post")) { PostBBSManager.getInstance().parseWrite(arg1, arg2, arg3, arg4, arg5, player); } else if (url.equals("_bbsloc")) { RegionBBSManager.getInstance().parseWrite(arg1, arg2, arg3, arg4, arg5, player); } else if (url.equals("_bbsclan")) { ClanBBSManager.getInstance().parseWrite(arg1, arg2, arg3, arg4, arg5, player); } else if (url.equals("Mail")) { MailBBSManager.getInstance().parseWrite(arg1, arg2, arg3, arg4, arg5, player); } else if (url.equals("Clan")) { ClanBBSManager.getInstance().parseWrite(arg1, arg2, arg3, arg4, arg5, player); } else if (url.equals("_friend")) { FriendsBBSManager.getInstance().parseWrite(arg1, arg2, arg3, arg4, arg5, player); } else { BaseBBSManager.separateAndSend("<html><body><br><br><center>The command: " + url + " isn't implemented.</center></body></html>", player); } } public ICommunityBoardHandler getCommunityHandler(String bypass) { if (_handlers.isEmpty()) { return null; } for (Map.Entry<String, ICommunityBoardHandler> entry : _handlers.entrySet()) { if (bypass.contains(entry.getKey())) { return entry.getValue(); } } return null; } public void addBypass(L2PcInstance player, String title, String bypass) { _bypasses.put(player.getObjectId(), title + "&" + bypass); } public String removeBypass(L2PcInstance player) { return _bypasses.remove(player.getObjectId()); } public Map<Integer, String> getAllBypass() { return _bypasses; } }  
    • Γεια σας ψαχνω ενα pride style interlude pack me patch αν ειναι ευκολο ευχαριστω πολυ
    • Greetings looking for interlude pride style pack  with patch if anyone can give me thank you 
  • Topics

×
×
  • Create New...