Page 1 of 1

Multifuntion Zone

Posted: Tue May 06, 2014 11:24 pm
by siphonex
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number: 6522
L2JDP Revision Number: 10317

Sorry if this was posted in the wrong thread.

I found some code for a Multifunction Zone on another forum that I've been trying to implement. I have posted on the other forum but, I have yet to receive any assistance. I was hoping someone here might know something about it.

The original code is: http://pastebin.com/ZxKTTsBm

I have managed to fix all but one of the errors in the original code in order for it to be compatible on the latest Rev but, I cannot seem to fix this one located inside L2MultiFunctionZone.java

http://pastebin.com/q21VyLqr

Line 237:
int o = item.getItem().getCrystalType();

This error:
Type Mismatch: Cannot convert from CrystalType to int

Screenshot:
Error.png

Re: Multifuntion Zone

Posted: Tue May 06, 2014 11:26 pm
by Zoey76
Try to add .ordinal() at the end.

Re: Multifuntion Zone

Posted: Wed May 07, 2014 1:20 am
by siphonex
Zoey76...thank you so much this worked perfect!

Re: Multifuntion Zone

Posted: Thu May 08, 2014 11:01 pm
by siphonex
I'd prefer not to make another thread seeing as the issue is similar but, I have been trying to get my TvT Voiced commands to work since the removal of TvT from core.

I was hoping this would end up being a "simple" fix like problem with the MultiFunctionZone.
Error2.png
Is there a new method I could use?

I use Pendragon's CTF event and have adapted these voiced commands to be compatible with it, the CTF versions still work fine.

Re: Multifuntion Zone

Posted: Thu May 08, 2014 11:19 pm
by Zoey76
It's reported on another thread.

I'm working on it, just that I can't commit at the moment, sorry.

Re: Multifuntion Zone

Posted: Fri May 09, 2014 12:52 am
by siphonex
Thank you for the information, I will look forward to the commit.

Re: Multifuntion Zone

Posted: Sun May 03, 2015 4:58 pm
by Attila
hello
can somewone help me please
i got the last ubade Server.git hi5
and DataPack.git hi5
i got also this code for a Multifunction Zone
but now i got 4 erros with this multifuntion zone
import javolution.util.FastList;
but there is no FastList more
How do I fix this

This is the code I use http://pastebin.com/x7HDMjc4

Image

Image

hoop somewone can help me
thanks

Re: Multifuntion Zone

Posted: Sun May 03, 2015 7:51 pm
by Zoey76
Change it to ArrayList<>().

Re: Multifuntion Zone

Posted: Mon May 04, 2015 10:28 am
by Attila
Zoey76 wrote:Change it to ArrayList<>().
Woooo It works well again
thanks you are the best and I mean it 8)

Re: Multifuntion Zone

Posted: Mon Nov 30, 2015 8:28 pm
by Attila
some help here please
i put this to the last HI5 now got this problem on gameserver console. "ZoneData: No such zone type: MultiFunctionZone in file: zone.xml" Any know how fix it?

this is the code
http://pastebin.com/FRe9Vxbp

thanks

Re: Multifuntion Zone

Posted: Tue Dec 01, 2015 7:24 pm
by Attila
Attila wrote:some help here please
i put this to the last HI5 now got this problem on gameserver console. "ZoneData: No such zone type: MultiFunctionZone in file: zone.xml" Any know how fix it?

this is the code
http://pastebin.com/FRe9Vxbp

thanks
solved