Jump to content

criss22

Members
  • Posts

    515
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by criss22

  1. Mby this method save you // Set the target of the L2PcInstance activeChar activeChar.setTarget(target);
  2. Well, i need a bit help. Back in past. Not more. I want to fix something and i didn't know. I make 2 category of drop. DROP and SPOIL . All good. I see Drop with Orange color. but Spoil i see still like Drop. Not like Fuchsya. I put cat.isSweep(). No chance. First Item it is Spoil drop. Second it is Drop normal Here it is java line. StringUtil.append(html1, "<tr>", "<td><center><img src=\"" + item.getIcon() + "\" height=32 width=32></center><br>", "<center><font color=\"ff9933\">" + item.getName() + "</font></center>", "<br1>" + "<center><font color=\"00cc66\">Chance: </font>", "<font color=\"ffffff\">" + roundChance + "0%" + "</font>", "<font color=\"00cc66\"> Min:</font>" + "<font color=\"ffffff\">" + drop.getMinDrop() + "</font>" + "<font color=\"00cc66\"> Max:</font>", "<font color=\"ffffff\">" + drop.getMaxDrop() + "</font></center>" + "<img src=\"L2UI.SquareWhite\" width=280 height=1>", "<br>", "</td>", "</tr>"); How i can set this line to add Drop Spoil like this color? Thanks
  3. I want to know where i find that coordonates..I search all google, i didn't find :) Old google...trauma
  4. I'm done SweeTs...relax. I am not lost. I learn basics....anyway, With your help i did it! Anyway, God make world in 6 days , yes? + i learn java too late. When all already know everything. And pro help pro. Never pro help newbie. Anyway, in your case, u did it! U help newbie because u are pro. Pro=good explications without critics. Without judges. I post here because i think and i i'm wrong, correct me, i post because i need help. It is a help section. Peoples cannot understand something. And yes, if u copy/paste something, somewhere wrong, u broke all code. It is important even a : . : (Dot). But basics i learned by you SweeTs. And in this way i want to thank you!
  5. Solved. Can close topic. Jessus!
  6. Ok, i did it. But false it is true and true it is false :))) Yayyyyyyyyyy
  7. if (Config.BLOCK_COMMUNITY_ZONES) { if (!activeChar.isInsideZone(ZoneIdType.PEACE) || !activeChar.isInsideZone(ZoneIdType.TOWN)) { activeChar.sendMessage("Cannot use outside of peace zone."); return; } in BoardsManager.java and i think i am done
  8. Ok I show here what i did without any error. public static boolean BLOCK_COMMUNITY_ZONES; BLOCK_COMMUNITY_ZONES = Character.getBoolean("AllowCommunity", true); case "allowcommunity": BLOCK_COMMUNITY_ZONES = Boolean.parseBoolean(pValue); break; And in Config i must make now AllowCOmmunity=True or False. What it is missing? I think.. if (!activeChar.isInsideZone(ZoneIdType.PEACE) || !activeChar.isInsideZone(ZoneIdType.TOWN)) { activeChar.sendMessage("Cannot use outside of peace zone."); return; } But where i must add this? In config.java or BoardsManager.java?
  9. And i would like to get ready code, because i understand more fast how it's work. It is not a crime. It is a full help. I don't want this ofc, i don't want a ready code. But in 41 answers i don't get anything.
  10. Dragic, it is about me? Because i am a bit confused.
  11. Now, i know Tryskell, i know what it is the difference about "!". I was asking about line in config/general.ini to make True/False. That syntax. But it is my bad to post here. All can have now a good sleep /day. Maybe i make horror day to someone. Maybe I created discomfort. Maybe I created discrimination. Finally, If you want to help a newbie, you help him, do not criticize him. Simple right? It seems so. For some, no. I wanted to know what to do in config.java. To know the way (s). What I did is not working. And thank you again to the many people who really helped me
  12. Close topic. I don't want help anymore. Anyway, i get only critics and badwords to my address. Thanks!
  13. Here i can put what numbers i want? <experience level="90" tolevel="21138534249" />
  14. SweeTs, why u know to explain and others not? Why u reply with good explications? And others not?
  15. What did you say here, it is for yourself. I ignore this comment. Thank you. Have a great day(s)
  16. Hello guys, what i must edit to make max level 100? I have Experience.xml but only there i must edit? And i don't know the corect coordonates for Hi5. P.S. for critics, i don't need ready code. I need a link or a tip/hint for 1 level more, then i create for all.
  17. What i don't understand, it is what it's missing from there. From Config.Java and from BoardManagers.java. SweeTs say 50% done. I miss than 50% more to be finished. I don't know how it is work. I have some configs from Sunrise, but it is coded and i can't open it and that's why i don't understand.
  18. RootWare, all was newbie, right? U find someone to learn you? Someone had patience with you?
  19. Guys, i just want to understand how it's work this. Without extra explications. Like what it is `if` in code. i want just to understand once, then i will make alone in feauture. Thanks for understanding.
  20. Config file. Idk if it's good and if it's enough setting in Config.java http:// idk how to set activeChar
  21. SweeTs, i mean how i can write in Config file? x=True
  22. So SweeTs, i can leave how it is now? Will work?
  23. HI all, i add attribute to a weapon to 450 and in gamne i can't see on weapon. I think it is not applied. Can help me someone?
  24. Idk if it's good. But i do like that: if (Config.BLOCK_COMMUNITY_BOARD) { L2Character activeChar = null; if (!activeChar.isInsideZone(ZoneIdType.PEACE) || !activeChar.isInsideZone(ZoneIdType.TOWN)) { activeChar.sendMessage("Cannot use outside of peace zone."); } }
×
×
  • Create New...