Jump to content
  • 0

Stats "mul" decrease


Question

Posted

I set for weapons B grade a mul with 25% p atk. I set <mul stat="pAtk" val="1.25" /> and my p atk decreased drastically. then, i change to <mul stat="pAtk" val="50" /> and p atk rised. What is that 1.25 and what is that 50 from mul? How i can set 25%? 

I replace line 
<set stat="pAtk" val="213" /> with <mul stat="pAtk" val="50" />

Why doesn;t work 1.25 as 25%?

Recommended Posts

  • 0
Posted
4 hours ago, 0flee said:

I set for weapons B grade a mul with 25% p atk. I set <mul stat="pAtk" val="1.25" /> and my p atk decreased drastically. then, i change to <mul stat="pAtk" val="50" /> and p atk rised. What is that 1.25 and what is that 50 from mul? How i can set 25%? 

I replace line 
<set stat="pAtk" val="213" /> with <mul stat="pAtk" val="50" />

Why doesn;t work 1.25 as 25%?

 

  • 0
Posted

Yes, i put as i say in post 1.25, but i have status decreased. I don't have 25% i think i have -25%

i want to add on Item 25%, not on skill

  • 0
Posted
46 minutes ago, 0flee said:

Yes, i put as i say in post 1.25, but i have status decreased. I don't have 25% i think i have -25%

i want to add on Item 25%, not on skill

<add order="0x40" stat="pAtk" val="25" />  check this and tell me 

  • 0
Posted
[09:43:21] WARN: Cannot create item 9311
java.lang.NumberFormatException: For input string: "0x40"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:580)
        at java.lang.Integer.parseInt(Integer.java:615)
        at l2r.gameserver.engines.DocumentBase.attachFunc(DocumentBase.java:250)
        at l2r.gameserver.engines.DocumentBase.parseTemplate(DocumentBase.java:237)
        at l2r.gameserver.engines.items.DocumentItem.parseItem(DocumentItem.java:132)
        at l2r.gameserver.engines.items.DocumentItem.parseDocument(DocumentItem.java:83)
        at l2r.gameserver.engines.DocumentBase.parse(DocumentBase.java:156)
        at l2r.gameserver.engines.DocumentEngine.loadItems(DocumentEngine.java:126)
        at l2r.gameserver.data.xml.impl.ItemData.load(ItemData.java:128)
        at l2r.gameserver.data.xml.impl.ItemData.reload(ItemData.java:382)
        at handlers.admincommandhandlers.AdminReload.useAdminCommand(AdminReload.java:183)
        at l2r.gameserver.network.clientpackets.SendBypassBuildCmd.runImpl(SendBypassBuildCmd.java:87)
        at l2r.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:71)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

 

I can put any "order" on item status.

  • 0
Posted

0x30 is for mul - 1.1 = 10%, 0.9 = -10%

0x40 is for diff

0x10 is for base stats

 

If you want to add extra stats for an item, create a passive skill as SA, don't do it straight on the item.

  • 0
Posted (edited)
9 hours ago, 0flee said:

I set for weapons B grade a mul with 25% p atk. I set <mul stat="pAtk" val="1.25" /> and my p atk decreased drastically. then, i change to <mul stat="pAtk" val="50" /> and p atk rised. What is that 1.25 and what is that 50 from mul? How i can set 25%? 

I replace line 
<set stat="pAtk" val="213" /> with <mul stat="pAtk" val="50" />

Why doesn;t work 1.25 as 25%?

@MairHost is right .. he send you the full stats in first comment .. you have to give the order 

like :     <mul val='1.10' order='0x10' stat='mAtk'/> (for 1% m atk) or   <mul order="0x30" stat="mAtkSpd" val="1.15"/>(for 15% casting speed with different order)

Edited by scraw
  • 0
Posted

You are right. But if i put 0x30, i get error in gameserver. I post error

[11:53:38] WARN: Cannot create item 4724
java.lang.NumberFormatException: For input string: "0x10"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:580)
        at java.lang.Integer.parseInt(Integer.java:615)
        at l2r.gameserver.engines.DocumentBase.attachFunc(DocumentBase.java:250)
        at l2r.gameserver.engines.DocumentBase.parseTemplate(DocumentBase.java:237)
        at l2r.gameserver.engines.items.DocumentItem.parseItem(DocumentItem.java:132)
        at l2r.gameserver.engines.items.DocumentItem.parseDocument(DocumentItem.java:83)
        at l2r.gameserver.engines.DocumentBase.parse(DocumentBase.java:156)
        at l2r.gameserver.engines.DocumentEngine.loadItems(DocumentEngine.java:126)
        at l2r.gameserver.data.xml.impl.ItemData.load(ItemData.java:128)
        at l2r.gameserver.data.xml.impl.ItemData.reload(ItemData.java:382)
        at handlers.admincommandhandlers.AdminReload.useAdminCommand(AdminReload.java:183)
        at l2r.gameserver.network.clientpackets.SendBypassBuildCmd.runImpl(SendBypassBuildCmd.java:87)
        at l2r.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:71)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

with

<mul val="1.10" order="0x10" stat="mAtk" />

  • 0
Posted (edited)
2 minutes ago, 0flee said:

You are right. But if i put 0x30, i get error in gameserver. I post error

i see error for 0x40 which is unused .its only for diff as @Trance said..

 

paste that ..

 

      <mul order="0x30" stat="pAtk" val="1.15"/>

Edited by scraw
  • 0
Posted

any 0x give errors. I can leave just numbers.  L2j-Sunrise high five pack i use

[11:55:51] WARN: Cannot create item 4724
java.lang.NumberFormatException: For input string: "0x30"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:580)
        at java.lang.Integer.parseInt(Integer.java:615)
        at l2r.gameserver.engines.DocumentBase.attachFunc(DocumentBase.java:250)
        at l2r.gameserver.engines.DocumentBase.parseTemplate(DocumentBase.java:237)
        at l2r.gameserver.engines.items.DocumentItem.parseItem(DocumentItem.java:132)
        at l2r.gameserver.engines.items.DocumentItem.parseDocument(DocumentItem.java:83)
        at l2r.gameserver.engines.DocumentBase.parse(DocumentBase.java:156)
        at l2r.gameserver.engines.DocumentEngine.loadItems(DocumentEngine.java:126)
        at l2r.gameserver.data.xml.impl.ItemData.load(ItemData.java:128)
        at l2r.gameserver.data.xml.impl.ItemData.reload(ItemData.java:382)
        at handlers.admincommandhandlers.AdminReload.useAdminCommand(AdminReload.java:183)
        at l2r.gameserver.network.clientpackets.SendBypassBuildCmd.runImpl(SendBypassBuildCmd.java:87)
        at l2r.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:71)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

with

 

<mul order="0x30" stat="mAtkSpd" val="1.15"/>

  • 0
Posted
2 minutes ago, 0flee said:

any 0x give errors. I can leave just numbers.  L2j-Sunrise high five pack i use


[11:55:51] WARN: Cannot create item 4724
java.lang.NumberFormatException: For input string: "0x30"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:580)
        at java.lang.Integer.parseInt(Integer.java:615)
        at l2r.gameserver.engines.DocumentBase.attachFunc(DocumentBase.java:250)
        at l2r.gameserver.engines.DocumentBase.parseTemplate(DocumentBase.java:237)
        at l2r.gameserver.engines.items.DocumentItem.parseItem(DocumentItem.java:132)
        at l2r.gameserver.engines.items.DocumentItem.parseDocument(DocumentItem.java:83)
        at l2r.gameserver.engines.DocumentBase.parse(DocumentBase.java:156)
        at l2r.gameserver.engines.DocumentEngine.loadItems(DocumentEngine.java:126)
        at l2r.gameserver.data.xml.impl.ItemData.load(ItemData.java:128)
        at l2r.gameserver.data.xml.impl.ItemData.reload(ItemData.java:382)
        at handlers.admincommandhandlers.AdminReload.useAdminCommand(AdminReload.java:183)
        at l2r.gameserver.network.clientpackets.SendBypassBuildCmd.runImpl(SendBypassBuildCmd.java:87)
        at l2r.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:71)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

with

 

<mul order="0x30" stat="mAtkSpd" val="1.15"/>

open your skills.xml and find one order with <mul ....(blablabla) and see how it is wroted ..

  • 0
Posted

I want to add this on Item direct item. Not on skills. Tell me then. Why direct item edit add

<mul stat="pvePhysDmg" val="1.05" /> as 5% and for p atk don't? This is correct syntax. But i think for p atk doesn;t work. 

I want to add for Weapons B/A/S more p atk than normal. But that mul don't add 1.05 as 5%

  • 0
Posted (edited)
4 minutes ago, 0flee said:

I want to add this on Item direct item. Not on skills. Tell me then. Why direct item edit add

<mul stat="pvePhysDmg" val="1.05" /> as 5% and for p atk don't? This is correct syntax. But i think for p atk doesn;t work. 

ofc it work..find how is it typed the pAtk ..maybe its wroted P.atk or idk ..search the stat name of patk 

Edited by scraw
  • 0
Posted

If i add <mul stat="pAtk" val="1.05" /> P atk is decreased. And it's decreased drastically.

StatFunction.java

ADD("Add", 30),
	DIV("Div", 20),
	ENCHANT("Enchant", 0),
	ENCHANTHP("EnchantHp", 40),
	MUL("Mul", 20),
	SET("Set", 0),
	SHARE("Share", 30),
	SUB("Sub", 30),
	BASEMUL("BaseMul", 20),;

 

OK, the problem isn't that syntax. the problem it is weapons for specific class. Where i can see that? How i can edit weapons for a specific class?

  • 0
Posted (edited)

Don't do the mistake to add bonus stats to the item lol. Your players will have bugged stats and will require character restart to fix it. You got passives for a reason. Stop doing that people!

Edited by Trance

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • First of all, I never challenged you at any point.   Second, congratulations—this is what you should have done from the start: shown how it worked, how to exploit it, etc. Now, let’s look at the facts:   The flaw requires the person to be the OWNER of the castle.   It requires the use of third-party programs or a modified client—and most private servers don’t even allow the use of modified clients, thanks to their anti-cheat systems.   Are you honestly certain that a castle owner on a private server would risk losing their account just to pull off this exploit? They’d have to be a complete idiot.   You’ve spent months going on about how you discovered a bug that has ZERO impact on the actual gameplay—congratulations.   I’m not saying that flaws are bad or that they shouldn’t be fixed—in fact, the flaw *was* fixed.   What I’m saying is that you’ve been harping on the same point for months, even though the issue had already been resolved in the closed branch.   It’s the prerogative of those who maintain the code to fix things however they see fit, don’t you think?   And learn this: when you report a bug, you MUST: 1- Report the bug (obviously) 2- Explain in detail how the bug occurs 3- Prove that the bug actually happens   And instead of contributing to the project through the proper, public channels, you chose to turn this into a whole circus—I’d just like to understand why...   It’s a good thing everyone in this thread will get to see who the "asshole" is.
    • To use this exploit you have to:   1) Have access to the castle vault, aka you have to own a castle. 2) Send through Adrenaline Engine.BypassToServer(Bypass) as emommy said 3) In the crafted packet you will put a negative amount eg -100000000 What this does is it multiplies it by -1 so it becomes positive. 4) You won't see anything in your inventory, but if you open the castle vault through the Chamberlain you will see that the warehouse now has 10000000 adena. The negative became positive. 5) Withdraw the adena normally and you now have all the adena you need.   I wouldn't bother explaining how to do it, but this idiot (Galagard) wanted to challenge me. And from what I can see, they haven't patched the exploit even if I reported it to them a week ago so it's obvious that people will start sharing it around.   Maybe I should start positing here instead of the official channels.   All public versions of L2JMobius for all chronicles are vulnerable and not patched yet.   And thanks to this idiot (Galagard), everyone now knows.   Baldurian. EDIT:    Ok I just got informed that Mobius decided to accept the fix in the public repo.   So I will now post a proof of the exploit as Galagard requested. Normally I don't do so, but my good friend Galagard who has his nose so far stuck up his asshole, insulted me, and challenged me to show proof:     And to be fair to everyone, this is not an L2JMobius issue as the thread claims. It's L2JServer leftover, so if you have L2JServer derivative packs, you should patch too. 
    • Already fixed in subscriber version, but this bug report is classified as "Invalid" because since the author did not explain the method in detail, the validation flaw does indeed exist—but that alone does not prove it is possible to duplicate adena or any other item by exploiting said flaw. It looks like yet another AI hallucinating a vulnerability, then deducing that it could be used to exploit a different vulnerability. No have proofs in video or a detailed way to reproduce the potential failure Go find something else to do, Baldurian; you don’t even know how to exploit the flaw you reported yourself.
    • Interface sources for P196 (Secret of Empire 2 or aka Fafurion) for Main/Classic. This protocol is commonly used for classic interlude. You can use the xdat editors which support this protocol from my other shares.   NWindow + Interface UC + L2Editor Compiler   Download  
    • Interface sources for P166 (Secret of Empire 1) for Main/Classic. This protocol is commonly used for classic interlude. You can use the xdat editors which support this protocol from my other shares.   NWindow + Interface UC + L2Editor Compiler   Download  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..