
arm4729
Members-
Posts
231 -
Credits
0 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by arm4729
-
wow , i bought eola back 3 years ago for 100 usd from a guy from on this forum don't really remember name now but (DukeAwesome) smth like this xD ... and i started learning java on this pack , all the time i was wondering why the phuck are there chinesse bypass and html :)) , nice job mate im glad i finnaly meet you
-
Help auto target the player when it attacks me
arm4729 replied to FeeLings's question in Request Server Development Help [L2J]
if(target.getTarget() == null) target.sendMessage("no target"); if(target.getTarget() != null) target.sendMessage("has target"); somevoid(); if(target.getTarget() == null) target.sendMessage("no target"); if(target.getTarget() != null) target.sendMessage("has target"); i added this to almost every parts of the attack method and i get msg no target everytime until the first attack is done , maybe you can try check where you get has target msg and there might be the part where target is set.. -
Help auto target the player when it attacks me
arm4729 replied to FeeLings's question in Request Server Development Help [L2J]
now im pretty sure that victims target is set to attacker from client side 90% ... maybe someone more experienced will bring us to light ? -
Help auto target the player when it attacks me
arm4729 replied to FeeLings's question in Request Server Development Help [L2J]
hey you just said some posts earlier you help him but you don't get dmg , show what you modified ? -
i think that bar is not in inventorywnd maybe ?
-
Help auto target the player when it attacks me
arm4729 replied to FeeLings's question in Request Server Development Help [L2J]
i dont really understand what you want maybe you can make a video , or show the files in wich "works" but nomake dmg -
when you drag and drop tatto on that bar you see zaken ?
-
Help auto target the player when it attacks me
arm4729 replied to FeeLings's question in Request Server Development Help [L2J]
show your files maybe i can help you -
Discussion aCis auto-attack stop after 1-2 hit
arm4729 replied to Kara's topic in Server Development Discussion [L2J]
just admit you never like autobots/fakeplayer , only "devs" who make player chase other player with path finders are the ones who don't want to look stupid in front of stupid players playing with bots ... imagine a bot in hot springs trying to straight line chase a player that is hidding after a small rock. he will never reach the target damn ... xD -
what ? what ?
-
Help Refusal mode, chat bug
arm4729 replied to Charm3R's question in Request Server Development Help [L2J]
hey , i dont think acis clean rev 384 has this issues you should share here files that you edited -
Help auto target the player when it attacks me
arm4729 replied to FeeLings's question in Request Server Development Help [L2J]
I'm not sure i did understand what you want to do , but i guess when you use a skill on a player and that player has no target , you want that player who is attacked to get and set the target to the player who is attacking him? search in creature for private void beginCast(L2Skill skill, boolean simultaneously, Creature target, WorldObject[] targets) ---- ---- if (this instanceof Playable) { // Send a system message USE_S1 to the L2Character if (this instanceof Player && skill.getId() != 1312) { SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.USE_S1); sm.addSkillName(skill); sendPacket(sm); } + if(this instanceof Player && this.getActingPlayer().getTarget() instanceof Player && this.getActingPlayer().getTarget().getActingPlayer().getTarget() == null) + this.getActingPlayer().getTarget().getActingPlayer().setTarget(this); you can also set some checks if classid = cardinal or same party to not set target -
because your player actor is set to other "client" , when you try to press start first time is attemp of double login with same character , when this happens your character is actually removed from the world and added again to your new "client" ,you can try mess around with L2GameClient.java ... because of some cache problems , i made characters restart and relog back in the world when they are using /unstuck , without having to press "start" or anything , just a 1 second blink of loading screen and your are back in town ... so i dont remember very well but im sure this part of code is responsable for your "start" button... so check your L2GameClient.java mine is looking like this : public Player loadCharFromDisk(int slot) { final int objectId = getObjectIdForSlot(slot); if (objectId < 0) return null; Player player = World.getInstance().getPlayer(objectId); if (player != null) { // exploit prevention, should not happens in normal way _log.severe("Attempt of double login: " + player.getName() + "(" + objectId + ") " + getAccountName()); if (player.getClient() != null) player.getClient().closeNow(); else World.getInstance().removePlayer(player); // force remove in case of crash during teleport return null; } player = Player.restore(objectId); if (player != null) { player.setRunning(); // running is default player.standUp(); // standing is default setState(GameClientState.IN_GAME); player.setOnlineStatus(true, false); World.getInstance().addPlayer(player); } else _log.severe("L2GameClient: could not restore in slot: " + slot); return player; } i think somewhere here is your problem , but why you insist to not abortcast/attack etc ? i mean what is the logic and why you spend time on making a disconnected player to keep attacking .. it doesen't help much the players... the thing with the party yes , if pvp dont ask again for pt when crit error but this is lame , anyway keep me updated if you manage to fiind any solution
-
As far as i noticed , you managed to make character don't dissapear from the world when you requestrestart... I was trying to help you make player get back into the party when reconnecting to the world.. About rootware video , he ask 300-400 euro for that , is not that simple he made pets / party mod also if you pay attention to chat , what other pt members say in chat he will see when relog , he did it other way .. this is best i can help you.. as you can see in the video character turcu , dont dissapear from the world , and gets back in party when client is reconnected.
-
yes man , that part of code as you can see is just before exiting the party , so when a players goes off world it would leave party... and thats fine let it leave the party , but before that save memo with leader of party.. to leader and to player... and then when enterworld use this : add this in enterworld: private static void onEnterParty(Player activeChar){ { if(PlayerMemo.getVar(activeChar, "Title") != null) { activeChar.setTitle(PlayerMemo.getVar(activeChar, "Title")); } if(PlayerMemo.getVarInt(activeChar, "Party") != 0) { int name = PlayerMemo.getVarInt(activeChar, "Party"); Player leader = World.getInstance().getPlayer(name); if(leader != null) leader.sendMessage(activeChar.getName() + " your party member has connected back to game."); PlayerMemo.setVar(activeChar, "Party", 0, 0); if(leader != null) PlayerMemo.setVar(leader, "PartyLeft", 0, 0); if(leader !=null && leader.isInParty()) } } } to make the party leader add this player in party... i dont understand where is your problem , it throws disconnect messages and also is saving leaders obj id that msgs are more for debug ,you need memo because you will need it when entering world again the leader pt obj id to make it add you party again ..if you just leave the world and don't exit party at all , when you will log in again , server will know you are in party but client will not know , you will not see party chat or anything because party know you was there , but your client does not know that you are in party ..so to make it work without problems just exit party and enter again in party forcing leader of party to addpartymember you... maybe you should try with 3 people in party because if you try in 2 people , you save leader obj data after that code makesyou exit party , so when you exit party , the party disolve because can't stand with 1 member ... when you enter again in world that party is gone your party member he can't have party with himself..
-
discord -> "! AmonRa#9943"
-
forget about that man add this in enterworld: private static void onEnterParty(Player activeChar){ { if(PlayerMemo.getVar(activeChar, "Title") != null) { activeChar.setTitle(PlayerMemo.getVar(activeChar, "Title")); } if(PlayerMemo.getVarInt(activeChar, "Party") != 0) { int name = PlayerMemo.getVarInt(activeChar, "Party"); Player leader = World.getInstance().getPlayer(name); if(leader != null) leader.sendMessage(activeChar.getName() + " your party member has connected back to game."); PlayerMemo.setVar(activeChar, "Party", 0, 0); if(leader != null) PlayerMemo.setVar(leader, "PartyLeft", 0, 0); if(leader !=null && leader.isInParty()) leader.getParty().addPartyMember(activeChar); } } } and in player.java this is how my cleanup() looks like private synchronized void cleanup() { try { // Put the online status to false setOnlineStatus(false, true); // abort cast & attack and remove the target. Cancels movement aswell. abortAttack(); abortCast(); stopMove(null); setTarget(null); if(getTitle() != null) PlayerMemo.setVar(this, "Title", getTitle(), 0); broadcastUserInfo(); if(isInParty()) { if(getParty().getLeader() != this) { PlayerMemo.setVar(this, "Party", getParty().getLeaderObjectId(), 0); int name = PlayerMemo.getVarInt(this, "Party"); Player player = World.getInstance().getPlayer(name); player.sendMessage(this.getName() + " your party member has been disconnected from the game."); Player leader = getParty().getLeader(); PlayerMemo.setVar(leader, "PartyLeft", this.toString(), 0); } if(getParty().getLeader() == this) { for(Player member : getParty().getMembers()) { if(member == null) continue; getParty().changePartyLeader(member.getName()); } PlayerMemo.setVar(this, "Party", getParty().getLeaderObjectId(), 0); int name = PlayerMemo.getVarInt(this, "Party"); Player player = World.getInstance().getPlayer(name); player.sendMessage(this.getName() + " , your party member has been disconnected from the game."); Player leader = getParty().getLeader(); PlayerMemo.setVar(leader, "PartyLeft", this.toString(), 0); } } // If a party is in progress, leave it if (_party != null) _party.removePartyMember(this, MessageType.DISCONNECTED); // If the Player has Pet, unsummon it if (getPet() != null) getPet().unSummon(this); if (isFlying()) removeSkill(SkillTable.getInstance().getInfo(4289, 1)); // Stop all scheduled tasks stopAllTimers(); // Cancel the cast of eventual fusion skill users on this target. for (Creature character : getKnownType(Creature.class)) if (character.getFusionSkill() != null && character.getFusionSkill().getTarget() == this) character.abortCast(); // Stop signets & toggles effects. for (L2Effect effect : getAllEffects()) { if (effect.getSkill().isToggle()) { effect.exit(); continue; } switch (effect.getEffectType()) { case SIGNET_GROUND: case SIGNET_EFFECT: effect.exit(); break; } } // If the Player has Pet, unsummon it if (getPet() != null) getPet().unSummon(this); // Handle removal from olympiad game if (OlympiadManager.getInstance().isRegistered(this) || getOlympiadGameId() != -1) OlympiadManager.getInstance().removeDisconnectedCompetitor(this); if (isInFightClubMode() || (getTeamFightGame() != null)) TeamFights.logoutPlayer(this); // set the status for pledge member list to OFFLINE if (getClan() != null) { L2ClanMember clanMember = getClan().getClanMember(getObjectId()); if (clanMember != null) clanMember.setPlayerInstance(null); } // deals with sudden exit in the middle of transaction if (getActiveRequester() != null) { setActiveRequester(null); cancelActiveTrade(); } // If the Player is a GM, remove it from the GM List if (isGM()) AdminData.getInstance().deleteGm(this); // Check if the Player is in observer mode to set its position to its position before entering in observer mode if (isInObserverMode()) setXYZInvisible(_savedLocation); // Oust player from boat if (getVehicle() != null) getVehicle().oustPlayer(this, true, Location.DUMMY_LOC); // Update inventory and remove them from the world getInventory().deleteMe(); // Update warehouse and remove them from the world clearWarehouse(); // Update freight and remove them from the world clearFreight(); clearDepositedFreight(); if (isCursedWeaponEquipped()) CursedWeaponsManager.getInstance().getCursedWeapon(_cursedWeaponEquippedId).setPlayer(null); if (getClanId() > 0) getClan().broadcastToOtherOnlineMembers(new PledgeShowMemberListUpdate(this), this); if (isSeated()) { final WorldObject object = World.getInstance().getObject(_throneId); if (object instanceof StaticObject) ((StaticObject) object).setBusy(false); } // friends & blocklist update notifyFriends(false); getBlockList().playerLogout(); } catch (Exception e) { _log.log(Level.WARNING, "Exception on deleteMe()" + e.getMessage(), e); } } i did this many months ago , and as far i remember i think i edited something in l2gameclient.java .. and i don't remember where exactly i put settitle(DISCONNECTED/NO CARRIER) when "logging out" , as you can see there is a memo for title also up there..btw i never tested on live server .. people ask a hard money for this shit , if you are unable to get it done reply also you can check this
-
Hello , in order to make the player to stay in party you need to add somewhere in cleanup() if(player.isInParty()) player.savememo(is inparty) if(playerisinparty and not pt leader) player.getparty.getleader.sendmessage(your pt member this.getname() just logged off) Player.savememo string type (player.getparty.getleader.getname()) if(player.ispartyleader() player.getparty().getleader().givepartyto.playergetparty.getmembers.getoneplayer. and then in enterworld check if player has memo(inparty) if it has use it to be added in party , if not you need to clean this memo after is used world.getinstance.getplayer(playermemo.getplayerleadername).getactingplayer.sendmessage(your pt member just logged in game) world.getinstance.getplayer(playermemo.getplayerleadername).getactingplayer.getparty.addmember(this) you can use playermemo to check if player is in party when restarting , and save a memo with party leader or something like this... up here is an ideea , you should also check if there are any members left when he is leaving party , the important thing is that you need to make player actualy leave party when logging out , and then when logs in again it needs to get added to party in order to don't have any client side issue
-
same here
-
Help Any way to CLEAR client cache memory on aCis ?
arm4729 replied to arm4729's question in Request Server Development Help [L2J]
is there any better command that does not involve client interface recompiling ? other than FLUSH / OBJ GARBAGE? -
Help Any way to CLEAR client cache memory on aCis ?
arm4729 replied to arm4729's question in Request Server Development Help [L2J]
Aliases[4]=(Command="OBJ GARBAGE | set input MiddleMouse rmd1",Alias="rmd2") to user.ini means that when i use middlemouse cursor click , it will start cleaning ? -
hey this my friend to make you will need some good tools that you will won't fiind for free here , try asking some client modders they will be happy to help you for a small fee , or forget about it
-
Help Allow dyes for all classes?
arm4729 replied to Shadin's question in Request Server Development Help [L2J]
data/xml/henna.xml <henna symbol_id="1" dye_id="4445" price="37000" INT="0" STR="1" CON="-3" MEN="0" DEX="0" WIT="0" classes="1,4,7,11,15,19,22,26,29,32,35,39,42,45,47,50,54,56,"/> if you want to make all classes be able use all hennas , you should add all classes id there -
try //reload items and check for errors
-
//delete plz
- 1 reply
-
- 1
-