Jump to content
  • 0

2 mikres erwtiseis,help einai anagki :)


SQL Developer
 Share

Question

Kalhspera,tha eithela ama mporeite na me voithisete sta eksis:

1)pws na kanw otan foras ena sword 2 handed na mhn ginete na vazeis aspida alla prwta na prepei na vgazeis to weapon.

2)pws ginete otan alazeis sub na fevgei h armor kai to weapon alla na mhn petroneis kai to sub delay na einai 1 sec epidi se polous server petroneis les kai exei medusa.

Xreisimopoio l2jfrozen pack,an kapoios exei etoima ta arxeia na ta valw mesa sto pack h na me voithouse na valw tous kodikes(an xreiazete) tha tou hmoun evgnomon :)

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

το δεύτερο έχει γίνει share, θα κάνω edit post λίγο αργότερα να σου δώσω το link. Όσο για το πρώτο, σε τι χρησιμεύει;

Link to comment
Share on other sites

  • 0

το δεύτερο έχει γίνει share, θα κάνω edit post λίγο αργότερα να σου δώσω το link. Όσο για το πρώτο, σε τι χρησιμεύει;

agumention bug mporoun na kolane ta actives :)

Link to comment
Share on other sites

  • 0

πήγαινε στο l2pcinstance και βρες αυτό

public boolean setActiveClass(int classIndex)
{

μετά από αυτό κάνε επικόλληση αυτό

  L2ItemInstance chest = getInventory().getPaperdollItem(Inventory.PAPERDOLL_CHEST);
               
                if (chest != null)
                {  
                        L2ItemInstance[] unequipped = getInventory().unEquipItemInBodySlotAndRecord(chest.getItem().getBodyPart());
                        InventoryUpdate iu = new InventoryUpdate();
                       
                        for (L2ItemInstance element : unequipped)
                                iu.addModifiedItem(element);
                       
                        sendPacket(iu);
                        lhand = null;
                        iu = null;
                        unequipped = null;
                }

Τώρα για το άλλο που είπες ψάξε στο useitem.java

Link to comment
Share on other sites

  • 0

πήγαινε στο l2pcinstance και βρες αυτό

public boolean setActiveClass(int classIndex)
{

μετά από αυτό κάνε επικόλληση αυτό

  L2ItemInstance chest = getInventory().getPaperdollItem(Inventory.PAPERDOLL_CHEST);
               
                if (chest != null)
                {  
                        L2ItemInstance[] unequipped = getInventory().unEquipItemInBodySlotAndRecord(chest.getItem().getBodyPart());
                        InventoryUpdate iu = new InventoryUpdate();
                       
                        for (L2ItemInstance element : unequipped)
                                iu.addModifiedItem(element);
                       
                        sendPacket(iu);
                        lhand = null;
                        iu = null;
                        unequipped = null;
                }

Τώρα για το άλλο που είπες ψάξε στο useitem.java

se euxaristo polu file m :)

Link to comment
Share on other sites

  • 0

peripou pou einai re paides afth h sira,uparxoun apeires dn mporo na psaxnw mia mia einai paraaaa poles .. peripou pou einai

Link to comment
Share on other sites

  • 0

πάτα ctrl+f και βάλε αυτό,

public boolean setActiveClass(int classIndex)

{

 

και θα στο βρει,αναζήτηση είναι.

Link to comment
Share on other sites

  • 0

1)

 

UseItem.java

 

L2Weapon weapon = activeChar.getActiveWeaponItem();
		if(weapon != null)
			if(weapon.getItemType() == L2WeaponType.DUAL)
				if(item.getItemType() == L2WeaponType.NONE){
					activeChar.sendMessage("It's not allowed mothafaaka");
					return;
				}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



  • Posts

    • We're interested in hearing your thoughts and what you want to see next! Tell us via ticket or any contact method so we can implement services/features that you want!   Feel free to request a trial as always, or deposit via PayPal, Crypto, Perfect Money, Payeer, Bank Transfer or Revolut!
    • Seems interesting and low price indeed, good luck with your sales sir HostSlick!!!!! 🙏
    • I did, when i joined, i played for 5 mins and then bb multeria... Didn't have fun because while i was trying to farm everyone came from nowhere and gets pk for no reason.... As of balance(No Comment....) as of economy?(No comment) the only part that was cool it was only the way you've builded the npcs and the shop that was giving stuff free.... Nevermind, Good luck. 🙏🏻
    • Hey guys, the "designer" of epicfail speaking here 😄   I am not a designer. I came up with this stupid name 😄 It was our first time creating a server and we did not know if it actually wont be an epic fail, thats why we decided to call it this way. If we failed, we could just say - "we told you, it is in the name" 😄  I guess I have some "frontend feeling" and I have been playing L2 for years (so I have seen countless L2 websites), so I tried to make the web as I (a player) would expect it to look. A lot (or most) of the L2 sites nowadays have much better design, I agree, but seems like it is being designed by some external designer who has zero ideas about L2, so usually the whole features section sucks (or is a part of a forum, wink wink RU servers) etc. I am not planning to sell this website (or make more for money). I am working as a fullstack dev engineer in my real life, so I am living pretty well out of my earnings and I dont want to do more coding (for money) in my spare time, I mostly do it only to try out new technologies. Side note - the whole web is a fullstack web app, written in Typescript, Next.js + React as the main framework behind this. All deployed to Vercel. All out of the PHP world that most of the community here is used to I guess. PS: Pardon my stupid name here on MXC 😄 Weve all been young once.
    • HostSlick is having a major special offer for MaxCheaters!. All servers new in stock and ready to go! We are very serious in this offer, no jokes, no hidden costs.       SPECIAL Dual Intel XEON E5-2660v3 20cores, 40 threads @ 3,40Ghz 128GB DDR4 ECC RAM 2x1 TB SSD 50TB Bandwidth 1Gbit Dedicated Port 1x IPv4 and IPv6 ONLY 125€/ MONTH! -- WOW! ORDER HERE       SOME MORE SPECIAL ABOUT THIS DEAL Up to 16x IPv4 is FREE of charge. ONLY if you can justify usage for each IP. If you do NOT use it or do nonsense with it, dont request it!! We will only hand out this FREE IPs for people who will need them and are planning to do long-term business with us!! If you need additional v6, you can have any amount without justification!! Announcements of your own RIPE IP Ranges with PRIVATE VLAN is FREE! You can take multiple Servers and use your subnet between them for example VPS Hosting Business! All is no problem!!!   MORE DEDICATED SERVER DEALS HERE   Need more reasons to choose us? - Wide range of Payment methods accepted - Own Hardware and Network in The Netherlands. - No Re-selling - Only Premium Hardware. HP, Juniper, Cisco and Supermicro. - Support On-Site for Emergencies 24x7 - 24x7 Monitored - Friendly Sales/Support Staff. - Long-Term running business. We will not leave the market anytime soon (Guaranteed!) - No hidden extra costs. No Bandwidth over charges. Once reached, we will contact you to upgrade. - NO SETUP FEE's!     Every Dedicated Server includes - BlazingFast SSDs - 1Gbit Uplink. 50 TB Non-overbooked Traffic. More can be configured upon Order! - Permanent KVM-over-IP (HP ILO4 Advanced) - Bandwidth Graph - Sexy Control Panel with API to control your Server (Besides ILO4) - Additional traffic can be added for cheap! - Layer3/4 2Tbit Anti-DDoS Protection - FREE BYOIP - Bring your own RIPE IPv4 (or IPv6 of course!) Subnet to us - we will announce it on our ASN for free with your own private VLAN etc.!     Privacy Protected We will never provide your details to anyone     What is not allowed CP DDoS Malware Phishing Spam Spoofing     We dont care what you are doing with this server, use it as a hardcore seedbox, or a torrent server. Its allowed!!     Ping test IP: 193.142.146.186 Testfile: 193.142.146.186/100MB.bin Datacenter/Network: HostSlick, AS208046     Payment Methods Bitcoin and many other altcoins (via Coinify) Giropay (via Skrill) SofortBanking/SofortÜberweisung (via Skrill) PayPal Credit Card (via 2checkout) SEPA Bank Transfer (Open Ticket for Bankd etails) PerfectMoney AliPay Unionpay Attach Poll
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock