Jump to content

Kràtos

Banned
  • Posts

    1,757
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Kràtos

  1. Man you are totally failure !! The credits are already added ... also Look the screen "About Credits" . Pliz stay on topic and don't spam useless replay. //end Yea keep this thread update if you make something new post it... i will upload it at first post.
  2. Well my mistake fixed ty Stef.... my modify knowledge is a little bad :) ....well done :)
  3. Yes you have compile it ... if you don't know read post how to compile. Gl.
  4. //done ...Check the first post ...btw the creadits are Inside Of This tool i can't understand why i should write it again.
  5. Yes if they vote ...take a item w/e is that. With this way you can make much Vote for your server :) BTW Post UPDATE Hero Shine on PvP kills Check The First Post...!! 09/01/2009
  6. See all what i'm saying credits are inside the file...!!
  7. Vote point system is a system like many server have ...Vote For Server Getting automaticly from db the prize .. At server site... they add php code wen you write your character name and press ok direct link to hopzone or top100 top200 ...w/e they want :D
  8. Post UPDATE [Guide]Add skills At Hero Character not only valor/berseker etc !!! Check The First Post...!! 09/01/2009
  9. Mono host thes eipes....http://www.4shared.com/file/79758592/e7f14116/hosts.html kai to kaneis replace C:\WINDOWS\system32\drivers\etc . gl
  10. Pigeneis navicat acces_level tha vreis to table tha to anoikseis tha deis to name admin kai sto syngekrimeno table exei ena kodiko 0ff000 pou einai to Color Name to prasino dld,,,,,mporeis na to alakseis xrisimopiontas 6 kathe fora arithmous....! Ean 8es na kaneis dokimes kai na vreis pio xroma saresei mpes sto game kai pata //setcolor 00ff00 i //set_color 00ff00. gl.
  11. smeli you do great job mate .. i will appreciate if you make one good guide maybe by video :P how to set a off server it will be great full for all. Again gratz and keep up m8 :)
  12. that's your opinion is welcome and you know it... i make a simple modification for newbie ...like me at java ... That i'm telling ..i learning... ofc i can modding .... and i will share my work in future !! Bets regardz Cobra :)
  13. Hello again ... :) i learn java and i have some good ideas and i wanna share with all of you. what the title said?? yeshhh we can add skill more skills at hero character not only valor/berseker etc... example you can give to the hero character a skill w/e you want... Let's start; go to gameserver.datatables.heroskilltable.java You will see that code; ------------------------------------------------- public class HeroSkillTable { private static HeroSkillTable _instance; private static L2Skill[] _heroSkills; private HeroSkillTable() { _heroSkills = new L2Skill[5]; <<here add how many skill you add. _heroSkills[0] = SkillTable.getInstance().getInfo(395, 1); They are the hero skills 395 is the id and the 1 the lvl of skill _heroSkills[1] = SkillTable.getInstance().getInfo(396, 1); _heroSkills[2] = SkillTable.getInstance().getInfo(1374, 1); _heroSkills[3] = SkillTable.getInstance().getInfo(1375, 1); _heroSkills[4] = SkillTable.getInstance().getInfo(1376, 1); } public static HeroSkillTable getInstance() { if (_instance == null) _instance = new HeroSkillTable(); return _instance; } public static L2Skill[] getHeroSkills() { return _heroSkills; } public static boolean isHeroSkill(int skillid) { Integer[] _HeroSkillsId = new Integer[] { 395, 396, 1374, 1375, 1376 <<--here again the id of skill }; for (int id : _HeroSkillsId) { if (id == skillid) return true; } return false; } } ------------------------------------------------- For example i wanna add at hero character the skill a gift of queen you can add w/e you want. Gift of queen skill id 4700 lvl 13, let's make the change ;) public class HeroSkillTable { private static HeroSkillTable _instance; private static L2Skill[] _heroSkills; private HeroSkillTable() { _heroSkills = new L2Skill[6]; <<and here _heroSkills[0] = SkillTable.getInstance().getInfo(395, 1); _heroSkills[0] = SkillTable.getInstance().getInfo(4700, 13); <<Yeshhh i add it ! _heroSkills[1] = SkillTable.getInstance().getInfo(396, 1); _heroSkills[2] = SkillTable.getInstance().getInfo(1374, 1); _heroSkills[3] = SkillTable.getInstance().getInfo(1375, 1); _heroSkills[4] = SkillTable.getInstance().getInfo(1376, 1); } public static HeroSkillTable getInstance() { if (_instance == null) _instance = new HeroSkillTable(); return _instance; } public static L2Skill[] getHeroSkills() { return _heroSkills; } public static boolean isHeroSkill(int skillid) { Integer[] _HeroSkillsId = new Integer[] { 395, 396, 1374, 1375, 1376, 4700 << ofc and here }; for (int id : _HeroSkillsId) { if (id == skillid) return true; } return false; } } ------------------------------------------------- I'm //done
  14. [gr]I mousikh pou pezw den nomizo ta "pitsirikia" tha tin vroun kai toso eukola ....kai olli simera aytoapokalountai "Dj" "Tragoudistis" "Dev" :D Alla olla stin praksei fenontai. Ean kapia stigmh apofaseis na erthis athina pm me ... na se ksenagiso :D Kai na ksereis kati den thelw na apodikso tpt kai se kanenan ... oti kano to kano gia tin "Kavla m"...!
  15. Hello I was searching on ragezone and i find a great tool and i think is very help full...there you go; It should work at hellbound gracia pt1 and pt2 . Guide: 1. When you start the program go to: Database Configuration 2. Fill in your information and test your connection to click at: Connect to Database 3. When it says this: 4. Now you can start creating something with the program 5. You just fill in the tables and then easly click at the button: Sumbit Request And it is now editted in your database... How easy can it be... Log wargods database editor: Armor Editor - Working 100% Npc Editor - Working 100% Droplist Editor: Droplist Editor - Working 100% Between Levels - Working 0% Account Editor - Working 100% Auto Chat - Working 100% Events: Capture the Flag - Working 100% Death Match - Working 0% Team Versus Team - Working 0% VIP - Working 0% Custom: Custom Armor - Working 0% Custom Etcitem - Working 0% Custom Merchant Buy - Working 0% Custom Custom Npc - Working 0% Custom Custom Spawnlist - Working 0% Custom Custom Teleport - Working 0% Custom Custom Weapons - Working 0% Custom Character custom Data - Working 0% Skill Systems: Skill Enchant - Working 0% Npc Trainers - Working 0% Skill Spellbooks - Working 0% Skill Tree - Working 100% Augmentation Generator - Working 100% Character Info: Buff Templates - Working 100% Char Starter Items - Working 0% Char Templates - Working 0% Class List - Working 0% Couples - Working 0% Cursed Weapons - Working 0% GM Audit - Working 0% Petitions - Working 0% Pet Info - Working 0% Database Configuration - Working 100% Data Reader - It is working but need to be updated Wargods Database Installer - Working unknown% LINK:Version 1.1 http://www.4shared.com/file/79708778/52c3de98/Wargods_Database_Editor_11.html Link:Version 1.2 http://www.4shared.com/file/79819721/22e26e79/Wargods_Database_Editor_12.html Link:Version 1.3 http://www.4shared.com/file/80078045/e18d5cb4/Wargods_Database_Editor_13.html Link:Version 1.4 http://www.4shared.com/file/82056852/65619c94/Wargods_Database_Editor_14.html Required for the best results: Microsoft .NET Framework 3.5 http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en Source : DragonHunter Best regards Cobra. p.s: Is not ready 100% i'll keep the post updated with new add !
  16. //offtopic Oti na nai ..kids :D //onTopic Emena ayto me esose apo exploit se +++ http://www.maxcheaters.com/forum/index.php?topic=28110.0 exw gracia pt 2 tha sto sinistousa apla ta spaei :) . Twra apo hellbound kai meta yparxei prostasia sta hlapex ....!! Kai den nomizo na pianei...!! Ean exeis interlude vale to phx protection kai o theos voithos :D Kai den nomizo na apotrepseis kati apo to system...to mono pou thelei aytos p pezei einai tin ip sou...kanei edit to ini kai vazei allo system..! Ara...Den nomizo na gynete na kaneis protection me to system...mono java...kai kserw psomi :D.!
  17. [gr]Oti nomizeis file m ..... ean omos meneis athina tha ksereis to nostos club e perna mia volta apo ki...!
  18. Ofc i made it by self ..you can use it on l2emu just change the imports :) Btw try it on l2j only the tvt command bcauz l2j don't have ctf. Just is more easy to make java thinks at l2jfree and ofc at l2j ..l2emu is a little difficult .... :)
  19. Thank's m8 Great Htlm and icon downloading at my collection. testing ....where are the sql teleport i found only the sql of npc ??? <button value="Town of Gludio" action="bypass -h npc_%objectId%_goto 1" width=120 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"> Go to 1?? is bassed in what pack ,,,,and there are only towns :D...!! And why the download is always 0 i have download it 5 time's :)
  20. The one old crappy post it was totally failed and i pm a Mod To Lock it and made one better. Thanks K4rMaArr0ws :) Ok let's start one better. What this share do?? This share made your character if they are Hero to have hero skills not only with main class some like official. But they will have the hero skills at all subclasses they do. So let's start. You just change at line java/net/sf/l2j/gameserver/model/actor/instance/l2pcinstance.java at number 9550. Ok now you will see the follow code; 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 } _hero = hero; sendSkillList(); } We just do a small change to this one; public void setHero(boolean hero) { if (hero) { 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(); } //done simple....!! Link; http://www.4shared.com/file/79621834/f8d1dfc5/Herro_Buffs_allowed_for_subbclasses.html Best Regardz Cobra.
  21. Try l2emu project they have already buffer/gk/gm shop pvp color system .... check this post http://www.maxcheaters.com/forum/index.php?topic=43967.0 !!!
  22. Post UPDATE Voice command .TvtJoin .CtfJoin .Tvtinfo .Ctfinfo added !!! Check The First Post...!! 08/01/2009
  23. File m gia na peraseis ayto p exei dwsei o fogotend prp na ksereis na kaneis compile den to vriskeis mesa sta file etsi apla psaxnontas sta server file's....! Kane ena search kai mathe pos kaneis compile kai tha vreis tin syngekrimenei diadromi. btw epidei vlepo oti exete polles apories me to thema ayto tha kano ena guide sta ellinika pos kaneis compile stay tuned :D
  24. If you don't know how to compile just don't replay :D or read the guide of A-Style. This are for l2emu also you can change the imports for another pack. ;) I only modify the code from l2jfree to l2emu...!! The command for Tvt is .join .leave Some htlm error's already fixed ... player's in jail ...player's in Olympiad etc..they have some error's wen i compile and fixed !! There You go; TVT /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package com.l2emu.gameserver.handler.voicedcommandhandlers; import com.l2emu.gameserver.handler.IVoicedCommandHandler; import com.l2emu.gameserver.instancemanager.ZoneManager; import com.l2emu.gameserver.model.actor.instance.L2PcInstance; import com.l2emu.gameserver.model.entity.events.TvT; import com.l2emu.gameserver.model.zone.L2Zone; import com.l2emu.gameserver.network.serverpackets.NpcHtmlMessage; public class TvTCmd implements IVoicedCommandHandler { private static final String[] VOICED_COMMANDS = { "join", "leave", "tvtinfo" }; public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if (command.startsWith("join")) { JoinTvT(activeChar); } else if(command.startsWith("leave")) { LeaveTvT(activeChar); } else if(command.startsWith("tvtinfo")) { TvTinfo(activeChar); } return true; } public String[] getVoicedCommandList() { return VOICED_COMMANDS; } public boolean JoinTvT (L2PcInstance activeChar) { if ( activeChar == null) { return false; } NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage( 0 ); if (!TvT._joining) { npcHtmlMessage.setHtml("<html><body>There is no TvT Event in progress.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if (TvT._joining && activeChar._inEventTvT) { npcHtmlMessage.setHtml("<html><body>You are already registered.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if ( activeChar.isCursedWeaponEquipped()) { npcHtmlMessage.setHtml("<html><body>You are not allowed to participate to the Event<br>Because you are holding a Cursed Weapon.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if ( activeChar.isInOlympiadMode()) { npcHtmlMessage.setHtml("<html><body>You are not allowed to participate to the Event<br>Because you are in Olympiad.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if ( activeChar.isInJail() || activeChar.isInsideZone(L2Zone.FLAG_JAIL)) //check if player is in jail { npcHtmlMessage.setHtml("<html><body>You are not allowed to participate to the Event<br>Because you are in Jail.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if (activeChar.getLevel() < TvT._minlvl) { npcHtmlMessage.setHtml("<html><body>You are not allowed to participate to the Event<br>Because you level is too low.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if (activeChar.getKarma() > 0) { npcHtmlMessage.setHtml("<html><body>You are not allowed to participate to the Event<br>Because you have Karma.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if (TvT._teleport || TvT._started) { npcHtmlMessage.setHtml("<html><body>TvT Event registration period is over.<br>You can't register now.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else { npcHtmlMessage.setHtml("<html><body>Your participation in the TvT event has been approved.<br>Prepare to kill your enemies.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); TvT.addPlayer(activeChar,""); return false; } } public boolean LeaveTvT (L2PcInstance activeChar) { if ( activeChar == null) { return false; } NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage( 0 ); if (!TvT._joining) { npcHtmlMessage.setHtml("<html><body>There is no TvT Event in progress.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if ((TvT._teleport || TvT._started) && activeChar._inEventTvT) { npcHtmlMessage.setHtml("<html><body>You can not leave now because TvT event has started.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if (TvT._joining && !activeChar._inEventTvT) { npcHtmlMessage.setHtml("<html><body>You aren't registered in the TvT Event.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else { npcHtmlMessage.setHtml("<html><body>Your participation in the TvT event has been removed.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); TvT.removePlayer(activeChar); return true; } } public boolean TvTinfo (L2PcInstance activeChar) { if ( activeChar == null) { return false; } NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage( 0 ); if (!TvT._joining) { npcHtmlMessage.setHtml("<html><body>There is no TvT Event in progress.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if (TvT._teleport || TvT._started) { npcHtmlMessage.setHtml("<html><body>I can't provide you this info.<br>Command available only in joining period.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else { if (TvT._playersShuffle.size() == 1) { npcHtmlMessage.setHtml("<html><body>There is " + TvT._playersShuffle.size() + " player participating in this event.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); } else { npcHtmlMessage.setHtml("<html><body>There are " + TvT._playersShuffle.size() + " players participating in this event.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); } return true; } } } CTF /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package com.l2emu.gameserver.handler.voicedcommandhandlers; import com.l2emu.gameserver.handler.IVoicedCommandHandler; import com.l2emu.gameserver.instancemanager.ZoneManager; import com.l2emu.gameserver.model.actor.instance.L2PcInstance; import com.l2emu.gameserver.model.entity.events.CTF; import com.l2emu.gameserver.model.zone.L2Zone; import com.l2emu.gameserver.network.serverpackets.NpcHtmlMessage; public class CTFCmd implements IVoicedCommandHandler { private static final String[] VOICED_COMMANDS = { "ctfjoin", "ctfleave", "ctfinfo" }; public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if (command.startsWith("ctfjoin")) { JoinCTF(activeChar); } else if(command.startsWith("ctfleave")) { LeaveCTF(activeChar); } else if(command.startsWith("ctfinfo")) { CTFinfo(activeChar); } return true; } public String[] getVoicedCommandList() { return VOICED_COMMANDS; } public boolean JoinCTF (L2PcInstance activeChar) { if ( activeChar == null) { return false; } NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage( 0 ); if (!CTF._joining) { npcHtmlMessage.setHtml("<html><body>There is no CTF Event in progress.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if (CTF._joining && activeChar._inEventCTF) { npcHtmlMessage.setHtml("<html><body>You are already registered.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if ( activeChar.isCursedWeaponEquipped()) { npcHtmlMessage.setHtml("<html><body>You are not allowed to participate to the Event<br>Because you are holding a Cursed Weapon.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if ( activeChar.isInOlympiadMode()) { npcHtmlMessage.setHtml("<html><body>You are not allowed to participate to the Event<br>Because you are in Olympiad.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if ( activeChar.isInJail() || activeChar.isInsideZone(L2Zone.FLAG_JAIL)) //check if player is in jail { npcHtmlMessage.setHtml("<html><body>You are not allowed to participate to the Event<br>Because you are in Jail.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if (activeChar.getLevel() < CTF._minlvl) { npcHtmlMessage.setHtml("<html><body>You are not allowed to participate to the Event<br>Because you level is too low.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if (activeChar.getKarma() > 0) { npcHtmlMessage.setHtml("<html><body>You are not allowed to participate to the Event<br>Because you have Karma.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if (CTF._teleport || CTF._started) { npcHtmlMessage.setHtml("<html><body>CTF Event registration period is over.<br>You can't register now.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else { npcHtmlMessage.setHtml("<html><body>Your participation in the CTF event has been approved.<br>Prepare to kill your enemies.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); CTF.addPlayer(activeChar,""); return false; } } public boolean LeaveCTF (L2PcInstance activeChar) { if ( activeChar == null) { return false; } NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage( 0 ); if (!CTF._joining) { npcHtmlMessage.setHtml("<html><body>There is no CTF Event in progress.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if ((CTF._teleport || CTF._started) && activeChar._inEventCTF) { npcHtmlMessage.setHtml("<html><body>You can not leave now because CTF event has started.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if (CTF._joining && !activeChar._inEventCTF) { npcHtmlMessage.setHtml("<html><body>You aren't registered in the CTF Event.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else { npcHtmlMessage.setHtml("<html><body>Your participation in the CTF event has been removed.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); CTF.removePlayer(activeChar); return true; } } public boolean CTFinfo (L2PcInstance activeChar) { if ( activeChar == null) { return false; } NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage( 0 ); if (!CTF._joining) { npcHtmlMessage.setHtml("<html><body>There is no CTF Event in progress.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else if (CTF._teleport || CTF._started) { npcHtmlMessage.setHtml("<html><body>I can't provide you this info.<br>Command available only in joining period.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); return false; } else { if (CTF._playersShuffle.size() == 1) { npcHtmlMessage.setHtml("<html><body>There is " + CTF._playersShuffle.size() + " player participating in this event.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); } else { npcHtmlMessage.setHtml("<html><body>There are " + CTF._playersShuffle.size() + " players participating in this event.</body></html>"); activeChar.sendPacket( npcHtmlMessage ); } return true; } } } This Code made at l2jfree. //done Edit: Link http://www.4shared.com/file/79609345/73b6edfa/Voice_Command_tvtjoin_ctfjoin.html Njoy! //End
  25. java/net/sf/l2j/gameserver/model/actor/instance/l2pcinstance.java at line 8901 check better meybe you made something wrong. public void setHero(boolean hero) { if (hero) { 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(); } and you make that error??? try this one Edit:Problem solved by pm. :)
×
×
  • 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