Jump to content
  • 0

Multifunction Zone


Sinister Smile
 Share

Question

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?

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

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

Link to comment
Share on other sites

  • 0

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

Edited by 'Baggos'
Link to comment
Share on other sites

  • 0

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'
Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • 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