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!!!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Hello, I'd like to share with you a web template of me. https://www.mediafire.com/file/cslzde4h89it91y/Shinemaker.rar/file    
    • I never touch client, but now i want to use lordanov shared interface, but when i use it my lobby background change. in loging screen shows this static image: https://ibb.co/QF47WDmC But if i click on RECORD normal lobby shows up https://ibb.co/tpsG6F3G any idea how to fix it? i been looking for a solution, this thing happen when i paste interface.u file i decompiled interface.u but no idea where to do changes... thanks in advance, and sorry for poor english,
    • 🎙️ 1/ Creators, meet your new favorite tool: Chord.fm Record. Enhance. Deliver. A fully AI-powered recording studio, right in your browser. 🎧 Whether you're a podcaster, interviewer, or team running remote interviews — this is your upgrade. 🎥 2/ Record high-quality audio & video effortlessly ✅ Up to 4K video ✅ Uncompressed WAV audio ✅ Network-proof performance ✅ Multi-participant recording ✅ AI-powered post-processing 💡 No more "can you hear me?" moments. 🔊 3/ Get individual tracks for every participant One of Chord.fm’s superpowers: 🎚️ Each speaker's audio/video is recorded and exported separately. Perfect for post-production: 🎛️ Clean edits 🎧 Custom audio mixes 🎙️ Noise isolation per track   🧠 4/ Let AI do the heavy lifting 💬 Auto-generated subtitles 📝 Transcriptions you can trust 🧾 Smart summarization of recordings 🔍 Keyword highlights & topics Turn raw content into share-ready material without lifting a finger. 🧰 5/ Built for creators who value quality 🎬 Audiograms from your voice 🎚️ Auto-leveling 🌐 Browser-based (no install) 📁 Local backups during recording ⏱️ Time-saving features everywhere Chord.fm isn’t a Zoom alternative — it’s a production studio. 🚀 6/ Ready to level up? If you’re creating podcasts, interviews, or async team content — Chord.fm is what you've been waiting for. 🆓 Start for free: https://chord.fm You won't look back.
    • Who doesn't? 🤣 On topic. I would suggest you to work on Mobius files since there is a lot of space to work on things. @Mobius has done amazing job and deserves as match help as possible, this guy needs to be rewarded! Different type of packs since he has the most of the chronicles. I dont want to say that aCis hasn't done amazing job, it's one of the most stable and oldest projects around but I'm with mobius just because he supports way more clients. Working on either of projects will make you better.
  • 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