Ir para conteúdo
  • Cadastre-se

aCis 380, 381,382 com trunk atualizada e nova geodata!


Nattan Felipe

Posts recomendados

Fala, galera belezinha? 
Tenho esses shares aqui e resolvi compartilhar com vocês:
São as diffs 380,381 e 382, tem também a trunk mais atualizada e a nova geodata do projeto

 

Updates

Changeset 380 (1133)

RaidBossManager rework, Admincommands, DayNightSpawnManager rework, Scripts, Cleanup, Bugfixes


RaidBossManager rework
   - Regular cleanup (CLogger, try-with-ressources, stringified queries,...).
   - Edit tasks to not be canceled, probably fixing InterruptedException on raid boss death.
   - Tweak raid boss death query in order to only update it, and not all raid bosses.
   - Fix the raid boss loaded HPs upon server restart.
   
Admincommands
   - Revert //setinvul (setIsInvul true), rename it //invul and move it on AdminEffects.
   - Add //undying, which takes back the current //setinvul behavior (setIsMortal false).
   - Add //buff <skillId skillLvl>. If no valid Creature target, use player itself. Can be used as buff/debuff.
   - Fix admincommands para_all / para (mobs were still ending current casting/attack).
   - Add admin_debug for the alt+G panel ("Information" button).
   
DayNightSpawnManager rework
   - Cleanup (divide by 3 the class).
   - Hellmann is moved out, to its own script. The day/night spawn is fixed.
   - Fix the issue where day/night spawns are only handled on next day/night change after server start.
   
Scripts
   - ON_CREATURE_SEE event type is added.
   - Fix Q023 : upon saying Innocentin you didn't read the book, the quest was freezed.
   - Q024_InhabitantsOfTheForestOfTheDead is added.
   - "ForestOfTheDead" script is added. In the end, it will gather all related AIs. Handle following for now :
      - Hellmann day/night spawn.
      - Cursed Village NPCs day spawns.
      - Q023 "Maid of Lidia" night spawn.
      - Q024 night Dorian check.
   - Add a missing QueenAnt onAttack condition regarding fire spells. Ty bowling4soup.
   - NPE fix for onKill. Also allow onKill to handle custom suicide behaviours (simply check if killer is npc).
   
Cleanup
   - Complete ChangeMoveType packet structure. Ty RooT.
   - Complete TeleportToLocation packet structure.
   - Rename Creature#teleToLocation for teleportTo.
   - Addition of instantTeleportTo method (used for short distance teleport, mostly skills). GetPlayer skillhandler is edited to use it.
   - Addition of WorldObject#refreshKnownlist() method (used only by instantTeleportTo).
   - Drop unused Player constructor.
   - Move all unrelated content (spoil, soul crystals, seed,...) from Attackable to Monster (1 Map, 2 Lists, few other variables : Guard / SiegeGuard don't need such).
   - Slight Henna rework, ty StinkyMadness.

Bugfixes
   - On teleport, the heading is now taken in consideration.
   - Fix NPE for detached Players upon //character_info use. Ty sahar.
   - Complete previous fix regarding auto-attack behavior which should stop once the target isn't autoattackable anymore.
   - Fix Q634 Dimensional Fragments drop amount/rate.
   - Anakazel rewards Soul Crystal leveling to all party members.
   - Fix a weapon equip task exploit. Ty Celestine for the detailed video.   
   - Fix ghost attacks upon stun/sleep/paralyzed/... effects. Notably visible on NPCs.
 
Changeset 381 (1225)

Updates, Cleanup, ClanHall, Bugfixes


Updates
   - aCis officially support JDK11 (since Oracle changed their licence, consider to use OpenJDK), and is now mandatory. Older/different versions aren't supported anymore.
   - Refresh mysql connector from 5.1.26 to 8.0.15.
   
Cleanup
   - Revert StringUtil#isEmpty(String... strings) logic.
   - Rnd.get(list) / Rnd.get(array) uses are unified over the source. Those methods don't send anymore default values, and will lead to errors if the given array is null.
   - Add Player#isWearingFormalWear().
   - Add ExProperties#parseIntIntList.
   - Add ZoneType#addKnownObject / removeKnownObject.
   - Drop L2Skill isDemonicSkill() / isFlyingSkill() / isStriderSkill() - no use anymore.
   - Activation of the try-with-ressources warning. All impacted classes were cleaned up in the process (renames, CLogger addition, regular writting style, Stringified queries, Javadoc...). I won't list all changes, but there was something like 200+ warnings.
   - IdFactory
      - Merged with BitSetIDFactory.
      - Drop _freeIds.clear() on initialization (Javadoc says it sets to false by default).
      - Drop _initialized flag (unused).
      - Drop Collections.sort(usedObjectIds) (pointless).
   - Basic Duel packets cleanup. Add missing ExDuelEnemyRelation packet (with no use). Ty RooT.
   - ZoneType#getKnownTypeInside returns Collections.emptyList() if no characters are found - avoid to generate an empty List for nothing. Delete children classes isEmpty() checks.
   
ClanHall
   - Complete rework of ClanHall system. Added to the regular cleanup (CLogger, Javadoc, Stringified queries,...) :
      - Improve clanhall admin management.
         - Usage is now //ch chId <set|del|open|close|goto|end> (one admincommand for all actions).
         - Clan Hall and Siege admincommands got now seperated AdminCommandHandler.
         - No more Exception on invalid parameter for both clan halls and sieges admincommands.
      - Fix clan hall doormen "To Beginning" button.
      - Change the way of attribution of ClanHallManagerNpc ClanHall (no subsequent ClanHallManager calls).
      - XMLize static data (moved out from SQL). Merge Auction db content with ClanHall db content. AuctionManager is dropped, Auction is now stored to the ClanHall directly.
      - Rework the fee task to be more friendly.
      - ClanHallFunctions are loaded in same time than ClanHall, to benefit from the existing Connection. ClanHall don't use anymore one Connection per ClanHall, too.
      - "Clan Action" panel is refreshed upon ClanHall free() method call.
      - Fix an issue with owned ClanHall bids cleaned up upon server start.
      - Upon setOwner() : previous owner got some actions made on it, fee task is renewed for new clan, existing ClanHallFunctions are deleted, outsiders are dumped out.
      - Doors are closed for both free() / setOwner() processes.
   
Bugfixes
   - Implementation of EventTrigger packet + retail usage (castle traps visual effect on siege progress). Ty RooT.
   - Implementation of ExMPCCPartyInfoUpdate packet.
   - Add mods_wedding as part of restored objectIds (otherwise those ids are usable, while they shouldn't).
   - ShortcutList / Shortcut
      - Fix addition/remove/update SKILL shortcut type (manual or from trainer).
      - Integrity check upon addition (check MACRO, RECIPE, ITEM, SKILL types).
      - Fix cleaning issue for ITEM (dropping an item on ground was only clearing the first occurence of shortcut met, not others if existing).
      - Implementation of ShortCutDelete packet.
   - Olympiad Competition starts time seconds are set to 0.
   - EnterWorld exploit fix (create a special GameClientState ENTRING for the occasion, more infos here : https://acis.i-live.eu/index.php?topic=10070).
   - GMViewSkillInfo shows correctly disabled skills when wearing Formal Wear. Also refresh skills state upon equiping/unequiping Formal Wear.
   - Add back regular skills use for mounted players and cursed weapons users. Indirectly fix SoE and alike skills items for mounted / CW user.
   - Fix zone/region overlapping (can be tested on Giran castle active front trap). Ty bowling4soup.
   - Fix Q348. It uses L2OFF script for Blooded Fabric acquisition formula.
   - Add MultiSellChoose _entryId integrity check to avoid packet craft (avoid IOOBE). Ty Ghadda / bowling4soup.
   - Rework BrokenLabyrinth based on L2OFF GF. Fix an IOOBE.
   - Edit Linux shell scripts to automatically create log folder if not existing. Ty RooT.
   - Add CW SocialAnimation upon ranking.
   - Fix CW visual effect (goes from 1 to 10 stage, not 0 to 9). Ty RooT for tip.
   - Fix XP/SP calculation. HP ratio is already taken in consideration by template values. Ty Ghadda.
   - Revert previous edition of a config, based on Sahar observations - From -18104, 109992, -2656 to -18312, 110056, -2512 archers could shoot.
Changeset 382 (1288)

Since a lot of core has been edited/moved, sources will be exceptionally shared at rev 382 for Customers, added to the diff patch for the adventurers. If you begin to dev a project, I strongly invite you to port your customs directly on 382 shared pack.

Organization, Cleanup, Bugfixes


Organization

A lot of organization has been made, in order to give some consistency to core side.
   - Creation of package gameserver.enums. All existing enum have been moved here, and renamed to either get distinct name (CtrlEvent / EventType being too generic), and to fit with new convention name for enums (has to end with "Type" or "Status").
   - Creation of package gameserver.model.actor.player and gameserver.model.actor.npc, holding classes related directly to Player and Npc (+ children) classes.
   - Creation of package gameserver.model.spawn, holding AutoSpawn / L2Spawn / BossSpawn classes.
   - Drop model.base and model.actor.appearance packages.
   - Player is moved out of model.actor.instance, to model.actor.
   - Drop of Broadcast class and gameserver.util package, content is splitted between World / ZoneManager / Creature.
   - Drop of gameserver.templates package. StatsSet is moved to common.util.
   - Drop of gameserver.instancemanager, with rename : SevenSigns > SevenSignsManager, SevenSignsFestival > FestivalOfDarknessManager. Both are cleaned (CLogger, try-with-ressources,...) and moved to gameserver.data.manager.
   - AutoSpawnManager > AutoSpawnTable and moved to gameserver.data.table, with a split of AutoSpawnInstance > AutoSpawn moved to gameserver.model.
   - Drop XMLDocumentFactory and gameserver.xmlfactory package (no use anymore).
   - Drop gameserver.model.petition package, move Petition back to gameserver.model (we avoid to use package for single classes).
   
Cleanup
   - Refresh DP .project to avoid Eclipse warnings.
   - Move GET_PLAYER and INSTANT_JUMP skills to their own SkillType, TELEPORT, in order they aren't used by regular AI system. In order NPCs use them, you have to write additional script.
   - Add Npc#doCast(SkillType), which randomly cast a skill based on its SkillType and associated to the NpcTemplate skills.
   - Heading is now part of getPosition(). New setXYZ/spawnMe methods have been generated to give the possibility to feed heading in same time than X/Y/Z. To set the heading independently, you have to use getPosition().setHeading(heading).
   - Improve Npc#toString().
   - Rename Player#getPet() / setPet > getSummon() / setSummon(), since it is supposed to return Summon, which are both Pets and Servitors.
   - Walker doesn't override HP drop stuff (since it inherits from Folk#isMortal).
   - Creation of Punishment model (with Javadoc) in model.actor.player, holding all punishments informations of a Player.
   - Creation of HennaList model (with Javadoc) in model.actor.player, holding all Hennas informations of a Player. Ty vampir for the initial contribution.
   - L2Radar > RadarList + Javadoc and move it to gameserver.model.actor.player, extract RadarMarker to gameserver.model.
   - ValidatePosition _heading isn't processed anymore (no use).
   - Generate TeamType enum, based on StinkyMadness idea.
   - Complete rework of RaidBossManager.
      - Merge the different Maps holding infos into one. Create BossSpawn in model.spawn package to hold all related infos.
      - The saving process isn't lazy anymore, but handled on spawn/death/server start.
      - BossStatus isn't related to a Npc instance anymore, meaning you can interrogate it even if Npc isn't existing (DEATH case).
      - Rename StatusEnum > BossStatus enum, moved into enums package.
   - Add the possibility for server admins to tweak default items quantity and equipability. The result is more readable than previous system. It uses the newly generated ItemTemplateHolder (gameserver.model.holder).
   - Cleanup RandomAnimationTaskManager
      - Animation task cancel is now instant upon NPC death, inactive region or intention change != ACTIVE for Attackable. Before it was waiting the regular end timer.
      - Following instances types aren't registered anymore on RandomAnimationTaskManager : ControlTower, EffectPoint, FlameTower and SiegeFlag.
      - Drop of Npc#isMob(), addition of Npc#calculateRandomAnimationTimer().
   - Add missing login status on admin/maintenance.htm
   - Generate StatusType and AttributeType enum, which are used for both LS and GS. Unload ServerStatus of multiple variables.
   
Bugfixes
   - CharInfo heading / boatId is fixed, based on Vilmis remark.
   - Fix a bug introduced in rev 380, where bosses died during a server down couldn't respawn properly. Ty bowling4soup.
   - Add HEAL_STATIC as potential buff slot (fix skillId 3125). Ty Sahar.
   - Modify Lightning Strike power effect. Ty Sahar.
   - Fix the double summon spawn issue (unSummon + doDie happening in same time), as tested by Sahar.
   - Decaying summons tasks are dropped if a decay occurs (avoid tasks to run for nothing).
   - Add Porta/Perum script named SummonPlayer.
   - startAttackStance() / stopAttackStance() system is cleanup. Avoid to spam AutoAttackStop broadcast by NPCs. Decrease the amount of startAttackStance() / stopAttackStance() calls tremendously, notably because the call is moved from onHitTimer to doAttack. Since each attack can produce 1, 2 and up to 10 hits for polearm users, as much calls were done.
   - Player#store doesn't store anymore client X/Y/Z (avoid exploit upon relog).
   - Diagonals flags rule is edited on GeoDataConverter. They must now be validated in both direction.
   - Add/improve character water/fly state on SummonInfo, NpcInfo, PcMorphInfo, PetInfo.
   - Avoid NPE on ClanHall#setOwner, issue introduced in rev 381. Ty bowling4soup.
   - Fix ShortcutList#restore(), issue introduced in rev 381. Ty bowling4soup.
   - Fix ignoreShield() behavior for L2SkillType STRSIEGEASSAULT, PDAM && FATAL. Ty Sahar.
   - SiegeGuard AI is set to ACTIVE and not IDLE when reduceHate occurs.
   - Fix an issue on player creation ; items (armors) weren't equipped properly.
   - Fix default skills shortcut acquisition upon player creation.
   - A DOWN server now correctly repells login attempts (case of Shutdown 60sec). Negative access levels accounts see the server DOWN, and can't login aswell. Addition of GameServerInfo#canLogin(LoginClient client).
   
PS : You should update your geodata, either using GeoDataConverter or refreshing it using aCis shared link (verify modification date).
 

Download: 

http://www.mediafire.com/file/t5agabclia0rv8v/changeset_380.diff

http://www.mediafire.com/file/wlemxfea602yd5o/changeset_381.7z

http://www.mediafire.com/file/emyqvssr8lv8u1y/changeset_382.diff

https://www.mediafire.com/file/1ttcpgyjmnc08vz/Trunk382_aCis.rar/file

http://www.mediafire.com/file/oos96b3j3yq853s/l2d.7z

 

 

 

Editado por Nattan Felipe
  • Gostei 10
  • Não gostei 2
  • Obrigado 2

Você sabia que a L2JBrasil tem uma empresa de Hosting Oficial?
Conheça a L2JCenter.com

L2JBRASIL - 15 anos vendendo SS e flechas em Giran! (Trade / Adena)

Link para o comentário
Compartilhar em outros sites


42 minutos atrás, NERO- disse:

senha para extração ?

 

Olá, bom dia! Só retirar o .7z que dará certo! rs
De toda forma, vou upar sem senha!

Você sabia que a L2JBrasil tem uma empresa de Hosting Oficial?
Conheça a L2JCenter.com

L2JBRASIL - 15 anos vendendo SS e flechas em Giran! (Trade / Adena)

Link para o comentário
Compartilhar em outros sites

Em 26/07/2019 at 19:12, Nattan Felipe disse:

to copilando o source da mesma forma que você postou no winrar o gameserver está dando esses erros ao copilar, teria um pronto atualizando funcional?

 

Citar

  [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
data\MapRegionTable.java:17: error: cannot find symbol
    [javac] import net.sf.l2j.gameserver.model.entity.Siege.SiegeSide;
    [javac]                                                ^
    [javac]   symbol:   class SiegeSide
    [javac]   location: class Siege
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:108: error: cannot find symbol
    [javac] import net.sf.l2j.gameserver.model.entity.Siege.SiegeSide;
    [javac]                                                ^
    [javac]   symbol:   class SiegeSide
    [javac]   location: class Siege
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:111: error: cannot find symbol
    [javac] import net.sf.l2j.gameserver.model.group.Party.LootRule;
    [javac]                                               ^
    [javac]   symbol:   class LootRule
    [javac]   location: class Party
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:112: error: cannot find symbol
    [javac] import net.sf.l2j.gameserver.model.group.Party.MessageType;
    [javac]                                               ^
    [javac]   symbol:   class MessageType
    [javac]   location: class Party
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:197: error: cannot find symbol
    [javac] import net.sf.l2j.gameserver.network.serverpackets.SetupGauge.GaugeC
olor;
    [javac]                                                              ^
    [javac]   symbol:   class GaugeColor
    [javac]   location: class SetupGauge
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:515: error: cannot find symbol
    [javac]     private LootRule _lootRule;
    [javac]             ^
    [javac]   symbol:   class LootRule
    [javac]   location: class Player
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:5109: error: cannot find symbol
    [javac]     public LootRule getLootRule()
    [javac]            ^
    [javac]   symbol:   class LootRule
    [javac]   location: class Player
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:5114: error: cannot find symbol
    [javac]     public void setLootRule(LootRule lootRule)
    [javac]                             ^
    [javac]   symbol:   class LootRule
    [javac]   location: class Player
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:10478: error: cannot find symbol
    [javac]     public boolean polymorph(PolyType type, int npcId)
    [javac]                              ^
    [javac]   symbol:   class PolyType
    [javac]   location: class Player
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
data\DoorTable.java:20: error: cannot find symbol
    [javac] import net.sf.l2j.gameserver.model.actor.template.DoorTemplate.DoorT
ype;
    [javac]                                                               ^
    [javac]   symbol:   class DoorType
    [javac]   location: class DoorTemplate
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
instancemanager\SevenSignsFestival.java:34: error: cannot find symbol
    [javac] import net.sf.l2j.gameserver.model.group.Party.MessageType;
    [javac]                                               ^
    [javac]   symbol:   class MessageType
    [javac]   location: class Party
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
data\CharTemplateTable.java:105: error: constructor PlayerTemplate in class Play
erTemplate cannot be applied to given types;
    [javac]                     PlayerTemplate pcT = new PlayerTemplate(classId, set);
    [javac]                                          ^
    [javac]   required: net.sf.l2j.commons.util.StatsSet
    [javac]   found: ClassId,net.sf.l2j.gameserver.templates.StatsSet
    [javac]   reason: actual and formal argument lists differ in length
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
data\CharTemplateTable.java:112: error: cannot find symbol
    [javac]                             pcT.addItem(Integer.parseInt(element));
    [javac]                                ^
    [javac]   symbol:   method addItem(int)
    [javac]   location: variable pcT of type PlayerTemplate
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
data\MapRegionTable.java:235: error: no suitable method found for isInsideZone(n
et.sf.l2j.gameserver.model.zone.ZoneId)
    [javac]         if (player.isInsideZone(ZoneId.MONSTER_TRACK))
    [javac]                   ^
    [javac]     method WorldObject.isInsideZone(net.sf.l2j.gameserver.enums.Zone
Id) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.zone.ZoneId ca
nnot be converted to net.sf.l2j.gameserver.enums.ZoneId)
    [javac]     method Creature.isInsideZone(net.sf.l2j.gameserver.enums.ZoneId)
 is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.zone.ZoneId ca
nnot be converted to net.sf.l2j.gameserver.enums.ZoneId)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
data\MapRegionTable.java:258: error: cannot find symbol
    [javac]                     if (!(castle != null && castle.getSiege().isInProgress() && cas
tle.getSiege().checkSides(player.getClan(), SiegeSide.DEFENDER, SiegeSide.OWNER)
))
    [javac]                                                                                    
                                            ^
    [javac]   symbol:   variable SiegeSide
    [javac]   location: class MapRegionTable
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
data\MapRegionTable.java:258: error: cannot find symbol
    [javac]                     if (!(castle != null && castle.getSiege().isInProgress() && cas
tle.getSiege().checkSides(player.getClan(), SiegeSide.DEFENDER, SiegeSide.OWNER)
))
    [javac]                                                                                    
                                                                ^
    [javac]   symbol:   variable SiegeSide
    [javac]   location: class MapRegionTable
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
data\MapRegionTable.java:263: error: cannot find symbol
    [javac]                     return castle.getCastleZone().getSpawnLoc();
    [javac]                                                  ^
    [javac]   symbol:   method getSpawnLoc()
    [javac]   location: class CastleZone
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
data\MapRegionTable.java:280: error: cannot find symbol
    [javac]             return (player.getKarma() > 0) ? castle.getSiegeZone().getChaotic
SpawnLoc() : castle.getSiegeZone().getSpawnLoc();
    [javac]                                                                   ^
    [javac]   symbol:   method getChaoticSpawnLoc()
    [javac]   location: class SiegeZone
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
data\MapRegionTable.java:280: error: cannot find symbol
    [javac]             return (player.getKarma() > 0) ? castle.getSiegeZone().getChaotic
SpawnLoc() : castle.getSiegeZone().getSpawnLoc();
    [javac]                                                                              
                                  ^
    [javac]   symbol:   method getSpawnLoc()
    [javac]   location: class SiegeZone
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
data\MapRegionTable.java:308: error: incomparable types: net.sf.l2j.gameserver.e
nums.actors.ClassRace and net.sf.l2j.gameserver.model.base.ClassRace
    [javac]                 return getTown((player.getTemplate().getRace() == ClassRace.DARK
_ELF) ? 1 : 3);
    [javac]                                                                ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
data\MapRegionTable.java:311: error: incomparable types: net.sf.l2j.gameserver.e
nums.actors.ClassRace and net.sf.l2j.gameserver.model.base.ClassRace
    [javac]                 return getTown((player.getTemplate().getRace() == ClassRace.ELF)
 ? 3 : 1);
    [javac]                                                                ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
instancemanager\AutoSpawnManager.java:580: error: no suitable method found for a
dd(net.sf.l2j.gameserver.model.spawn.L2Spawn)
    [javac]                 npcSpawns.add(npcInst.getSpawn());
    [javac]                          ^
    [javac]     method Collection.add(net.sf.l2j.gameserver.model.L2Spawn) is no
t applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.spawn.L2Spawn 
cannot be converted to net.sf.l2j.gameserver.model.L2Spawn)
    [javac]     method List.add(net.sf.l2j.gameserver.model.L2Spawn) is not appl
icable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.spawn.L2Spawn 
cannot be converted to net.sf.l2j.gameserver.model.L2Spawn)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
instancemanager\SevenSigns.java:1068: error: incompatible types: net.sf.l2j.game
server.model.actor.Player cannot be converted to net.sf.l2j.gameserver.model.act
or.instance.Player
    [javac]         for (Player player : World.getInstance().getPlayers())
    [javac]                                                            ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
instancemanager\SevenSigns.java:1086: error: cannot find symbol
    [javac]             player.teleToLocation(TeleportType.TOWN);
    [javac]                   ^
    [javac]   symbol:   method teleToLocation(TeleportType)
    [javac]   location: variable player of type Player
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
instancemanager\SevenSigns.java:1209: error: incompatible types: net.sf.l2j.game
server.model.actor.Player cannot be converted to net.sf.l2j.gameserver.model.act
or.instance.Player
    [javac]         for (Player player : World.getInstance().getPlayers())
    [javac]                                                            ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
instancemanager\SevenSigns.java:1215: error: method addSkill in class Player can
not be applied to given types;
    [javac]                     player.addSkill(SkillTable.FrequentSkill.THE_VICTOR_OF_WAR.getS
kill());
    [javac]                           ^
    [javac]   required: L2Skill,boolean
    [javac]   found: L2Skill
    [javac]   reason: actual and formal argument lists differ in length
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
instancemanager\SevenSigns.java:1217: error: method addSkill in class Player can
not be applied to given types;
    [javac]                     player.addSkill(SkillTable.FrequentSkill.THE_VANQUISHED_OF_WAR.
getSkill());
    [javac]                           ^
    [javac]   required: L2Skill,boolean
    [javac]   found: L2Skill
    [javac]   reason: actual and formal argument lists differ in length
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
instancemanager\SevenSigns.java:1227: error: incompatible types: net.sf.l2j.game
server.model.actor.Player cannot be converted to net.sf.l2j.gameserver.model.act
or.instance.Player
    [javac]         for (Player player : World.getInstance().getPlayers())
    [javac]                                                            ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:438: error: incompatible types: net.sf.l2j.game
server.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver.
model.actor.Player
    [javac]     private final PcInventory _inventory = new PcInventory(this);
    [javac]                                                            ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:629: error: incompatible types: net.sf.l2j.game
server.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver.
model.actor.Player
    [javac]         _ai = new PlayerAI(this);
    [javac]                            ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:725: error: cannot find symbol
    [javac]             _log.severe("Could not insert char data: " + e);
    [javac]             ^
    [javac]   symbol:   variable _log
    [javac]   location: class Player
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:764: error: incompatible types: net.sf.l2j.game
server.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver.
model.actor.Player
    [javac]         setStat(new PlayerStat(this));
    [javac]                                ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:776: error: incompatible types: net.sf.l2j.game
server.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver.
model.actor.Player
    [javac]         setStatus(new PlayerStatus(this));
    [javac]                                    ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:822: error: incompatible types: net.sf.l2j.game
server.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver.
model.actor.Player
    [javac]                     _ai = new PlayerAI(this);
    [javac]                                        ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:885: error: cannot find symbol
    [javac]             _log.log(Level.WARNING, "Exception on logout(): " + e.getMessage(
), e);
    [javac]             ^
    [javac]   symbol:   variable _log
    [javac]   location: class Player
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:943: error: cannot find symbol
    [javac]             _log.warning("Attempted to remove unknown RecipeList: " + recipeI
d);
    [javac]             ^
    [javac]   symbol:   variable _log
    [javac]   location: class Player
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1035: error: incompatible types: EventType cann
ot be converted to ScriptEventType
    [javac]         List<Quest> quests = npc.getTemplate().getEventQuests(EventType.ON
_TALK);
    [javac]                                                                        ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1043: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]                 quest.notifyEvent(event, npc, this);
    [javac]                                               ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1191: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]         sendPacket(new UserInfo(this));
    [javac]                                 ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1242: error: no suitable method found for isIns
ideZone(net.sf.l2j.gameserver.model.zone.ZoneId)
    [javac]             if (isInsideZone(ZoneId.WATER))
    [javac]                 ^
    [javac]     method WorldObject.isInsideZone(net.sf.l2j.gameserver.enums.Zone
Id) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.zone.ZoneId ca
nnot be converted to net.sf.l2j.gameserver.enums.ZoneId)
    [javac]     method Creature.isInsideZone(net.sf.l2j.gameserver.enums.ZoneId)
 is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.zone.ZoneId ca
nnot be converted to net.sf.l2j.gameserver.enums.ZoneId)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1243: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]                 WaterTaskManager.getInstance().add(this);
    [javac]                                                    ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1245: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]                 WaterTaskManager.getInstance().remove(this);
    [javac]                                                       ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1248: error: no suitable method found for isIns
ideZone(net.sf.l2j.gameserver.model.zone.ZoneId)
    [javac]         if (isInsideZone(ZoneId.SIEGE))
    [javac]             ^
    [javac]     method WorldObject.isInsideZone(net.sf.l2j.gameserver.enums.Zone
Id) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.zone.ZoneId ca
nnot be converted to net.sf.l2j.gameserver.enums.ZoneId)
    [javac]     method Creature.isInsideZone(net.sf.l2j.gameserver.enums.ZoneId)
 is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.zone.ZoneId ca
nnot be converted to net.sf.l2j.gameserver.enums.ZoneId)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1256: error: no suitable method found for isIns
ideZone(net.sf.l2j.gameserver.model.zone.ZoneId)
    [javac]         else if (isInsideZone(ZoneId.PVP))
    [javac]                  ^
    [javac]     method WorldObject.isInsideZone(net.sf.l2j.gameserver.enums.Zone
Id) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.zone.ZoneId ca
nnot be converted to net.sf.l2j.gameserver.enums.ZoneId)
    [javac]     method Creature.isInsideZone(net.sf.l2j.gameserver.enums.ZoneId)
 is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.zone.ZoneId ca
nnot be converted to net.sf.l2j.gameserver.enums.ZoneId)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1272: error: no suitable method found for isIns
ideZone(net.sf.l2j.gameserver.model.zone.ZoneId)
    [javac]         else if (isInsideZone(ZoneId.PEACE))
    [javac]                  ^
    [javac]     method WorldObject.isInsideZone(net.sf.l2j.gameserver.enums.Zone
Id) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.zone.ZoneId ca
nnot be converted to net.sf.l2j.gameserver.enums.ZoneId)
    [javac]     method Creature.isInsideZone(net.sf.l2j.gameserver.enums.ZoneId)
 is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.zone.ZoneId ca
nnot be converted to net.sf.l2j.gameserver.enums.ZoneId)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1434: error: cannot find symbol
    [javac]             _log.warning("Could not update char recommendations: " + e);
    [javac]             ^
    [javac]   symbol:   variable _log
    [javac]   location: class Player
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1481: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]             sendPacket(new UserInfo(this));
    [javac]                                     ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1506: error: incompatible types: net.sf.l2j.gam
eserver.skills.Stats cannot be converted to net.sf.l2j.gameserver.enums.skills.S
tats
    [javac]         return (int) calcStat(Stats.MAX_LOAD, baseLoad * Config.ALT_WEIGHT
_LIMIT, this, null);
    [javac]                                    ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1552: error: cannot find symbol
    [javac]                     super.addSkill(SkillTable.getInstance().getInfo(4270, newWeight
Penalty));
    [javac]                          ^
    [javac]   symbol: method addSkill(L2Skill)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1557: error: cannot find symbol
    [javac]                     super.removeSkill(getSkill(4270));
    [javac]                          ^
    [javac]   symbol: method removeSkill(L2Skill)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1561: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]                 sendPacket(new UserInfo(this));
    [javac]                                         ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1562: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]                 sendPacket(new EtcStatusUpdate(this));
    [javac]                                                ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1578: error: incomparable types: ItemType and E
tcItemType
    [javac]             if (item.getItemType() != EtcItemType.ARROW && item.getItem().get
CrystalType().getId() > getExpertiseIndex())
    [javac]                                    ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1597: error: cannot find symbol
    [javac]                 super.addSkill(SkillTable.getInstance().getInfo(4267, 1));
    [javac]                      ^
    [javac]   symbol: method addSkill(L2Skill)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1599: error: cannot find symbol
    [javac]                 super.removeSkill(getSkill(4267));
    [javac]                      ^
    [javac]   symbol: method removeSkill(L2Skill)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1602: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]             sendPacket(new EtcStatusUpdate(this));
    [javac]                                            ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1670: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]             sendPacket(new ExStorageMaxCount(this));
    [javac]                                              ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1695: error: incompatible types: net.sf.l2j.gam
eserver.enums.actors.ClassId cannot be converted to net.sf.l2j.gameserver.model.
base.ClassId
    [javac]         return getTemplate().getClassId();
    [javac]                                        ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1742: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]                 _party.broadcastPacket(new PartySmallWindowUpdate(this));
    [javac]                                                                   ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1745: error: no suitable constructor found for 
PledgeShowMemberListUpdate(net.sf.l2j.gameserver.model.actor.instance.Player)
    [javac]                 getClan().broadcastToOnlineMembers(new PledgeShowMemberListUpdat
e(this));
    [javac]                                                    ^
    [javac]     constructor PledgeShowMemberListUpdate.PledgeShowMemberListUpdat
e(net.sf.l2j.gameserver.model.actor.Player) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to net.sf.l2j.gameserver.model.actor.Player)
    [javac]     constructor PledgeShowMemberListUpdate.PledgeShowMemberListUpdat
e(ClanMember) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to ClanMember)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1876: error: method addSkill in class Player ca
nnot be applied to given types;
    [javac]             addSkill(FrequentSkill.LUCKY.getSkill());
    [javac]             ^
    [javac]   required: L2Skill,boolean
    [javac]   found: L2Skill
    [javac]   reason: actual and formal argument lists differ in length
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1939: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]             getClan().addSkillEffects(this);
    [javac]                                       ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1985: error: incompatible types: net.sf.l2j.gam
eserver.enums.actors.ClassRace cannot be converted to net.sf.l2j.gameserver.mode
l.base.ClassRace
    [javac]             return getTemplate().getRace();
    [javac]                                         ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:1987: error: incompatible types: net.sf.l2j.gam
eserver.enums.actors.ClassRace cannot be converted to net.sf.l2j.gameserver.mode
l.base.ClassRace
    [javac]         return CharTemplateTable.getInstance().getTemplate(_baseClass).get
Race();
    [javac]                                                                           
    ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2010: error: incomparable types: net.sf.l2j.gam
eserver.model.actor.Player and net.sf.l2j.gameserver.model.actor.instance.Player
    [javac]         if (clan != null && clan.getLeader().getPlayerInstance() == this)
    [javac]                                                                  ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2123: error: incompatible types: CtrlIntention 
cannot be converted to IntentionType
    [javac]             getAI().setIntention(CtrlIntention.REST);
    [javac]                                               ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2144: error: no suitable method found for isAff
ected(net.sf.l2j.gameserver.templates.skills.L2EffectFlag)
    [javac]             if (_effects.isAffected(L2EffectFlag.RELAXING))
    [javac]                         ^
    [javac]     method CharEffectList.isAffected(net.sf.l2j.gameserver.enums.ski
lls.L2EffectFlag) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.templates.skills.L2E
ffectFlag cannot be converted to net.sf.l2j.gameserver.enums.skills.L2EffectFlag
)
    [javac]     method CharEffectList.isAffected(int) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.templates.skills.L2E
ffectFlag cannot be converted to int)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2145: error: incompatible types: net.sf.l2j.gam
eserver.templates.skills.L2EffectType cannot be converted to net.sf.l2j.gameserv
er.enums.skills.L2EffectType
    [javac]                 stopEffects(L2EffectType.RELAXING);
    [javac]                                         ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2157: error: incompatible types: CtrlIntention 
cannot be converted to IntentionType
    [javac]                     getAI().setIntention(CtrlIntention.IDLE);
    [javac]                                                       ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2198: error: incompatible types: CtrlIntention 
cannot be converted to IntentionType
    [javac]             getAI().setIntention(CtrlIntention.MOVE_TO, new Location(target.g
etX(), target.getY(), target.getZ()));
    [javac]                                               ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2200: error: incompatible types: CtrlEvent cann
ot be converted to AiEventType
    [javac]             NextAction nextAction = new NextAction(CtrlEvent.EVT_ARRIVED, Ctr
lIntention.MOVE_TO, new Runnable()
    [javac]                                                             ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2260: error: incompatible types: CtrlEvent cann
ot be converted to AiEventType
    [javac]             NextAction nextAction = new NextAction(CtrlEvent.EVT_ARRIVED, Ctr
lIntention.MOVE_TO, new Runnable()
    [javac]                                                             ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2308: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]             _warehouse = new PcWarehouse(this);
    [javac]                                          ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2332: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]             _freight = new PcFreight(this);
    [javac]                                      ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2410: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]             _inventory.addAdena(process, count, this, reference);
    [javac]                                                 ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2439: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]             if (!_inventory.reduceAdena(process, count, this, reference))
    [javac]                                                         ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2467: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]             _inventory.addAncientAdena(process, count, this, reference);
    [javac]                                                        ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2496: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.instance.Player cannot be converted to net.sf.l2j.gameserver
.model.actor.Player
    [javac]             if (!_inventory.reduceAncientAdena(process, count, this, referenc
e))
    [javac]                                                                ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2537: error: no suitable method found for addIt
em(String,ItemInstance,net.sf.l2j.gameserver.model.actor.instance.Player,WorldOb
ject)
    [javac]             ItemInstance newitem = _inventory.addItem(process, item, this, re
ference);
    [javac]                                              ^
    [javac]     method ItemContainer.addItem(String,ItemInstance,net.sf.l2j.game
server.model.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to net.sf.l2j.gameserver.model.actor.Player)
    [javac]     method PcInventory.addItem(String,ItemInstance,net.sf.l2j.gamese
rver.model.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to net.sf.l2j.gameserver.model.actor.Player)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2553: error: incomparable types: ItemType and E
tcItemType
    [javac]             else if (item.getItem().getItemType() == EtcItemType.ARROW && get
AttackType() == WeaponType.BOW && getInventory().getPaperdollItem(Inventory.PAPE
RDOLL_LHAND) == null)
    [javac]                                                   ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2575: error: cannot find symbol
    [javac]                 _log.log(Level.SEVERE, "Item id " + itemId + "doesn't exist, so 
it can't be added.");
    [javac]                 ^
    [javac]   symbol:   variable _log
    [javac]   location: class Player
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2580: error: incomparable types: ItemType and E
tcItemType
    [javac]             if (sendMessage && ((!isCastingNow() && item.getItemType() == Etc
ItemType.HERB) || item.getItemType() != EtcItemType.HERB))
    [javac]                                                                        ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2580: error: incomparable types: ItemType and E
tcItemType
    [javac]             if (sendMessage && ((!isCastingNow() && item.getItemType() == Etc
ItemType.HERB) || item.getItemType() != EtcItemType.HERB))
    [javac]                                                                              
                                     ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2599: error: incomparable types: ItemType and E
tcItemType
    [javac]             if (item.getItemType() == EtcItemType.HERB)
    [javac]                                    ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2603: error: cannot find symbol
    [javac]                 final IItemHandler handler = ItemHandler.getInstance().getItemHa
ndler(herb.getEtcItem());
    [javac]                                                                       ^
    [javac]   symbol:   method getItemHandler(EtcItem)
    [javac]   location: class ItemHandler
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2610: error: no suitable method found for addIt
em(String,int,int,net.sf.l2j.gameserver.model.actor.instance.Player,WorldObject)
    [javac]                 final ItemInstance createdItem = _inventory.addItem(process, ite
mId, count, this, reference);
    [javac]                                                            ^
    [javac]     method ItemContainer.addItem(String,int,int,net.sf.l2j.gameserve
r.model.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to net.sf.l2j.gameserver.model.actor.Player)
    [javac]     method PcInventory.addItem(String,int,int,net.sf.l2j.gameserver.
model.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to net.sf.l2j.gameserver.model.actor.Player)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2616: error: incomparable types: ItemType and E
tcItemType
    [javac]                 else if (item.getItemType() == EtcItemType.ARROW && getAttackTyp
e() == WeaponType.BOW && getInventory().getPaperdollItem(Inventory.PAPERDOLL_LHA
ND) == null)
    [javac]                                             ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2649: error: no suitable method found for destr
oyItem(String,ItemInstance,int,net.sf.l2j.gameserver.model.actor.instance.Player
,WorldObject)
    [javac]         item = _inventory.destroyItem(process, item, count, this, referenc
e);
    [javac]                          ^
    [javac]     method ItemContainer.destroyItem(String,ItemInstance,int,net.sf.
l2j.gameserver.model.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to net.sf.l2j.gameserver.model.actor.Player)
    [javac]     method ItemContainer.destroyItem(String,int,int,net.sf.l2j.games
erver.model.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; ItemInstance cannot be converted to int)
    [javac]     method PcInventory.destroyItem(String,ItemInstance,int,net.sf.l2
j.gameserver.model.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to net.sf.l2j.gameserver.model.actor.Player)
    [javac]     method PcInventory.destroyItem(String,int,int,net.sf.l2j.gameser
ver.model.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; ItemInstance cannot be converted to int)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2745: error: no suitable method found for destr
oyItemByItemId(String,int,int,net.sf.l2j.gameserver.model.actor.instance.Player,
WorldObject)
    [javac]         if (item == null || item.getCount() < count || _inventory.destroyI
temByItemId(process, itemId, count, this, reference) == null)
    [javac]                                                                  ^
    [javac]     method ItemContainer.destroyItemByItemId(String,int,int,net.sf.l
2j.gameserver.model.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to net.sf.l2j.gameserver.model.actor.Player)
    [javac]     method PcInventory.destroyItemByItemId(String,int,int,net.sf.l2j
.gameserver.model.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to net.sf.l2j.gameserver.model.actor.Player)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2789: error: no suitable method found for trans
ferItem(String,int,int,Inventory,net.sf.l2j.gameserver.model.actor.instance.Play
er,WorldObject)
    [javac]         final ItemInstance newItem = getInventory().transferItem(process, 
objectId, count, target, this, reference);
    [javac]                                                    ^
    [javac]     method ItemContainer.transferItem(String,int,int,ItemContainer,n
et.sf.l2j.gameserver.model.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to net.sf.l2j.gameserver.model.actor.Player)
    [javac]     method PcInventory.transferItem(String,int,int,ItemContainer,net
.sf.l2j.gameserver.model.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to net.sf.l2j.gameserver.model.actor.Player)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2811: error: incompatible types: net.sf.l2j.gam
eserver.model.actor.Player cannot be converted to net.sf.l2j.gameserver.model.ac
tor.instance.Player
    [javac]             final Player targetPlayer = ((PcInventory) target).getOwner();
    [javac]                                                                        ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2847: error: no suitable method found for dropI
tem(String,ItemInstance,net.sf.l2j.gameserver.model.actor.instance.Player,WorldO
bject)
    [javac]         item = _inventory.dropItem(process, item, this, reference);
    [javac]                          ^
    [javac]     method Inventory.dropItem(String,ItemInstance,net.sf.l2j.gameser
ver.model.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to net.sf.l2j.gameserver.model.actor.Player)
    [javac]     method PcInventory.dropItem(String,ItemInstance,net.sf.l2j.games
erver.model.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to net.sf.l2j.gameserver.model.actor.Player)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:2891: error: no suitable method found for dropI
tem(String,int,int,net.sf.l2j.gameserver.model.actor.instance.Player,WorldObject
)
    [javac]         ItemInstance item = _inventory.dropItem(process, objectId, count, 
this, reference);
    [javac]                                       ^
    [javac]     method Inventory.dropItem(String,int,int,net.sf.l2j.gameserver.m
odel.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to net.sf.l2j.gameserver.model.actor.Player)
    [javac]     method PcInventory.dropItem(String,int,int,net.sf.l2j.gameserver
.model.actor.Player,WorldObject) is not applicable
    [javac]       (argument mismatch; net.sf.l2j.gameserver.model.actor.instance
.Player cannot be converted to net.sf.l2j.gameserver.model.actor.Player)
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:3093: error: incomparable types: net.sf.l2j.gam
eserver.enums.skills.L2SkillType and net.sf.l2j.gameserver.templates.skills.L2Sk
illType
    [javac]         if (skill.getSkillType() == L2SkillType.SUMMON)
    [javac]                                  ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:3102: error: incomparable types: net.sf.l2j.gam
eserver.enums.skills.L2SkillType and net.sf.l2j.gameserver.templates.skills.L2Sk
illType
    [javac]         else if (skill.getSkillType() == L2SkillType.RESURRECT)
    [javac]                                       ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:3133: error: incomparable types: net.sf.l2j.gam
eserver.enums.skills.L2SkillType and net.sf.l2j.gameserver.templates.skills.L2Sk
illType
    [javac]         else if (skill.getSkillType() == L2SkillType.SIGNET || skill.getSk
illType() == L2SkillType.SIGNET_CASTTIME)
    [javac]                                       ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:3133: error: incomparable types: net.sf.l2j.gam
eserver.enums.skills.L2SkillType and net.sf.l2j.gameserver.templates.skills.L2Sk
illType
    [javac]         else if (skill.getSkillType() == L2SkillType.SIGNET || skill.getSk
illType() == L2SkillType.SIGNET_CASTTIME)
    [javac]                                                                           
          ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:3147: error: incomparable types: net.sf.l2j.gam
eserver.enums.skills.L2SkillType and net.sf.l2j.gameserver.templates.skills.L2Sk
illType
    [javac]         if (isInOlympiadMode() && (skill.isHeroSkill() || skill.getSkillTy
pe() == L2SkillType.RESURRECT))
    [javac]                                                                           
     ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:3163: error: method does not override or implem
ent a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] C:\Users\DAVIS\workspace\aCis_gameserver\java\net\sf\l2j\gameserver\
model\actor\instance\Player.java:3174: error: incompatible types: CtrlIntention 
cannot be converted to IntentionType
    [javac]                 player.getAI().setIntention(CtrlIntention.INTERACT, this);
    [javac]                                                          ^
    [javac] Note: Some messages have been simplified; recompile with -Xdiags:ver
bose to get full output
    [javac] 100 errors

BUILD FAILED
C:\Users\DAVIS\workspace\aCis_gameserver\build.xml:89: Compile failed; see the c
ompiler error output for details.

Total time: 53 seconds

Editado por ADM-Sherlock

kermit-fapping-gif-5.gif

Quer muito uma coisa ? persista não desista assim como o seu semelhante conseguiu você também é capaz.

Link para o comentário
Compartilhar em outros sites

18 horas atrás, ADM-Sherlock disse:

to copilando o source da mesma forma que você postou no winrar o gameserver está dando esses erros ao copilar, teria um pronto atualizando funcional?

 

Caso necessite, segue 382 compilada limpo + backup:

http://www.mediafire.com/file/02z3arljmdbzjic/aCis_382.rar/file

Editado por Thanos
Link para o comentário
Compartilhar em outros sites

2 horas atrás, Thanos disse:

Caso necessite, segue 382 compilada limpo + backup:

http://www.mediafire.com/file/02z3arljmdbzjic/aCis_382.rar/file

Quero o source se possível , pretendo copilar !

kermit-fapping-gif-5.gif

Quer muito uma coisa ? persista não desista assim como o seu semelhante conseguiu você também é capaz.

Link para o comentário
Compartilhar em outros sites

8 minutos atrás, ADM-Sherlock disse:

Quero o source se possível , pretendo copilar !

A source que utilizo é a mesma do tópico, compilo sem erros.

Verifique se está utilizando os programas necessários para compilação.

 

Link para o comentário
Compartilhar em outros sites

Em 26/07/2019 at 19:12, Nattan Felipe disse:

 a nova geodata do projeto

 

 

 

 

natan tem a fonte do que foi refeito sobre geodatas ? baixei e li os códigos mais entendi pouco o que ele ta fazendo, ele puxa agora X, Y, Z em vez das L2D ? e de L2D agora esta em L2OFF 

se tiver mais algumas info só queria saber mesmo a respeito pra utilizar estou procurando melhoras de geodata pra facilitar minha vida aqui Obrigado.

 

Link para o comentário
Compartilhar em outros sites

15 horas atrás, Thanos disse:

A source que utilizo é a mesma do tópico, compilo sem erros.

Verifique se está utilizando os programas necessários para compilação.

 

Deu certo , obrigado.

kermit-fapping-gif-5.gif

Quer muito uma coisa ? persista não desista assim como o seu semelhante conseguiu você também é capaz.

Link para o comentário
Compartilhar em outros sites

Muita gente não vai conseguir compilar, por que precisa de uma versao especifica do eclipse, java 10 e outro mysql  pra ligar huehuee  

Um mundo de diversão no Lineage 2

https://www.primeworld.com.br

Discord: Em breve

Comunidade brasileira de Lineage. Interlude Remastered / High Five / Essence 

Classes remasterizadas, sistemas únicos, diversão garantida.

Link para o comentário
Compartilhar em outros sites

12 minutos atrás, Elesis disse:

Muita gente não vai conseguir compilar, por que precisa de uma versao especifica do eclipse, java 10 e outro mysql  pra ligar huehuee  

Precisa desses programas :

Mysql 8.0 https://dev.mysql.com/downloads/mysql/

Java dk 12 https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html

Eclipse 2019 https://www.eclipse.org/downloads/download.php?file=/oomph/epp/2019-06/R/eclipse-inst-win64.exe

 

O procedimento é igual o da versão anterior só muda que tem que atualizar isso não tem diferença alguma.

Link para o comentário
Compartilhar em outros sites

Passaram ela pra JAVA12? quando eu peguei a 382 era j10

 

Um mundo de diversão no Lineage 2

https://www.primeworld.com.br

Discord: Em breve

Comunidade brasileira de Lineage. Interlude Remastered / High Five / Essence 

Classes remasterizadas, sistemas únicos, diversão garantida.

Link para o comentário
Compartilhar em outros sites

Olá bom dia

 

Trabalhei na Acis 320 anos e anos atrás, alguém pode me informar como eu Compilo essas rev atuais?

 

Baixei essa trunk ai, se eu compilar o datapack e gamerserver eu consigo startar o server? vi que ele não tem todos os arquivos necessários .jar e os scripts da pasta 'data' com as quests etc.

 

Preciso baixar um server completo e compilar essa trunk 382 e jogar os arquivos dentro desse server?

Jhoni Willian M,

L2 - Walking Interlude PvP Server

 

bAeqXT.gif

Link para o comentário
Compartilhar em outros sites

boa noite pessoal ?  , a parte do eclipse deu certo aqui mas o mysql não estou conseguindo instalar, ele vem com um instalador e 

é diferente do mysql 5.1, alguem poderia me ajudar?

Link para o comentário
Compartilhar em outros sites

39 minutos atrás, wonderwoman disse:

boa noite pessoal ?  , a parte do eclipse deu certo aqui mas o mysql não estou conseguindo instalar, ele vem com um instalador e 

é diferente do mysql 5.1, alguem poderia me ajudar?

Instale este:

https://www.l2jbrasil.com/topic/122712-link-de-download-do-mysql-57/?do=findComment&comment=759835

Caso tenha dúvida como instalar segue os videos explicativos:

https://www.youtube.com/results?search_query=instalar+mysql+5.7

Espero ter ajudado!

 

Link para o comentário
Compartilhar em outros sites

24 minutos atrás, Thanos disse:

Muito obrigado amigo vou tentar aqui

Link para o comentário
Compartilhar em outros sites

Em 05/08/2019 at 09:44, JhoniWillian disse:

Olá bom dia

 

Trabalhei na Acis 320 anos e anos atrás, alguém pode me informar como eu Compilo essas rev atuais?

 

Baixei essa trunk ai, se eu compilar o datapack e gamerserver eu consigo startar o server? vi que ele não tem todos os arquivos necessários .jar e os scripts da pasta 'data' com as quests etc.

 

Preciso baixar um server completo e compilar essa trunk 382 e jogar os arquivos dentro desse server?

eu também estou com essa duvida, depois de anos sem mexer no L2 voltei e estou querendo montar um Projeto na base aCis limpa, so que esqueci como faço para ligar essa ai do Trunk, o  que eu fiz foi compilar o datapack e o gameserver, depois peguei os arquivos das pastas build de ambas coloquei em uma pasta e também coloquei a database no navicat, mas mesmo assim não estou conseguindo ligar o servidor estou tomando esse erro . espero que alguém possa me ajudar

 

 

Spoiler

image.png

 

 

Spoiler

image.png

 

Editado por Willards

PARA CHEGAR ONDE A MAIORIA NÃO CHEGA, É PRECISO FAZER ALGO QUE A MAIORIA NÃO FAZ.

sniperghostwarriorl2jbr.png

Link para o comentário
Compartilhar em outros sites

Em 05/08/2019 at 23:05, Thanos disse:

boa noite!, muito obrigado amigo pela atenção, eu consegui instalar o mysql 8.0, valeu mesmo pela intenção 

Link para o comentário
Compartilhar em outros sites

  • 2 weeks later...
  • Registre-se

    Faça parte da maior e  mais antigas comunidades sobre Lineage2 da América Latina.






  • Patrocinadores

  • Quem Está Navegando

    • Nenhum usuário registrado visualizando esta página.
  • Conteúdo Similar

  • Posts

    • Teria como fazer do dusk shield e do zombie shield dessa maneira?     Teria como fazer do dusk shield e do zombie shield dessa maneira?     Teria como fazer do dusk shield e do zombie shield dessa maneira?     Teria como fazer do dusk shield e do zombie shield dessa maneira?     Teria como fazer do dusk shield e do zombie shield dessa maneira?     Teria como fazer do dusk shield e do zombie shield dessa maneira?    
    • muchas gracias muy lindos NPC 🙂
    • relaxa jovem gafanhoto, testa as quests. e posTa os erros indesejaveis.  
    • Se alguém pudesse me ensinar como codificar as missões, eu ficaria feliz em fazer isso sozinho ou pelo menos ajudar. Eu realmente quero jogar em um servidor onde todas as quests funcionem bem e melhor ainda se você puder fazer quests customizadas!
    • mas no interlude, nem todas as quests de class,  vai mostrar onde tem que ir, ate o reborn nao mostrava quando era interlude, só mostrou depois que eles colocaram client classic pra rodar, e ficou melhor ainda quando virou hellbound em diante, mas ha sim alguma chance de modificar isso direto no script para fazer igualmente, só basta te um pouco de paciencia e persistencia exato
    • 408_PathToElvenwizard dá Orion eu tive que mexer tbm, até modifiquei e consegui deixar ela igual do Classic, com a seta e a marcação no mapa. (não retail IL) Dá pra importar py de várias revs, o foda é que não da regular as quest py através do debug em tempo real, pelo menos eu não consegui rsrs
    • Hasta el momento todas las QUESTS son completables si te guias con un tutorial de youtube. El problema es que tienen bugs de locacion y de subquests que no avanzan o no te marcan correctamente a donde ir en el mapa, cosa que en Retail si se ve como corresponde.
    • estranho, mas pelo menos a galera nunca reclamo das quests quando tinha aberto 5x, geral fez class primeira e segunda job, poucos que compraram a class
    • en RUSaCis-3.5 data pack, las Quests estan en formato .java y son diferentes a como estan redactadas en jOrion y jFrozen 1.5 (ProyectX) package net.sf.l2j.gameserver.scripting.quest; import net.sf.l2j.commons.random.Rnd; import net.sf.l2j.gameserver.enums.Paperdoll; import net.sf.l2j.gameserver.enums.QuestStatus; import net.sf.l2j.gameserver.enums.actors.ClassId; import net.sf.l2j.gameserver.model.actor.Creature; import net.sf.l2j.gameserver.model.actor.Npc; import net.sf.l2j.gameserver.model.actor.Player; import net.sf.l2j.gameserver.network.serverpackets.SocialAction; import net.sf.l2j.gameserver.scripting.QuestState; public class Q224_TestOfSagittarius extends SecondClassQuest { private static final String QUEST_NAME = "Q224_TestOfSagittarius"; // Items private static final int BERNARD_INTRODUCTION = 3294; private static final int HAMIL_LETTER_1 = 3295; private static final int HAMIL_LETTER_2 = 3296; private static final int HAMIL_LETTER_3 = 3297; private static final int HUNTER_RUNE_1 = 3298; private static final int HUNTER_RUNE_2 = 3299; private static final int TALISMAN_OF_KADESH = 3300; private static final int TALISMAN_OF_SNAKE = 3301; private static final int MITHRIL_CLIP = 3302; private static final int STAKATO_CHITIN = 3303; private static final int REINFORCED_BOWSTRING = 3304; private static final int MANASHEN_HORN = 3305; private static final int BLOOD_OF_LIZARDMAN = 3306; private static final int CRESCENT_MOON_BOW = 3028; private static final int WOODEN_ARROW = 17; // Rewards private static final int MARK_OF_SAGITTARIUS = 3293; // NPCs private static final int BERNARD = 30702; private static final int HAMIL = 30626; private static final int SIR_ARON_TANFORD = 30653; private static final int VOKIAN = 30514; private static final int GAUEN = 30717; // Monsters private static final int ANT = 20079; private static final int ANT_CAPTAIN = 20080; private static final int ANT_OVERSEER = 20081; private static final int ANT_RECRUIT = 20082; private static final int ANT_PATROL = 20084; private static final int ANT_GUARD = 20086; private static final int NOBLE_ANT = 20089; private static final int NOBLE_ANT_LEADER = 20090; private static final int BREKA_ORC_SHAMAN = 20269; private static final int BREKA_ORC_OVERLORD = 20270; private static final int MARSH_STAKATO_WORKER = 20230; private static final int MARSH_STAKATO_SOLDIER = 20232; private static final int MARSH_STAKATO_DRONE = 20234; private static final int MARSH_SPIDER = 20233; private static final int ROAD_SCAVENGER = 20551; private static final int MANASHEN_GARGOYLE = 20563; private static final int LETO_LIZARDMAN = 20577; private static final int LETO_LIZARDMAN_ARCHER = 20578; private static final int LETO_LIZARDMAN_SOLDIER = 20579; private static final int LETO_LIZARDMAN_WARRIOR = 20580; private static final int LETO_LIZARDMAN_SHAMAN = 20581; private static final int LETO_LIZARDMAN_OVERLORD = 20582; private static final int SERPENT_DEMON_KADESH = 27090; public Q224_TestOfSagittarius() { super(224, "Test Of Sagittarius"); setItemsIds(BERNARD_INTRODUCTION, HAMIL_LETTER_1, HAMIL_LETTER_2, HAMIL_LETTER_3, HUNTER_RUNE_1, HUNTER_RUNE_2, TALISMAN_OF_KADESH, TALISMAN_OF_SNAKE, MITHRIL_CLIP, STAKATO_CHITIN, REINFORCED_BOWSTRING, MANASHEN_HORN, BLOOD_OF_LIZARDMAN, CRESCENT_MOON_BOW); addQuestStart(BERNARD); addTalkId(BERNARD, HAMIL, SIR_ARON_TANFORD, VOKIAN, GAUEN); addMyDying(ANT, ANT_CAPTAIN, ANT_OVERSEER, ANT_RECRUIT, ANT_PATROL, ANT_GUARD, NOBLE_ANT, NOBLE_ANT_LEADER, BREKA_ORC_SHAMAN, BREKA_ORC_OVERLORD, MARSH_STAKATO_WORKER, MARSH_STAKATO_SOLDIER, MARSH_STAKATO_DRONE, MARSH_SPIDER, ROAD_SCAVENGER, MANASHEN_GARGOYLE, LETO_LIZARDMAN, LETO_LIZARDMAN_ARCHER, LETO_LIZARDMAN_SOLDIER, LETO_LIZARDMAN_WARRIOR, LETO_LIZARDMAN_SHAMAN, LETO_LIZARDMAN_OVERLORD, SERPENT_DEMON_KADESH); } @Override public String onAdvEvent(String event, Npc npc, Player player) { String htmltext = event; QuestState st = player.getQuestList().getQuestState(QUEST_NAME); if (st == null) return htmltext; // BERNARD if (event.equalsIgnoreCase("30702-04.htm")) { st.setState(QuestStatus.STARTED); st.setCond(1); playSound(player, SOUND_ACCEPT); giveItems(player, BERNARD_INTRODUCTION, 1); if (giveDimensionalDiamonds39(player)) htmltext = "30702-04a.htm"; } // HAMIL else if (event.equalsIgnoreCase("30626-03.htm")) { st.setCond(2); playSound(player, SOUND_MIDDLE); takeItems(player, BERNARD_INTRODUCTION, 1); giveItems(player, HAMIL_LETTER_1, 1); } else if (event.equalsIgnoreCase("30626-07.htm")) { st.setCond(5); playSound(player, SOUND_MIDDLE); takeItems(player, HUNTER_RUNE_1, 10); giveItems(player, HAMIL_LETTER_2, 1); } // SIR_ARON_TANFORD else if (event.equalsIgnoreCase("30653-02.htm")) { st.setCond(3); playSound(player, SOUND_MIDDLE); takeItems(player, HAMIL_LETTER_1, 1); } // VOKIAN else if (event.equalsIgnoreCase("30514-02.htm")) { st.setCond(6); playSound(player, SOUND_MIDDLE); takeItems(player, HAMIL_LETTER_2, 1); } return htmltext; } @Override public String onTalk(Npc npc, Player player) { String htmltext = getNoQuestMsg(); QuestState st = player.getQuestList().getQuestState(QUEST_NAME); if (st == null) return htmltext; switch (st.getState()) { case CREATED: if (player.getClassId() != ClassId.ROGUE && player.getClassId() != ClassId.ELVEN_SCOUT && player.getClassId() != ClassId.ASSASSIN) htmltext = "30702-02.htm"; else if (player.getStatus().getLevel() < 39) htmltext = "30702-01.htm"; else htmltext = "30702-03.htm"; break; case STARTED: int cond = st.getCond(); switch (npc.getNpcId()) { case BERNARD: htmltext = "30702-05.htm"; break; case HAMIL: if (cond == 1) htmltext = "30626-01.htm"; else if (cond == 2 || cond == 3) htmltext = "30626-04.htm"; else if (cond == 4) htmltext = "30626-05.htm"; else if (cond > 4 && cond < 8) htmltext = "30626-08.htm"; else if (cond == 8) { htmltext = "30626-09.htm"; st.setCond(9); playSound(player, SOUND_MIDDLE); takeItems(player, HUNTER_RUNE_2, 10); giveItems(player, HAMIL_LETTER_3, 1); } else if (cond > 8 && cond < 12) htmltext = "30626-10.htm"; else if (cond == 12) { htmltext = "30626-11.htm"; st.setCond(13); playSound(player, SOUND_MIDDLE); } else if (cond == 13) htmltext = "30626-12.htm"; else if (cond == 14) { htmltext = "30626-13.htm"; takeItems(player, BLOOD_OF_LIZARDMAN, -1); takeItems(player, CRESCENT_MOON_BOW, 1); takeItems(player, TALISMAN_OF_KADESH, 1); giveItems(player, MARK_OF_SAGITTARIUS, 1); rewardExpAndSp(player, 54726, 20250); player.broadcastPacket(new SocialAction(player, 3)); playSound(player, SOUND_FINISH); st.exitQuest(false); } break; case SIR_ARON_TANFORD: if (cond == 2) htmltext = "30653-01.htm"; else if (cond > 2) htmltext = "30653-03.htm"; break; case VOKIAN: if (cond == 5) htmltext = "30514-01.htm"; else if (cond == 6) htmltext = "30514-03.htm"; else if (cond == 7) { htmltext = "30514-04.htm"; st.setCond(8); playSound(player, SOUND_MIDDLE); takeItems(player, TALISMAN_OF_SNAKE, 1); } else if (cond > 7) htmltext = "30514-05.htm"; break; case GAUEN: if (cond == 9) { htmltext = "30717-01.htm"; st.setCond(10); playSound(player, SOUND_MIDDLE); takeItems(player, HAMIL_LETTER_3, 1); } else if (cond == 10) htmltext = "30717-03.htm"; else if (cond == 11) { htmltext = "30717-02.htm"; st.setCond(12); playSound(player, SOUND_MIDDLE); takeItems(player, MANASHEN_HORN, 1); takeItems(player, MITHRIL_CLIP, 1); takeItems(player, REINFORCED_BOWSTRING, 1); takeItems(player, STAKATO_CHITIN, 1); giveItems(player, CRESCENT_MOON_BOW, 1); giveItems(player, WOODEN_ARROW, 10); } else if (cond > 11) htmltext = "30717-04.htm"; break; } break; case COMPLETED: htmltext = getAlreadyCompletedMsg(); break; } return htmltext; } @Override public void onMyDying(Npc npc, Creature killer) { final Player player = killer.getActingPlayer(); final QuestState st = checkPlayerState(player, npc, QuestStatus.STARTED); if (st == null) return; switch (npc.getNpcId()) { case ANT: case ANT_CAPTAIN: case ANT_OVERSEER: case ANT_RECRUIT: case ANT_PATROL: case ANT_GUARD: case NOBLE_ANT: case NOBLE_ANT_LEADER: if (st.getCond() == 3 && dropItems(player, HUNTER_RUNE_1, 1, 10, 500000)) st.setCond(4); break; case BREKA_ORC_SHAMAN: case BREKA_ORC_OVERLORD: if (st.getCond() == 6 && dropItems(player, HUNTER_RUNE_2, 1, 10, 500000)) { st.setCond(7); giveItems(player, TALISMAN_OF_SNAKE, 1); } break; case MARSH_STAKATO_WORKER: case MARSH_STAKATO_SOLDIER: case MARSH_STAKATO_DRONE: if (st.getCond() == 10 && dropItems(player, STAKATO_CHITIN, 1, 1, 100000) && player.getInventory().hasItems(MANASHEN_HORN, MITHRIL_CLIP, REINFORCED_BOWSTRING)) st.setCond(11); break; case MARSH_SPIDER: if (st.getCond() == 10 && dropItems(player, REINFORCED_BOWSTRING, 1, 1, 100000) && player.getInventory().hasItems(MANASHEN_HORN, MITHRIL_CLIP, STAKATO_CHITIN)) st.setCond(11); break; case ROAD_SCAVENGER: if (st.getCond() == 10 && dropItems(player, MITHRIL_CLIP, 1, 1, 100000) && player.getInventory().hasItems(MANASHEN_HORN, REINFORCED_BOWSTRING, STAKATO_CHITIN)) st.setCond(11); break; case MANASHEN_GARGOYLE: if (st.getCond() == 10 && dropItems(player, MANASHEN_HORN, 1, 1, 100000) && player.getInventory().hasItems(REINFORCED_BOWSTRING, MITHRIL_CLIP, STAKATO_CHITIN)) st.setCond(11); break; case LETO_LIZARDMAN: case LETO_LIZARDMAN_ARCHER: case LETO_LIZARDMAN_SOLDIER: case LETO_LIZARDMAN_WARRIOR: case LETO_LIZARDMAN_SHAMAN: case LETO_LIZARDMAN_OVERLORD: if (st.getCond() == 13) { if (((player.getInventory().getItemCount(BLOOD_OF_LIZARDMAN) - 120) * 5) > Rnd.get(100)) { playSound(player, SOUND_BEFORE_BATTLE); takeItems(player, BLOOD_OF_LIZARDMAN, -1); addSpawn(SERPENT_DEMON_KADESH, player, false, 300000, true); } else dropItemsAlways(player, BLOOD_OF_LIZARDMAN, 1, 0); } break; case SERPENT_DEMON_KADESH: if (st.getCond() == 13) { if (player.getInventory().getItemIdFrom(Paperdoll.RHAND) == CRESCENT_MOON_BOW) { st.setCond(14); playSound(player, SOUND_MIDDLE); giveItems(player, TALISMAN_OF_KADESH, 1); } else addSpawn(SERPENT_DEMON_KADESH, player, false, 300000, true); } break; } } }  
×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.