Jump to content

Dulens.

Banned
  • Posts

    3,353
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Dulens.

  1. Awesome server!! I had years to see server like this.
  2. it's fucking awesome!
  3. take my papar dude.
  4. wtf, just trolling arround.
  5. wtb love.
  6. difficult to make? o_o
  7. Εγώ είμαι από Ρόδο, και ήμουν σε πολυκατοικία (3ο όροφο) και γαμήθηκε στον σεισμό εγώ είπα πάει εδώ ήταν αλλά σταμάτησε, για να πω την αλήθεια τρόμαξα αλλά ήταν coble η εμπειρία ;p Πήρα την μάνα μου και την κατέβασα κάτω και πήγαμε βόλτα ^_^
  8. Finally, don't work on l2jfrozen because it's javascript and l2jfrozen doesn't accept javascripts. You have to choose a skilled developer to fix this code.
  9. try with this code package custom.SpecialGatekeeper; import com.l2jfrozen.Config; import com.l2jfrozen.gameserver.instancemanager.ZoneManager; import com.l2jfrozen.gameserver.model.actor.L2Character; import com.l2jfrozen.gameserver.model.actor.L2Npc; import com.l2jfrozen.gameserver.model.actor.L2Player; import com.l2jfrozen.gameserver.model.quest.Quest; import com.l2jfrozen.gameserver.model.quest.QuestState; import com.l2jfrozen.gameserver.model.zone.L2ZoneType; /** * @author Matim * <br>Special Gatekeeper NPC. * <br>Show current players count from zone. * <br>This code may be easily edited. * <br>By default it has few arenas teleports. */ public class SpecialGatekeeper extends Quest { protected static L2Player player; private final static String qn = "SpecialGatekeeper"; private final static int NPC = Config.SPECIAL_GK_NPC_ID; public SpecialGatekeeper(int questId, String name, String descr) { super(questId, name, descr); addFirstTalkId(NPC); addStartNpc(NPC); addTalkId(NPC); } @Override public String onAdvEvent(String event, L2Npc npc, L2Player player) { String htmltext = ""; if(event.equalsIgnoreCase("1")) player.teleToLocation(73890, 142656, -3778); else if (event.equalsIgnoreCase("2")) player.teleToLocation(-86979, 142402, -3643); else if (event.equalsIgnoreCase("3")) player.teleToLocation(147451, 46728, -3410); else if (event.equalsIgnoreCase("4")) player.teleToLocation(12312, 182752, -3558); else htmltext = "Error, check whole GK code!"; return htmltext; } @Override public String onFirstTalk(L2Npc npc, L2Player player) { String htmltext = ""; QuestState qs = player.getQuestState(qn); if (qs == null) qs = newQuestState(player); htmltext = "<html><title>Special Gatekeeper</title><head><body><center>" + "<br><img src=l2ui.bbs_lineage2 height=16 width=80>" + "<font color=AAAAAA>Special Gatekeeper</font><br>" + "<img src=L2UI_CH3.herotower_deco width=256 height=32>" + "Players Inside: <font color=\"LEVEL\">" + getPlayerInsideCount(11600) + "</font>" + "<button value=\"Aden\" action=\"bypass -h Quest SpecialGatekeeper 1\" back=\"L2UI_ch3.bigbutton_over\" fore=\"L2UI_ch3.bigbutton\" width=95 height=21><br>" + "Players Inside: <font color=\"LEVEL\">" + getPlayerInsideCount(10500) + "</font>" + "<button value=\"Giran\" action=\"bypass -h Quest SpecialGatekeeper 2\" back=\"L2UI_ch3.bigbutton_over\" fore=\"L2UI_ch3.bigbutton\" width=95 height=21><br>" + "Players Inside: <font color=\"LEVEL\">" + getPlayerInsideCount(11012) + "</font>" + "<button value=\"MOS\" action=\"bypass -h Quest SpecialGatekeeper 3\" back=\"L2UI_ch3.bigbutton_over\" fore=\"L2UI_ch3.bigbutton\" width=95 height=21><br>" + "Players Inside: <font color=\"LEVEL\">" + getPlayerInsideCount(11013) + "</font>" + "<button value=\"VARKA\" action=\"bypass -h Quest SpecialGatekeeper 4\" back=\"L2UI_ch3.bigbutton_over\" fore=\"L2UI_ch3.bigbutton\" width=95 height=21><br>" + "Players Inside: <font color=\"PI\">" + getPlayerInsideCount(11013) + "</font>" + "<button value=\"VARKA\" action=\"bypass -h Quest SpecialGatekeeper 4\" back=\"L2UI_ch3.bigbutton_over\" fore=\"L2UI_ch3.bigbutton\" width=95 height=21><br>" + "<font color=\"cc9900\"><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32></font><br1></center></body></head></html>"; return htmltext; } /** * @param zoneId * @return player count from given zone ID */ public static int getPlayerInsideCount(int zoneId) { int i = 0; for (L2ZoneType zone : ZoneManager.getInstance().getAllZones()) if (zone.getId() == zoneId) { for (L2Character character : zone.getCharactersInside().values()) if (character instanceof L2Player) i++; return i; } return -1; } public static void main(String[] args) { new SpecialGatekeeper(-1, qn, "SpecialGatekeeper"); } } one import need fix, I will tell you whole fixed code in few minutes.
  10. with the necessary changes, like changing imports and some fixes on code to works at interlude.
  11. αυτό είναι καθαρά του client, τώρα θέλεις κάποιον ειδικό για να στο κάνει αυτό.
  12. κάποιος να μπει στον υπολογιστή μου και να μου ανοίξει τα ports αν είναι εύκολο. router: Thomson TG585
  13. ναι αλλά έτσι θα είναι δύσκολο κάθε φορά. άνοιξε eclipse και πήγαινε gameserver.handler.usercommandhandlers μετά θα βρεις ένα αρχείο ( loc.java ) , το ανοίγεις και θα βρεις αυτόν τον κώδικα case 0: msg = SystemMessageId.LOC_TI_S1_S2_S3; break; case 1: msg = SystemMessageId.LOC_ELVEN_S1_S2_S3; break; case 2: msg = SystemMessageId.LOC_DARK_ELVEN_S1_S2_S3; break; case 3: msg = SystemMessageId.LOC_ORC_S1_S2_S3; break; case 4: msg = SystemMessageId.LOC_DWARVEN_S1_S2_S3; break; case 5: msg = SystemMessageId.LOC_GLUDIO_S1_S2_S3; break; case 6: msg = SystemMessageId.LOC_GLUDIN_S1_S2_S3; break; case 7: msg = SystemMessageId.LOC_DION_S1_S2_S3; break; case 8: msg = SystemMessageId.LOC_GIRAN_S1_S2_S3; break; case 9: msg = SystemMessageId.LOC_OREN_S1_S2_S3; break; case 10: msg = SystemMessageId.LOC_ADEN_S1_S2_S3; break; case 11: msg = SystemMessageId.LOC_HUNTER_S1_S2_S3; break; case 12: msg = SystemMessageId.LOC_GIRAN_HARBOR_S1_S2_S3; break; case 13: msg = SystemMessageId.LOC_HEINE_S1_S2_S3; break; case 14: msg = SystemMessageId.LOC_RUNE_S1_S2_S3; break; case 15: msg = SystemMessageId.LOC_GODDARD_S1_S2_S3; break; case 16: msg = SystemMessageId.LOC_SCHUTTGART_S1_S2_S3; break; case 17: msg = SystemMessageId.LOC_FLORAN_S1_S2_S3; break; case 18: msg = SystemMessageId.LOC_PRIMEVAL_ISLE_S1_S2_S3; break; default: msg = SystemMessageId.LOC_ADEN_S1_S2_S3; } από κάτω βάλε αυτό SystemMessage sm = new SystemMessage(msg); msg = null; sm.addNumber(activeChar.getX()); sm.addNumber(activeChar.getY()); sm.addNumber(activeChar.getZ()); activeChar.sendPacket(sm); sm = null; return true; } νομίζω έτσι θα δουλέψει.
  14. τώρα είμαι απασχολημένος, ποιο μετά θα τον φτιάξω.
  15. It won't, you will see the different!
  16. εγώ που βοηθάω ένα παιδί που έχει freya, το /loc δουλεύει κανονικά.
  17. I think exist a NPC whice gives you Fame. For fame item, I think someone code it for you but search at share section, maybe you will find something.
  18. /loc είναι όχι .loc ! εκτός αν το pack σου το παραλείπει.
  19. καλά και τα με τις 2 εναλλακτικές το κάνεις , ότι θέλει από τα 2 κάνει ;p
×
×
  • 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