-
Posts
460 -
Credits
0 -
Joined
-
Last visited
-
Days Won
2 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by te0x
-
The title says everything ;D Contains announces for Clan Leader, Top Pvp player, Top Pk player, Heroes, Raid/Grand bosses deaths-respawns, bans, chat bans, jails. network/clientpackets/EnterWorld.java find this part private void loadTutorial(final L2PcInstance player) { final QuestState qs = player.getQuestState("255_Tutorial"); if (qs != null) qs.getQuest().notifyEvent("UC", null, player); } after this add private void notifyCastleOwner(final L2PcInstance activeChar) { final L2Clan clan = activeChar.getClan(); if (clan != null) { if (clan.getHasCastle() > 0) { final Castle castle = CastleManager.getInstance().getCastleById(clan.getHasCastle()); if ((castle != null) && (activeChar.getObjectId() == clan.getLeaderId())) Announcements.getInstance().announceToAll("Lord " + activeChar.getName() + " Ruler Of " + castle.getName() + " Castle is now Online!"); } } } private void announceTopPvp(L2PcInstance activeChar) { String name = null; Connection con = null; PreparedStatement statement = null; try { con = L2DatabaseFactory.getInstance().getConnection(); statement = con.prepareStatement("SELECT char_name,pvpkills FROM characters WHERE accesslevel=0 ORDER BY pvpkills DESC LIMIT 1"); ResultSet rset = statement.executeQuery(); while (rset.next()) { name = rset.getString("char_name"); if (activeChar.getName().equals(name) && !activeChar.isGM() && activeChar.getPvpKills() != 0) Announcements.getInstance().announceToAll("Top PVP Player " + name +" Is Now Online !"); } rset.close(); statement.close(); } catch (Exception e) {} finally { L2DatabaseFactory.close(con); } } private void announceTopPk(L2PcInstance activeChar) { String name = null; Connection con = null; PreparedStatement statement = null; try { con = L2DatabaseFactory.getInstance().getConnection(); statement = con.prepareStatement("SELECT char_name,pkkills FROM characters WHERE accesslevel=0 ORDER BY pkkills DESC LIMIT 1"); ResultSet rset = statement.executeQuery(); while (rset.next()) { name = rset.getString("char_name"); if (activeChar.getName().equals(name) && !activeChar.isGM() && activeChar.getPkKills() != 0) Announcements.getInstance().announceToAll("Top PK Player " + name +" Is Now Online !"); } rset.close(); statement.close(); } catch (Exception e) {} finally { L2DatabaseFactory.close(con); } } private void announceHeroes(L2PcInstance activeChar) { if (activeChar.getBaseClass() == 88 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Duelist Class is now online!"); } if (activeChar.getBaseClass() == 89 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Dreadnought Class is now online!"); } if (activeChar.getBaseClass() == 90 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Phoenix Knight Class is now online!"); } if (activeChar.getBaseClass() == 91 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Hell Knight Class is now online!"); } if (activeChar.getBaseClass() == 92 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Sagittarius Class is now online!"); } if (activeChar.getBaseClass() == 93 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Adventurer Class is now online!"); } if (activeChar.getBaseClass() == 94 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Archmage Class is now online!"); } if (activeChar.getBaseClass() == 95 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Soultaker Class is now online!"); } if (activeChar.getBaseClass() == 96 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Arcana Lord Class is now online!"); } if (activeChar.getBaseClass() == 97 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Cardinal Class is now online!"); } if (activeChar.getBaseClass() == 98 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Hierophant Class is now online!"); } if (activeChar.getBaseClass() == 99 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Eva Templar Class is now online!"); } if (activeChar.getBaseClass() == 100 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Sword Muse Class is now online!"); } if (activeChar.getBaseClass() == 101 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Wind Rider Class is now online!"); } if (activeChar.getBaseClass() == 102 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Moonlight Sentinel Class is now online!"); } if (activeChar.getBaseClass() == 103 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Mystic Muse Class is now online!"); } if (activeChar.getBaseClass() == 104 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Elemental Master Class is now online!"); } if (activeChar.getBaseClass() == 105 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Eva Saint Class is now online!"); } if (activeChar.getBaseClass() == 106 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Shillien Templar Class is now online!"); } if (activeChar.getBaseClass() == 107 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Spectral Dancer Class is now online!"); } if (activeChar.getBaseClass() == 108 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Ghost Hunter Class is now online!"); } if (activeChar.getBaseClass() == 109 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Ghost Sentinel Class is now online!"); } if (activeChar.getBaseClass() == 110 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Storm Screamer Class is now online!"); } if (activeChar.getBaseClass() == 111 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Spectral Master Class is now online!"); } if (activeChar.getBaseClass() == 112 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Shillen Saint Class is now online!"); } if (activeChar.getBaseClass() == 113 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Titan Class is now online!"); } if (activeChar.getBaseClass() == 114 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Grand Khauatari Class is now online!"); } if (activeChar.getBaseClass() == 115 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Dominator Class is now online!"); } if (activeChar.getBaseClass() == 116 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Doomcryer Class is now online!"); } if (activeChar.getBaseClass() == 117 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Fortune Seeker Class is now online!"); } if (activeChar.getBaseClass() == 118 && activeChar.isHero()) { Announcements.getInstance().announceToAll(activeChar.getName() + " Hero of Maestro Class is now online!"); } } now find this part if (Config.WELCOME_HTM && isValidName(activeChar.getName())) { final String Welcome_Path = "data/html/welcome.htm"; final File mainText = new File(Config.DATAPACK_ROOT, Welcome_Path); if (mainText.exists()) { final NpcHtmlMessage html = new NpcHtmlMessage(1); html.setFile(Welcome_Path); html.replace("%name%", activeChar.getName()); sendPacket(html); } } below add announceTopPvp(activeChar); announceTopPk(activeChar); announceHeroes(activeChar); notifyCastleOwner(activeChar); now in instances. model/actor/instance/L2RaidBossInstance.java if (player != null) { + if (player.getClan() != null) + Announcements.getInstance().announceToAll(getName() +" was defeated by " + player.getClan().getLeaderName() + "'s clan ("+player.getClan().getName()+")"); + else + Announcements.getInstance().announceToAll(getName() +" was defeated by " + player.getName()); SystemMessage msg = new SystemMessage(SystemMessageId.RAID_WAS_SUCCESSFUL); model/actor/instance/L2GrandBossInstance.java if (player != null) { + if (player.getClan() != null) + Announcements.getInstance().announceToAll(getName() +" was defeated by " + player.getClan().getLeaderName() + "'s clan ("+player.getClan().getName()+")"); + else + Announcements.getInstance().announceToAll(getName() +" was defeated by " + player.getName()); SystemMessage msg = new SystemMessage(SystemMessageId.RAID_WAS_SUCCESSFUL); gameserver/managers/RaidBossSpawnManager.java GmListTable.broadcastMessageToGMs("Spawning Raid Boss " + raidboss.getName()); + Announcements.getInstance().announceToAll("Raid boss " + raidboss.getName() + " spawned in world."); _bosses.put(bossId, raidboss); handler/admincommandhandlers/AdminBan.java auditAction(command, activeChar, (targetPlayer == null ? player : targetPlayer.getName())); + Announcements.getInstance().announceToAll(targetPlayer.getName() + " is banned."); return changeCharAccessLevel(targetPlayer, player, activeChar, -100); activeChar.sendMessage(targetPlayer.getName() + " is now chat banned" + banLengthStr + "."); + Announcements.getInstance().announceToAll(targetPlayer.getName() + " is now chat banned" + banLengthStr + "."); auditAction(command, activeChar, targetPlayer.getName()); activeChar.sendMessage("Character " + targetPlayer.getName() + " jailed for " + (duration > 0 ? duration + " minutes." : "ever!")); + Announcements.getInstance().announceToAll(targetPlayer.getName() + " is now in jail for " + (duration > 0 ? duration + " minutes." : "ever!")); auditAction(command, activeChar, targetPlayer.getName());
-
good luck guyz :)
- 156 replies
-
- DeathWhisper
- Interlude PvP Server
- (and 6 more)
-
The date of this comment was 11/3 so you have start talking about something that u dont have any idea about it. If you had saw the topic in this day it was unreadable, nothing in categories so nobody could understand this. Actually nothing changed since then i just cleaned up the topic make it more readable and doing small updates everyday. Also i know exactly what i am doing i have a clearly idea in my mind. Btw why u are talking about donators since the server is not opened yet? and if i deserve anyone's time i actually do not care. I like what i am doing so if u want u can join - if not u can leave, i am gonna still make this for me :*
-
is that something new? you should go in to all the servers that are posted here and start the spam
-
i cant get what is ur problem with him xD
-
24/3 updated Removed the noblesse by killing barakiel. Added the caradine's letter in the shop. You have to farm it. Added the Quest "Gather The Flames". Different version not the orginal. (Mobs placed in all the harbors -Giran, T.Isle, Rune, Gludin). Farming torches to take Recipe for Dynasty Weapons.
-
u ppl have to learn what is bug and what is unbalance. 2 completely different parts.
-
these are not bugs :)
-
is it interlude or final? ;s
-
Code Voting Reward(Hopzone,topzone)
te0x replied to StealthyS4m's topic in Server Shares & Files [L2J]
dat irony :) -
Code Voting Reward(Hopzone,topzone)
te0x replied to StealthyS4m's topic in Server Shares & Files [L2J]
i know what lines are i have tried it so many times but the hopzone wont work i don't know what is wrong -
21/3 updated. The patch has been added(not official yet just for the beta) http://www.4shared.com/rar/z4_D5068ce/L2Psychodrama_PDS.html also the server will be online for some hours in the day just for testing's so who want can join. The beta players will be rewarded in the grand opening so u can contact me :)
-
Code Voting Reward(Hopzone,topzone)
te0x replied to StealthyS4m's topic in Server Shares & Files [L2J]
i am trying every day this fcking part and it doesnt work for me in the individual vote manager its impossible. -
New Official Update - 'infinite Odyssey' (Live In Korea)
te0x replied to Sinnocent's topic in General Discussion [English]
so fcking awsome effects/skills/places! -
Source Lineage || Psd Interlude Pvp Pack/source
te0x replied to te0x's topic in Server Shares & Files [L2J]
as i saw i have done something wrong in the source. when u compile it the toggle skills have problems. about the class manager i can give u a new code but its useless since the psd is too old and problematic unless u transfer it into the last frozen updates -
Code Voting Reward(Hopzone,topzone)
te0x replied to StealthyS4m's topic in Server Shares & Files [L2J]
told ya only the part tha reads the hopzone votes. but i can't get it why it works as a voice command or in the auto reward with this code and not in the npc! anyways nice share ;d -
Code Voting Reward(Hopzone,topzone)
te0x replied to StealthyS4m's topic in Server Shares & Files [L2J]
if is this the problem i will cry. i will really cry . still doesnt work xD -
Code Voting Reward(Hopzone,topzone)
te0x replied to StealthyS4m's topic in Server Shares & Files [L2J]
is it tested that the hopzone link works? i passed the part that reads the hopzone vote in my individual and still doesn't work.. -
Help Vote Hopzone Check Problem
te0x replied to iAlreadyExist's question in Request Server Development Help [L2J]
op yes future ^^ my english is bad xD -
Help Vote Hopzone Check Problem
te0x replied to iAlreadyExist's question in Request Server Development Help [L2J]
network is going really good as i know and they are saying is the feature since the hopzone is dying. also as i saw they are partners with mxc so why not xD -
Help Vote Hopzone Check Problem
te0x replied to iAlreadyExist's question in Request Server Development Help [L2J]
replace the hopzone with the Network best choice xD http://www.maxcheaters.com/topic/184973-individual-vote-manager/ -
The hopzone is removed and replaced with The Network. So now you have to vote in topzone and the network(http://l2network.eu/).
-
Help Vote Hopzone Check Problem
te0x replied to iAlreadyExist's question in Request Server Development Help [L2J]
it doesnt work for the individual vote manager. -
wow what is this giant xD really cool ;D
-
Help Vote Hopzone Check Problem
te0x replied to iAlreadyExist's question in Request Server Development Help [L2J]
:O what more u need? asking for a working hopzone vote reading(individual vote manager)