Results 1 to 6 of 6

Thread: Tutorial Multiclient (MC) with no programming

  1. #1
    Normal User tryller's Avatar
    Join Date
    Oct 2012
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5

    Tutorial Multiclient (MC) with no programming

    A common way to enforce a single application window is to create a kernel structure called a Mutex (Windows API CreateMutex). This method is used by Windows Media Player, Powerpoint, and countless other apps, including Tibia. Here is how it works with Tibia:

    1. You start an instance of Tibia
    2. Tibia opens a handle to a mutex, called "TibiaPlayerMutex"
    3. You try to start a second Tibia process
    4. The second Tibia process also creates a mutex named "TibiaPlayerMutex", and is told that the mutex already exists, so it displays the error message and exits


    From this description, you can guess what we have to do in order to run the second Tibia instance without seeing the error message. We have to close the handle to the mutex called "TibiaPlayerMutex" that was opened by the first Tibia instance. Once the handle is closed, since no one else is referencing it, the mutex will be cleaned up.

    Fortunately, closing the handle of a mutex in another process is easy if you use the great Sysinternals tool called Process Explorer (procexp). After running the first Tibia instance, fire up Process Explorer. Find the Tibia process in that list (click the process column to sort by process name). Once you select Tibia.exe, go to View > Lower Pane View > Handles (or hit Ctrl+L). You will see a list of handles that the Tibia client has open. One of them will be a Mutant (mutex), named "\Sessions\1\BaseNamedObjects\TibiaPlayerMutex ", which is the one we just talked about that is used to enforce a single client:

    Now that we can see the handle, simply right-click it, and choose Close Handle. You will see it turn red, and disappear. Now, try opening another Tibia Client. Voila! Easy multi-clienting.



    One could also make a simple loader app that deletes this mutex after launching Tibia. The great part about this trick is that it is completely independent of the client version; I believe Tibia has been using this same mutex name since they first implemented MC checks. This is also the reason why you can't start multiple clients of different versions. This same trick can also be applied to the apps I mentioned earlier, like Windows Media Player.

    OBS: The Link for download are at Microsoft Website
    Credits to: Ian
    Enjoy easy multiclienting!

  2. #2
    Normal User
    Join Date
    Apr 2012
    Posts
    127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    Seems nice, but i think it's easyier to just use NeoMC

  3. #3
    Normal User tryller's Avatar
    Join Date
    Oct 2012
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    NeoMC and NexoMC have stoped working on some computers

    This is another away

  4. #4
    Normal User
    Join Date
    Apr 2013
    Posts
    29
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    11
    Rep Power
    4
    i cant see
    \Sessions\1\BaseNamedObjects\TibiaPlayerMutex
    no have it

  5. #5
    Normal User tryller's Avatar
    Join Date
    Oct 2012
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    Maybe you have used NeoMC before....
    It apper on first Tibia Start
    See image

  6. #6
    Normal User
    Join Date
    Apr 2013
    Posts
    29
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    11
    Rep Power
    4
    i never used neomc
    i make my mc using hex editor
    Last edited by flavinho92; 06-06-2013 at 03:42 PM.

Posting Permissions

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