• Welcome to Valhalla Legends Archive.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - NiNe

#2
General Programming / Re: D2GS: Lag Fix
January 29, 2009, 11:42 AM
The way games on battlenet are sorted out is the users ping to the server.  Im not sure exactly what games drop at, but im guessing its around 4000ms.

You can add up the current users in the game multiply that buy 4000, then divide that number by the total of the users pings. => 1 Drop everyone from the game.
#3
Your prob is you don't check if the packet has the significant amount of Data.

So if it contains all the right data connect to the realm, if not Use the status code.

Oh and also, your code is a bit off, looking at bnetdocs it should be;


server = GetDWORD(Mid$(Data, 17, 8))
connectmcp = MakeServer(GetDWORD(Mid$(server, 5, 4)))

not

server = GetDWORD(Mid$(Data, 17, 8))
connectmcp = MakeServer(GetDWORD(Mid$(Data, 5, 4)))
#4
It tells you what type of game it is. nightmare, hell, ect...
#5
Battle.net Bot Development / Re: 0x42?
January 30, 2005, 06:53 PM
Aww i see now, its cluttered stupid me
#6
Battle.net Bot Development / Re: 0x42?
January 30, 2005, 06:48 PM
I dont think so =\
#7
Battle.net Bot Development / Re: 0x42?
January 30, 2005, 06:45 PM
Yes it was sent to me, and it was apon enter chat, and packet log is:

Unidentified Packet: 0x42
4E 42 32 57 20 30 20 30 20 38 36 20 30 20 30 20     NB2W 0 0 86 0 0
30 20 30 20 30 20 4E 42 32 57 00 FF 0F 3B 00 01     0 0 0 NB2W   ; 
00 00 00 00 00 00 00 6E 00 00 00 00 00 00 00 0D            n       
F0 AD BA 0D F0 AD BA 4E 69 4E 65 00 4E 42 32 57            NiNe NB2W
20 30 20 30 20 30 20 30 20 30 20 30 20 30 20 30      0 0 0 0 0 0 0 0
20 4E 42 32 57 00 FF 0F 45 00 01 00 00 00 00 00      NB2W   E       
00 00 7D 00 00 00 00 00 00 00 0D F0 AD BA 0D F0       }             
AD BA 5E 5F 2D 69 7C 4C 65 24 27 7C 27 2D 5F 5E       ^_-i|Le$'|'-_^
00 4E 42 32 57 20 30 20 30 20 30 20 30 20 30 20      NB2W 0 0 0 0 0
30 20 30 20 30 20 4E 42 32 57 00                    0 0 0 NB2W
#8
Battle.net Bot Development / Re: 0x42?
January 30, 2005, 06:37 PM
Hurem, I dont think its for D2, I think its for W2BN, But im not sure either
#9
Battle.net Bot Development / 0x42?
January 30, 2005, 04:38 PM
What is 0x42?
#10
Visual Basic Programming / PostMessage() [solved]
December 22, 2004, 01:48 PM
Well, Im adding a load playlist command for my bot, it was simple but i cant figure out how to Click The "Open" button on the window winamp gives me .  ANyone have any ideas?

Nm I got it, By the way it was

PostMessage Window, &H100, &HD, 0

&H100 &  &HD = return button push.

Window = your hWnd
#11
Battle.net Bot Development / Re:D2 Game Creation
August 28, 2004, 07:18 PM
YeP :) OnlyMeat is the Man!
#12
Battle.net Bot Development / Re:D2GS
August 20, 2004, 01:26 PM
0x67 has a fixed length of 29 bytes if i can remember. Need to Pad the D2 Char name, (15 bytes *Total*), IIRC You send The Values, MCP gives you in 0x04 values 1 & 2 , Then Your Char CLass (sorc, Barb, ect..) Then The Version Byte, Null Dword, Padded Char name, Make Sure It is a fixed length of 29 bytes befor you send it, Dont want to get ipbanned

Should = 29 bytes!