Jump to content

Howl3r

Members
  • Posts

    269
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Howl3r

  1. Ypologise, sou erxete 80 euro reuma to mina xwris ypologisti, me ypologisti emena mou erxete pantos 100(strogila) euro ton mina.. Opote to home den aksizi genikos to idio prama se lefta tha xalaseis.. ti home ti dedicated
  2. se mia etereia einai.. http://www.hetzner.de/ stous root server to HQ 4 kostizi 49 euro.. + 149 euro setup kai einai kai kalo to pc!
  3. Nai, einai san na plironis enan parapano logariasmo :) Eiparxei etereia pou ksekinaei apo 50 euro to mina (+200 euro setup ton proto mina mono), etereia me 300 euro ton mina (free setup). Genikos eiparxoun pola kai diafora
  4. Kai o allos logos pou oi homemade server den einai kali einai i paroxi internet. Genikos to internet sto spiti einai xamilo 24mbps adsl. Se etereia sou parexoun megali grami 100mbps++ dedicated. Opote less lag. Opote sto spiti plironis kai pali.. (reuma, internet) sxedon ta idia pou tha plirosis se mia kali etereia kai ftini..
  5. kinda same just when a character is going out of the city onExit as you say make a command noOutKoofs, noOutNoobs, there where the noobs town is put it and when a character is going out of the city he will be teleported back the the spot, but something other this way ither teleport will not allowed to make because on teleport you exit the zone, so you will teleported twice.
  6. depend on pack you use! Some pack have it some others no!
  7. Lol man my share is newest than his one! and my share is totally different than his one! He share it before 2 years! how it can be already shared?
  8. As the l2jteon is based on l2jserver interlude pack! is compatibility with many packs that's are released! About l2jdot i never saw it source code! But i am agree with SkyLancher! if is not! sure it need little changes! :)
  9. @JustClicK I didn't get the idea from there! I was on boring day and i said to my self "hmm let's try to make a code!" @Chucky123 I know :) xD
  10. @XtreMpOweR You must edit some things for gracia i make this in l2jteon project!
  11. No is not only hero glow! You have all the rights of a hero such hero voice! and you can choose if this kind of hero can have hero skills!
  12. I am working on this! Soon with more configs such remove hero if is from olympiad on death (if they want) and give pvp hero skills!! EDIT: Updated!! 2 More Configs!
  13. Hizzz (again) :P Before some days one friend ask me to make for his server a mod that's when they reach the ex '5' pvp will gain hero status! At the start it was with skills but it was unfair for other players so i put a code to check if the hero is by the olympiad or by the pvp! If The hero was from olympiad he will have the skills if not he will not! And Today i am glad to say after many tests on our test server is working perfectly! Here's the code: Index: C:/Users/Home/Desktop/eclipse/workspace/L2JTeon-CORE/java/config/zozoqcustoms.properties =================================================================== --- C:/Users/Home/Desktop/eclipse/workspace/L2JTeon-CORE/java/config/zozoqcustoms.properties (revision 0) +++ C:/Users/Home/Desktop/eclipse/workspace/L2JTeon-CORE/java/config/zozoqcustoms.properties (revision 0) @@ -0,0 +1,61 @@ +# ------------------------------- +# Custom Mods for L2Legend Server +# ------------------------------- + +# Hero at kills! +# Added Hero Check for Olympiad Heroes! +AllowPvpHero = False +#Give hero skills at pvp hero? +GivePvpHeroSkills = False +#Remove Olympiad hero status on death? This is not for ever! +RemoveOlympiadHero = False \ No newline at end of file Index: C:/Users/Home/Desktop/eclipse/workspace/L2JTeon-CORE/java/net/sf/l2j/Config.java =================================================================== --- C:/Users/Home/Desktop/eclipse/workspace/L2JTeon-CORE/java/net/sf/l2j/Config.java (revision 666) +++ C:/Users/Home/Desktop/eclipse/workspace/L2JTeon-CORE/java/net/sf/l2j/Config.java (working copy) @@ -73,6 +73,7 @@ public static final String OLYMPIAD_FILE = "./config/custom/Olympiad.properties"; public static final String AUGMENT_CONFIG_FILE = "./config/custom/Augment.properties"; public static final String DEV_CONFIG_FILE = "./config/custom/Dev.properties"; + public static final String ZOZOQ_FILE = "./config/zozoqcustoms.properties"; /** Server and Datapack version */ public static String SERVER_VERSION; @@ -1449,6 +1450,27 @@ public static boolean DATABASE_AUTO_CHECK; public static boolean DATABASE_AUTO_OPTIMIZE; public static boolean DATABASE_AUTO_REPAIR; + + + /** + * TODO: Adding more Features to server!!! + */ + public static boolean ALLOW_PVP_HERO; + public static boolean GIVE_PVP_HERO_SKILLS; + public static boolean REMOVE_OLYMPIAD_HERO; /** * This class initializes all global variables for configuration.<br> @@ -1853,6 +1875,35 @@ e.printStackTrace(); throw new Error("Failed to Load " + GM_ACCESS_FILE + " File."); } + // TODO: Adding more Features + try + { + Properties legend = new Properties(); + InputStream is = new FileInputStream(new File(ZOZOQ_FILE)); + legend.load(is); + is.close(); + ALLOW_PVP_HERO = Boolean.parseBoolean(legend.getProperty("AllowPvpHero", "False")); + GIVE_PVP_HERO_SKILLS = Boolean.parseBoolean(legend.getProperty("GivePvpHeroSkills", "False")); + REMOVE_OLYMPIAD_HERO = Boolean.parseBoolean(legend.getProperty("RemoveOlympiadHero", "False")); + } + catch (Exception e) + { + e.printStackTrace(); + throw new Error("Failed to Load " + ZOZOQ_FILE + " File."); + } // id factory try { Index: C:/Users/Home/Desktop/eclipse/workspace/L2JTeon-CORE/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- C:/Users/Home/Desktop/eclipse/workspace/L2JTeon-CORE/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 666) +++ C:/Users/Home/Desktop/eclipse/workspace/L2JTeon-CORE/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -14,6 +14,7 @@ */ package net.sf.l2j.gameserver.model.actor.instance; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; @@ -110,6 +111,7 @@ import net.sf.l2j.gameserver.model.L2Skill.SkillTargetType; import net.sf.l2j.gameserver.model.L2Skill.SkillType; import net.sf.l2j.gameserver.model.actor.appearance.PcAppearance; import net.sf.l2j.gameserver.model.actor.knownlist.PcKnownList; import net.sf.l2j.gameserver.model.actor.stat.PcStat; import net.sf.l2j.gameserver.model.actor.status.PcStatus; @@ -121,6 +123,7 @@ import net.sf.l2j.gameserver.model.base.SubClass; import net.sf.l2j.gameserver.model.entity.Castle; import net.sf.l2j.gameserver.model.entity.Duel; +import net.sf.l2j.gameserver.model.entity.Hero; import net.sf.l2j.gameserver.model.entity.L2Event; import net.sf.l2j.gameserver.model.entity.Siege; import net.sf.l2j.gameserver.model.entity.L2JTeonEvents.CTF; @@ -489,6 +492,12 @@ private TradeList _buyList; /** true if the L2PcInstance is newbie */ private boolean _newbie; + /**Pvp Hero System*/ + private int pvpHeroSystem = 0; private boolean _noble = false; private boolean _fakeHero = false; private boolean _hero = false; @@ -4466,6 +4550,51 @@ } } } + + if (Config.ALLOW_PVP_HERO) + { + if (Config.REMOVE_OLYMPIAD_HERO) + { + pvpHeroSystem = 0; + if (isHero() && Hero.getInstance().getHeroes() != null && Hero.getInstance().getHeroes().containsKey(getObjectId())) + { + return false; + } + else if (isHero()) + { + setHero(false); + Announcements.getInstance().announceToAll(getName()+" lost hero status"); + } + } + else + { + if (isHero()) + { + setHero(false); + Announcements.getInstance().announceToAll(getName()+" lost hero status"); + } + setPvpFlag(0); // Clear the pvp flag // Unsummon Cubics if (_cubics.size() > 0) @@ -4770,10 +4899,67 @@ // Add to attacker and increase its PK counter setPvpKills(getPvpKills() + 1); updatePvPColor(getPvpKills()); + + if (Config.ALLOW_PVP_HERO) + { + pvpHeroSystem++; + switch(pvpHeroSystem) { + case 5: + if (!isHero()) + { + setHero(true); + Announcements.getInstance().announceToAll(getName()+" gain hero status for killing row!"); + } + break; + default: + ; + } + } + // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter sendPacket(new UserInfo(this)); } + /** * Get info on pk's from PK table */ @@ -9146,7 +9332,7 @@ public void setHero(boolean hero) { - if (hero && _baseClass == _activeClass) - { - for (L2Skill s : HeroSkillTable.GetHeroSkills()) - addSkill(s, false); //Dont Save Hero skills to database - } - else - { - for (L2Skill s : HeroSkillTable.GetHeroSkills()) - super.removeSkill(s); //Just Remove skills from nonHero characters - } + if (!Config.GIVE_PVP_HERO_SKILLS) + { + if (Hero.getInstance().getHeroes() != null && Hero.getInstance().getHeroes().containsKey(getObjectId()) && hero && _baseClass == _activeClass) + { + for (L2Skill s : HeroSkillTable.GetHeroSkills()) + addSkill(s, false); //Dont Save Hero skills to database + } + else + { + for (L2Skill s : HeroSkillTable.GetHeroSkills()) + super.removeSkill(s); //Just Remove skills from nonHero characters + } + } + else + { + if (hero && _baseClass == _activeClass) + { + for (L2Skill s : HeroSkillTable.GetHeroSkills()) + addSkill(s, false); //Dont Save Hero skills to database + } + else + { + for (L2Skill s : HeroSkillTable.GetHeroSkills()) + super.removeSkill(s); //Just Remove skills from nonHero characters + } + } _hero = hero; sendSkillList(); Enjoy! Credits: Me I am never but never don't leach other ppl work! So please do not say i stole it! Oh and is not arleady shares as the other codes is different from mine! If you want use it if not good! Friendly ZozOQ
  14. pfff!!! Please read the Topic title it saying Town Protection Exaple When a koof is entering in the town with the mark <stat name="noKoofs" val="true"/> It will automaticaly teleport him back to base! no when he die! Oh and i change some mistakes in first post :)
  15. Very nice! It's owning Oh and its working for interlude with some little changes! :)
  16. Hello!!! I am here today to share one mod for KvN Faction Servers! What is doing this mod? If one koof is in town of noobs they will autoteleport back to their town! Same with noob in town of koofs! Let's Start!!! Index: C:/Users/Home/Desktop/eclipse/workspace/Function_CORE/java/net/sf/l2j/gameserver/model/zone/type/L2TownZone.java =================================================================== --- C:/Users/Home/Desktop/eclipse/workspace/Function_CORE/java/net/sf/l2j/gameserver/model/zone/type/L2TownZone.java (revision 688) +++ C:/Users/Home/Desktop/eclipse/workspace/Function_CORE/java/net/sf/l2j/gameserver/model/zone/type/L2TownZone.java (working copy) @@ -36,6 +36,8 @@ private int _taxById; private FastList<int[]> _spawnLocs; private boolean _noPeace; + private boolean _noKoofs; + private boolean _noNoobs; public L2TownZone(int id) { @@ -44,6 +46,8 @@ _spawnLocs = new FastList<int[]>(); _redirectTownId = 9; _noPeace = false; + _noKoofs = false; + _noNoobs = false; } @Override @@ -59,6 +63,10 @@ _taxById = Integer.parseInt(s1); else if (s.equals("isPeaceZone")) _noPeace = Boolean.parseBoolean(s1); + else if (s.equals("noKoofs")) + _noKoofs = Boolean.parseBoolean(s1); + else if (s.equals("noNoobs")) + _noNoobs = Boolean.parseBoolean(s1); else super.setParameter(s, s1); } @@ -87,6 +95,16 @@ return; if (!_noPeace && Config.ZONE_TOWN != 2) character.setInsideZone(2, true); + if (_noKoofs && ((L2PcInstance) character).isKoof()) + { + character.teleToLocation(111388, 223517, -3555); + ((L2PcInstance) character).sendMessage("Koofs are not allowed in noobs town!"); + } + if (_noNoobs && ((L2PcInstance) character).isNoob()) + { + character.teleToLocation(115732, 75104, -2599); + ((L2PcInstance) character).sendMessage("Noobs are not allowed in koofs town!"); + } } @Override @@ -137,4 +155,12 @@ { return _noPeace; } + public final boolean noKoofs() + { + return _noKoofs; + } + public final boolean noNoobs() + { + return _noNoobs; + } } on datapack side Open data/zones/zones.xml Find your place where you want (i will take hunter village) The normal one: <zone id='11030' type='Town' shape='Cuboid' minZ='-2800' maxZ='-1600'> <stat name='name' val='Hunter Village'/> <stat name='townId' val='11'/> <stat name='taxById' val='5'/> <spawn X='117163' Y='76511' Z='-2712'/> <spawn X='116580' Y='76179' Z='-2729'/> <spawn X='119644' Y='76609' Z='-2274'/> <spawn X='117009' Y='78935' Z='-2289'/> <spawn X='115091' Y='77740' Z='-2709'/> <spawn X='118270' Y='74494' Z='-2502'/> <spawn X='115663' Y='74995' Z='-2625'/> </zone> and the modified: <zone id='11030' type='Town' shape='Cuboid' minZ='-2800' maxZ='-1600'> <stat name='name' val='Hunter Village'/> <stat name='townId' val='11'/> <stat name='taxById' val='5'/> <stat name='noKoofs' val='true'/> <spawn X='117163' Y='76511' Z='-2712'/> <spawn X='116580' Y='76179' Z='-2729'/> <spawn X='119644' Y='76609' Z='-2274'/> <spawn X='117009' Y='78935' Z='-2289'/> <spawn X='115091' Y='77740' Z='-2709'/> <spawn X='118270' Y='74494' Z='-2502'/> <spawn X='115663' Y='74995' Z='-2625'/> </zone> The line i insert is: <stat name='noKoofs' val='true'/> for noobs just put <stat name='noNoobs' val='true'/> This code is created by me and only i don't know if someone make it i didn't find it! I will share only my codes not copy/pastes
  17. That's why i am here! I have come on this way xD Some mod/admin close it!
  18. if you change the port 7777 of the gameserver example to 7778 you need to forward the port 7778! You don't need to change the l2.ini ports! For the login server i don't know because i never change them :) Better do not change them will be more easy
  19. First of all you must open 2/3 ports 1st port of the login server is: 2106 The Gameserver port is: 7777 and the other that's needed if you have your login in different computer by the gameserver! 9014 The ports are allow the internet and other computers on your network to connect Now on l2.ini part! If you change the ini you don't need to add host because! as ncsoft ip adress is l2auth.lineage2.com the host is just change the ip of the host! ExternalHostname is right as you said Now in InternalHostname the 127.0.0.1 is your localhost you can connect only by the computer that's is running the server! the 192.168.0.xx is your network ip that's allow all the computers that's are connected to your network to play your server of course for the 192.168.0.xx you need to forward the ports that's i say you before! Lovely ZozOQ xD
  20. Hello, i am trying to make an php script to show the gamemasters of the server, but i get error! So, if someone can help me with that please!! I want to show the name and if is online or offline! Thanks very much!
  21. I prefer Gladiator. Good skills! and one thing good on them the Pole! xD
  22. you can change wings at lvl 30 with 800k kinah and at 40 lvl other with 10kk kinah
  23. That's me Yesterday Today http://img175.imageshack.us/img175/7034/aion0008.jpg[/img]
  24. http://imageshack.gr/files/0x1jdoqgjt7agu5bsm13.jpg[/img]
  25. Author: Luccifer??????????? kk we believed.... :PPP
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock