-
Posts
1,560 -
Credits
0 -
Joined
-
Last visited
-
Days Won
20 -
Feedback
100%
Content Type
Articles
Profiles
Forums
Store
Posts posted by Psyancy
-
-
19 hours ago, papelx said:
How can i implement in my Hi5 Server? Where may i put the html files?
Thanks!
In your Community Board root folder, however these are only html files, in order the functions to be working you have to add the java side.
-
On 10/2/2020 at 5:11 PM, Dreamerdream said:
Acis
Here is my gatekeeper on my pack, try this one.
It was copy pasted and adapted from other pack it's not the best quality but it works, you can improve it.
package net.sf.l2j.gameserver.communitybbs.Manager; import java.util.StringTokenizer; import net.sf.l2j.gameserver.cache.HtmCache; import net.sf.l2j.gameserver.communitybbs.tasks.PlayerStatsUpdateTask; import net.sf.l2j.gameserver.data.xml.TeleportLocationData; import net.sf.l2j.gameserver.model.actor.instance.Player; import net.sf.l2j.gameserver.model.location.TeleportLocation; import net.sf.l2j.gameserver.network.serverpackets.ActionFailed; /** * * @author Designatix * */ public class GatekeeperBBSManager extends BaseBBSManager { public void parsecmd(String command, Player activeChar) { if (command.startsWith("_bbsgatekeeper")) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/1.htm"); content = content.replace("%CharName%", String.valueOf(activeChar.getName())); separateAndSend(content, activeChar); StringTokenizer st = new StringTokenizer(command, ";"); st.nextToken(); String secondCommand = st.nextToken(); if (secondCommand.equals("giran")) { showGiranTeleports(activeChar); } else if (secondCommand.equals("aden")) { showAdenTeleports(activeChar); } else if (secondCommand.equals("dion")) { showDionTeleports(activeChar); } else if (secondCommand.equals("gludio")) { showGludioTeleports(activeChar); } else if (secondCommand.equals("heine")) { showHeineTeleports(activeChar); } else if (secondCommand.equals("oren")) { showOrenTeleports(activeChar); } else if (secondCommand.equals("rune")) { showRuneTeleports(activeChar); } else if (secondCommand.equals("goddard")) { showGoddardTeleports(activeChar); } else if (secondCommand.equals("schuttgart")) { showSchuttgartTeleports(activeChar); } else if (secondCommand.equals("talkingisland")) { showTalkingIslandTeleports(activeChar); } else if (secondCommand.equals("elvenvillage")) { showElvenTeleports(activeChar); } else if (secondCommand.equals("darkelvenvillage")) { showDarkElvenTeleports(activeChar); } else if (secondCommand.equals("dwarvenvillage")) { showDwarvenTeleports(activeChar); } else if (secondCommand.equals("orcvillage")) { showOrcTeleports(activeChar); } else if (secondCommand.equals("huntersvillage")) { showHuntersTeleports(activeChar); } else if (secondCommand.equals("gludin")) { showGludinTeleports(activeChar); } } else { super.parseCmd(command, activeChar); } } public static void doTeleport(Player player, int val) { TeleportLocation list = TeleportLocationData.getInstance().getTeleportLocation(val); if (list != null) { if (player.isAlikeDead()) return; // Retrieve price list. Potentially cut it by 2 depending of current date. int price = list.getPrice(); // Delete related items, and if successful teleport the player to the location. if (player.destroyItemByItemId("Teleport ", (list.isNoble()) ? 6651 : 57, price, player, true)) player.teleToLocation(list, 20); } else _log.warning("No teleport destination with id:" + val); player.sendPacket(ActionFailed.STATIC_PACKET); } private static void showGiranTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/giran.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } private static void showAdenTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/aden.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } private static void showDionTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/dion.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } private static void showGludioTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/gludio.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } private static void showHeineTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/heine.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } private static void showOrenTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/oren.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } private static void showRuneTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/rune.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } private static void showGoddardTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/goddard.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } private static void showSchuttgartTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/schuttgart.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } private static void showTalkingIslandTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/talkingisland.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } private static void showElvenTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/elven.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } private static void showDarkElvenTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/darkelven.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } private static void showDwarvenTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/dwarven.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } private static void showOrcTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/orc.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } private static void showHuntersTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/hunters.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } private static void showGludinTeleports(Player activeChar) { String content = HtmCache.getInstance().getHtm("data/html/CommunityBoard/gatekeeper/gludin.htm"); content = content.replaceAll("%toppvp%", PlayerStatsUpdateTask.pvpList()); content = content.replace("%lastUpdate%", PlayerStatsUpdateTask.getLastUpdate()); separateAndSend(content, activeChar); } @Override protected String getFolder() { return "stats/"; } public static GatekeeperBBSManager getInstance() { return SingletonHolder.INSTANCE; } private static class SingletonHolder { protected static final GatekeeperBBSManager INSTANCE = new GatekeeperBBSManager(); } }
-
Banned. Topic locked!
-
@Dreamerdream Which pack you use?
-
Moved to the proper section. Make a little research before you post if you want to get help, you wouldn't get any help where you posted it before.
- 1
-
23 minutes ago, L2EternalRage said:
Im working on FiveM last 2 years i have seen alot of things all my resources are legal with license i have big experience in this if you not respect my opinion do not waiting from me to help in this board ! Do whatever you want but respect your members im doing business here if this forum get closed i will lose money.
So dramatic. Anyway as i said i'm leaving this for Maxtor. Maybe i'm wrong, he's the one to decide.
-
8 minutes ago, L2EternalRage said:
Ok when ribsosay and the other authors close this forum like they did before with a couple leaked forums come again :)
I'm leaving this decision for @Maxtor.
-
1 hour ago, L2EternalRage said:
link
There is a reason i made it hidden you know.. Updated the link tho.
-
52 minutes ago, L2EternalRage said:
This is leak there is copyrights GNU General Public License inside the author can close the forum for this delete it and stop share leaks do a research before post something.
With the same logic, we have to delete almost every source shared on mxc.
-
OpenIV is a multi-purpose editor and archive manager for PC versions of Grand Theft Auto V, Grand Theft Auto IV/EFLC and Max Payne 3 and you will need it in order to add some addons on your server.
You can download it from here:
Credits: GooD-NTS
- 1
-
Hello Cheaters.
MaxCheaters.com team decided to create a new Board for FiveM since it's a very active game.
On these sections you can find and/or share server files, cars, clothes, etc and make or find guides for FiveM.
The new categories added:
And there are more new things to come. Stay tuned!
- 1
-
-
Moved to the proper section.
If you don't spend a minute to read rules where to post how do you expect do get any help if you don't have the basic required information about it?
-
Thanks for sharing buddy!
-
Thanks for sharing buddy!
-
I love the new site.
Will check this server for sure, i've had some fun back in the days on this server.
Good luck man!
- 1
-
Title updated. Read rules next time!
-
4 hours ago, L2timeless said:
Everybody got an .com domain. Just because you advised me, I will buy .fu domain.
It's just that it looks very unprofessional and making people think that if you cannot invest 5$ for a proper domain you would probably won't spend money on a good project base and a good machine to build it.
- 1
-
Just now, InTheEndॐ said:
Seriously there are people in 2020 using .tk domains? Find 5 euro's brother and get a .com atleast
For real tho
-
You can only have one topic for your server. When your server goes online simply request a move to live servers!
-
11 minutes ago, Hann1bal said:
Πιστεύω πως ναι, αλλά μετά το compile δεν μου είναι σε φάκελο "workspace" όπως το βίντεο. Ο φάκελος όμως που πήρα είναι ο directory φάκελος που δείχνει στο eclipse.
To workspace einai apla to workspace pou vazeis esi den exei na kanei me ta sources, mporeis na exeis allou ta sources kai allou to workspace, to thema einai na pareis to build apo ton swsto fakelo sta compiled files.
-
1 hour ago, Hann1bal said:
Τα ξανα έκανα αυτά τα βήματα και δυστυχώς το ίδιο πρόβλημα αντιμετωπίζω. (jdk 11 έχει το tutorial)
Πήρες το compiled από τον σωστό φάκελο;
-
I have a code from a share for a Raid Boss Info Npc and this code had pages inside maybe you can check the code for the page system. Here is the Download Link.
-
1 minute ago, Hann1bal said:
Κάτι κατάλαβα, γιατί όμως; Στο compile υπάρχει το πρόβλημα;
Από ότι βλεπω δεν εχεις στα παντα error εχεις μονο σε καποια, χρησιμοποιησες το project του aCis οπως στο tutorial η καποιο παλαιοτερο pack του acis;
Adapt: Community Board Interlude
in Request Server Development Help [L2J]
Posted
It depends on your source version mate, there are several changes all these years locations changed, names changed.
If you find it hard to find something you can search in acis updates for the word you're looking for, example L2TeleportLocation and you will see the new class that it's added or renamed so you will know where to look.