Close
Showing results 1 to 10 of 16

Hybrid View

  1. #1

    Post

    I know the comp is weird, but I like weird builds. :P


    UPDATE:

    Might be beta things, but so far I have only gotten one instance per PC to work. Also the autohotkey scripts above that I had working, didn't work at all for D2R so I had to update those.

    Anyway, might want to hold out on buying extra copies until release and make sure it is even possible to run more than one instance on a single PC.

    Autohotkey script for mouse movement that I got to work between two pc's while using input director:

    First Instance on PC1

    Code:
    #NoEnv
    CoordMode, Mouse, Window
    SetTitleMatchMode 2
    
    $NumpadSub::
        ExitApp
    return
    
    
    #If WinActive("box1")
    LButton::
            MouseGetPos, xpos, ypos
            slavexpos := Round(3 * (xpos / 8), 0)
            slaveypos := Round(3 * (ypos / 8), 0)
            keypressPC1 := "123456789012345 " xpos " " ypos
            keypressPC2 := "123456789012345 " slavexpos " " slaveypos
            FileAppend, %keypressPC1%`n, commandPC1.txt
            FileAppend, %keypressPC2%`n, \\ALIENWOLF\shared\commandPC2.txt
            keypress := ""
            xpos := ""
            ypos := ""
            slavexpos := ""
            slaveypos := ""
    return
    Code:
    #NoEnv
    CoordMode, Mouse, Window
    SetTitleMatchMode 2
    SetControlDelay -1
    
    Loop {
        if FileExist("commandPC1.txt") {
        
            FileReadLine, commandline, commandPC1.txt, 1
            StringLen, Length, commandline
            if (commandline != "") {
                if (Length >= 15) {
                StringSplit, pos_array, commandline, %A_Space%
                DllCall("SetCursorPos", int, pos_array2, int, pos_array3)
                ControlClick, x%pos_array2% y%pos_array3%, box1
                FileDelete, commandPC1.txt
                } else {
                ControlSend,, %commandline%, box1
                FileDelete, commandPC1.txt
                }
            }
            commandline := ""
            pos_array := ""
        }
    }

    Second Instance on PC2


    Code:
    #NoEnv
    CoordMode, Mouse, Window
    SetTitleMatchMode 2
    
    $NumpadSub::
        ExitApp
    return
    
    #If WinActive("box2")
    LButton::
            MouseGetPos, xpos, ypos 
            slavexpos := Round(8 * (xpos / 3), 0)
            slaveypos := Round(8 * (ypos / 3), 0)
            keypressPC1 := "123456789012345 " slavexpos " " slaveypos
            keypressPC2 := "123456789012345 " xpos " " ypos
            FileAppend, %keypressPC1%`n, \\UORUFU\shared\commandPC1.txt
            FileAppend, %keypressPC2%`n, commandPC2.txt
            keypress := ""
            xpos := ""
            ypos := ""
            slavexpos := ""
            slaveypos := ""
    return
    Code:
    #NoEnv
    CoordMode, Mouse, Window
    SetTitleMatchMode 2
    SetControlDelay -1
    
    Loop {
        if FileExist("commandPC2.txt") {
        
            FileReadLine, commandline, commandPC2.txt, 1        
            StringLen, Length, commandline        
            if (commandline != "") {        
                if (Length >= 15) {            
                StringSplit, pos_array, commandline, %A_Space%    
                DllCall("SetCursorPos", int, pos_array2, int, pos_array3)
                ControlClick, x%pos_array2% y%pos_array3%, box2
                FileDelete, commandPC2.txt
                } else {
                ControlSend,, %commandline%, box2
                FileDelete, commandPC2.txt
                }
            }
            commandline := ""
            pos_array := ""
        }
    }
    I used Window Title Changer program to change the name of the instances to "box1" and "box2". Easier to initialize. Although unnecessary if I can't figure out how to run multiple instances on one PC. (as I could just look for the normal win title with only one instance active).

    My main instance was at 4k resolution and secondary instance at 1440x810, hence the calculation for slavexpos and slaveypos, if you run all instances in same resolution, no calculations need to be done.

    In any case, copying movement worked like a charm with this script, so a dual box at the very least is gonna be possible for me. (Really want to Tribox d2 though, there is a lot of good reason, drop wise mostly, to run at players 3.




    Right now I am trying to figure out how to open multiple instances on 1 PC, but it might be just a beta build thing why it isn't working.

    I got as far as opening two instances, one with sandboxie, but the sandboxie one could start the game and enter lobby, but not join any game. As soon as I join a game on that instance it goes black and unresponsive.


    https://ibb.co/r3Y8z58
    (Fullscreen)

    https://ibb.co/DGc9bjx
    (Fullscreen)



    Even though on the second you can see that my second instance 'technically' entered the game. ;(
    Attached Images Attached Images    
    Last edited by Kaynin : 08-13-2021 at 11:56 PM
    Slowly crawling back towards the experience that is Multiboxing Mayhem

Tags for this Thread

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •