Jump to content
  • 0

Whats wrong on this quake system? compile problem


Question

Posted

[td]case 5:
        		 ExShowScreenMessage case5 = new ExShowScreenMessage("You reached 5 kills in a row", 10000);
        		 sendPacket(case5);
        		 Announcements.getInstance().announceToAll("" + this.getName()+ " is Geting Started!");
        		 MagicSkillUse MS5 = new MagicSkillUse (this, 721, 1, 5, 0);
        		 setCurrentCp(getMaxCp());
        	     setCurrentHp(getMaxHp());
        	     setCurrentMp(getMaxMp());
        	     sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	     sendPacket(MS5);
        		 break;

 

this is from 1 topic with quake system ;p

ExShowScreenMessage case5 = new ExShowScreenMessage("You reached 5 kills in a row", 10000);[/code]

 

it says multiple markers at the same

ExShowScreenMessage cannot be resolved to a type

 

 

whats that suppose to mean? and on compile it gives

 

 

C:\workspace new\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:5723: error: class, interface, or enum expected
    [javac] 	        		break;
    [javac] 	        		^
    [javac] C:\workspace new\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:5724: error: class, interface, or enum expected
    [javac] 	        	case 15:
    [javac] 	        	^
    [javac] C:\workspace new\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:5726: error: class, interface, or enum expected
    [javac] 	        		sendPacket(case15);
    [javac] 	        		^
    [javac] C:\workspace new\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:5727: error: class, interface, or enum expected
    [javac] 	        		Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Killing Spree! [15]");

 

Recommended Posts

  • 0
Posted

This is another error... you should take care when adding codes, just delete the "+" and not delete part of the code...

Give me teamviewer coz it will be the longest topic ever.

  • 0
Posted

ok i entirely screwed pcinstance

 

need to checkout and get new core and start from 0 (it will take 10-15 min max)

  • 0
Posted

ok i entirely screwed pcinstance

 

need to checkout and get new core and start from 0 (it will take 10-15 min max)

I'm off then.

It's not so difficult to add patches, if u can't do it try with a guide.

  • 0
Posted

I'm off then.

It's not so difficult to add patches, if u can't do it try with a guide.

 

ITS ok i can handle from this point ,becuz i think im starting to get use to it ,thanks for ur time  :)

  • 0
Posted

ok ive made it work my self

 

all i had to do was to add

import com.l2jserver.gameserver.network.serverpackets.ExShowScreenMessage; to get rid of error markers ,I told u 10x time about that but u showed me something else instead ,perhaps because u thought i had the import xD (it was just a presumption about adding this random import but it worked with exshowscreenmessage lol!)

 

+

 

delete charming siege dead blabla (from some reason it doesnt work with  else if so i just deleted it)

Guest
This topic is now closed to further replies.


  • Posts

    • L2Elixir – Patch 4 Is Live!   We’re working non-stop, day and night, to deliver the best possible quality and bring back what made L2Elixir special. This project is built with passion, not shortcuts — for the old-school players who remember, and the new ones who want to experience it properly. Thank you for being part of the journey. Together, we’re making L2Elixir great again ❤️ The legends never fade.    ⚙️ General Enabled Class Change service (same class type only) ALT + B → Services → Character Development Enabled Shift + Click on Treasure Chests Players can now identify real chests (Adena, scroll drops) and use Key / Unlock Event deaths now cancel only debuffs, All self buffs are preserved, fixes issues with Root and similar effects Bladedancer class can now log in even when Max Clients (2) is reached. Since an active Bladedancer is not available for every damage dealer and some players tried to abuse this via VPN or a second PC, this feature was added to keep things fair. protections applies, requires testing!    🎒 Items Crystallizing enchanted items now gives the correct increased crystal amount (retail-like behavior) Removed Agathion Seal Bracelet: Rudolph from Santa rewards (Gracia Final item) Added Dualsword Craft Stamp into Milestone Exchange list    🧙 Skills Fixed Banish Undead lethal chance Hot Springs Malaria and similar effects now level up faster while being attacked
    • thats new SEO level tricks you know nothing of noob - bottom line: exposed.
    • Warning: This guy is a big scammer, trying to sell everything, advertising for servers etc. That's his mail address evgesha.nrnr@gmail.com , stay away!   @Atom @Celestine
    • Warning: This guy is a big scammer, trying to sell everything, advertising for servers etc. That's his mail address evgesha.nrnr@gmail.com , stay away! @Celestine @Atom
  • 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