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.


×
×
  • Create New...