-
Posts
224 -
Credits
0 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by StarSCreams
-
thanks sweets, later tested and feed back :3
- 34 replies
-
- kill in a row
- killing spree
-
(and 1 more)
Tagged with:
-
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!
- 34 replies
-
- kill in a row
- killing spree
-
(and 1 more)
Tagged with:
-
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
- 34 replies
-
- kill in a row
- killing spree
-
(and 1 more)
Tagged with:
-
thanks for this xD
-
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*
-
Help How To Change All Import Of My Project? Like
StarSCreams posted a question in Request Server Development Help [L2J]
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 -
Share L2Off Nextdev64 H5
StarSCreams replied to tuningxtreme's topic in Server Shares & Files [L2OFF]
i need a licence? whoyou I talk? -
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.
-
WTS Grind-Team Rev. 650 Stable
StarSCreams replied to iPWNZ's topic in Marketplace [L2Packs & Files]
you can sell mod (система персонажей, управляемых компьютером - фантомы) i have ru files.. like your files.. -
Share L2Off Interlude(Il) Geodata (Depmax64)!
StarSCreams replied to Vagrancy™'s topic in Server Shares & Files [L2OFF]
password please i make for first time an interlude off -
i solve for my self a little fix my mistake thanks
-
WTS L2J Freya High Modded Pack
StarSCreams replied to ČυяŞŀŅğ's topic in Marketplace [L2Packs & Files]
This files based on? l2jserver, etc? other this files is FREYA or FREYA HIGH FIVE? thanks -
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.
-
i, i need smf theme what is the price for this? thanks
-
[Services]Server Recreate
StarSCreams replied to Napster321's topic in Marketplace [L2Packs & Files]
only lineage 2? or other games? -
WTS Donate System Automatic !
StarSCreams replied to Gustavoloko's topic in Marketplace [L2Packs & Files]
trusted seller -
yes ... WTB hopzone/topzone script.
-
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
-
[Help] Check players for non-allowed skills
StarSCreams posted a question in Request Server Development Help [L2J]
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; } -
Code Mob Drop Panel Freya/h5 L2Jserver
StarSCreams replied to LioNa's topic in Server Shares & Files [L2J]
same problem, i cannot find fix for this, crash in allgrandboss, allmobs dragon valley (h5) -
[HELP]On EnterWorld Character Creation Date
StarSCreams replied to StarSCreams's question in Request Server Development Help [L2J]
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);