Post: how get every time client 0 ?
07-15-2014, 09:47 PM #1
Polish-Modz
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); i play with debug eboot but i cant get client 0 online Snail why ?
(adsbygoogle = window.adsbygoogle || []).push({});
07-16-2014, 05:39 PM #2
Originally posted by Modz View Post
i play with debug eboot but i cant get client 0 online Snail why ?


Client 0 is not 100% always the host in public lobbies.
In private lobbies it stacks in the order clients join, so you're 0.
Online the host can be anyone.

If you'd like to get the host name for coding reasons (making a tool/..)
Here's a function made by Mango_Knife:

    private static String ReturnInfos(Int32 Index)
{
return Encoding.ASCII.GetString(DEX.GetBytes(0X008360d5, 0x100)).Replace(@"\", "|").Split('|'Winky Winky[Index];

}

public String getHostName()
{
String Host = ReturnInfos(16);
if (Host == "Modern Warfare 3")
return "Dedicated Server (No Player is Host)";
else if (Host == "")
return "You are not In-Game";
else return Host;
}


You can then create something like this to get the hostnumber.
(pretty ghetto)
    
public string getName(int client)
{
uint offset = 0x0110D694;
uint size = 0x3980;
byte[] buffer = new byte[20];
DEX.GetMemory(offset + (size * (uint)client), buffer);
string names = Encoding.ASCII.GetString(buffer);
names = names.Replace("\0", "");
return names;
}

public int getHostnumber()
{
string Hostname = getHostName();
for (int i = 0; i < 18; i++)
{
string iName = getName(i);
if (iName == Hostname)
{
return i;
}
}
return -1;
}

The following 2 users say thank you to Joren for this useful post:

G33B0X, Polish-Modz
07-16-2014, 09:06 PM #3
Polish-Modz
Do a barrel roll!
Originally posted by xJoren View Post
Client 0 is not 100% always the host in public lobbies.
In private lobbies it stacks in the order clients join, so you're 0.
Online the host can be anyone.

If you'd like to get the host name for coding reasons (making a tool/..)
Here's a function made by Mango_Knife:

    private static String ReturnInfos(Int32 Index)
{
return Encoding.ASCII.GetString(DEX.GetBytes(0X008360d5, 0x100)).Replace(@"\", "|").Split('|'Winky Winky[Index];

}

public String getHostName()
{
String Host = ReturnInfos(16);
if (Host == "Modern Warfare 3")
return "Dedicated Server (No Player is Host)";
else if (Host == "")
return "You are not In-Game";
else return Host;
}


You can then create something like this to get the hostnumber.
(pretty ghetto)
    
public string getName(int client)
{
uint offset = 0x0110D694;
uint size = 0x3980;
byte[] buffer = new byte[20];
DEX.GetMemory(offset + (size * (uint)client), buffer);
string names = Encoding.ASCII.GetString(buffer);
names = names.Replace("\0", "");
return names;
}

public int getHostnumber()
{
string Hostname = getHostName();
for (int i = 0; i < 18; i++)
{
string iName = getName(i);
if (iName == Hostname)
{
return i;
}
}
return -1;
}


thanks broo
07-22-2014, 05:40 PM #4
kiwi_modz
I defeated!
Originally posted by xJoren View Post
Client 0 is not 100% always the host in public lobbies.
In private lobbies it stacks in the order clients join, so you're 0.
Online the host can be anyone.

If you'd like to get the host name for coding reasons (making a tool/..)
Here's a function made by Mango_Knife:

    private static String ReturnInfos(Int32 Index)
{
return Encoding.ASCII.GetString(DEX.GetBytes(0X008360d5, 0x100)).Replace(@"\", "|").Split('|'Winky Winky[Index];

}

public String getHostName()
{
String Host = ReturnInfos(16);
if (Host == "Modern Warfare 3")
return "Dedicated Server (No Player is Host)";
else if (Host == "")
return "You are not In-Game";
else return Host;
}


You can then create something like this to get the hostnumber.
(pretty ghetto)
    
public string getName(int client)
{
uint offset = 0x0110D694;
uint size = 0x3980;
byte[] buffer = new byte[20];
DEX.GetMemory(offset + (size * (uint)client), buffer);
string names = Encoding.ASCII.GetString(buffer);
names = names.Replace("\0", "");
return names;
}

public int getHostnumber()
{
string Hostname = getHostName();
for (int i = 0; i < 18; i++)
{
string iName = getName(i);
if (iName == Hostname)
{
return i;
}
}
return -1;
}


lol mango didn't makes these haha you dumb
07-22-2014, 07:07 PM #5
Originally posted by ResistTheKiwi View Post
lol mango didn't makes these haha you dumb


And you just couldn't say "These were not made by Mango, but by .."?
You had to insult me? Immature kid... Facepalm
07-23-2014, 12:09 AM #6
kiwi_modz
I defeated!
Originally posted by xJoren View Post
And you just couldn't say "These were not made by Mango, but by .."?
You had to insult me? Immature kid... Facepalm


Poor you I'm soooo sorry for calling you dumb would you like tissue? Hahaha
If you took that as an insult? harden up.
And by your judgmental post assuming I I'm a kid is childish on you part. You have no idea haha.

The following user thanked kiwi_modz for this useful post:

Turk_Warrior
07-23-2014, 12:45 AM #7
Originally posted by ResistTheKiwi View Post
Poor you I'm soooo sorry for calling you dumb would you like tissue? Hahaha
If you took that as an insult? harden up.
And by your judgmental post assuming I I'm a kid is childish on you part. You have no idea haha.


I was wrong on something, human mistake, yet you call me dumb? Yea... Calling someone dumb IS insulting if I'm correct. "Would you like a tissue" - proceeds to call me childish. Facepalm
And harden up has nothing to do with it. Its called being friendly, something some people in this community should learn. Don't even bother responding mate.
07-23-2014, 01:06 AM #8
kiwi_modz
I defeated!
Originally posted by xJoren View Post
I was wrong on something, human mistake, yet you call me dumb? Yea... Calling someone dumb IS insulting if I'm correct. "Would you like a tissue" - proceeds to call me childish. Facepalm
And harden up has nothing to do with it. Its called being friendly, something some people in this community should learn. Don't even bother responding mate.

Wow you are soft. Mate your only 16 years of age you have a lot to learn yet. I remember those days. If you're implying that I'm not being friendly to this community you're wrong. I have helped this community out in more ways you could even dream of. I'm just not being friendly towards you. Deal with it.
07-23-2014, 02:25 AM #9
Originally posted by ResistTheKiwi View Post
I'm just not being friendly towards you.


And why? You basically started out being unfriendly? I've only known of your existance since you first posted on this thread? You just decided when you saw my name "hmm, let me just hate this guy for no apparent reason" or what?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo