Register for your free account! | Forgot your password?

You last visited: Today at 00:45

  • Please register to post and access all features, it's quick, easy and FREE!

 

[C++]Check Moving Item minor bug fix

Reply
 
Old   #1
 
elite*gold: 30
Join Date: Mar 2012
Posts: 517
Received Thanks: 326
[C++]Check Moving Item minor bug fix

Hello

Most of u will ignore it ( even ymir did ) but there's somepeoples who love to keep it all clean , even the small non effect bug

Before fix the bug :

You must register and activate your account in order to view images.

After :
You must register and activate your account in order to view images.

#UPDATE
I've fix also fix this bug :

and another bug related to inventory



To fix it :
Client Source / EterPythonLib/PythonGridSlotWindow.cpp
Serach for fucntion :
Code:
BOOL CGridSlotWindow::CheckMoving(DWORD dwSlotNumber, DWORD dwItemIndex, const std::list<TSlot*> & c_rSlotList)
replace with this :
Code:
BOOL CGridSlotWindow::CheckMoving(DWORD dwSlotNumber, DWORD dwItemIndex, const std::list<TSlot*> & c_rSlotList)
{
	if (m_dwSlotStyle != SLOT_STYLE_PICK_UP)
		return TRUE;

	for (std::list<TSlot*>::const_iterator itor = c_rSlotList.begin(); itor != c_rSlotList.end(); ++itor)
	{
		TSlot * pSlot = *itor;
		
		if (0 != pSlot->dwItemIndex || pSlot->dwCenterSlotNumber != pSlot->dwSlotNumber) // 아이템이 있고
		{
			if (dwItemIndex != pSlot->dwItemIndex || c_rSlotList.size() != 1) // 다른 아이템이면 못 옮김
				return false;
		}
	}

	return true;
}
Now Save and compile




MrLibya is offline  
Thanks
13 Users
Old   #2
 
elite*gold: 460
Join Date: Jan 2012
Posts: 1,731
Received Thanks: 1,164
Esthetic fix on a high level. I like these kind of attention.


MaxChri is offline  
Thanks
3 Users
Old   #3
 
elite*gold: 0
Join Date: Jun 2013
Posts: 153
Received Thanks: 41
Do you have any solution when you trying to move the item on the 1x slot at the top?
try with a 2 hand or 3 hand weapon and put it on the second slot and try to move it up, you can see the white slot but the weapon aren't able to move 1x slot up. (remove your fix first).

EULOG1SON is offline  
Old   #4
 
elite*gold: 30
Join Date: Mar 2012
Posts: 517
Received Thanks: 326
Quote:
Originally Posted by EULOG1SON View Post
Do you have any solution when you trying to move the item on the 1x slot at the top?
try with a 2 hand or 3 hand weapon and put it on the second slot and try to move it up, you can see the white slot but the weapon aren't able to move 1x slot up. (remove your fix first).

I've fix it and update the topic , i also fix another bug related inventory


MrLibya is offline  
Thanks
1 User
Old   #5
 
elite*gold: 30
Join Date: Mar 2012
Posts: 517
Received Thanks: 326
Topic Updated
MrLibya is offline  
Old   #6
 
elite*gold: 50
Join Date: May 2011
Posts: 262
Received Thanks: 970
Hello,

Here is an update for this fix, because it isnt' complete. If you are moving an item which size is > 1 onto the same item that makes false value.
Rubinum:
You must register and activate your account in order to view images.


Gallery 1


I didn't find any bugs, but if you will, feel free to explain how did you find it.
xP3NG3Rx is offline  
Thanks
6 Users
Old   #7
 
elite*gold: 0
Join Date: Oct 2013
Posts: 115
Received Thanks: 189
Quote:
Originally Posted by xP3NG3Rx View Post
Hello,

Here is an update for this fix, because it isnt' complete. If you are moving an item which size is > 1 onto the same item that makes false value.
Rubinum:
You must register and activate your account in order to view images.


Gallery 1


I didn't find any bugs, but if you will, feel free to explain how did you find it.
Omgg thanks boyyy
.T4Ump is online now  
Old   #8
 
elite*gold: 0
Join Date: Sep 2017
Posts: 10
Received Thanks: 0
nice...
HKwork is offline  
Old   #9
 
elite*gold: 0
Join Date: Mar 2011
Posts: 3
Received Thanks: 0
Quote:
Originally Posted by xP3NG3Rx View Post
Hello,

Here is an update for this fix, because it isnt' complete. If you are moving an item which size is > 1 onto the same item that makes false value.
Rubinum:
You must register and activate your account in order to view images.


Gallery 1


I didn't find any bugs, but if you will, feel free to explain how did you find it.

In official, I can move the item x1 slot or x2 slot to up or down, but in your fix I'm not able to do that, only if I put the item in the first page of inventory I could only move the item down .


plz fix that






.


jeddawee is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Fix] Minor item shop security issue
Hi, while looking through the servers source code I received in 2013 I found a minor security issue regarding the item shop. An attacker is able...
1 Replies - Metin2 PServer Guides & Strategies
Adding NEW ITEM. But not moving with char. [HELP]
Hey guys. I'm adding a new Chest for EU, H.ARMOR. But when i do this, the item is not moving with char. staying where it is. you can see in pic.:...
3 Replies - SRO PServer Ask the Experts
How to check id of an item...
Like in the topic: I want to know can I and how to check id number of an item on a private server.
5 Replies - WoW Main - Discussions / Questions



All times are GMT +1. The time now is 00:45.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.