Jump to content
  • 0

L2jfrozen MultiFlagzone problem


ibitaz

Question

hello guys, i am new to java and everything i am pretty trying to be honest the past 2 weeks but right now i came up with a little problem that icant figure it out my self 

so i tried to copy this code, my pack is l2jfrozen rev 1132 interlude client

 

 

 so thats the code part i think i am failing to add,
{
                                                                        temp = new L2NoHqZone(zoneId);
                                                                }
+                                                               else if(zoneType.equals("MultiFunctionZone")) 
+                                                               {
+                                                                       temp = new L2MultiFunctionZone(zoneId);
+                                                               }
                                                                else if(zoneType.equals("BossZone"))    
 on my pack is like that
                                        case "WaterZone":
										temp = new L2WaterZone(zoneId);
										break;
									case "NoHqZone":
										temp = new L2NoHqZone(zoneId);
										break;
so i try to fix it by my self and i make it like that 
                                        case "WaterZone":
										temp = new L2WaterZone(zoneId);
										break;
									case "NoHqZone":
										temp = new L2NoHqZone(zoneId);
										break;
									case "MultiFunctionZone":
									    temp = new L2MultiFunctionZone(zoneId);
									    break;

i didnt get any error my pack complied perfectly adding all the code the zone is doesnt not working, i activate the properties and installed a zone on xml 

i check as well maybe i was failing to install a zone and i ue a default on and i change the type to MultiFunctionZone but still i get no errors on the gameserver or anything like is, so what  i am doing wrong? can anyone have the time to spare and fix my problem?

thanks and i hope i post on the right section and explain everything correct about my problem 

Edited by ibitaz
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
6 hours ago, ibitaz said:

hello guys, i am new to java and everything i am pretty trying to be honest the past 2 weeks but right now i came up with a little problem that icant figure it out my self 

so i tried to copy this code, my pack is l2jfrozen rev 1132 interlude client

 

 


 so thats the code part i think i am failing to add,
{
                                                                        temp = new L2NoHqZone(zoneId);
                                                                }
+                                                               else if(zoneType.equals("MultiFunctionZone")) 
+                                                               {
+                                                                       temp = new L2MultiFunctionZone(zoneId);
+                                                               }
                                                                else if(zoneType.equals("BossZone"))    
 on my pack is like that
                                        case "WaterZone":
										temp = new L2WaterZone(zoneId);
										break;
									case "NoHqZone":
										temp = new L2NoHqZone(zoneId);
										break;
so i try to fix it by my self and i make it like that 
                                        case "WaterZone":
										temp = new L2WaterZone(zoneId);
										break;
									case "NoHqZone":
										temp = new L2NoHqZone(zoneId);
										break;
									case "MultiFunctionZone":
									    temp = new L2MultiFunctionZone(zoneId);
									    break;

i didnt get any error my pack complied perfectly adding all the code the zone is doesnt not working, i activate the properties and installed a zone on xml 

i check as well maybe i was failing to install a zone and i ue a default on and i change the type to MultiFunctionZone but still i get no errors on the gameserver or anything like is, so what  i am doing wrong? can anyone have the time to spare and fix my problem?

thanks and i hope i post on the right section and explain everything correct about my problem 

 

That is correct:
 

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


You probably are not creating the zone inside the server correctly, this might help you: https://www.youtube.com/playlist?list=PLDuVxN7_6IlPTtuZO3LamXGLe7yVGHKXp

  • Like 1
Link to comment
Share on other sites

  • 0

thanks for your answer and yes i had the zone xml wrong i fix it now and it works, the only think i dont get is when my character enters multifaction zone, they lose speed like from 150 they go to 94

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore1 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11
    • L2 ArenaWar: Low Rate PvP Server with Free Buffs & Autofarm [PVP]⚔️ [Free]🆓 Classic Interlude with  3x XP rates! Free starter pack(no grade) to kickstart your adventure! Autofarm for convenient grinding! Free buffs to keep you fighting fit! (2 job buffs) No experience loss on death! (Except with Karma) Clear Karma system to keep things fair! ⚖️ Active community of 800-1k players! Join our Discord to learn more! >> Discord <<     Server website: https://l2arenawar.com/en/    
    • This is dedication! 2 years working on a problem. Congratulations!
    • You indeed have to save player position over Enterworld to properly clean it up later (if you don't, even trying to delete packet content would eventually keep it up), that's what we do with debug packet (which is a reusable Map of ExServerPrimitive packets) on aCis.   It doesn't solve the FPS stuttering - more you draw/delete lines, more your client becomes laggy. It's like if client wasn't deleting drawn points/lines properly, but instead simply hide them and redrawn content above.   If you got a solution, I would happy to integrate it.   You should check aCis#Player _debug packet integration, it allows very big amount of lines/points to be drawn, it is also reusable.   https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java?ref_type=heads https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java?ref_type=heads  
    • we sell website templates, make websites to order. Great selection at very good prices. My contacts discord : advert1231 telegram : https://t.me/ggwpins  
  • Topics

×
×
  • Create New...