Changeset 300
Scripts, MiscScripts
- addition of Q222, Q232 (ty equip, Junior).
- cleanup numerous quests (getQuestItemsCount > hasQuestItems, drop of "exitQuest(true)" on STARTED cases, misc). Need to do more, I was lazy to re-read all godamn quests...
- fix DoctorChaos respawn time (for regular RB time).
Misc
- fix revive animation, drop of _isPendingRevive and associated getter/setter - ty Kingzor / xblx.
- cleanup ItemSkills && ScrollOfRessurection itemhandlers (fix SoR consumption, made on skill call not on item call) - ty Kingzor / xblx.
- fix esc, target is supposed to be kept if you were casting a skill (but a second press on esc cancels the target)- ty dEvilKinG for report.
- drop GM bypasses regarding inventory capacity (avoid to be filled at 105/80).
- use of hasPet() when possible. hasPet() check doesn't check if != null (as instanceof is doing it).
- fix Olympiads zone ids 7 && 8, and move all spawn points farer to center (ty Rainbow Dash).
- fix the alert on console regarding Shadow Sense (ty Rainbow Dash).
To be perfectly honest I was lazy those days and some things haven't be tested, notably olys zones (if they're wrong, complain to Hasha :p) and quests changes (that's just code changes, shouldn't alter the logic).
Changeset 301
Olympiads, Quests, MiscOlympiads - ty Hasha.
- fix visual bug regarding participant HP bars.
- fix visual bug regarding participants buffs bar refresh (for spectators).
- wait time setted by default to 30sec.
- rework spectators system.
- drop ExOlympiadUserInfoSpectator packet (not used).
- add 2 configs (AltOlyWaitBattle && AltOlyWaitEnd).
- random cleanup.
Quests
- cleanup numerous quests (notably Q163, Q166, Q171, Q294, Q296).
Misc
- cleanup ClanTable - ty Hasha.
- avoid to use getter/setter inside the file.
- scheduleRemoveClan parameter is changed for L2Clan not int (avoid to read 4 times the Map to find the L2Clan).
- cleanup L2Clan
- avoid to use getter/setter inside the file.
- Integer parameter > int.
- Drop of L2Clan version for setEnemyClan / setAttackerClan. Integer survivor > int.
- Edit deleteEnemyClan(L2Clan) / deleteAttackerClan(L2Clan) parameters from L2Clan to int (clanId).
- simplify few methods (notably ".contains" which implicitely returns a boolean).
- getAllSkills() is edited for getClanSkills().
- drop of _skillList, 2 removeSkill(int/L2Skill) and getSkills() methods (L2JIL unused) - ty Hasha.
- drop of addClanMember(L2ClanMember) method (private, 3 uses, 1 line method).
- getOnlineMembers(int) loses his parameter.
- addSkillEffects(), updateClanScoreInDB() methods are dropped.
- rework setReputationScore(int) method in order to avoid to create 3 times (!) clan members list, and regenerate getClanSkills() for every member. Use of Math.min/max.
- setHasHideout() / setHasCastle() renamed for setHideout() / setCastle(). Variables are also renamed.
- L2PcInstance
- the Map storing subclasses is initialized with instance itself, and final.
- sorted maps for subclasses, macros and skill lists - ty xblx, Trance.
- fix beginner shortcuts (self heal was overidden sit icon) - ty Kingzor.
- fix one systemMessage, and 3 others (not used yet, so not visible) - ty Hasha.
- drop of L2TIntObjectHashMap (only one use before, not used anymore).
- fix an issue regarding clan skills give back once Olympiads are done, if clan reputation is <= 0.
- fix top/bottom ; getting one OR the other doesn't mean you got both anymore (1 && 0 || 0 && 1 = 0, not 1). Ty Hasha.
- Skills (need to do a lot more about skills...)
- fix Focus Attack (set to 1, not add 1).
Rev 290 can be found here :
Click me