Jump to content

Matim

Legendary Member
  • Posts

    4,504
  • Credits

  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by Matim

  1. Why not, I did the same with my server.
  2. Just create new zone type extiending L2ZoneType class.
  3. This L2Emu - active, with skilled developers.
  4. Installation of l2jserver is almost the same.
  5. Do you think if I would know, i would ask?
  6. Ofc, its obvious I guess, anyway whole code should be a bit different. And should be placed in proper place (you should take a look at code responsible for player PvP State) And it means that code responsible for removing this tatoo should be placed there.
  7. Its your choose, I would strongly recommend Linux, but it may be harder in use for someone who is not experienced with Linux (console server control, putty etc)
  8. It would be great to provide some information, descriptions etc, dont you THINK SO?
  9. And I just gave you some hints about how to do it :)
  10. Just wait till their SVN will be back once again.
  11. It is ENGLISH not GREEK help section. Topic locked.
  12. You can bump your thread once per 24 hour! Respect rules or nobody will help you or you will be dekarmed aswell.
  13. Table called "items" its table where each player item info from Inventory/WH is stored. Also there are different tables to store info about item attributes (But Im not sure)
  14. Give me their SVN to take a look ..
  15. Just make sure to use proper PAPERDOLL and insert this check into proper space (there should be something while player become flaged)
  16. You are using latest Intrelude source from L2J?
  17. Explained XXXXXXX times, also FighterBoss gave you sollution. Topic Locked. Next time use search before posting.
  18. Not tested, but should be fine, fast code: package custom.VipManager; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.quest.Quest; import com.l2jserver.gameserver.model.quest.QuestState; /** * @author Matim * @version 1.0 */ public class VipManager extends Quest { private final static String qn = "VipManager"; private final static int NPC = 50013; public VipManager(int questId, String name, String descr) { super(questId, name, descr); addFirstTalkId(NPC); addStartNpc(NPC); addTalkId(NPC); } @Override public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) { String htmltext = ""; String name = player.getName(); if (event.equalsIgnoreCase("1")) { if (player.isVip()) // TODO u need this Cheack! { htmltext = "<html><title>VIP Manager</title><head><body><center>" + "<br>Sorry <font color=\"LEVEL\">" + name + "</font>, but you are already VIP!"; } else { if (player.getInventory().getItemByItemId(6630) == null) { return "error"; } else { if if (player.getLevel() < 80) { player.sendMessage("You need Level 80 or higher!"); } else { player.setIsVip(true); // TODO u need this method to set VIP! htmltext = "<html><title>VIP Manager</title><head><body><center>" + "<br>Congratulations <font color=\"LEVEL\">" + name + "</font>, you are VIP now!"; } } } } else htmltext = "Error, check whole NPC code!"; return htmltext; } @Override public String onFirstTalk(L2Npc npc, L2PcInstance player) { String htmltext = ""; QuestState qs = player.getQuestState(qn); if (qs == null) qs = newQuestState(player); htmltext = "<html><title></title><head><body><center>" + "<br><img src=l2ui.bbs_lineage2 height=16 width=80>" + "<font color=AAAAAA>VIP Manager</font><br>" + "<img src=L2UI_CH3.herotower_deco width=256 height=32>" + "<button value=\"Make me VIP!\" action=\"bypass -h Quest VipManager 1\" 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; } public static void main(String[] args) { new VipManager(-1, qn, "custom"); } } Warning, you need: isVip(); boolean check (check if is/isnt Vip) setIsVip(boolean b); to make player VIP Maybe your pack has support for VIP engine, I guess it has since you need it. I guess you know, how to install it, right?
  19. Give me few min, and I will code it.
  20. So you need NPC with possibility to confer the status of VIP? Why python? It could be java quest based NPC aswell.
  21. Cool story. Next time read forum rules before posting, otherwise you will be dekarmed. Wrong Section, topic locked.
  22. So when u are in pvp state Tatoo shoud be removed, but you mean just to remove from wear slot, not to remove from inventory, right?
  23. If it really works, will help for sure. Anyway, since you are new member, I would take a look at online virus scann of this file first.
  24. HDD Space - Database/ Database Backups (but u don't need sooooo big HDD anyway) RAM - really important (proper ammount for Java/GS/LS etc) CPU - obvious, thats important. And ofc proper connection. About Linux vs Windows: Most important thing Linux is faster (better performance)
  25. What exactly do you mean, explain it better, because I can't really understand you. Anyway as I can suppose, you are just spammer (according to your posts ...)
×
×
  • Create New...