WiredEffect MoveFurniToUserBox Lag

Hahn

Member
Jan 7, 2017
44
7
The furni have delay on movement with wired MoveFurniToUserBox, how to resolve this?
You must be registered for see images attach
 

Hahn

Member
Jan 7, 2017
44
7
Somewhere it's being doubled, when you set it to 1 it'll go to 2 in the database, 3 sets to 6 etc etc.
Maybe this area ?
C#:
 public MoveFurniToUserBox(Room Instance, Item Item)
        {
            this.Instance = Instance;
            this.Item = Item;
            SetItems = new ConcurrentDictionary<int, Item>();
            TickCount = Delay;
            Requested = false;
        }

             public double Delay
        {
            get { return _delay; }
            set
            {
                _delay = value;
                TickCount = value + 1;
            }
        }
 

Joe

Well-Known Member
Jun 10, 2012
4,090
1,918
Pretty sure it's there
Code:
public double Delay
        {
            get { return _delay; }
            set
            {
                _delay = value;
                TickCount = value + 1;
            }
        }
Post automatically merged:

I have no idea, I've tried playing around with it myself.
 
Last edited:

Damien

Don't need glasses if you can C#
Feb 26, 2012
426
642
Wired is implemented extremely badly in Plus. You're gunna have to gut it out and re-code how triggers and effects work if you want it to run smoothly.
 

Joe

Well-Known Member
Jun 10, 2012
4,090
1,918
I think I changed alot with wired in my edit, I can upload it to github if you'd like to compare code.
That would be great, thanks Damien
Post automatically merged:

I think there would be a problem with the wired_items in the database though as the delay by default can't have decimal places.
 

Hahn

Member
Jan 7, 2017
44
7
That would be great, thanks Damien
Post automatically merged:

I think there would be a problem with the wired_items in the database though as the delay by default can't have decimal places.
Table?
You must be registered for see images attach
 

Hahn

Member
Jan 7, 2017
44
7
The column delay can't be set to 0.5 or 1.5 it's always rounded up or doubled in my version of Plus.

0.5 = 1
5 = 10

etc
Oh, what area could this be changed in?
Post automatically merged:

I managed to get a little faster, but the furniture does not identify diagonally :
1HoQSzj.gif
 
Last edited:

JayC

Always Learning
Aug 8, 2013
5,493
1,398
None of the move furni goes diagonal in plus emulator. You'll have to code that custom. It also does not find users who are not in the same line. That's how it is on habbo too. It's only in a line left/right and up/down
 

Hahn

Member
Jan 7, 2017
44
7
None of the move furni goes diagonal in plus emulator. You'll have to code that custom. It also does not find users who are not in the same line. That's how it is on habbo too. It's only in a line left/right and up/down
Aahh ok, I didn't know that part. How to increase the identification range of furniture?
 

Hahn

Member
Jan 7, 2017
44
7
How did you speed this up btw? Or is it just manually edited in the database.
Coming home I'll put here what I did to fix the speed, I'm at work now.

I need now modify the range of furni
Post automatically merged:

@JMG add this in HandleSave
You must be registered for see images attach
 
Last edited:

Users who are viewing this thread

Top