Jump to content

Question

Posted

Hello i have a problem with this code i get no errors in eclipse but in game it doesnt work..

to Player.java

if (getParty() != null)
		{
			for (Player p : getParty().getMembers())
			{
				if (Config.Synergy_Class.contains(p.getClassId().getId()) && p.isInCombat() && (Rnd.get(100) <= 90))
				{
					p.sendMessage("You have earned a pvp by supporting " + target.getName());
					p.getPvpKills();
				}
			}
		}


and the config
  
  public static List<Integer> Synergy_Class = new ArrayList<>();


  	String Synergy_Class = customs.getProperty("ClassesSupp", "97");
		String[] atdc_splitted = Synergy_Class.split(",");
		for (String s : atdc_splitted)
		{
			Synergy_Class.add(Integer.valueOf(s));
		}

Recommended Posts

  • 0
Posted
4 minutes ago, Evie Frye said:

Thank you fans! I love you too. Now the only thing left to do is to put Melron in my fan club also cause he resist!

legend. and legends don't need fan clubs,only haters.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • NO one EXTENSION server have this values of 26 mb! hack codes inside the source files. @Xeonc Delete this project from MXC, risk for you! Simple come here and share this? 🤣 
    • i create a web service for change character name, in table  CREATE TABLE [AddedServiceList]( [idx] [int] NOT NULL, [postDate] [datetime] NOT NULL, [serviceType] [tinyint] NOT NULL, [fromUid] [int] NOT NULL, [toUid] [int] NULL, [fromAccount] [nvarchar](24) NULL, [toAccount] [nvarchar](24) NULL, [fromServer] [tinyint] NOT NULL, [toServer] [tinyint] NULL, [fromCharacter] [nvarchar](24) NOT NULL, [toCharacter] [nvarchar](24) NULL, [changeGender] [bit] NULL, [serviceFlag] [smallint] NOT NULL, [applyDate] [datetime] NULL CONSTRAINT [DF_AddedServiceList_applyDate] DEFAULT (getdate()), [reserve1] [varchar](200) NULL, [reserve2] [varchar](100) NULL, [toMainClassNum] [int] NULL ) ON [PRIMARY] This table have a dellay for update in server? Like clan change leader 1 time per week? Because not change name instant? I try restart server but also not update char names.... Need wait any time for change name? $serviceFlag = 0; // Pending $stmt = $conn->prepare(" INSERT INTO AddedServiceList (idx, postDate, serviceType, fromUid, fromAccount, fromServer, fromCharacter, toCharacter, serviceFlag) VALUES (?, GETDATE(), 3, ?, ?, 1, ?, ?, ?) "); $stmt->execute([$next_idx, $char_account_id, $char_account_name, $current_name, $new_name, $serviceFlag]);  
    • 99% i am sure you are Guytis or someone close to him 😄
    • ➡ Discount for your purchase: JUNE2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
  • Topics

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