MOST_CONNECTIONS (103) bug
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
MOST_CONNECTIONS (103) bug
Scat, we talked about this the other day. Tess now has 4 players at once, but the server stat (103) that counts the max simultaneous connections stops at 2. Not sure why. I've waited a long time, so it's not a matter of the timer not firing - the current active zones and connections since startup counters are working fine.
http://eq2.mmoemulators.com/index.php?db=tess&lb=Stats
http://eq2.mmoemulators.com/index.php?db=tess&lb=Stats
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: MOST_CONNECTIONS (103) bug
LE, this bug is apparently caused by the fact that World's client.count() value never rises above 2, no matter how many connections are active at once.
Can you see what's wrong with this? Scatman and I have both looked into it, but see no valid reason why this is happening.
Thanks
Can you see what's wrong with this? Scatman and I have both looked into it, but see no valid reason why this is happening.
Thanks
- Scatman
- Retired
- Posts: 1688
- Joined: Wed Apr 16, 2008 5:44 am
- EQ2Emu Server: Scatman's Word
- Characters: Scatman
- Location: New Jersey
Re: MOST_CONNECTIONS (103) bug
Bah, I keep forgetting about this one. I'll look at it later today.
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Re: MOST_CONNECTIONS (103) bug
kk, if you can't find the cause let me know and I'll look at it Scat
- Scatman
- Retired
- Posts: 1688
- Joined: Wed Apr 16, 2008 5:44 am
- EQ2Emu Server: Scatman's Word
- Characters: Scatman
- Location: New Jersey
Re: MOST_CONNECTIONS (103) bug
Ok I fixed it, however I'm going to hold off on commiting it until I talk to you guys about the randomizing thing. I was thinking while writing it that maybe we should bitwise the field. 1 = randomize gender, 2 = randomize class, 4 = randomize hair, 8 = skin color, etc. Because remember those dervs I was cleaning the other night? Every single derv is a human. The only difference is their gender and hair/facial hair type and color. So it'd be nice to say "hey, I only want to randomly generate their hair color, hair type, and gender please!"
Whatcha think?
Whatcha think?
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: MOST_CONNECTIONS (103) bug
I thought we already decided the only things to randomize was the feature, that the model_type was not part of it? Regardless, I like your idea of picking a component to randomize... except for the standard person not really grasping bitwise (you know I love them to death and want to use them everywhere
)
I know your idea is to randomize multiple parts at once, one command. I'd say try it out, if anyone complains, we'll make another command with parameters instead.
/randomize hair_color
/randomize cheek_type
/randomize penis_size
I know your idea is to randomize multiple parts at once, one command. I'd say try it out, if anyone complains, we'll make another command with parameters instead.
/randomize hair_color
/randomize cheek_type
/randomize penis_size
- Scatman
- Retired
- Posts: 1688
- Joined: Wed Apr 16, 2008 5:44 am
- EQ2Emu Server: Scatman's Word
- Characters: Scatman
- Location: New Jersey
Re: MOST_CONNECTIONS (103) bug
Ok, what about keeping the bitwise field and the / commands just set that database field for the npc properly?
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: MOST_CONNECTIONS (103) bug
Ohhhh, I see what you're saying now. You aren't saying we enter /randomize 38921 to do just hair, cheek, chin, skin color, hair highlight blah. You're saying just store what is able to be /randomized in the field so it's still just a plain ol "/randomize" command that now only changes whatever the bitwise allows?
Then yes. Perfect
Then yes. Perfect
- Scatman
- Retired
- Posts: 1688
- Joined: Wed Apr 16, 2008 5:44 am
- EQ2Emu Server: Scatman's Word
- Characters: Scatman
- Location: New Jersey
Re: MOST_CONNECTIONS (103) bug
Yuppers!
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Re: MOST_CONNECTIONS (103) bug
Yah I don't have a problem with that Scat, would definitely reduce the amount of spawns 
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: MOST_CONNECTIONS (103) bug
You have no idea what a nightmare this will play out for me though... I see the spawns from the packet logs, and now I have to choose between which ones I actually want? The pressure will be too great!!LethalEncounter wrote:Yah I don't have a problem with that Scat, would definitely reduce the amount of spawns
Actually, Scat and I already figured we'd keep what we get from packets - and use this as a tool to fill in all those possible missing combos we see in Live, that we can never fully collect. I think it's a great idea. Not sure how it'll effect the raw data, but we'll cross that bridge blah blah.
Who is online
Users browsing this forum: No registered users and 1 guest