Multifuntion Zone
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 62
- Joined: Wed Apr 16, 2014 6:42 pm
Multifuntion Zone
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:
ยป 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:
You do not have the required permissions to view the files attached to this post.
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
Re: Multifuntion Zone
Try to add .ordinal() at the end.
Powered by Eclipse 4.30 | Eclipse Temurin 21 | MariaDB 11.3.2 | L2J Server 2.6.3.0 - High Five
Join our Discord!
Join our Discord!
-
- Posts: 62
- Joined: Wed Apr 16, 2014 6:42 pm
Re: Multifuntion Zone
Zoey76...thank you so much this worked perfect!
-
- Posts: 62
- Joined: Wed Apr 16, 2014 6:42 pm
Re: Multifuntion Zone
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.
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.
I was hoping this would end up being a "simple" fix like problem with the MultiFunctionZone.
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.
You do not have the required permissions to view the files attached to this post.
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
Re: Multifuntion Zone
It's reported on another thread.
I'm working on it, just that I can't commit at the moment, sorry.
I'm working on it, just that I can't commit at the moment, sorry.
Powered by Eclipse 4.30 | Eclipse Temurin 21 | MariaDB 11.3.2 | L2J Server 2.6.3.0 - High Five
Join our Discord!
Join our Discord!
-
- Posts: 62
- Joined: Wed Apr 16, 2014 6:42 pm
Re: Multifuntion Zone
Thank you for the information, I will look forward to the commit.
-
- Posts: 441
- Joined: Mon May 05, 2014 10:15 am
Re: Multifuntion Zone
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
hoop somewone can help me
thanks
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
hoop somewone can help me
thanks
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
Re: Multifuntion Zone
Change it to ArrayList<>().
Powered by Eclipse 4.30 | Eclipse Temurin 21 | MariaDB 11.3.2 | L2J Server 2.6.3.0 - High Five
Join our Discord!
Join our Discord!
-
- Posts: 441
- Joined: Mon May 05, 2014 10:15 am
Re: Multifuntion Zone
Woooo It works well againZoey76 wrote:Change it to ArrayList<>().
thanks you are the best and I mean it
-
- Posts: 441
- Joined: Mon May 05, 2014 10:15 am
Re: Multifuntion Zone
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
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
-
- Posts: 441
- Joined: Mon May 05, 2014 10:15 am
Re: Multifuntion Zone
solvedAttila 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