View Full Version : Startin' Frech
DaMezzer
11-08-2002, 10:14 AM
I haven't done any C++ in some years, but I figure it's time to start again. I'm writing my own UDP socket apps, one for the Windows side and one for the *nix side, and have a question on timing.
This is what my code is going to do: Modification to ShowEQ that will send a message to Win on zoning. Win box receives it and then reads the key from memory, which it then sends back to *nix. By glancing through the forum, I see others are doing this, so I'm sure someone knows the answer to my question.
When does the Win box have the new key in the memory space for me to read? The second I start to zone?
DaMezzer
septara93
11-08-2002, 11:25 AM
I would assume its at the start of the new zone... as you would have to start decode, but does it really matter if you wait till your in zone? :)
*shrug*
DaMezzer
11-08-2002, 11:42 AM
Originally posted by septara93
I would assume its at the start of the new zone... as you would have to start decode, but does it really matter if you wait till your in zone? :)
My assumption is that it knows the key before it even loads the zone, but would like this confirmed by anyone who has already checked this.
It does matter to me, yes.
DaMezzer
blackman0101
11-08-2002, 01:01 PM
From my pov,
You get the first key when you hit the character select screen.
You get a new key every time you zone there after.
If you change characters( exit one, goto char select screen) you get a new key then, not when you zone into that char.
DaMezzer
11-08-2002, 02:43 PM
Originally posted by blackman0101
You get a new key every time you zone there after.
If you change characters( exit one, goto char select screen) you get a new key then, not when you zone into that char.
I have been too vague, I guess.
I'm looking for an exact time of key reception. My guess is this is somewhat the order of happennings:
- Your char hits the zone line
- EQ Server knows this, and sends you the new zone name and any pertinent info including the new key
- Your PC starts grinding, loading the new zone map
- After the EQ server sends the new zone name and key, it starts sending Mob info
- After your PC finishes loading the map, receiving the mob info, and decoding the mobs / drops / other objects, it finishes the zoning process
This right?
devnul
11-08-2002, 03:11 PM
well if you jump the gun you'll get the same key you already have.. if that happens simply wait a few seconds and request again
dn
Seen it mentioned a few times ...
The client generates the key and sends it to the server. As to timing, I dunno, I would assume both would need it before any new zone data is sent.
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.