Jump to content

StarSCreams

Members
  • Posts

    224
  • Credits

  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by StarSCreams

  1. thanks sweets i try this.. private int assasins = 0; switch(assasins) { case 1: //Here obtain time when case 1 ocurred long firstkill = System.currentTimeMillis(); case 2: long checktime = System.currentTimeMillis() - firstkill; if(checktime < 10000) { Announcements.getInstance().announceToAll("Player " + pk.getName() + " has killed two times" + pk.getTarget().getName()); } else { Announcements.getInstance().announceToAll("Player " + pk.getName() + " has killed" + pk.getTarget().getName()); } break; case 3: ......... break; default: } but i get an error, in case 2 "The local variable firstkill may not have been initialized" How to fix this? i try the fix but not obtain solution hahaha thanks!
  2. hi, I have this code and try to verify the time has passed when case occurred Example in l2pcinstance: private int assasins = 0; switch(assasins) { case 2: Announcements.getInstance().announceToAll("Player " + pk.getName() + " has killed two times" + pk.getTarget().getName()); break; case 3: Announcements.getInstance().announceToAll("Player " + pk.getName() + " has killed three times" + pk.getTarget().getName()); default: } i need verify if the next kill (case 3) ocurred < 10 seconds. if the time passed make a different announcements.. i think how see the code with my idea... private int assasins = 0; switch(assasins) { case 2: Announcements.getInstance().announceToAll("Player " + pk.getName() + " has killed two times" + pk.getTarget().getName()); ThreadPoolManager.getInstance().schedule(assasins = 3 , 10 * 1000); break; case 3: Announcements.getInstance().announceToAll("Player " + pk.getName() + " has killed" + pk.getTarget().getName()); ThreadPoolManager.getInstance().schedule(assasins = 4 , 10 * 1000); break; default: } sorry my bad english :3
  3. thanks for this xD
  4. already add i have one server, opening soon. the majority of sellers here have one or more server and sell a own project at same time its normal. i sell now because before i still develop this files. I hope that answers your question
  5. what??? until now I did not know that existed, any information about that? what shit? i make this files based on ru files, adapting my self nexus engine, and fixing for more than 2 years i open servers with this files and get success, i dont understand your fucking comment.
  6. Hi! i work in this files for more than 2 years, i buy it from claww, and hnoke before disappear :P, with support erlandys and many other can help me with fix and improved this files. Here you can find some information about this files: For Nexus Engine Information: Some pictures preview: Geodata taken from original files, and work in to fix up to 100%. Prices: All the files no have any restrictions except licence for precompiled pack. PreCompiledPack + Geodata Licence for 1 IP = $50 USD Full Source Code + Geodata = $150 USD Geodata only = $30 USD Available payment option: Paypal, Western Union for avoid any problem or charge back, you can only send in paypal with a donation or gift if you can. i am a trusted buyer and can be a trusted seller. For contact me: Skype: blowcito (red car in profile) Links: Forum of my project services spanish and english: http://project.argenzone.com/forums Full Features in english: http://project.argenzone.com/2015/05/19/featured-of-source-code/ Nexus Event in english: http://project.argenzone.com/2015/05/21/nexus-event-engine-en/ *PRICE UPDATE*
  7. hi, how to change all import of my project, example import l2jfree.gameserver....... import l2jserver.gameserver...... import l2p.gamserver...... to import l2myproject.gameserver....... i work in eclipse, but i have 18k of files, i need change the import
  8. i need a licence? whoyou I talk?
  9. hi! i need a client high five modification. Delete all information of kamael race. Disabled character creation of menu select. Delete kamael zone on map and minimap Delete plataforms in every town with kamael magisters manager. i need this modification with encrypt files to prevent steal.. send me mp with the price for this job thanks.
  10. you can sell mod (система персонажей, управляемых компьютером - фантомы) i have ru files.. like your files..
  11. password please i make for first time an interlude off
  12. i solve for my self a little fix my mistake thanks
  13. This files based on? l2jserver, etc? other this files is FREYA or FREYA HIGH FIVE? thanks
  14. Hi, i need a developer to make a code for my project. i have fandc files, but i need a mod for new gmshop system. please contact me for skype for further explanation about the mod skype: for now no more developer need.
  15. i, i need smf theme what is the price for this? thanks
  16. only lineage 2? or other games?
  17. yes ... WTB hopzone/topzone script.
  18. Hi I have seen out there that offer the script but not responding messages so I wonder who does want to buy it thanks pm me for skype id sorry use google translat
  19. dont show icons when move item for otherside of inventary or shortcuts Faunus Armor. i download last update.
  20. Hi!! I need check player for non allowed skill but only skill in this list. 227,231,232,233,234,235,236,251,252,253,258 (Heavy, Light and Robe) Example: if characters class id=55(Bounty Hunter) get the skillid=227(LightArmor) is correct, but character change class to 36(Abyss Walker) get the skillid=233(LightArmor) and check this skill and delete non allowed skill in this case 227(LightArmor) is remove. how to do this? sorry for my english. i have this for learn normal skill public boolean isSkillPossible(Player player, Skill skill, AcquireType type) { Clan clan = null; List<SkillLearn> skills; switch(type) { case NORMAL: skills = _normalSkillTree.get(player.getActiveClassId()); break; case COLLECTION: skills = _collectionSkillTree; break; case TRANSFORMATION: skills = _transformationSkillTree.get(player.getRace().ordinal()); break; case FISHING: skills = _fishingSkillTree.get(player.getRace().ordinal()); break; case TRANSFER_CARDINAL: case TRANSFER_EVA_SAINTS: case TRANSFER_SHILLIEN_SAINTS: int transferId = type.transferClassId(); if(player.getActiveClassId() != transferId) return false; skills = _transferSkillTree.get(transferId); break; case CLAN: clan = player.getClan(); if(clan == null) return false; skills = _pledgeSkillTree; break; case SUB_UNIT: clan = player.getClan(); if(clan == null) return false; skills = _subUnitSkillTree; break; case CERTIFICATION: skills = _certificationSkillTree; break; default: return false; } return isSkillPossible(skills, skill); } private boolean isSkillPossible(Collection<SkillLearn> skills, Skill skill) { for(SkillLearn learn : skills) if(learn.getId() == skill.getId() && learn.getLevel() <= skill.getLevel()) return true; return false; } public boolean isSkillPossible(Player player, Skill skill) { for(AcquireType aq : AcquireType.VALUES) if(isSkillPossible(player, skill, aq)) return true; return false; }
  21. same problem, i cannot find fix for this, crash in allgrandboss, allmobs dragon valley (h5)
  22. i find this :P Calendar date = activeChar.getCreateDate(); SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.C1_BIRTHDAY_IS_S3_S4_S2); sm.addPcName(activeChar); sm.addString(Integer.toString(date.get(Calendar.YEAR))); sm.addString(Integer.toString(date.get(Calendar.MONTH)+1)); sm.addString(Integer.toString(date.get(Calendar.DATE))); activeChar.sendPacket(sm);
×
×
  • Create New...