Valhalla Legends Forums Archive | Battle.net Bot Development | Question on MCP

AuthorMessageTime
inner.
Just curious, is there something you need to send frequently to not get disconnected from MCP?

I noticed when I don't view my characters for a period of time, for when I do go to view them, it show's nothing.

Thanks.
July 8, 2006, 8:31 PM
UserLoser
It shows nothing because you're clearing the list.  You're probably unloading the dialog then showing it again without requesting the character list.  You will stay connected as long as possible to the server until something breaks your connection.
July 9, 2006, 6:22 AM
inner.
Yes. I clear it. But I've fixed it. I just want a certain packet every 8 minutes to keep the connection alive.
I remember that the Battle.net Client for Diablo II always disconnects you for inactivity.
Anyhow, I have 1 more question: Do you know if you cannot make a Hardcore Ladder character with Diablo II Classic?

Everytime I make one it IPBans me on Realm.

EDIT: I'm sending the WORD 0x48 for it.
July 9, 2006, 2:24 PM
warz
Have you tried doing this with the real client?
July 9, 2006, 2:49 PM
l2k-Shadow
This is why you read the comments under the packet. I posted about it being 0x44 not 0x48 year and a half ago...
July 9, 2006, 3:09 PM
UserLoser
[quote author=inner.de link=topic=15361.msg155526#msg155526 date=1152455088]
Yes. I clear it. But I've fixed it. I just want a certain packet every 8 minutes to keep the connection alive.
I remember that the Battle.net Client for Diablo II always disconnects you for inactivity.
Anyhow, I have 1 more question: Do you know if you cannot make a Hardcore Ladder character with Diablo II Classic?

Everytime I make one it IPBans me on Realm.

EDIT: I'm sending the WORD 0x48 for it.
[/quote]

There's no reason to be connected for any longer than a couple minutes
July 9, 2006, 3:18 PM
UserLoser
[quote author=l2k-Shadow link=topic=15361.msg155528#msg155528 date=1152457759]
This is why you read the comments under the packet. I posted about it being 0x44 not 0x48 year and a half ago...
[/quote]

Inner doesn't read anything.

It's a bitmask of the following values:

0x00: Classic
0x04: Hardcore
0x20: Expansion
0x40: Ladder

I don't know where you get the extra 8 from in there...
July 9, 2006, 3:20 PM
warz
Yeah, I think I remember that there is no reason to stay connected to the MCP server. Once you've connected, sent your character selection request and succesfull changed or created your character, you can (and should) disconnect.
July 9, 2006, 3:48 PM
l2k-Shadow
[quote author=warz link=topic=15361.msg155531#msg155531 date=1152460086]
Yeah, I think I remember that there is no reason to stay connected to the MCP server. Once you've connected, sent your character selection request and succesfull changed or created your character, you can (and should) disconnect.
[/quote]

No, after you Create/Join game you disconnect, not prior to that. Of course if you're a bot and will not do so, I assume you could disconnect.
July 9, 2006, 6:31 PM
inner.
I stay connected so I don't have to reconnect to logon with another character.

EDIT: Thanks Shadow, 0x44 works for Hardcore Ladder.
July 9, 2006, 6:56 PM
rabbit
[quote author=UserLoser link=topic=15361.msg155530#msg155530 date=1152458448]
[quote author=l2k-Shadow link=topic=15361.msg155528#msg155528 date=1152457759]
This is why you read the comments under the packet. I posted about it being 0x44 not 0x48 year and a half ago...
[/quote]

Inner doesn't read anything.

It's a bitmask of the following values:

0x00: Classic
0x04: Hardcore
0x20: Expansion
0x40: Ladder

I don't know where you get the extra 8 from in there...
[/quote]IIRC that's Dead
July 10, 2006, 12:10 AM

Search