Jump to content
  • 0

Hello Guys!!Well Something wrong with an adaption i wanna make!!!


Question

Posted

Hello Members OF Mxc!!Well i wanna change a little bit of The Code i have in the link belowe!!!But i am newbie in java and trying my best!!!

 

http://maxcheaters.com/forum/index.php?topic=78071.0

 

I wroted the below One!!

 

switch(quakeSystem) {
        	case 1:
        		 Announcements.getInstance().announceToAll("" + this.getName()+ " is getting warm !");
			 this.sendPacket(new PlaySound(1, "prepare", 0, 0, 0, 0, 0));
			 this.useSkill(721);
        		 break;
        	case 5:
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is on a KiLlinG SsPReEEeEeeeEEE!");
			this.sendPacket(new PlaySound(1, "killingspree", 0, 0, 0, 0, 0));
			this.useSkill(721);
        		break;
        	case 10:
and it keep goinh!! blabla!!

 

Thats my error.... Anyone Help Plz.. Thnx!! :P

 

D:\Alex\workspace\Spree_Sv\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:5684: cannot find symbol
    [javac] symbol  : method useSkill(int)
    [javac] location: class com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] 				 this.useSkill(721);
    [javac] 				     ^

 

 

5 answers to this question

Recommended Posts

  • 0
Posted

switch(quakeSystem) {
        	case 1:
        		 Announcements.getInstance().announceToAll("" + this.getName()+ " is getting warm !");
			 this.sendPacket(new PlaySound(1, "prepare", 0, 0, 0, 0, 0));
			 this.useSkill(721);
        		 break;
        	case 5:
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is on a KiLlinG SsPReEEeEeeeEEE!");
			this.sendPacket(new PlaySound(1, "killingspree", 0, 0, 0, 0, 0));
			this.useSkill(721);
        		break;
        	case 10:

 

Try to replace "this.useSkill" to "useSkill". You have to search for the right method.

  • 0
Posted

What is supposed to happen with your code ?

 

And this.useSkill or useSkill is the same so... The "721" isn't allowed, but basically it depends of what you want to do exactly... If once corrected the effect isn't the one you wanted, pointless to correct your error lol.

  • 0
Posted

If you wanna make it like a buff when u're in killing spree and bla bla a buff will be added for xx time bla bla...

 

skill = SkillTable.getInstance().getInfo(721, 1);
        skill.getEffects(activeChar, activeChar);
        activeChar.broadcastPacket(new MagicSkillUser(activeChar, activeChar, skill.getId(), 1, skill.getHitTime(), 0));

  • 0
Posted

Well i wanna Make it like a effect.. For example... When he is on killing spree to strike him once with this effe and restore his hm/mp/cp in every strike ! Its anakims skill!!!!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • what do u mean i want to change the normal weapons some weapons are working perftect some not getting th effect and the arcana has the effect above the weapons as u see ... i dont what is the probkenm
    • Stop paying for files that are already public and free. Here you can download a fully working Interlude server with C4-like gameplay, including source code so you can compile it yourself and verify everything. People will try to convince you that free releases are “broken”, “full of backdoors”, etc. That’s exactly why I’m also providing the SVN with the full source – so you can: Review the code yourself Remove / modify whatever you don’t like Compile your own binaries What’s included GX-EXT Interlude server (C4-style gameplay) – L2Off Client Interlude tweaked for C4 gameplay Public SVN with source code Downloads: Server GX-EXT: https://www.mediafire.com/file/q5ipkjd36tnhfxv/L2OFF_C4_C4_ACU_GXEXT.rar/file Client Interlude C4 Gameplay: https://www.mediafire.com/file/rdkfc8wwau042oh/Cliente_Interlude_Jugabilidad_C4.rar/file SVN (source code, delayed a couple of months to avoid reselling fresh work): https://svn.l2servers.com.ar/!/#GX-EXT_INTERLUDE User: gx Pass: gx How to compile To compile the source you will need: Visual Studio 2005 (x64 toolset) (Classic L2Off toolchain – yes, it’s old, but that’s what the original server uses.) Use this as you want: learn, test, open your own server, or just audit the code. But please, stop buying the same leaked/resold files over and over when you can get them here for free, with source, and actually know what you’re running.  
    • @GX-Ext Please reupload the pack+web+client because all the links inside that post or in the https://l2servers.com.ar/ are dead
    • Weapon dat is not the same for all, since you have custom things for sure no. You can contact @NevesOma
    • hello guys im facing a problem with the weapons .. i want to add hero glow on s weapons arcana ,dragonic bow etc.. some weapons are work peftect .. some not for example i add the line  LineageEffect.e_u092_h for fists and didnt work didnt even get the hero glow.. and the arcana the glow is on the top of weapon not down side like hero zeus mace any ideas?.. or does anybody has the weapongrp.dat file ready ?
  • 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