Jump to content

Darule

Members
  • Posts

    314
  • Credits

  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by Darule

  1. I havent test it on Interlude, maybe you need some adaptions for it. Is there a file for shift clicking mobs on il like the L2NpcActionShift.java if yes then you can try it.
  2. Hi there i'd like to share a Drop Preview Panel for Mobs. So what this system does? When you Shift + Click a mob you can view its Drops. Drop Preview Panel Supports: (for each item) Item Icon Item Name Item Min+Max Drop Item Drop Quantity Item Percentage Drop % (enhanced for low drops) Here is a preview pic of the system This is the patch file for the latest action shift for l2jhi5. Index: L2NpcActionShift.java =================================================================== --- L2NpcActionShift.java (revision 8584) +++ L2NpcActionShift.java (working copy) @@ -183,77 +183,13 @@ activeChar.sendPacket(su); } - NpcHtmlMessage html = new NpcHtmlMessage(0); - int hpMul = Math.round((float)(((L2Character)target).getStat().calcStat(Stats.MAX_HP, 1, (L2Character)target, null) / BaseStats.CON.calcBonus((L2Character)target))); - if (hpMul == 0) - hpMul = 1; - final StringBuilder html1 = StringUtil.startAppend( + NpcHtmlMessage html = new NpcHtmlMessage(0);final StringBuilder html1 = StringUtil.startAppend( 1000, - "<html><body>" + - "<br><center><font color=\"LEVEL\">[Combat Stats]</font></center>" + - "<table border=0 width=\"100%\">" + - "<tr><td>Max.HP</td><td>", - String.valueOf(((L2Character)target).getMaxHp() / hpMul), - "*", - String.valueOf(hpMul), - "</td><td>Max.MP</td><td>", - String.valueOf(((L2Character)target).getMaxMp()), - "</td></tr>" + - "<tr><td>P.Atk.</td><td>", - String.valueOf(((L2Character)target).getPAtk(null)), - "</td><td>M.Atk.</td><td>", - String.valueOf(((L2Character)target).getMAtk(null, null)), - "</td></tr>" + - "<tr><td>P.Def.</td><td>", - String.valueOf(((L2Character)target).getPDef(null)), - "</td><td>M.Def.</td><td>", - String.valueOf(((L2Character)target).getMDef(null, null)), - "</td></tr>" + - "<tr><td>Accuracy</td><td>", - String.valueOf(((L2Character)target).getAccuracy()), - "</td><td>Evasion</td><td>", - String.valueOf(((L2Character)target).getEvasionRate(null)), - "</td></tr>" + - "<tr><td>Critical</td><td>", - String.valueOf(((L2Character)target).getCriticalHit(null, null)), - "</td><td>Speed</td><td>", - String.valueOf(((L2Character)target).getRunSpeed()), - "</td></tr>" + - "<tr><td>Atk.Speed</td><td>", - String.valueOf(((L2Character)target).getPAtkSpd()), - "</td><td>Cast.Speed</td><td>", - String.valueOf(((L2Character)target).getMAtkSpd()), - "</td></tr>" + - "<tr><td>Race</td><td>", - ((L2Npc)target).getTemplate().getRace().toString(), - "</td><td></td><td></td></tr>" + - "</table>" + - "<br><center><font color=\"LEVEL\">[basic Stats]</font></center>" + - "<table border=0 width=\"100%\">" + - "<tr><td>STR</td><td>", - String.valueOf(((L2Character)target).getSTR()), - "</td><td>DEX</td><td>", - String.valueOf(((L2Character)target).getDEX()), - "</td><td>CON</td><td>", - String.valueOf(((L2Character)target).getCON()), - "</td></tr>" + - "<tr><td>INT</td><td>", - String.valueOf(((L2Character)target).getINT()), - "</td><td>WIT</td><td>", - String.valueOf(((L2Character)target).getWIT()), - "</td><td>MEN</td><td>", - String.valueOf(((L2Character)target).getMEN()), - "</td></tr>" + - "</table>" + "<html><head><title>"+((L2Npc) target).getName()+"</title><body><table bgcolor=444444 border=1 cellspacing=2 cellpadding=0 width=293><tr><td align=center>Drop Panel</td></tr></table><br><table bgcolor=333333 cellpadding=0 cellspacing=0 width=274><tr><td align=center><font color=fff600>Legend</font></td></tr></table><table bgcolor=333333 width=276><tr><td align=center>[D]= Drop [s]= Spoil [Q]= Quest</td></tr><tr><td align=center>(CI)= Common Item</td></tr></table><br><table bgcolor=444444 cellspacing=2 cellpadding=1 border=1 width=280>" ); if (!((L2Npc) target).getTemplate().getDropData().isEmpty()) { - StringUtil.append(html1, - "<br><center><font color=\"LEVEL\">[Drop Info]</font></center>" + - "<br>Rates legend: <font color=\"ff9999\">50%+</font> <font color=\"00ff00\">30%+</font> <font color=\"0066ff\">less than 30%</font>" + - "<table border=0 width=\"100%\">" - ); for (L2DropCategory cat : ((L2Npc)target).getTemplate().getDropData()) { for (L2DropData drop : cat.getAllDrops()) @@ -261,31 +197,76 @@ final L2Item item = ItemTable.getInstance().getTemplate(drop.getItemId()); if (item == null) continue; + int mind = 0,maxd = 0; + String smind = null,smaxd = null,drops = null; + String name = item.getName(); + double chance = 100/(1000000/(drop.getChance())); - final String color; - - if (drop.getChance() >= 500000) - color = "ff9999"; - else if (drop.getChance() >= 300000) - color = "00ff00"; + if (cat.isSweep()) + { + mind = (int) (Config.RATE_DROP_SPOIL * drop.getMinDrop()); + maxd = (int) (Config.RATE_DROP_SPOIL * drop.getMaxDrop()); + } + else if (drop.getItemId()==57) + { + mind = 300 * drop.getMinDrop(); + maxd = 300 * drop.getMaxDrop(); + } else - color = "0066ff"; + { + mind = (int) (Config.RATE_DROP_ITEMS * drop.getMinDrop()); + maxd = (int) (Config.RATE_DROP_ITEMS * drop.getMaxDrop()); + } + if (mind > 999999) + { + DecimalFormat df = new DecimalFormat("###.#"); + smind = df.format(((double)(mind))/1000000)+" KK"; + smaxd = df.format(((double)(maxd))/1000000)+" KK"; + } + else if (mind > 999) + { + smind = ((int)(mind/1000))+" K"; + smaxd = ((int)(maxd/1000))+" K"; + } + else + { + smind = Integer.toString(mind); + smaxd = Integer.toString(maxd); + } + if (chance <= 0.001) + { + DecimalFormat df = new DecimalFormat("#.####"); + drops = df.format(chance); + } + else if (chance <= 0.01) + { + DecimalFormat df = new DecimalFormat("#.###"); + drops = df.format(chance); + } + else + { + DecimalFormat df = new DecimalFormat("##.##"); + drops = df.format(chance); + } + if (name.startsWith("Common Item - ")) + { + name = "(CI)" + name.substring(14); + } + if (name.length() >= 36) + { + name = name.substring(0, 33) + "..."; + } StringUtil.append(html1, - "<tr>", - "<td><img src=\"" + item.getIcon() + "\" height=32 width=32></td>" + - "<td><font color=\"", color, "\">", item.getName(), "</font></td>", - "<td>", (drop.isQuestDrop() ? "Quest" : (cat.isSweep() ? "Sweep" : "Drop")),"</td>", - "</tr>" - ); + "<tr><td valign=top align=center height=38 width=40><img src=\""+item.getIcon()+"\" height=32 width=32></td><td><table cellpadding=0 cellspacing=1 width=237><tr><td>"+drops+"%</td></tr><tr><td>"+(drop.isQuestDrop() ? "[Q]" : (cat.isSweep() ? "[s]" : "[D]"))+"<font color=fff600>"+name+"</font>"+(maxd==1 ? "[1]" : "["+smind+" - "+smaxd+"]") + "</td></tr></table></td>" + ); } } - html1.append("</table>"); } - html1.append("</body></html>"); - + html1.append("</tr></table></body></html>"); html.setHtml(html1.toString()); activeChar.sendPacket(html); + } return true; } This code can be done better, if you have any suggestion tell me here. We can do this with a config file too for more options.
  3. Well to tell you the truth my business are really going down lately please dont hurt me anymore my kids are hungry!! I'll tell a few more things and ill stop discussing with you for the following reasons. 1)You didnt answer my question at all!!! where the hell i asked u if im a dev or not are you nuts or your hatred makes you blind, i get it that you are a smart person but ur hatred is blocking ur head u didnt even comprehend my answer nor answer it even at 1%. 2)Your share was made yesterday so .. do i need to answer this as well? and again you didnt understand my sarcasm you can try googling it then read what i wrote. 3)You are absolutely right on the fact that you have to warn everyone here and that people should know the truth, not that i lied anywhere but anyway. Btw with copy paste you can create anything. and for the last time ill stop answering you here so dont exept an answer after this, or you can keep trolling about me with ur alts or even make a discussion with urself here..
  4. Omg 1st of all about the single poster comment where the hell did i say about ur post being invalid for being ur 1st one? I simply meant that u spent ur time for this, (flaming, trolling or judgement about copyrights or anything u want to call it) instead of contributing something usefull to the community (u may have tons of alt accounts i dont know this). About you buying ur own software? i just loled at this really u have bought ALL the software, games, music, movies etc? lets be frankly thats not true at all. Anyway to put it simply, you cant do me a shit really for selling this u may call it however you want (my time,my support, the system it self,anything). To tell you the truth i never expected to sell this, just tried anyway the guys that can do this they would do it by themselves, the other ones will have to pay to get it. Answer me this if an admin decide to create this system and he cant do it by himself and decide to reqruit a developer to do this work, that would be moral for you? or when devs that applying other peoples patches like color system,killing spree in pack and get paid for this work they ask they authors of that system b4 they get the money? I dont think they do. So thats moral for you? or the credits doesnt apply here because its not a team like l2j but an individual. Btw get a bit real and dont get so angry about this. Also please dont post here if you want to answer me please do it via pm, i wont have problem discussing this with you.
  5. Really love it, yeah keep em coming i rly love flames. SINGLE POSTER 1 POST for this??? arrghh RAGE Well it is really a bit diff to answer on this cause i dont know where to start. 1st of all read my post, i didnt say ANYWHERE that the Champion system is my creation, everyone knows that is an existing l2j feature thats why i used the "extra alternative". 1)How it is EVEN possible to stole OPEN SOURCE!! tell me i want to know(i know a guy who knows a guy that knows another dude that he MAY found a leaked version of l2jserver sssshhhhhh!! you didnt heard ANYTHING!!) 2)I dont even need to talk about copyrights it would be just useless(look ur softwares installed,movies,games etc evaluate the time that people spend on them sum them and come tell me again it will be years of work not 10lines of code) 3)I dont sell the system, i just sell my time writting this and my support for it as well not the system it self, i may want 1e for my time doing this, so dont come with shits. If you wanted to own me you could this (1IQ) work and share it here for free then i would give you my respect, instead ur flaming like a tard if ur a man show it dont just pretend to be one kiddo. End of story. PS1: IF you are one of the ΣΔΟΕ dudes plz tell me, i may did a big mistake here...
  6. Its good that people like it, well if you have any aditional ideas feel free to suggest. Ill try to add as well some last cosmetic touches.
  7. Hi there i was working on a Drop Preview Panel for Mobs and i would like to know the buying interest for it. So what this system does? When you Shift + Click a mob you can view its Drops. Drop Preview Panel Supports: (for each item) Item Icon Item Name Item Min+Max Drop Item Drop Amount Item Percentage Drop % Here is a preview pic of the system
  8. This things still exist?? Come on! we have servers with 16 cores that sums up to more than 40ghz of cpu power, dont put in discussion 80486, programming applies to the currently power systems, we dont want to make stones to execute applications. Btw this is way off topic. Leluche i was quite sure that he was scammer too, but i didnt want to bother more for him just asked for proofs so the credits are not all yours.
  9. +1 alla ligoi katalabenoun tis sinepeies ton prakseon tous.. edo yparxoun atoma pou tha psifisoun N.D i pasok xoris na exoun kanena simferon antithetos einai zimiomenoi, akoma kai se aytous pou kobei pane kai tous ksanapsifizoun. OXI sto AKYRO kai sto LEYKO!! o kosmos PREPEI na psifizei gia pollous logous, ean den sas aresei to politiko sistima EKFRASTE TO me tin gnomi sas kai oxi me adiaforia, oi mple oi prasinoi ktlp tha psifisoun. Ego prosopika den tha psifiso nd,pasok kai laos N.D=palies sintages = fail PASOK=palies sintages = fail (idame pou mas ftasane auta ta 2 komata simera) LAOS=Fasistiko koma.. thelete kai alla? Xriazomaste allagi nootropias kai politikou sistimatos allios den blepo prokopi. Ean kai o ellinas thelei POLYY douleia..
  10. Lathos! analogos tin thriskeia.. auto den tha to elega akrivos thriskeia.. O skopos tou.. "filou" mas einai i diaspora tou kakou LOOOOOOOOL opote den mporei na to kratisei mesa tou prepei na to diadosei
  11. ellinas ee?? are elladaraaa! mpam kanoume apo makria
  12. ooooooooo kai black letters.... nice avatar? ti einai o thanatos? checkare mia wikipedia na deis ti simenei.. Nioseeeeeeee, den leo o kathenas exei tis apopseis tou alla den einai kako na ksanaskeftese kapoia pragmata, otan DEN to kaneis kai nomizeis oti exeis to alathito tote na ksereis oti eisai sigoura lathos.
  13. O typos re einai satanistis... rofl Oxi oti emeis eimaste agioi apla aftos einai kai dilomenos!
  14. Mou exei minei 1 telefteo blessed ress ti na to kano???
  15. WTF?? u made a post for that shit?? omg people have lost their minds!! yes its true! even TheMental (a respectfull person for me till now) now making shity post flaming people that he shouldnt just a word for you guys GTFO go flame the guys that are scamming or selling shared stuff or even reselling packs etc i dont want to say names (you can look above) So a community board that contains some htmls and 3 codes is passing your quality test for sells and mine isnt?? Whats your problem?? really! Dont spam my post!! if you want to say something about it say it straight!! u r not being smart by making stupid post using irony without any facts..
  16. I just said about it if you read my post, you can have in a server 2 types of champions normal and rare ones. For now its just this ill try to add more features by time and make this better. Btw find another place for your flames :) i didnt force anyone to buy this im just selling it.. neither i scammed anyone so .. cya.
  17. 1)Eisai se lathos section 2)Den mas exeis pei ti pack xrisimopoieis Ean xrisimopoieis L2J pigene edo General.properties # --------------------------------------------------------------------------- # Custom Components # --------------------------------------------------------------------------- # Default: False CustomSpawnlistTable = False # Option to save GM spawn only in the custom table. # Default: False SaveGmSpawnOnCustom = False # Option to delete spawn in alternate table. # Default: False DeleteGmSpawnOnCustom = False Tha sou protina na energopoiiseis ta custom tables giati einai pio efkola stin diaxeirisi efoson einai custom spawns.
  18. Can you provide a test server? to test your features?
  19. <sub val='500' order='0x40' stat='maxHp'/> You can change this 5000 Or you can change a passive that only Titan class have and use this. <sub val='5000' order='0x40' stat='maxHp'/>
  20. Hi there im selling an extra alternative champion system for L2J Hi5 let me tell you more about it. Description: Alternative Champion System Well with this system you can use 2 types of champion mobs, the normal ones (champions) and a secondary called (epic) or whatever you want to call it. This system can be used on servers that want to use more rare champions than normal with very low spawn rate for extra rewards. You can configure the spawn rate up to 1 - 1000000 All configs of normal champions are included in Epic* Mobs. Here is the config. # --------------------------------------------------------------------------- # Alternative Champions # --------------------------------------------------------------------------- # Darule Mods - non-retail-like systems that have been integrated into the L2J project. # --------------------------------------------------------------------------- # Epic mobs - Turn random mobs into Epics # --------------------------------------------------------------------------- # Enable/Disable Epic Mob System. EpicEnable = False # Force Epic mobs to be passive? # To leave Epic mobs to default/Agressive, set to False. # To set all Epic mobs to Passive, set True. EpicPassive = False # 1 / 1.000.000 so 10000 is 1% chance for a mob to became Epic (0 to disable). EpicFrequency = 10000 # Title of all Epic Mobs. EpicTitle = Epic # Min and max levels allowed for a mob to be a Epic mob. EpicMinLevel = 20 EpicMaxLevel = 70 # Hp multiplier for Epic mobs. EpicHp = 8 # Hp Regen Multiplier for Epic mobs. EpicHpRegen = 1.0 # Standard rewards multiplier for Epic mobs. EpicRewards = 8 # Adena & Seal Stone rewards multiplier for Epic mobs. EpicAdenasRewards = 1.0 # P. Attack and M. Attack bonus for Epic mobs. EpicAtk = 1.0 # Physical/Magical Attack Speed bonus for Epic mobs. EpicSpdAtk = 1.0 # Specified reward item ID EpicRewardItemID = 6393 # The amount of the specified reward a player will receive if they are awarded the item. EpicRewardItemQty = 1 # % Chance to obtain a specified reward item from a HIGHER lvl Epic mob. EpicRewardLowerLvlItemChance = 0 # % Chance to obtain a specified reward item from a LOWER lvl Epic mob. EpicRewardHigherLvlItemChance = 0 # Do you want to enable the vitality calculation when killing Epic mobs? # Be aware that it can lead to huge unbalance on your server, your rate for that mob would # then be "mobXP x serverRate x vitalityRate x EpicXpRate # Notes: # Works only if EnableVitality = True # Default: False EpicEnableVitality = False # Enable spawning of the Epics in instances # Default = False EpicEnableInInstances = False The configs are these for now ill try to add more features into this. The buyer will get all the updates of this system. Contact me here or through pm.
  21. Thats core side and its a bit complicated to do that, but for what reason a player should use skills when stun that is just lol. Better try to rethink ur ideas, cause i dont think that anyone will try helping you with that.
  22. Ego to dokimasa kai paizei pantos.. thanks man, psisto na to kaneis guide pistevo tha boithiseis polla newbies rofl.. +1 Btw ontopic prepei tetoia post apla na ta agnooume ean o xristis den boithaei gia na ton boithisoume tote poio to noima?
  23. Apla svise olon ton fakelo kai ksanakatebase ton, ean den exeis kaneis kamia allagi sto project katebase to apo tin arxi gia na eisai sigouros.
  24. Then maybe u should try the core side, although i still have some doubts if its not possible through client modding, ill test it tomorrow too from client side and if it wont work ill try to make a code for custom npc color title with config and share it .. probly :D
×
×
  • 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