Jump to content
  • 0

PV BUG EXPLOIT


DeYaN.

Question

Hello there , this bug is working on the majority serverfiles , and i don`t find the solution ..

 

So,let`s say that we want to do a DUEL ( 1-1) . And i have a bracelet without PV but with good bonuses and a bracelet only with pv.  Before we start the duel ,we equip the bracelet with pv ,waiting for it to fill and after that we equip the bracelet without pv. 

 

And now,for this duel .. we have the good bonsues + PV ,

96215119-178132303408707-490686312192829

 

 

PS, sry for my language.

Edited by DeYaN.
solved (see edit history)
Link to post

4 answers to this question

Recommended Posts

  • 0
// Search char_item.cpp
		if (item1->EquipTo(this, bEquipCell))
			item2->AddToCharacter(this, TItemPos(INVENTORY, bInvenCell));
		else
			sys_err("SwapItem cannot equip %s! item1 %s", item2->GetName(), item1->GetName());

Replace

		if (item1->EquipTo(this, bEquipCell)) {

			item2->AddToCharacter(this, TItemPos(INVENTORY, bInvenCell));
			item2->ModifyPoints(false);
			ComputePoints();
		} else {
			sys_err("SwapItem cannot equip %s! item1 %s", item2->GetName(), item1->GetName());
		}

 

I am not sure if it's the same bug i had few years ago, but looke like you have an issue with item swap like i had..

So try my fix

 

4 years old video

 

 

Edited by ridetpro (see edit history)
  • Love 2
Link to post
  • 0
16 hours ago, ridetpro said:

// Search char_item.cpp if (item1->EquipTo(this, bEquipCell)) item2->AddToCharacter(this, TItemPos(INVENTORY, bInvenCell)); else sys_err("SwapItem cannot equip %s! item1 %s", item2->GetName(), item1->GetName());

// Search char_item.cpp
		if (item1->EquipTo(this, bEquipCell))
			item2->AddToCharacter(this, TItemPos(INVENTORY, bInvenCell));
		else
			sys_err("SwapItem cannot equip %s! item1 %s", item2->GetName(), item1->GetName());

Replace

if (item1->EquipTo(this, bEquipCell)) { item2->AddToCharacter(this, TItemPos(INVENTORY, bInvenCell)); item2->ModifyPoints(false); ComputePoints(); } else { sys_err("SwapItem cannot equip %s! item1 %s", item2->GetName(), item1->GetName()); }

		if (item1->EquipTo(this, bEquipCell)) {

			item2->AddToCharacter(this, TItemPos(INVENTORY, bInvenCell));
			item2->ModifyPoints(false);
			ComputePoints();
		} else {
			sys_err("SwapItem cannot equip %s! item1 %s", item2->GetName(), item1->GetName());
		}

 

I am not sure if it's the same bug i had few years ago, but looke like you have an issue with item swap like i had..

So try my fix

 

4 years old video

 

 

 

 

That`s the bug and that's the fix. Thx you very much ! It`s working wonderful !

Link to post

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.   Restore formatting

  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.



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.