Changeset 181
Command Channel, usercommands cleanup, misc
Command Channel has been refactored
- the little window is now correctly working, showing party details aswell. "Quit" button works too. Ty Hellish for report.
- addition of missing packet, && correction of existing ones.
- correction of a hi5 L2J bug related to CC (issue when inviting a party leader by the way of a party member).
- all custom messages (around... 15 ?) have been replaced for retail ones.
Usercommands
- channels commands (creation, delete, info) have been cleaned up.
- clan penalty has been improved (use of StringUtil instead of TextBuilder).
Misc
- L2LvlUpData has been dropped (useless stuff).
- L2ArmorSet and AutoChatHandler have been cleaned up/refactored.
Changeset 182
Quests little refactor, misc
Quests little refactor
- All quests got their COMPLETED check moved to top of the onTalk method (previously, it was put on the switch case of the quest giver). There are 2 reasons so far :
- one is a bugfix reason (when NPC got numerous quests, it shows even quests done, so when you click on a secondary character, this guy won't have proper html sent => "I have no tasks for you right now, emo" instead of "you already made that quest, dumbass").
- other reason is optimization : it avoids to read a part of the quest, launching variables/switch case for a simple result. So from now, it is fastest and use less checks.
- All quests with reward items on monsters kills (onKill method) got a unique "template" from now (if the reward type fits with the default behavior, ofc...)
FROM NOW, HELPERS, CONSIDER TO USE THE NEW IMPLEMENTATION (there is near nothing changed as you can see, but you will save my own time doing it directly good).
Misc
- formal wear isn't considered anymore as heavy armor (passive skills from tanks and such were applied...).
- Dimensional Rift is (normally) entirely debugged. I rewrite my own rewrite to fit with Vonak's experience. Ty to him.
- "dist" folder on DP build dissapears. That avoids 1 useless double click... Lol.
- Q009 and Q010 have been added. Ty to the numerous contributors (4 !) for those 2 worthless quests
.
- subclass checks : addition of summon check and "inventory bigger than 80% in term of slots availability". The existing check about overall weight has been hardened aswell (from now, even with one level of weight penalty, the village master smashes your face down to the ground). Reason I hardened the wight penalty is simple : imagine you're a dwarf, with 79% weight(50k of soulshots ftw). Now decide to sub Elven Elder. I think you got the picture.
Changeset 183
Q017, 258 & 626. Ty fernandopm && Richijs4
.
Changeset 184
Items reuse (again), quests, misc.
- Items reuses are fixed (both scrolls and potions). I hope it's final implementation.
- Elixirs-type skills now display successfully the reuse in shortcut bar.
- Addition of Q018, ty Richijs4 for share.
- little fix on Q037, ty Vhalior for testing.
- correction of some HTMs typos, and 5 emptys bypasses.
Changeset 185
L2Multisell rework, misc.
L2Multisell rework
- added a check to avoid enchant exploit.
- added a check on inventory slots/weight. PS : it doesn't take in consideration your quest items slots. Cry on forum if different (if you got PROOFS).
- corrected an issue about buying multiple reputation items and only the reputation price of one item was taken (both check, message, and amount decrease).
- added a check on the NPC you're talking. If you're in a strange state (dead, masturb...), or if you're too far, or if the NPC isn't the good type of NPC, OK button doesn't answer to your frenetic mouse clicks.
- cleaned all multisells lists which don't need maintainEnchantement statut (minimize exploits -- if it's still possible).
- added a message which make a sound when you success ! * AwESoMe ding *
- L2Multisell instance is now loaded at server loading, under Items tab. Added to that, Singletonization.
- L2Multisell doesn't load anymore broken XMLs.
Misc
- cleaned up some methods on L2Character (experimental stuff, as some synchronized stuff have been killed). Consider report any Special person things on stats changes and stats broadcast.
- StatusUpdate cleanup. Only one way to call it from now.
- Some HTMs typos. Death to <br1>.
- RequestSellItem packet (some checks added as L2Multisell, and general refactor).
- RequestBuyItem got his NPC check improved (on L2Multisell idea).
- no more message/method launched when you take Clan Imperium skill (as repu cost is 0, pointless repu calculation and message).
Changeset 186
LoginController rework, misc.
LS / LoginController
- added a config to on/off all LS logs (off by default from now to avoid to waste performances filling a .txt)
- improved the login method (I hope it didn't destroy anything as many synchronized dissapeared, so far trying to dual login leads to the same fail)
- the general look of LS messages has been refreshed.
- you can't add twice the same IP on ban now (better said, avoid to fill if already existing).
- some code reorganization (drop of useless Log, move of printSection method).
- many typos.
Misc
- one table has been dropped (merchant_lease). The uses of it were useless aswell (DELETE type commands on empty table...).
Changeset 187
Deletion of Telnet, addition of DeadlockDetector.
- Telnet was crappy and not really user-friendly ; let's see for alternative ways
.
- DeadlockDetector is a tool to see when tasks aren't correctly synced. When it mustn't be used on a live server, I invite to use it on your test lab, as much as you can, to eventually see errors and report.
- some typos.
Changeset 188
Golden Ram Mofos.
- Addition of Q109 && Q628.
- Golden Ram crews got their own instance, showing htms following state quest (3 different HTMs for 2 NPCs, 2 diff for 2 others).
- Addition of a missing NPC (corpse).
- Mercenaries sentries can't speak. Move the check from "chatWindow" to "onAction" method (avoids stuff such as random animation, and so on).
I'm aware the corpse is flying. All collisions values will be tweaked later, at the same time, during NPCs refactor. From the moment you can click on it at this moment... Not a big deal.
Changeset 189
2 quests, many misc.
- Addition of Q276 and Q509, ty fernandopm for initial share.
- Addition of getClanLeaderQuestState() method (see Q509 for the use).
- Paagrio -> Pa'agrio typo in all HTMs and quests.
- Better use of Quest stuff. Now consider to use isCreated() / isStarted() / isCompleted().
- Fix all NPCs instances who weren't yet invul + immune to effects. If you find a mistake, please tell it fast (so far no issue for Artefact, perhaps signet stuff ? I don't think so.)
- Fix the sex save at player's restart, ty Vhalior (I don't miss you emo).
- Added retail-like Dance of Protection core + DP (30% resist to terrain-type damage).
- Added Plague Golem (activation + some little fixes).
Once again for quest helpers, consider to CHANGE "st.getState() == State.BLABLA" for related stuff (isCreated() / isStarted() / isCompleted()). This is just more clean.
Changeset 190-197
Baium, Archers AI, quests, misc.
Baium is now almost retail like*
- Angel AI has been implemented. Angels stop to attack when you disarm your weapon, and they got a chaotic behavior (shuffle targets).
- angels are put as raid minion (avoid champion behavior for example) and are setted to running mod by default.
Archers AI : the behavior of archers is now OFF-like.
- They got bigger probability to dodge, they dodge always according to your position (never cross your path), and the new position is not random anymore, they go now farer ("300 fixed" instead of "random 100", leading to stupid behavior such as moving near you).
- As the behavior is only for archers, the npc_ai_data as been cleaned up of dodge infos (all is hardcoded). Check is only made on the AI Type.
- L2J topic :
L2J Server - Login
Quests
- addition of Q158, Q159 && Q160. Ty fernandopm, as always
.
Misc
- you can now attack NPCs. Restriction is removed as now NPCs are immortal, and skills don't effect them aswell.
- canTarget method is moved from L2Npc to L2PcInstance.
- the target system of pets as been cleaned up. It was kinda messed.
*There's still an issue about teleToLocation (waker doesn't see complete animation).
Changeset 198
Doors XMLization, doors/siege misc && quests
Doors are XMLized from now.
- Both castle doors (sql) and general doors (.csv) are now melted in a unique doors.xml. Ty DiNoR for the good work on DP (using L2OFF values) and Treaser for initial patch (including only normal doors).
- implementation of isWall (only siege summons can break walls from now). Can be seen through SHIFT + left click door panel.
Doors/siege misc
- fix of a bug where you could hit a door CTRL + skill it.
- walls/doors are now invul when siege isn't available (in case of...).
- Flame and normal CTs don't make you buggy anymore if you spam click on them.
Quests
- addition of Q267, Q271 && Q619.
- Q267 needed the move of a NPC spawn (wrong spawn).
Changeset 199
Formulas fix, quests, misc
Formulas fix (skill success)
- those formulas are now based on L2JFree, and then tweaked (pure custom following my own tastes). The "pure custom" can afraid you, but both L2JFree and L2J are custom, from IL to hi5. And both don't fit with my own knowledge of L2 (L2JFree doesn't impact enough, L2J impacts *far* too much as some of you correctly warned me - fighterboss
).
- difference of levels got a real impact (negative is even bigger than positive) from now. Enchant and matkModifier doesn't break the harmony of the formula. I can't assure you won't have 10% luck with +500 weapon ofc...
- skill success is now 1% to 99% max.
- magic success is now heavily affected by level of skill or level of player. You can't do 100% damage using Wind Strike at high level for exemple.
- the whole calculation has been seriously reduced for the best performance (as MEN/STR squares precomputed).
- calcSkillVulnerability is now a %, not a fockin addition anymore. Previously 50% base - 40%. Now, 50% base * 0,6. Simple.
ALL USED FORMULAS ARE FULLY EXPERIMENTAL. I TESTED THEM FOR ONE DAY, BUT PERHAPS I MISSED THE BEHAVIOR OF A SPECIAL SKILL AND SUCH.
Quests
- use of a new "system" to make quests. Many quests are now faster (avoid to read deeper in quest) and consumes less RAM (avoids int[] uses)
- some corrections have been made (3-4 little bugs, some typos).
- addition of 6 quests, ty fernandopm for the good work (and me aswell to correct muhaha
).
Misc
- fix an eventual rare NPE (ty SweeTs for report).
- addition of an AI for speaking NPCs (hit/speak and death/speak types). More NPCs will come with time, and surely that new original AI will be modified (NpcString ?).
- fix of quest monsters wrong spawns for noblesse quest (I think ? lol), and fix SoDA spawns on deepest central room (with Merkenis, one of the new speaking NPCs).
- deletion of minChance, maxChance && pvpPower from L2Skill (unused stuff and/or hardcoded from now).
- fix an issue on admin panel (ty Sikken for little fix)
Changeset 200
Three new quests, ty Fernandopm.
Changeset 201
Doormen, misc
Doormen
- castle doormen are now retail-like (possibility to teleport in and out, drop of "open/close all doors" function).
- addition of 56 teleports location.
- unhardcode all CHDoormen HTMs.
- addition of many missing Doormen (Siegable CHs ones, 2 at Frontier Border) and fix some templates (Doormen of Hell were bugged as hell).
- drop of all useless HTMs.
Misc
- GmListTable is moved on datatable section.
- 2 spawns of Squashs have been dropped (in 4s...) Ty Vonak.
- TaskPriority is dropped (useless crap).
This commit doesn't fix yet CH doors issue.
Changeset 202
Auction, spawnlist, misc
The commit was long to come because my first idea was to implement siegable CHs. Unfortunately, only 4/6 are actually made on L2J, and BigBoss still work on it. So I prefer to wait and use my time in other things (pointless to do the same he is doing, plus he does it well).
Auction system
- The structure is corrected, and improved. HTMs are corrected following L2OFF (minus the size problem).
- Initial auctions list is off-like. You can directly see actual number of actual bids aswell (number in []).
- All bypasses which needed a security check (about clan and/or with warehouse check) are secured.
- The maximum of retail messages have been used (which avoids string uses).
- One unused table dissapears, and auction.sql got 3 columns dropped.
- The lease is correctly removed when you put an auction in sell. As retail, you receive back your lease only if the CH is sold.
Spawnlist
- Added 12~ spawns (Fortress of the Dead, mainly).
- Dropped all mobs initially spawned on Siegable Clan Halls (around 100+). They must be spawned via their own SQLs.
Misc
- Baium's Archangels aren't invul anymore. After all, they each got 50% Baium's HPs and a heal skill. Who would be stupid to kill 3,5 Baium.
- Autosoulshot behavior is OFF-like.
- CP/HP/MP are correctly filled at character creation (0/max/max).
- L2DoorInstance onAction behavior is OFF-like.
- mini tweak in L2AttackableAI, I hope it won't fock something.
- CharSelected serverpacket cleanup (2 infos added, and 8 empty/useless writeD are dropped).
- Addition of formatDate method to format the date as you want on a String (avoid String.valueOf and easier readability).
PS : I'm aware there are stills issues on auction (like the 7 days period where you can't put back an auction, missing comment use).Let's say from 80%, I moved to 90%.
Changeset 203
Feedable/Tamed Beasts AI rework, 3 quests, misc.
Feedable/Tamed Beasts (changes compared to L2J).
- drop of the invisible timer (20min). The only timer is the check of 1min to consume food.
- Tamed beasts don't attack you when you kill others pets (faction clan lol), nor when you hit them (they still buff themselves, dunno why).
- Tamed beasts disappear if they go out the Wild Beast Reserve (13k radius compared to central tower).
- Tamed beasts don't buff you if you already got the buff it wanted to buff with. Understand you won't be buffed 4 times with Guidance.
- Mana recharge is seperated of the heal condition. There's now a HP and MP condition for each case.
- The AI of Tamed Beast is as following : 25% heal, 25% mana recharge, 25% debuff, 25% nothing. It replaces all others random chances. The fact it goes on the "heal" option doesn't mean it will heal you. The pet must have the skill in his skill list. You must be low HP/MP aswell (50%).
Quests
- addition of Q038, Q039, and Q263. Ty Fernandopm.
Misc
- addition of "//reload acar", acar stands for "admin command access right" (ty DjSterios).
- "quest" option is only for single quest. Previous "//reload quest" has been changed for "//reload scripts".
- "server_menu.htm" got a combobox listing all reload options from now. As "quest" need a parameter, I couldn't include on it.
- You can now restart during a fight as a GM (ty DjSterios).
- Old changes on MyTargetSelected have been reverted.
Changeset 204
Quests, misc
Quests
- addition of Q294, Q403, Q406 && Q508 (ty fernandopm and Alexa).
- little corrections on Q401 && Q509.
Misc
- No more ghost messages between 2 blows (ty RaphaelFersan).
- Tamed Beasts correctly debuff (inverted check, I thought it was a npcskills issue but not).
Changeset 205
Quests, regex pattern, misc
Quests - addition of 3 quests.
- Q020, Q046 && Q661. Ty fernadopm and M4N0LIS.
- numerous typos on Q045, and light typos everywhere (enjoy "replace" tool).
Regex - I feel greeks will howl like werewolf at midnight.
- Name pattern is now hardcoded (generic regex is replaced by hardcoded pattern). It means related configs have been dropped.
- those useful methods (isValidName / isValidPlayerName) have been cleaned up then put on Util, as it can be used on many places.
- settitle and setname have been secured using isValidPlayerName method. It means you can't give anymore a stupid name with strange characters. You can thank SweeTs. PS : you still can attribute yourself a stupid name editing database directly. Well if you decide to pull the trigger, I can do even better (like kicking all noobs with not regular names at Enterworld).
Misc
- fix CH doors issue (coming with XMLization of doors). I don't get why it works like that and not before, honestly.
- addition of an actionFailed packet when you massclick on doors, to avoid to be stucked.
- PetNameTable has been dropped (as 50% of that file has been put on Util with regex change, only one method was left... I decided to move it).
- the correct message is shown when you create a character with invalid name (before, only "16 characters" message was shown).
Changeset 206
Dr. Chaos, KKnD Movie Maker, misc
Dr. Chaos - fully revisited (x2,5 code compared to L2J).
- addition of a status checker. This status leads the spawn of one or other NPC (Dr Chaos - npc version - or Golem - boss). This timer reset the boss if he isn't killed before 30min. When killed, the regular boss timer is applied, and will respawn the NPC version. Et caetera, et caetera.
- addition of 2 ways to make him crazy : staying near him lower a timer (base 30sec, -1sec each time you stand near him). If you speak to him, it reduces that timer too (1-5 seconds). He got 3 different HTMs following crazy state.
- complete rework of the animation, the NPC type will show 3 animations in a defined order, and the golem will show one aswell.
- addition of 6 out 7 chat speech (3 random when he attacks, 1 at death, 1 when paranoia timer reaches 15secs and 1 when you make him crazy).
KKnD's Movie Maker - added to normal code found on L2J forums, here are the changes :
- unhardcoded HTMs, and graphically enhanced. A mini-tutorial explains to you the basic behavior.
- correction of all typos, both on HTMs/code style.
- exceptions are catched when needed (index bound of exception).
Misc
- fix the "spawn protection" config (ty djSt3rios for report and fix).
- modify the way to select player slot (harder, better, stronger, lalalalala~).
- A banned player is now really banned (check is made before the L2PcInstance object is loaded).
- pets are correctly stored/saved at player's save.
- addition of addAttackActId() method. Part of a previous add.
PS : Obviously, as there are 0 infos about Dr. Chaos (2 useless topics on official forums, 0 videos, and such), I made an enhanced CUSTOM version. I prefer a custom WORKING version than a custom BROKEN version personally. Actual L2J code is broken (needs server restart to work correctly once dead).
Changeset 207
SystemMessage rework, misc.
This commit needs far more tests than I actually did, anyway I commit it (that's 250+ files edited... 2,5k errors to correct).
SystemMessage is refactored following actual L2J. The enum is replaced by an array, and a fast build system is included. Some SystemMessageId descriptions are actually wrong (as it's a raw copy/paste), but that doesn't influence the process, until you use the correct id, whatever name it got, it sends the correct msgId...
I decided to use the short version when possible. Aka, you can do "player.sendPacket(msgId)", if "player" is a L2PcInstance it will work. I just generalized to all possible cases that writing system.
Misc
- siege golems as normal summons are attacked by siege guards from now.
- you can't summon a siege golem inside an sieged castle anymore. Tested only on Gludio... No reason it bugs for others until zones suck.
- CreatureSay got support to use SystemMessageId.
- Many typos on multiple files.
- a recent L2J commit about .shared() on recipes and quest timers fastmaps (atm, haven't access to L2J timeline).
Changeset 208
Retail Newbie system.
The first character of an account reaching lvl 6 is considered as a Newbie character. Others characters - even if they're older in term of creation but never reached lvl 6 - aren't considered as newbies. At level 25, the newbie character isn't considered as newbie anymore.
System includes :
- addition of newbie state (objectId of the "Choosen One") in accounts.sql.
- drop of the newbie state of characters.sql.
- Modified methods uses :
- isNewbie() - boolean type, makes the check about BOTH level (6 to 25) and newbie state. Use it fr regular checks.
- getNewbieState() - int, returns the objectId (useful to check player objectId with registered objectId without level check)
- updateNewbieState() to register newbie state (happens in PcStat)
- restoreNewbieState() to restore newbie state (happens in CharacterSelected)
Ty to Alexa for initial patch.
Changeset 209
Quests slight rework.
All quests using a COMPLETED state have been included back in the switch case, due to the "new way" of quests (main switch about states, not anymore on npc). Added to that, some variables are now initiliazed where it's needed (aka in case.STARTED), and not before or after.
Changeset 210
Shadow weapon restrictions.
Ty to RaphaelFersan and Alexa tries.
However, that wasn't enough
. Added to L2J, addition of a link with Coupon Ticket multisell (as L2OFF, surely the same than village masters offer to you). As Alexa suggested, multisells are seperated by grade (btw a black hole in a multisell means you messed it, Alexa ;p).
Changeset 211
Little summons update
- fix the ghost summon issue.
- aggro is given to summoner at summon's death (not on pets).
- summons are protected at spawn (if spawn protection config is activated).
- summons use the correct value of beast ss/sps instead of regular 1 value.
Misc
- HTMs typos on previous commit.
- typos on Q619, ty Vhalior.
Changeset 212
3 quests, Tutorial core side.
Quests
- addition of Q105, Q116 && Q260, ty EnDmOsT.
- fix Q158, ty Vhalior.
Tutorial core side
- addition of 4 missing clientpackets.
- addition of missing events.
- name of the quest will be "Tutorial". It will be perhaps even dropped of quests folder if there is no need for it to be here.
Changeset 213
Six quests, misc.
Quests
- addition of Q117, Q262, Q617, Q650, Q652 && Q653. Ty fernandopm && EnDmOsT for the good work.
- Q652 && Q653 are partially rewritted compared to L2J. The initial spawn and respawn of NPCs are handled by scripts directly. HTMs have been improved too, as L2OFF itself seems wrong.
- Q650 needed a multisell change, as rewards were wrong.
- some minor typos on existing quests.
Misc (L2Party)
- A bug concerning messages when your party member obtain an item with > 1 amount has been corrected. Ty Sikken for the report.
- A message about obtaining enchanted item has been added (missing on current L2J trunk...)
- Some eventuals NPEs have been fixed (3-4), and a general cleanup has been made (sometimes coupled with code improvements).
Changeset 214
Q295, Q297 && Q362 - ty fernandopm && EnDmOsT.
Changeset 215
Olympiads (part I), misc
Olympiads
Well that was kinda long and I'm fed up to test all again and again (tri-boxing). Part I will be followed in future by part II when/if problems are found. For the moment, I know one "major issue": one of player (the second registering so far) see his own HP bar instead of enemy's.
The implementation is supposed to be FINAL. Report anything which isn't retail-like in order I correct it. If you're Inner circle member you got access to my notes about Olympiads. So consider to use them, and try to find infos on others websites if you think something is wrong.
So here is a mini list of features :
- Freya Olympiads downgraded to IL, including damage amount count (summons too), retail uses of olympiad zones, improved timing system, pretty organization splitting.
- retail olympiads observation system, with updated state (in progress, counting time, terminated,...)
- heroes diaries and hero message (@Monument of Heroes).
- retail items usage (firecrackers / echoes crystals / energy stones allowed - addition of isOlyAllowedItem() -, autosoulshot/manual BSS are forgiven).
- retail Hero pickup at the Monument (leeched from Sigmo, which leeched from another pack surely).
- reorganization of admin commands based on Olympiads in a particular handler, AdminOlympiad. Some commands are refactored (setnoble, sethero) to be far lighter.
Misc
- the pet's name on summon item is now updated when you choose a pet's name.
- improvement about clientStartAutoAttack (when your summon hits an enemy, you're in attack stance ; now it sends far lesser packets)
- more uses of getActingPlayer().
- logout packet doesn't update items anymore. It seems it wasn't needed at all (even crashing client, that was saving amounts).
- IdFactory deletes many more infos if character was previously deleted (so better cleanup is made).
- addition of dropAllSummons() in L2PcInstance - do as the name says.
- correction of a couple of SystemMessageId (hi5 => back to IL).
- fix the problem with sendPacket(SystemMessageId) from L2PcInstance.
- L2SkillTeleport cleanup.
Changeset 216
4 quests, many misc. Ty to FighterBoss, Sikken, EnDmOsT, dEvilKinG, Vhalior && SweeTs.
4 quests
- addition of Q296, Q636, Q640 && Q659.
Misc
- Fix many skill reuses and hitTime to follow L2OFF. Some skills are more balanced, and globally classes which suck, suck less.
- Corrected 2-3 HTMs typos.
- Fix some items (Potion of Revenge && Endeavor potion, Shining Bow reuse delay,...).
- Unhardcoded Olympiads item restriction. Drop of the previously added isOlyAllowed system, to use "is_oly_restricted", added long time ago by DiNoR. Understand now any item can be used on Olympiads, but is limited by "is_oly_restricted" when setted to True. If you find an item with/without that check when he should haven't/have it, consider to share diff patch about it. The related config is dropped.
- Added "Blessed spiritshot for pets" in the restriction list, aswell as the autoactivation. Removed Star Shard (elven firework) from restrictions.
- Fix Pagan Teleporter about Faded item.
- Fix Linux DB installer (missing from previous commit). Ty DarthVader to pointing it.
Changeset 217
Addition of 6 quests.
Q264, Q338, Q356, Q621, Q649 && Q651. Ty to sharers.
HTM typo fix, ty vl4d to pointing it.
Changeset 218
Pets big update, accessories debug, little npc.sql update.
Okay, that's it. I'm first sorry for the delay. I was taking a little break trying GoD on EU server (btw my name is Tryskell, /friendinvite me if you see me ingame). I reroll a lot to make a lot of money, enjoy the free exploit...
Second, the update is quite "big", even if it's not really awesome. I had to check many things about pets, because they were entirely messed up. I hope the biggest part, if not all bugs, are now corrected. I tested almost all possiblities (force delog, etc) and all seems fine.
I had to check aswell the npc.sql Darth sent me. After a couple of checks I had to ask to Darth to split data in 2, because it was really messy (collision system is a little stupid in L2J...).
Pets updates.
- fully fix pet weapons and armors equip, and "race" condition (hatchling/wolf/blabla). I decided to keep the old system as it was really easy to understand it. The core changes automatically the bodypart for "chest" or "r-hand" following type of item.
- addition of a feature (dunno if it's custom, and don't report because it won't be changed) : if you right click on a pet weapon/armor from YOUR inventory, it automatically TRANSFER && EQUIPS it to your pet's inventory if you got a pet summoned. Previous equipped item is desequipped and stays on pet's inventory..
- fully fixed stats modifiers of summons (seriously it was a pure mess, many buffs just did nothing before, pets had 0 accu/evasion).
- decreased amount of packets sent compared to current L2J (-1 packet per 10sec, and that fix too a minor bug targeting pet window every 10 sec)
- off-like (if not retail) transfer system at unsummoning pets. Ty SweeTs for the report. Inventories of pets are cleaned at delog/unsummon, transfered to your. There is no check about slots/weight, as it is used for DELOG (and imagine at delog that don't transfer, you lose items lol).
- fix RequestPetUseItem behavior. Now only one itemhandler is readed (using a pet food you had twice the code readed before o_o).
Misc
- fix the mythic accessory bug aCis got since 100+ revs (about 2 slots accessories). Now all is fine. Enjoy Wizard's Hat.
- when you pickup arrows and it fits with your bow and you are arrowless, arrows are now automatically equipped. Ty bomj for report.
- improvement of npc.sql, with the addition of retail decay system. Now all mobs got their particular timer. It debugs mobs like Gigantic Chaos Golem. Only L2Attackable are concerned, as they are the only ones supposed to die. Others use the hardcoded in core as a default, which is 7 secs (still, the sql is correctly filled anyway). Addition of all missing weapons (some can still be wrong, but it should fill a lot of templates).
- a couple of NPE fixes (itemhandlers).
Changeset 219
MASSIVE UPDATE - YOU NEED TO USE JDK 7 FROM NOW.
Well it's a really huge update. JDK 7 is now needed. Ty xblx for the libs update.
GENERAL
- Updates of all existing libs, leading to heavy changes (mainly Trove-based codes).
- Update of base64 code.
- Update of internal Java-engine (scripts engine) which needs JDK 7.
- build.xml will now check if you use JDK 7 or no. If no, build will fail, and an error message will invite you to dl latest JDK.
- Addition of L2TIntObjectHashMap on util.
NCPS RELATED
- NpcTable code is fully reworked, utilitary "getters" aswell. More infos on GS start aswell.
- update of npcskills (ty to old DiNoR rework), using L2OFF values. Changes are huge and correct known issues (ex : Prismeval island) :
- active skills => from 15894 skills, it now loads 20844 skills.
- passive skills => 7k~ skills added.
- L2NpcTemplate values are now private. Creation and use of "getters". Addition of isType("").
- Aggro value is now loaded from AI (instead of npc.sql). All aggro ranges > 1 and < 500 have been changed for 500.
- Sieges guards AI has been updated.
- overhit flag is reseted when the L2Attackable dies.
- creation of _staticAIData on L2Npc, which avoids to refer to template each time.
PETS && SUMMONS RELATED
- Baby pets are fully reworked (addition of conditions such as mp consumption, pet mental behavior (betrayed, blabla), etc).
- Tamed beasts got a little update, as getSkillsArray() exist now.
- Levels of pets skills are now correctly calculated. It can use lvl 1-12 skills levels following pet level.
- fix an issue about items consumption @ SiegeSummon, leading to "ghosts" summons. Ty xblx for fix.
- if you try to use a skill than a summon should have but haven't, it shows you the missing skillId to add on npcskills.
- When you try to use a pet skill but difference of lvl is > 20, you can't control the pet.
MISC
- Harvest/Sow skillhandlers are reworked, and Seed system too.
- addition of _skillMaxLevel in SkillTable, preloading max level of skills in a map for future uses (before it was made on the fly).
- orc mages are now considered as mages, not as fighters anymore (should fix the SpellForce issue).
- fix Orfen messages for retail ones.
- Correction of a couple of items. Ty SweeTs for patch, it is *untested* but should work at first look.
I'm aware there's an issue about pets. HP/MP are not working as intented (not readed from PetDataTable). It leads to problems like a lvl 15 wolf got same HPs than a lvl 55 one, or a pet can't use properly a skill because asked MP consumption for skill use is higher than maxMP. Others stats are correctly working.
Changeset 220
Pets update, misc.
Ty to all contributors - Sikken, xblx, Junior, MC.
Pets are now normally fixed.
- when a pet raises level, his stats and HP/MP infos are corrected shown.
- Fix an issue when you give a name to your pet.
- Pet control item is now correctly updated, both on name update and pet level raising.
Misc
- Fix 4 skills.
- Addition of Life Stones in GM shop.
- Monastery AI sends now only one type of chat, but it is retail-like (better 1 retail than 3 customs).
- fix 2 teleports location - untested.
- Addition of a check to see if entered id is a valid NPC template for //polymorph. In addition, you can't transform if you're already mounted.
- Fix an unvalid SystemMessage.
Changeset 221
Misc
- Addition of missing skills for 3rd class summons.
- Fix //polyself, adding check on templates.
- Remove the useless button "Diet" on admin panel.
- Addition of Ketra/Varka support. Ty fernandopm/Kenrix for their work.
- Correct some things on " chat (GMs aren't blocked anymore), and send systemMessage when possible.
- porta skill (GetPlayer) is now retail-like.
- Fix an issue about BossZone (L2Summon != L2SummonInstance)
- Avoid to stuck client if you try to exploit augment panel (trying to drop weapon/gemstones/LS).
Changeset 222
Quests and misc
- Addition of Q350, Q618, Q645 && Q646. Ty to sharers.
- Fix the systemMessage about double summon.
- Addition of a systemMessage when pet pickups a full item.
- eventual fix of a NPE.
Changeset 223
Addition of 7 quests - ty to sharers.
Addition of Q104, Q257, Q331, Q351, Q431, Q623 && Q644.
Fix a couple of typos and rewards on Q105.
Changeset 224
isMagic / staticReuse, typos.
Fixed hundreds of skills using L2OFF infos about isMagic / staticReuse system. Ty dEvilKinG for the good job.
Typos for classes folder. Nothing special.
Changeset 225
Raid bosses minions update.
Ty to 100500 for his detailed work.
Changeset 226
Quests and minor fixes - ty to the numerous contributors.
Quests
- addition of Q298, Q317, Q368, Q370 && Q432;
- fix a couple of existing quests (correct solo => party quest statut, and deletion of useless checks).
Fixes
- addition of a missing NPC spawn.
- correction of an HTM.
- 2 items fixed.
I must apologize about current project's progression. I played a lot those days.
I got an Othel rogue lvl 86 40% (with 3 subclasses, 75 HE / 75 ES / 65 Pal) on Core server, so don't search where was gone my time...
Changeset 227
Addition of 8 quests, ty to all sharers.
- Q124, Q299, Q300, Q328, Q352, Q353, Q355 && Q366.
TO SHARERS :
- If you made one of those quests, please READ and ANALYZE the differences between your old share (they are kept in Archives section, you normally got access) and the current rewrite. From looking differences, you can learn what I dislike as typo, what, why and how I corrected.
- I would like to repeat, as Inner Circle you got access to some internal infos, such as L2OFF HTMs. Use it !
- And ofc, read a walkthrough of concerned quest when you code the quest. The reward formula is one thing, the complete walkthrough is another !
Changeset 228
AbstractNpcInfo, polymorph, summons/pets, quests, misc.
Implementation of AbstractNpcInfo
- SummonInfo, PolyInfo and NpcInfo share the same Abstract layer.
- CharInfo code about polymorph is cleaned. All is made with knownlist.
- Addition of a config to on/off NPC crests (when a clan own castle linked to a town). Ty SweeTs for inspiration.
Polymorph
- drop of 3 admincommands (polyself).
- polymorph commands work by default on yourself if no target is found.
- addition of success messages on command uses.
Summons / pets
- Addition of a config to on/off owner's clan crest on summons.
- Fix titles : summons (blue color) and pets (green color).
- Fix team circle (duel), karma and pvp flag (summons color name, based on owner's).
Misc
- Addition of broadcastNpcSay(String) in L2Npc, and fix all uses for that new method.
- Drop of setKarmaFlag(int) and broadcastTitleInfo().
- Addition of 2 quests (2/5 FoD quests made) : Q021 && Q022.
- Addition of retail chat windows for Mysterious Wizard (located near spawn of FoD).
- Addition of minions infos for 2 mobs in FoD.
- L2CharTemplate rework (private variables, public getters).
Changeset 229
Henna rework, ty xblx for the good work.
- XMLization of hennas ; 3 SQLs are dropped and their infos are written in a unique file : henna.xml.
- fix an issue with Human Mage class (class n°10), which could wear dyes - but shouldn't be able.
Changeset 230
Numerous cleanups on clientpackets, misc
Clientpackets
- addition of null checks (around 20, if not more), "final" keyword.
- drop of the personal Logger for each clientpacket, they share the same now.
- reworked a couple of packets : checks better placed, better use of variables when possible, etc.
Misc
- addition of TradeItemUpdate serverpacket, based on L2JBroken one (and surely based on another russian pack), ty Kenrix.
- fix the problem with olympiads tokens and fix the message aswell (ty McMaGo, Brucutu, SweeTs for reports).
- some XMLs tables are refreshed ; less objects created.
Changeset 231
Quests, misc
Quests
- Addition of Q023, Q364 && Q378.
- Fix 2 issues in Q021.
Misc
-
Fix 9 SoEs and 5 others items (needed core support aswell).
- Don't launch a pvp flag task if one already exists.
- Don't autoattack (some skills got that behavior) if target isn't autoattackable.
- Cleanup valueOf => parseInt/Long/Boolean (surely more to do, only in Config atm).
- You don't lose your buffs anymore if you cancel the autoress from PheonixBless type skills (but you still lose PhoenixBless effect && Noblesse).
Changeset 232
4 quests, misc.
- Addition of Q291, Q303, Q347 && Q354.
- Fix Judgment (can't be used with dual sword).
- Fix 4S NPE at shutdown (drop existing tasks before bossZones cleanup).
- Correct /gmlist check (my fault)
- RequestManorList packet under static format.
Changeset 233
AQ, commands and misc
AQ
- fix Queen Ant death NPE ; avoid to register infos if AQ is supposed to be already dead (you can summon it manually and kill her, but it won't change anything in database, such as respawn timer and others).
- drop of onAggroRange() stuff (probably postIL stuff).
- drop of double code on spawnBoss().
- addition of missing minions (nurses and Royal Guards).
Commands
- spawn_monster : drop that deprecated command, and rework of incriminated HTMs to use regular //spawn command.
- npc_edit : drop of "armor" and "absorbLevel", addition of "enchant".
- npcinfo : addition of "corpse delay" and "enchant".
Misc
- autoAttackCondition() method rewrite.
- update of EffectParalize and EffectPetrification (use of effect flag), now you will stop to move.
- cleanup in Raid curses ; a skill will put you silence no matter what skill type it was (as silence is both for physic and magic skill), drop of some code (handled by effects due to effects rework).
- StaticObjects cleanup (drop of the map storing objects, no more instanciation). Ty Java-man.
- drop of giveRaidCurse() method and uses (was always true) ; used only once in a postIL quest.
- an academy member haven't to see wartag clan enemy member, and vice-versa.
- NPE corrected in RequestActionUse and unsummon actions are harmonized between servitors and pets.
- rewrite of my previous commit about karma/pvp flag on summons. There's a special packet made for that, RelationChanged, instead of SummonInfo/CharInfo. Addition of broadcastRelationsChanges() method on L2Playable, overridden in L2PcInstance && L2Summon. Normally from now, the relation between summons && players (autoattackable when pvpflag/karma/siege) should be ok.
- cleanup Broadcast.java, adding multiple null checks and put Collections with "final" key.
- fix one RB location, ty 100500.
- fix a stupid error I included myself ; 2 mobs from different clans could help each others... Ofc only same clan can help each other. Rehabilitation of the faction name check.
Changeset 234
Misc
- getType() is dropped both for clientpackets and serverpackets, ty java-man.
- L2HennaInstance is dropped, we work only with templates from now, ty xblx.
- all serverpackets sending only opcodes (triggers packets) got a STATIC_PACKET system. Triggers packets structure is harmonized.
Changeset 235
Olympiads && Heroes, misc
tt:
- partial addition of L2J fix 5188. Ty Zoey76. Read it on L2J timeline for more infos.
- split one check in 2 for checkNoble( method, and retail systemMessages for both of them.
- you can't see inactive heroes anymore on Monument of Heroes.
- You can't activate hero state if you're on a subclass or are less than level 76 on you main class.
- following values have been modified to fit with IL - using PMFun infos - (the previous refactor has been made from C4 infos) :
- length of a match : 3min to 6min.
- divider for non classed matches : 3 to 5.
- number of needed matches to pretend to Hero status : 5 to 9.
- waiting time before Stadium teleport : 30sec to 120sec.
- preparation time : 45sec to 60sec.
- Buff section is now handled 20secs before match beginning.
- A second full heal is applied during buff section (the first occurs at teleport).
- Shops, as sit state, are broken when you teleport IN and OUT of an stadium. Addition of forceStandUp() method on L2PcInstance for easier use.
- Buffs are cleaned up only at teleport OUT, not directly after the victory/defeat/tie of the match.
Misc
- AdminMovieMaker : IOOB exception catched (ty SweeTs report), 2 typos fixed in commands (bro'a'dcast, not brodcast), don't create intermediate variables "val" && "id".
- Cleanup of L2AttackableAI/L2NpcTemplate : drop of useless code, add of public getters, use of !isEmpty() instead of != null. Should drop the NPE when a mob tries to use a skill.
- revert magic fail formula (custom L2JFree => L2J). I kept the accuracy at 2 decimals.
- break enchant process and send systemMessage BUT CONTINUE the action in following conditions :
- you give / take an item from your pet.
- you give / take an item from warehouse.
- you are pressing any type of bypass link from a warehouse NPC type (castle / normal).
- can't interact anymore with any NPC if you're on transaction process.
- if you're actually in transaction process, break following actions :
- you give / take an item from your pet.
- you give / take an item from warehouse.
- fix Chant of Victory issue with rCrit (basemul != mul).
Report any issue on Olympiads, and CLEAN CORRECTED ISSUES in the dedicated thread, ty in advance.
Changeset 236
Formatting rules, took from latest L2J, both for DP (java scripts) and core.
- Indent all files correctly, and remove useless spaces.
- "for" loop enhancements when possible.
- put final keyword when possible.
- Fix 1600+ warnings on Javadoc (at hand...).
- L2DabaseFactory.close() addition.
To be honest, I'm not trully satisfied about arrays type, mainly when used in int[][] or in maps - results become unreadable. Perhaps later I will change it.
I will use an Eclipse feature (=>
Eclipse: Can you format code on save? - Stack Overflow) using those new templates, which mean there shouldn't have anymore commits with empty spaces, commas change, indentation and others misc. If I redo a change it will be general (like array exemple said higher).
"if/else", "for" brackets aren't automatically edited. There wasn't the rule I currently use.
Changeset 237
L2Teleporter && L2DungeonGatekeeper, misc.
L2Teleporter && L2DungeonGatekeeper
- Teleporters night price is implemented (price /2 when real life night occurs).
- Split L2Teleporter to 2 distincts entities. Avoid to use a big switch about npcId.
- Gatekeeper Ziggurat conditions are now implemented (must be from the winning side).
- fix Giran Harbor GK (drop one location, fix prices).
Misc
- static packet for ShowMiniMap (case of regular map).
- static packet for EnchantResult, and fix the previous commit (switch from 0 - considered as a success - to 2 - abort).
- RBs are now automatically concerned by MANADAM and MDOT type skills (but still got regular resistance from mobs).
Changeset 238
Movement rework, misc
Movement rework
- This is a code I found on L2J forums. I searched for initial post, but didn't find back, lol. Haven't clue about credits, I just can say the guy is russian. Sorry stranger for the no-credits :/.
- This code is EXPERIMENTAL ; I didn't find strange issues after 2 days, but report if any occurs.
- Fix the "ghost attack" when you move and a mob attacks you. Now the complete attack animation occurs. And yes, it's normal the monster does the animation even if you are running far from him. Works the same on L2OFF. Before the attack was occuring but you didn't see the animation and the monster was still moving.
Misc
- /unstuck doesn't work anymore when you are afraid. Drop a double check aswell.
- Fix NPEs on augment exploit. Happen when you don't sleep a lot.
- Drop the old intention when you cast a skill (exemple, when you were moving). If a particular intention hadn't to be dropped while casting, report on forum.
- Reflect damage skills type don't kill you anymore (stuck at 1). Well, shouldn't.
Changeset 239
Seven Signs refactor, AutoChatHandler rework, quests, misc.
Seven Signs refactor
- Update the main engine, adding multiple missing things :
- Seal of Strife effects (blocking siege summon, debuff/buff, limit uses of mercenary tickets)
- can't have sieges and seven signs in same week (+1 week for sieges if the same)
- Dawn/dusk crests are now correctly handled.
- Anakim / Lilith GKs are now correctly handled (via teleports scripts). They spawn 10sec after RB death, and despawn 15min later. Old autospawn lines are obviously dropped.
- CabaleBuffer rework.
- Split of L2SignsPriest in 2 others entities, L2DawnPriest and L2DuskPriest.
- Additions of 3 teleports in scripts folders.
- complete rework of HTMs, based on latest L2J (itself based on L2OFF Gracia). HTMs are harmonized ; understand I tried to follow a generic "template" when I corrected HTMs - as the translation was approximative sometimes (Record of the Seven Seals != Record of Seven Signs)...
AutochatHandler rework
- Migrate SQL => XML. Drop of 2 SQL tables, addition of 1 XML.
- The engine can now read one single message and register it for multiple NPCs.
Quests
- addition of Q113, Q319, Q320, Q341, Q385, Q634, Q637, Q638, Q647. Ty to all sharers for their initial work.
Misc
- Fix a ClassException at TamedPetInstance when they tried to retrieve skills list.
- L2DungeonGatekeeper instances are now invincible.
- Fix "Rift Post" teleport option ("I want to go back to my world") via added teleports scripts.
- L2Npc showChatWindow() method cleanup, using inheritance (split in L2FestivalGuide, L2SignsPriest && L2Auctionner).
- Auctionners don't show anymore actual bid.
- Observers can't use force attack anymore to target players.
- GMs aren't hidden and invul anymore if they were observing.
- addition of isSiegeSummonSkill() method on L2Skill.
- partial rework of methods to correct siege date, mainly to improve performance (all actions from while loop made on a local variable, then registered in getSiegeDate(), drop of the hour from the loop).
- addition of startQuestTimer(String name, long time) method (no npc nor player registered for it).
- fix an Augmentation issue : gemstones weren't used... I still don't understand why.
- addition of 100500's patch about a couple of items (L2EtcItem => L2Armor).
- some null checks on Collection (2 on Baium), and "fix" (deleting) one logged NPE on L2AttackableAI.
PS : Q635 doesn't exist on L2J. Content is on OracleTeleport script.
Due to numerous changes, some things haven't been tested : Seven Signs complete game cycle, Festivals, AutoChatHandler uses (only when a side win, with cabale buffers). If you find errors, make a unique topic about it with all types of errors (broken HTMs, broken game cycle, or whatever). Ty in advance.
Changeset 240
Caches rework by Java-man.
HtmCache && CrestCache :
- cleaner code (avoid to create 1 FastMap per type of crests, avoid CrestCache instanciation using static stuff, drop the LazyCache config)
- reduction in memory usage (drop of FastMap usages for others types of lists - Trove and ArrayList).
PS : new JAR to add.
Changeset 241
NPC Skills
Go from 20852 skills loaded to 67807 (x3 skills). 20mo RAM usage added.
Based on L2OFF Gracia, ty agurkasz for the parsing.
If you find aberrations, please fix and/or report.
Changeset 242
Quests - ty to sharers.
- Addition of Q266, Q313, Q345 && Q631.
- Fix a little issue in Q619.
Special mention to Q345 which was missing one NPC, 50% of HTMs and 2 options of urn.
Changeset 243
Quests - ty to sharers.
- Addition of Q316, Q325, Q329, Q422 && Q627
Changeset 244
43 quests / quest engine, misc.
Ok, that does 3 weeks I didn't commit. I worked IRL 3 days, I reinstalled OS and softwares for 2 days, I played 1 week. So yeah, in 3 weeks I worked on project only 1 week. I don't apologize, I just let you know (yyyeaahhh, changeset used as autobiography, problem ? Want to fight ? ^^).
43 quests / Quest engine
- sagas are implemented.
- Varka / Ketra alliances + related quests (except magical blabla part 2) are implemented.
- All quests sounds (6 so far, the complete amount is 8 but the 2 missing are never used) are now hardcoded and static. Ty Hasha for the idea.
- Varka / Ketra alliance system (killing ally friend drops alliance level) is moved to KetraOrcSupport and VarkaSilenosSupport. Two checks are common to 10 different quests, on regular L2J you got 10 checks (so yeah 5x2 clone arrays of registered mobs).
- addition of dropAlwaysQuestItems(int, int, int). That method is used when quest item drop is 100% (avoid to generate random number)
- fix - when possible - every onKill section in order to use dropQuestItems / dropAlwaysQuestItems methods.
- drop of the parameter in getNoQuestMsg() and getAlreadyCompletedMsg() methods.
Misc
- mob attack stances has been harmonized through the different uses (Baium, L2AttackableAIScript, etc).
- Paagrio => Pa'agrio typos fixes.
- rework of broadcastPacket() method. It will use now the static system from Broadcast class. Added to that, the particular system from L2PcInstance regarding CharInfo is dropped. A special method is now used to broadcast it (named broadcastCharInfo()).
- when you interact with a shop player, you will turn yourself in front of the player.
- TargetSelected packet isn't sent to yourself anymore (only broadcasted to others).
- Random tweaks on multiple methods (cleanup, checks imbrication, deletion of pointless stuff, and so on).
- Addition of many informations regarding "sell, buy, warehouse" packets. Generally all regarding Inventory. Additions of many null checks aswell.
Changeset 245
Retail enchant system, quests, misc
Retail enchant system
- differentiate fighters && magic weapons (ty rocoder for the DP parsing). Implementation of isMagical() in L2Weapon.
- drop config related to jewelry.
- different rate when weapon reach +15.
- max limit is set back to unlimited.
- the chance is now a double, not an int anymore, in order to keep accuracy (for armor).
Quests
- addition of Q632 && Q642, ty Hasha && EnDmOsT.
Misc
- some packets rework, ty Java-Man. Addition of isForThisClass() method. Hennas packets should be tested deeply, but from my few tests, they work.
- Merge of HeroSkillTable and NobleSkillTable with SkillTable, ty Java-Man.
- you can't PM yourself anymore (ty xblx for suggestion). It's not retail-like.
Changeset 246
Community Board (CB) part I, misc
CB is mostly cleaned up.
Some efforts have been made in order to use static stuff (like static strings && static ShowBoard objects).
A LOT of work is needed to complete it correctly (in disorder : cleanup hardcoded HTMs, recode HTMs to fit with IL CB dimensions (on IL, CB is more little...), add missing code, add GoD region tab)
CB
- custom region tab has been entirely dropped.
- friends panel is 50% implemented.
- clan notices system is implemented, but not tested at all (and probably not working).
- mail system is implemented, but check previous sentence for more infos.
- Clan forums aren't created anymore if CB isn't enabled.
Misc
- addReputation / takeReputation are the only commands to affect reputation (setReputation is used only for loading and as "core" for the 2 previous commands). They save *only* reputation from now, not the whole clan infos.
- getHasCastle() and getHasHideout() have been renamed getCastleId() and getHideoutId(). Creation and use of hasCastle() and hasHideout() boolean methods.
- getActingPlayer() uses on SiegeGuardKnownlist, GrandBoss and RaidBoss instances.
- many random methods are cleaned up in order to create less objects, adding checks && readability.
- addition of getClanAllies() method, used to retrieve clans in alliance.
- Addition of AllianceInfo serverpacket (untested)
Reminder for future : it's better to initialize variables INSIDE a loop (in order to reduce scope range). The logic consisting to think to initialize it outside is better is false and is even worst.
Changeset 247
Misc
- fix GandBossTeleporters script (HTM/SQL side). All IDs are supposed to be ok.
- add a check for groups on Quest for radius (ty Hasha). Ideally, it needs to be spread to any solo quest.
- cleanup (L2SiegeGuard, 2 itemhandlers with postIL stuff, AttackStanceTaskManager).
- colors of title/name is corrected (ty TheEngo)
- toggles are desactivated when taking a CW.
- Drain skills HP gain effect now effects monsters (+ rework of the skillhandler).
- correct Lotto ticket (ty Pleasure).
*normally* fix AutoChatHandler issue.
Changeset 248
Misc
- Add the missing Ketra/Varka AI petrification support (allied player helping - through positive effects - neutral/enemy player which attack a friend mob). It makes the difference between who casted it aswell (pet or player is paralized depending who casted). Unfortunately, it doesn't break the cast (because onSkillSee works when skill is already launched, else it would need an ANTICIPATION of the mob).
-
Fix Raid Curse stuff (too much c/p kills the c/p), and improve a little the coding.
- drop all "Util.contains(" checks on Monastery. Those checks are made way before, and aren't necessary on that script, as arrays and behaviors aren't melted... Mobs are individually registered.
Changeset 249
Primeval AI, misc
Primeval AI
- Addition of primitive system for following behaviors :
- Pterosaurs and TRex-es can see through Silent Move (core support needed).
- Ancient Egg, when attacked, will call all mobs in a range of 2k (guessed... as 1k is the aggro of a lot of dinos, I x2'ed it).
- Sprigants will launch a task every 15sec if someone enters in their aggro range (AoE skill). Task stops if sprigant is dead or if none is inside anymore.
Misc
- addition of Q629
- fix summon sieges skills for "Siege Golem" and "Swoop Cannon".
- fix Sprigant's fruit and Primeval potion.
- "String = "" > isEmpty()", "boolean == false > !boolean" && "boolean == true > boolean".
- fix a critical issue about quest check (added in previous revision).
- MagicSkillUse packet is completed.
- addition of ConditionTargetHpMinMax, used for Trap Skills (avoid the ugly system of onSkillSee).
A lot needs to be done for PI (full trap system mostly), and it goes by gathering as many as possible informations.
Changeset 250
5 quests, misc
- Addition of Q049 (untested as c/p of Q046), Q371 ,Q374, Q375 && Q603. Ty to sharers.
- fix songs panel (drop "back" button), ty AntiViruZ.
- drop useless skillhandler.