-
Posts
245 -
Credits
0 -
Joined
-
Last visited
Never -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Mit-sos
-
Ekana prin ligo 2 check gia tn server mou sto requestrestart.java(clientpackets) kai den kserw ama einai sosti mpori kapios an exi tn kalosini na mou pi an einai entaksi??? if (player.getActiveRequester().isInOlympiadMode()) { player.sendMessage("you cant restart while you are in olympiad game!"); return; } if (player.getActiveRequester().getKarma() > 0) { player.sendMessage("you cant restart while you got karma!"); return; } To activechar. m ebgaze error k to ekana etsi!!! einai etnaksi???
-
Ekana prin ligo 2 check gia tn server mou sto requestrestart.java(clientpackets) kai den kserw ama einai sosti mpori kapios an exi tn kalosini na mou pi an einai entaksi??? if (player.getActiveRequester().isInOlympiadMode()) { player.sendMessage("you cant restart while you are in olympiad game!"); return; } if (player.getActiveRequester().getKarma() > 0) { player.sendMessage("you cant restart while you got karma!"); return; } To activechar. m ebgaze error k to ekana etsi!!! einai etnaksi???
-
Ekana prin ligo 2 check gia tn server mou sto requestrestart.java(clientpackets) kai den kserw ama einai sosti mpori kapios an exi tn kalosini na mou pi an einai entaksi??? if (player.getActiveRequester().isInOlympiadMode()) { player.sendMessage("you cant restart while you are in olympiad game!"); return; } if (player.getActiveRequester().getKarma() > 0) { player.sendMessage("you cant restart while you got karma!"); return; } To activechar. m ebgaze error k to ekana etsi!!! einai etnaksi???
-
[Request Topic]Κάντε request ότι οδηγούς θέλετε.
Mit-sos replied to Fanky's topic in Server Development Discussion [Greek]
ftiakse ena guide opote mporesis gia to pos na ftiaksis VoiceCommand gt exw akousi polous na lene oti einai apli k ka8e kenourgios developer na ksekinisi me tetia apla pragmata ala den exw di guide gia VoiceCommand!!! :D -
[Request Topic]Κάντε request ότι οδηγούς θέλετε.
Mit-sos replied to Fanky's topic in Server Development Discussion [Greek]
ftiakse ena guide opote mporesis gia to pos na ftiaksis VoiceCommand gt exw akousi polous na lene oti einai apli k ka8e kenourgios developer na ksekinisi me tetia apla pragmata ala den exw di guide gia VoiceCommand!!! :D -
[Request Topic]Κάντε request ότι οδηγούς θέλετε.
Mit-sos replied to Fanky's topic in Server Development Discussion [Greek]
ftiakse ena guide opote mporesis gia to pos na ftiaksis VoiceCommand gt exw akousi polous na lene oti einai apli k ka8e kenourgios developer na ksekinisi me tetia apla pragmata ala den exw di guide gia VoiceCommand!!! :D -
[Help] Glow in Duels (take a look pls)
Mit-sos replied to Mit-sos's topic in [Request] Client Dev Help
0 9810 1 1 6 1 0 Munch_IncessantCore.Munch_IncessantCore Munch_IncessantCore.Munch_IncessantCore Munch_AbyssalWeapons.incessant_core_t00_wp Munch_AbyssalWeapons.incessant_core_t00_wp Munch_AbyssalWeapons.weapon_dual_sword_i00 Munch_AbyssalWeapons.weapon_incessantcore_sword_i00 Munch_AbyssalWeapons.weapon_incessantcore_sword_i00 -1 2140 51 1 0 14 3 2 Munch_IncessantCore.Munch_IncessantCore Munch_IncessantCore.Munch_IncessantCore 2 Munch_AbyssalWeapons.incessant_core_t00_wp Munch_AbyssalWeapons.incessant_core_t00_wp 4 ItemSound.sword_mid_4 ItemSound.sword_big_1 ItemSound.public_sword_shing_4 ItemSound.public_sword_shing_10 ItemSound.itemdrop_dualsword ItemSound.itemequip_dualsword 10 480 174 8 5 8 0 0 0 0 325 0 1 1 1000 0 -1 0 LineageEffect.e_u092_a LineageEffect.e_u092_a 5.00000000 0.00000000 0.00000000 5.00000000 0.00000000 0.00000000 1.00000000 1.00000000 3.00000000 3.00000000 LineageWeapons.rangesample LineageWeapons.rangesample 1.60000002 0.69999999 0.69999999 1.60000002 0.69999999 0.69999999 13.00000000 0.00000000 0.00000000 13.00000000 0.00000000 0.00000000 4 4 -1 -1 Munch_AbyssalWeapons.weapon_dual_sword_i00 Munch_AbyssalWeapons.weapon_incessantcore_sword_i01 Munch_AbyssalWeapons.weapon_incessantcore_sword_i01 and i use a clear system but the bug remains!!! -
[Help] Glow in Duels (take a look pls)
Mit-sos replied to Mit-sos's topic in [Request] Client Dev Help
0 9810 1 1 6 1 0 Munch_IncessantCore.Munch_IncessantCore Munch_IncessantCore.Munch_IncessantCore Munch_AbyssalWeapons.incessant_core_t00_wp Munch_AbyssalWeapons.incessant_core_t00_wp Munch_AbyssalWeapons.weapon_dual_sword_i00 Munch_AbyssalWeapons.weapon_incessantcore_sword_i00 Munch_AbyssalWeapons.weapon_incessantcore_sword_i00 -1 2140 51 1 0 14 3 2 Munch_IncessantCore.Munch_IncessantCore Munch_IncessantCore.Munch_IncessantCore 2 Munch_AbyssalWeapons.incessant_core_t00_wp Munch_AbyssalWeapons.incessant_core_t00_wp 4 ItemSound.sword_mid_4 ItemSound.sword_big_1 ItemSound.public_sword_shing_4 ItemSound.public_sword_shing_10 ItemSound.itemdrop_dualsword ItemSound.itemequip_dualsword 10 480 174 8 5 8 0 0 0 0 325 0 1 1 1000 0 -1 0 LineageEffect.e_u092_a LineageEffect.e_u092_a 5.00000000 0.00000000 0.00000000 5.00000000 0.00000000 0.00000000 1.00000000 1.00000000 3.00000000 3.00000000 LineageWeapons.rangesample LineageWeapons.rangesample 1.60000002 0.69999999 0.69999999 1.60000002 0.69999999 0.69999999 13.00000000 0.00000000 0.00000000 13.00000000 0.00000000 0.00000000 4 4 -1 -1 Munch_AbyssalWeapons.weapon_dual_sword_i00 Munch_AbyssalWeapons.weapon_incessantcore_sword_i01 Munch_AbyssalWeapons.weapon_incessantcore_sword_i01 and i use a clear system but the bug remains!!! -
[Share]Announcements some members of server!!!
Mit-sos replied to Mit-sos's topic in Server Shares & Files [L2J]
is ok now??? i think so!!! If you try it and it worked replied here :) -
[Share]Announcements some members of server!!!
Mit-sos replied to Mit-sos's topic in Server Shares & Files [L2J]
is ok now??? i think so!!! If you try it and it worked replied here :) -
[Share]Announcements some members of server!!!
Mit-sos replied to Mit-sos's topic in Server Shares & Files [L2J]
Update Confing!!! -
[Share]Announcements some members of server!!!
Mit-sos replied to Mit-sos's topic in Server Shares & Files [L2J]
Update Confing!!! -
[en]Someone can saw me any hack for metin2 [en] [gr]Kseri kapios kanena hack gia to metin2 [gr]
-
[Οδηγός]Switch Method (Παραδείγματα inc)
Mit-sos replied to Fanky's topic in Server Development Discussion [Greek]
an me voi8ises sto proigoumeno sou odigo 1 fora twra me voi8ises 10 fores!!! ise pextaras ti na pw!!! sinexise etsi!!! -
[Share]Announcements some members of server!!!
Mit-sos replied to Mit-sos's topic in Server Shares & Files [L2J]
OK!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :D thnxxxx!!!! i think i do a config today the night!!! :P because with config would be more practical!!! :P -
[Share]Announcements some members of server!!!
Mit-sos replied to Mit-sos's topic in Server Shares & Files [L2J]
AND thank you for the L2PcInstance code!!! realy!!! I understood my mistake ;D -
[Share]Announcements some members of server!!!
Mit-sos replied to Mit-sos's topic in Server Shares & Files [L2J]
yes i spam in help section every one minute :P :-[ !!! Thank you all very much for your kind words!!! and fanky your guide is veryyyyy good helped me a lot!!! :D -
[Share]Announcements some members of server!!!
Mit-sos posted a topic in Server Shares & Files [L2J]
Helllllloooo members of maxcheaters.com!!! This is my firts java code and i'm glad that will share this in forum i hope to enjoy that!!! Index: java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java =================================================================== --- java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java +++ java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java @@ -249,9 +249,67 @@ SevenSigns.getInstance().sendCurrentPeriodMsg(activeChar); Announcements.getInstance().showAnnouncements(activeChar); + Quest.playerEnter(activeChar); activeChar.sendPacket(new QuestList()); @@ -286,6 +287,7 @@ Hero.getInstance().getHeroes().containsKey(activeChar.getObjectId())) activeChar.setHero(true); + activeChar.charAnnouncements(); setPledgeClass(activeChar); Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java @@ -36,6 +36,7 @@ import net.sf.l2j.Config; import net.sf.l2j.L2DatabaseFactory; +import net.sf.l2j.gameserver.Announcements; import net.sf.l2j.gameserver.GameTimeController; import net.sf.l2j.gameserver.GeoData; import net.sf.l2j.gameserver.GmListTable; @@ -9985,6 +9986,35 @@ return _duelState; } + + public void charAnnouncements() + { + + if (Config.Announcements_Hero) + { + if (isHero()) + { + Announcements.getInstance().announceToAll("Server's Hero "+getName()+"is currently online"); + sendMessage("Welcome : "+getName()+ "Hero of our Server"); + sendMessage("There are: "+L2World.getInstance().getAllPlayers().size()+" players online"); + } + } + + if (Config.Announcements_GODLIKE) + { + if (getPvpKills() > 150 & getPkKills() > 150 & isNoble()) + { + Announcements.getInstance().announceToAll("Server's GODLIKE "+getName()+" with 150 pvp & 150pk & noble is currently online"); + sendMessage("Welcome : "+getName()+ "GODLIKE of our Server"); + sendMessage("There are: "+L2World.getInstance().getAllPlayers().size()+" players online"); + } + } + + + if (Config.Announcements_Legendery) + { + if (getPvpKills() > 100 & getPkKills() > 100 & isNoble()) + { + Announcements.getInstance().announceToAll("Server's legendary "+getName()+" with 100 pvp & 100pk & noble is currently online"); + sendMessage("Welcome : "+getName()+ "Legendary of our Server"); + sendMessage("There are: "+L2World.getInstance().getAllPlayers().size()+" players online"); + } + } + + if (Config.Announcements_Incredible) + { + if (getPvpKills() > 50 & getPkKills() > 50 & isNoble()) + { + Announcements.getInstance().announceToAll("Server's Incredible "+getName()+" with 50 pvp & 50pk & noble is currently online"); + sendMessage("Welcome : "+getName()+ "Incredible of our Server"); + sendMessage("There are: "+L2World.getInstance().getAllPlayers().size()+" players online"); + } + } + } Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java +++ java/net/sf/l2j/Config.java @@ -1185,5 +1185,46 @@ /** Alt Settings for devs */ public static boolean ALT_DEV_NO_QUESTS; public static boolean ALT_DEV_NO_SPAWNS; + + public static boolean Announcements_Hero; + public static boolean Announcements_GODLIKE; + public static boolean Announcements_Legendery; + public static boolean Announcements_Incredible; + + /** * This class initializes all global variables for configuration.<br> * If key doesn't appear in properties file, a default value is setting on by this class. * @see #CONFIGURATION_FILE for configuring your server. */ public static void load() @@ 1904,17 1904,138 @@ L2JMOD_WEDDING_SAMESEX = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingAllowSameSex", "False")); L2JMOD_WEDDING_FORMALWEAR = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingFormalWear", "True")); L2JMOD_WEDDING_DIVORCE_COSTS = Integer.parseInt(L2JModSettings.getProperty("WeddingDivorceCosts", "20")); + + Announcements_Hero = Boolean.parseBoolean(L2JModSettings.getProperty("AnnouncementsHero", "False")); + Announcements_GODLIKE = Boolean.parseBoolean(L2JModSettings.getProperty("AnnouncementsGODLIKE", "False")); + Announcements_Legendery = Boolean.parseBoolean(L2JModSettings.getProperty("AnnouncementsLegendery", "False")); + Announcements_Incredible = Boolean.parseBoolean(L2JModSettings.getProperty("AnnouncementsIncredible", "False")); + if (TVT_EVENT_PARTICIPATION_NPC_ID == 0) { TVT_EVENT_ENABLED = false; System.out.println("TvTEventEngine[Config.load()]: invalid config property -> TvTEventParticipationNpcId"); } Index: java/Config/L2jmods.Properties =================================================================== --- java/Config/L2jmods.Properties +++ java/Config/L2jmods.Properties @@ -140,1 +140,1 @@ +#================================================== +# Custom Announcements = +#================================================== +#Set this options to true to enable Announcements. +AnnouncementsHero = False +AnnouncementsGODLIKE = False +AnnouncementsLegendery = False +AnnouncementsIncredible = False If player is hero he get a wellcome message every time login when login can be seen all online players in this time and he Announcements!!! when one player done noblesse and has some pvp and pk BECOME a Incredible then Legendary and the final level is the GODLIKE he then gets a wellcome message every time login, when login can be seen all online players in this time AND Announcements ( as the hero :P ) You can edit the numbers of pvp,pk on 'getPvpKills() > 150' for pvp and 'activeChar.getPkKills() > 150' for pk AND don't forget to change the message!!! Τhank Fanky who helped me in L2PcInstanse code :) -
[Help] Glow in Duels (take a look pls)
Mit-sos replied to Mit-sos's topic in [Request] Client Dev Help
There are such cases the FileEdit do not seva correctly-right the weapongrp.dat??? -
[Help] Glow in Duels (take a look pls)
Mit-sos replied to Mit-sos's topic in [Request] Client Dev Help
bumb -
[Help] Glow in Duels (l2j)(take a look pls)
Mit-sos replied to Mit-sos's question in Request Server Development Help [Greek]
bumb -
[Help] Glow in Duels (l2j)(take a look pls)
Mit-sos replied to Mit-sos's question in Request Server Development Help [Greek]
kanenas kamia idea re pedia? (bumb) -
[Help] Glow in Duels (take a look pls)
Mit-sos replied to Mit-sos's topic in [Request] Client Dev Help
The abyssal have the hero effect, the effect appears only on the right side!!! AND i have this in all game on duals/fist AND not only in hero effect!!! -
[Help] Glow in Duels (take a look pls)
Mit-sos replied to Mit-sos's topic in [Request] Client Dev Help
i try to replace the lineageeffect.u file with the c4 file and nothing, i try to equip the weap again and nothing, i try this in all quality and nothing!!! -
[Help] Glow in Duels (take a look pls)
Mit-sos replied to Mit-sos's topic in [Request] Client Dev Help
i try to replace the lineageeffect.u file with the c4 file and nothing, i try to equip the weap again and nothing, i try this in all quality and nothing!!!