aCis Project rev.194

aCis Project rev.194



Biaum Ai, Quests, Misc.

I commit in order to save current work, it becomes boring to "Compare" as it becomes bigger and bigger.

Baium AI
- Addition of Baium AI, based on L2J, with some part of Archid (for the custom Throw effect so far).
- Some improvements, such as :
- teleport of the waker near baium, and special action on him (luck to be thrown to the wall and die)
- use of 3 animations instead of 2.
- a retail Angelic Vortex
- Baium doesn't stuck like a noob when you run from him.
- The IA is currently working - according to L2J criterias. I wait more infos on behavior to fix it correctly.

Quests
- addition of Q154, Q234, Q235. Those quests use L2OFF HTMs.
- Q235 has been remade from 0. The alchemical's part is include inside, as retail.
- Q234 has been heavily remade from L2J aswell.
- addition of GrandBossTeleporters teleporter. It leads behavior of Antharas, Valakas and Baium (inheritated from the Baium AI) teleporters.

Misc
- Fix some typos on HTMs, delete some useless HTMs.
- Fix tatoos to be "none" as armorType (avoid armor penalty on those). Ty alkivas2 for the report.
- correction of Castle warehouse collision radius/weapons. Ty Medson for the share.
- Addition of 2 serverpackets for trade accept (when you push OK button, it "grays" the window). Ty Kenrix for the fix.
- Addition of L2MutedInstance (unhardcoded NPCs muted instances). Special instances (guards, etc) still get their own system.
- Fix the player's rotation to be retail-like (when you're near a NPC and you try to speak to him, now you rotate).
- fix the location of a NPC (summoned cat in ITower, wrong roof).
- fix an exception on teleport admincommand (when you type alphabetic stuff).
- setLastFolkNPC() has been reworked, and is now known as setCurrentFolkNPC(). Avoids exploit based on latest NPC you speak (now it puts null instead of keeping last NPC in memory). Eventually, will be used to check things in future.
- Quest engine has been reworked to accept multiple IDs on the same event => addStartNpc(ID1, ID2, ID3).
- Make the way cleaner for some future quests (Repent your Sins, Tutorial).
Baium AI (part II), checks, HerbsTable, retail sit, quests.

Baium AI has been improved, thx to your informations :
- angels are put invul back.
- angels attack baium (vice-versa was already working).
- angels animation, as any other L2Npc animation (if requested), is now shown (ty Treaser for the fix).
- earthquake is setup to 10secs, not 5secs (verified retail video).
- no more custom throw effect, but addition of the Baium's gift on the waker (still 60% proba)
- deletion of the custom speak (all that because of Escalofrios !)
- corrected Baium's awakening animations (now send correctly the 3 in the good order), and they are correctly temporised to be applied one after one.
- modified Baium AI castSkill ; Baium will use mainly AoE if 2+ angels are near him, or if too much ppl (20+) surround him.
- Baium aggro range is 2k (anyway you're not in his knownlist in 9k range, lol) as retail (verified retail video).
- getRandomSkill() method is optimized (only 1 rnd for the whole method).
- Baium can now heal himself (with a very low chance and only when he is under 10% HPs).

Quests
- addition of Q152 and Q155, ty fernandopm for initial share.
- replace giveItems for rewardItems for end rewards (allow to correctly use the quest multiplier adena/item rate config).
- addition of the missing teleport AI from previous commit. Never copy-paste a folder directly from a project to another, ffs.

HerbsTable
- Herbs have been un-hardcoded.
- Herbs data from L2J hi5 has been XMLized in the process.
- Ty to MySQL and JOIN RIGHT command :).
- herbs drops have been /5 compared to L2J. They are now "correctly" dropped (no fullbuff anytime like before).
- you can use that new engine to make your own droplists ! It can handle any drop. Beware of configs such as AUTO_LOOT_HERBS...

Misc
- addition of retail sit (ty CSharpRU from L2J forums) and nextAction support.
- addition of "You cannot pick up or use items while trading." restrictions (added the pickup restriction, and fix the useItem which was closing the trade window instead of cancel useItem action).
- correct the drop protection : there aren't protection on items you drop AT WILL. Added a restriction for pets too (they can't pickup protected items anymore).
- addition of getPlayersCountInRadius(), perfect for your events :P. It will return the number of player around a point P in a radius R, you're free to do any check with that (used for Baium AI so far).


About Baium : there are still errors. So far, angels are not handled at all in L2J. They attack Baium because he is on their enemy clan, but that's all. I must implement their own AI in Baium's to get a random target from players. An other issue is about the teleToLocation. It seems to drop the knownlist of Baium (and of the teleported aswell). So Baium got troubles to kill the player, and the player can't see actions happening during the teleport (so far the last animation). Currently, the fix of that isue could correct another one, based on Porta's getPlayer skill (and where knownlist is cleaned and porta doesn't aggro anymore if you use normal teleToLocation()).



Dėmesio! Jūs neturite teisių matyti paslėptą tekstą.





# 1 |  estela  |   3 Lapkričio 2011 10:16    
verta siustis?

   
Vartotojai, kurie yra grupėje Svecias, negali rašyti komentarus šioje naujienoje.

Navigacija

Failų Kategorijos

TOP Naujienos

Prisijungimas

Portale
Vartotojai (1):
Svečiai (8):
Robotai (2):
Visame tinklapyje: 11

Apklausa

Komentarai