Jump to content

Question

Posted

Im trying to put this code http://www.maxcheaters.com/topic/139771-multifunctionzone/page-1

 

but i get only 1 error and i dont know how to fix it.

 

in the code from the link is 
 

+                                                               else if(zoneType.equals("MultiFunctionZone"))
+                                                               {
+                                                                       temp = new L2MultiFunctionZone(zoneId);
+                                                               }
but in my rev all are like this
 
									case "DerbyTrackZone":
										temp = new L2DerbyTrackZone(zoneId);
										break;
									case "WaterZone":
										temp = new L2WaterZone(zoneId);
										break;
									case "NoHqZone":
										temp = new L2NoHqZone(zoneId);
										break;

i tryed to make it like this

									case "MultiFunctionZone":
										temp = new L2MultiFunctionZone(zoneId);
										break;

but i still get a shitty error without no fix :/ any ideas how to fix it?

10 answers to this question

Recommended Posts

  • 0
Posted

Can u post here the error?

No. We must be psychic for this forum..  ::)

 

Come on guys.. Give more informations.. If you're not able to write your problem, simply share a photo..

  • 0
Posted (edited)

Make sure your java file L2MultiFunctionZone.java it's right and in proper place. gameserver/model/zone/type/L2MultiFunctionZone...

Edited by 'Baggos'
  • 0
Posted

Yea i checked all imports all 1 by one again, and its the same. 

What pack are you using?

  • 0
Posted (edited)

Yea i checked all imports all 1 by one again, and its the same. 

Do you create a second java file(L2MultiFunctionZone) into gameserver/datatables/xml? Check it. Because if yes, you should delete it. 

When you tried to click in the error, maybe by mistake you created a file in there.

Edited by 'Baggos'
  • 0
Posted

Do you create a second java file(L2MultiFunctionZone) into gameserver/datatables/xml? Check it. Because if yes, you should delete it. 

When you tried to click in the error, maybe by mistake you created a file in there.

No i dont create a second java file in db/xml.

Im really tired thanks for the replays. It was my first time that i added a java code so i falied .. i know the mistake is in me .. and however Lock the topic.

Guest
This topic is now closed to further replies.


×
×
  • Create New...