Plus Emulator - Furniture duplicating & Drag and drop from catalog problem?
I'm not sure if this is a bug or something? But I was playing around, and my co-owner was dropping some dino's; so I picked one up, and it returned x2 in my hand?
I told him to place one down, so I went to pick it up. So he placed one down, and as I went to pick up mine, he picked up his aswell, and it duplicated in my hand? (We picked them up at the same time by accident... what a fluke)
I am using the old R63B (not the new client) -- Would anyone have a clue as to what's going on?
------------------------
And another problem is when I drag and drop from the catalog (if my inventory is closed) it won't place the furniture, but if the inventory is opened, it will place the furniture; I don't know why it does this..
All help is appreciated :) Cheers.
Re: Plus Emulator - Furniture duplicating & Drag and drop from catalog problem?
Urgent help is appreciated
Re: Plus Emulator - Furniture duplicating & Drag and drop from catalog problem?
The furniture duplicating has to be from a fix posted. I've added some fixes, and haven't got it. Other people have added all and get it. What fixes have you added?
Also, just disable it other wise people can miss up their accounts and/or rooms from it; In external_variables, catalog.drop.and.buy or something, up the top and set it to false.
Re: Plus Emulator - Furniture duplicating & Drag and drop from catalog problem?
@FatalLulz
I have added the basic fixes, like the exploit in groups, and room name fix, and navigator fix.
Re: Plus Emulator - Furniture duplicating & Drag and drop from catalog problem?
@Reverb Hmm. It happens in the R2 as well. Try swapping to something like Silverwave and see if it does it on that (only try this on localhost) . If not, compare the code and if so, then it I'm not sure.. Still learning C# :P
Re: Plus Emulator - Furniture duplicating & Drag and drop from catalog problem?
Quote:
Originally Posted by
Reverb
I'm not sure if this is a bug or something? But I was playing around, and my co-owner was dropping some dino's; so I picked one up, and it returned x2 in my hand?
I told him to place one down, so I went to pick it up. So he placed one down, and as I went to pick up mine, he picked up his aswell, and it duplicated in my hand? (We picked them up at the same time by accident... what a fluke)
I am using the old R63B (not the new client) -- Would anyone have a clue as to what's going on?
------------------------
And another problem is when I drag and drop from the catalog (if my inventory is closed) it won't place the furniture, but if the inventory is opened, it will place the furniture; I don't know why it does this..
All help is appreciated :) Cheers.
It's what happens if you run 2 threads on the same item at the same time.
Re: Plus Emulator - Furniture duplicating & Drag and drop from catalog problem?
Quote:
Originally Posted by
Mextur
It's what happens if you run 2 threads on the same item at the same time.
I did a test with a fellow staff, and we found that if we pick up a item at the same time, it duplicates.
IE: I place a gb, she places a gb, we pick up gb at the same time, picks up 2 instead of 1. (From what it looks like)
- - - Updated - - -
Results of further testing:
I had 7 GBs in my hand,
my staff had 1 gb in hand,
We placed our own gbs down in the room (i placed it in his room)
We picked up the gb at the same time, and I got a error saying "Warning! This item was already in this room and was not removed from your hand. How on earth could we forget you? :'( However, the item is removed from your hand."
I lost my GB (even though I picked mine up), and he got 2 in his hand, and I lost mine (when I attempted to place it back down)
Re: Plus Emulator - Furniture duplicating & Drag and drop from catalog problem?
Quote:
Originally Posted by
Reverb
I did a test with a fellow staff, and we found that if we pick up a item at the same time, it duplicates.
IE: I place a gb, she places a gb, we pick up gb at the same time, picks up 2 instead of 1. (From what it looks like)
- - - Updated - - -
Results of further testing:
I had 7 GBs in my hand,
my staff had 1 gb in hand,
We placed our own gbs down in the room (i placed it in his room)
We picked up the gb at the same time, and I got a error saying "Warning! This item was already in this room and was not removed from your hand. How on earth could we forget you? :'( However, the item is removed from your hand."
I lost my GB (even though I picked mine up), and he got 2 in his hand, and I lost mine (when I attempted to place it back down)
Call the OnCylce(); (for flooritems/wallitems) in the GetItem method (located in the Room.cs), this will process any previous updates made on the collection.
Re: Plus Emulator - Furniture duplicating & Drag and drop from catalog problem?
Thanks for the fix @Mextur.
If anyone knows how to fix the drag and drop items from catalog to room; I am willing to pay, maybe $5 AUD? :3
Re: Plus Emulator - Furniture duplicating & Drag and drop from catalog problem?
Quote:
Originally Posted by
Reverb
Thanks for the fix @
Mextur.
If anyone knows how to fix the drag and drop items from catalog to room; I am willing to pay, maybe $5 AUD? :3
It's a strange thing. Negative numbers, invalid ids.. Whenever I've come to this point on IHabbo. I will post a fix for PlusEmu.