-
Posts
678 -
Credits
0 -
Joined
-
Last visited
-
Days Won
9 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by tazerman2
-
Request Htm Tags
tazerman2 replied to Gam3Master's question in Request Server Development Help [L2J]
is not same but for me is good try >:D -
Request Htm Tags
tazerman2 replied to Gam3Master's question in Request Server Development Help [L2J]
yeap but for make some like this need first make 3,4 background image -
Request Htm Tags
tazerman2 replied to Gam3Master's question in Request Server Development Help [L2J]
first the background image is custom and i try to make this community is easy but is big code -
Request Htm Tags
tazerman2 replied to Gam3Master's question in Request Server Development Help [L2J]
i think i can make this html -
oli afti einai kaki antropi alla den tous akoumpaei tipota
-
Discussion Free Trailer Give-Away For Server!
tazerman2 replied to AccessDenied's topic in Server Development Discussion [L2J]
L2Story -
L2Frozen Scheme Buffer Need Fix
tazerman2 replied to adnanograsevic's question in Request Server Development Help [L2J]
can you send me teamviewer for help you or skype -
Help Looking For A Smile Code
tazerman2 replied to tazerman2's question in Request Server Development Help [Greek]
nomizo pos den eides kala an o kodikas einai megalos mporo na doso lefta -
Help Looking For A Smile Code
tazerman2 posted a question in Request Server Development Help [Greek]
gia sas psaxno pos mporo na balo se ena npc countdown timer dld exo ena event kai thelo otan arxizi na dixnei ena timer p.x. 1 min kai na katebeni an mporei kapios na me boithisi se afto (se periptosi pou einai megalos o kodikas mporo na doso lefta) efxaristo -
Help My Friend Problem With Log In ,(Windows 10)
tazerman2 replied to giorgos991's question in Request Server Development Help [Greek]
[GR]mipos den exeis aniksei ports i den exeis bali mesa sto ini tin IP sou ? -
Help Event Problem
tazerman2 replied to tazerman2's question in Request Server Development Help [L2J]
fixed locked -
Help Event Problem
tazerman2 replied to tazerman2's question in Request Server Development Help [L2J]
anyone can help ? i don't know what has and is not working -
Help Event Problem
tazerman2 replied to tazerman2's question in Request Server Development Help [L2J]
i can't understand what missing :-\ -
hello i have a problem i use one event and after start show me this error can any help me to fix it tnx! code: public class RandomFight { public static RandomFight getInstance() { return SingletonHolder._instance; } public static enum State { INACTIVE, REGISTER, LOADING, FIGHT } public static State state = State.INACTIVE; public static Vector<L2PcInstance> players = new Vector<>(); private L2PcInstance player; protected void openRegistrations() { state = State.REGISTER; final CreatureSay cs = new CreatureSay(player.getObjectId(), Say2.TRADE, "", "Random Fight Event will start in 1 minute."); final CreatureSay cs1 = new CreatureSay(player.getObjectId(), Say2.TRADE, "", "To register press ?register"); Broadcast.toAllOnlinePlayers(cs); Broadcast.toAllOnlinePlayers(cs1); ThreadPoolManager.getInstance().scheduleGeneral(new checkRegist(), 60000); } protected void checkRegistrations() { state = State.LOADING; if (players.isEmpty() || players.size() < 2) { final CreatureSay cs = new CreatureSay(player.getObjectId(), Say2.TRADE, "", "Random Fight Event will not start cause of no many partitipations, we are sorry."); Broadcast.toAllOnlinePlayers(cs); clean(); return; } final CreatureSay cs = new CreatureSay(player.getObjectId(), Say2.TRADE, "", "Amount of players Registed: " + players.size()); final CreatureSay cs1 = new CreatureSay(player.getObjectId(), Say2.TRADE, "", "2 Random players will be choosen in 30 seconds!"); Broadcast.toAllOnlinePlayers(cs); Broadcast.toAllOnlinePlayers(cs1); ThreadPoolManager.getInstance().scheduleGeneral(new pickPlayers(), 30000); } protected void pickPlayers() { if (players.isEmpty() || players.size() < 2) { final CreatureSay cs = new CreatureSay(player.getObjectId(), Say2.TRADE, "", "Random Fight Event aborted because no many partitipations, we are sorry."); Broadcast.toAllOnlinePlayers(cs); clean(); return; } for (L2PcInstance p : players) if (p.isInOlympiadMode() || Olympiad.getInstance().isRegistered(p)) { players.remove(p); p.sendMessage("You automatically left from event because of your olympiad obligations."); } int rnd1 = Rnd.get(players.size()); int rnd2 = Rnd.get(players.size()); while (rnd2 == rnd1) rnd2 = Rnd.get(players.size()); for (L2PcInstance player : players) { if (player != players.get(rnd1) && player != players.get(rnd2)) players.remove(player); } final CreatureSay cs = new CreatureSay(player.getObjectId(), Say2.TRADE, "", "Players selected: " + players.firstElement().getName() + " || " + players.lastElement().getName()); final CreatureSay cs1 = new CreatureSay(player.getObjectId(), Say2.TRADE, "", "Players will be teleported in 15 seconds"); Broadcast.toAllOnlinePlayers(cs); Broadcast.toAllOnlinePlayers(cs1); ThreadPoolManager.getInstance().scheduleGeneral(new teleportPlayers(), 15000); } protected void teleport() { if (players.isEmpty() || players.size() < 2) { final CreatureSay cs = new CreatureSay(player.getObjectId(), Say2.TRADE, "", "Random Fight Event aborted because no many partitipations, we are sorry."); Broadcast.toAllOnlinePlayers(cs); clean(); return; } final CreatureSay cs = new CreatureSay(player.getObjectId(), Say2.TRADE, "", "Players teleported!"); Broadcast.toAllOnlinePlayers(cs); players.firstElement().teleToLocation(113474, 15552, 3968); players.lastElement().teleToLocation(112990, 15489, 3968); players.firstElement().setTeam(1); players.lastElement().setTeam(2); // para,etc players.firstElement().sendMessage("Fight will begin in 15 seconds!"); players.lastElement().sendMessage("Fight will begin in 15 seconds!"); ThreadPoolManager.getInstance().scheduleGeneral(new fight(), 15000); } protected void startFight() { if (players.isEmpty() || players.size() < 2) { final CreatureSay cs = new CreatureSay(player.getObjectId(), Say2.TRADE, "", "One of the players isn't online, event aborted we are sorry!"); Broadcast.toAllOnlinePlayers(cs); clean(); return; } state = State.FIGHT; final CreatureSay cs = new CreatureSay(player.getObjectId(), Say2.TRADE, "", "FIGHT STARTED!"); Broadcast.toAllOnlinePlayers(cs); players.firstElement().sendMessage("Start Fight!!"); players.lastElement().sendMessage("Start Fight!"); ThreadPoolManager.getInstance().scheduleGeneral(new checkLast(), 120000); } protected void lastCheck() { if (state == State.FIGHT) { if (players.isEmpty() || players.size() < 2) { revert(); clean(); return; } int alive = 0; for (L2PcInstance player : players) { if (!player.isDead()) alive++; } if (alive == 2) { final CreatureSay cs = new CreatureSay(player.getObjectId(), Say2.TRADE, "", "Random Fight ended tie!"); Broadcast.toAllOnlinePlayers(cs); clean(); revert(); } } } public static void revert() { if (!players.isEmpty()) for (L2PcInstance p : players) { if (p == null) continue; if (p.isDead()) p.doRevive(); p.setCurrentHp(p.getMaxHp()); p.setCurrentCp(p.getMaxCp()); p.setCurrentMp(p.getMaxMp()); p.broadcastUserInfo(); p.teleToLocation(82698, 148638, -3473); } } public static void clean() { if (state == State.FIGHT) for (L2PcInstance p : players) p.setTeam(0); players.clear(); state = State.INACTIVE; } protected RandomFight() { ThreadPoolManager.getInstance().scheduleAiAtFixedRate(new Event(), 60000 * Config.EVERY_MINUTES, 60000 * Config.EVERY_MINUTES); } private static class SingletonHolder { protected static final RandomFight _instance = new RandomFight(); } protected class Event implements Runnable { @Override public void run() { if (state == State.INACTIVE) openRegistrations(); } } protected class checkRegist implements Runnable { @Override public void run() { checkRegistrations(); } } protected class pickPlayers implements Runnable { @Override public void run() { pickPlayers(); } } protected class teleportPlayers implements Runnable { @Override public void run() { teleport(); } } protected class fight implements Runnable { @Override public void run() { startFight(); } } protected class checkLast implements Runnable { @Override public void run() { lastCheck(); } } }
-
Help Npc Title Acis
tazerman2 replied to Red-Hair-Shanks's question in Request Server Development Help [L2J]
with one custom code more is better :) like this <npc id="50006" idTemplate="31228" ShowTitle=false name="Roy the Cat" title="Class Manager"> -
Help Npc Title Acis
tazerman2 replied to Red-Hair-Shanks's question in Request Server Development Help [L2J]
try use one space on title if not working i can make a extra code for you like "ShowTitle=false" -
Hello Maxcheaters Help Me
tazerman2 replied to berke akyol's question in Request Server Development Help [L2J]
cadmus file running in 1.7 JDE not in 1.8 By:Luna :) -
edo mpenoune atoma se doulies xoris na exoune oute apolitirio dimotikou epidi exoune ena "DINATO MESON" paradigma enas eitane ipalilos stin ΔΕΗ kai katelipse diefthintis se nosokomio ekei exei katandisi i ellada
-
meson file mou... an to exeis mathenis ta panta kai kaneis ta panta
-
re pedia ti lete edo tora gia mathimatika kai blakies edo doulepsa 2 xronia texnikos H/Y kai otan teliose i simbasi den ebriska doulia pouthena kai otan epsaxna pernane atoma pou den eixane idea apo ypologistes. paradigma: piga se magazi pou zitagane texnikous H/Y kai edosa sinedefksi kai meta matheno oti pirane alon pou den eixe idea apo ypologistes... gia mena afto einai eleos..
-
Discussion To Kalhtero Free Pack Gia Pvp Server
tazerman2 replied to tasos97's topic in Server Development Discussion [Greek]
epidi exo keftia sou ftiaxno FREE server jfrozen last rev full fix apo npc mexri kai farm zone. an endiaferese stile pm -
Server Protection Anti Ddos Help
tazerman2 replied to l2audric's question in Request Server Development Help [L2OFF]
for me OVH dedicated game server -
LF L2Jsunrise Pack
tazerman2 replied to Silverwind's question in Request Server Development Help [L2J]
i have one rev send me pm for give you link