Once again wtf does that have to do with my point? You're stupid and can't use sql. End of fucking discussion.ADDKiD wrote:I'm not that stupid, Dax. It takes time to learn something.. I can't just go "POOF" and I'm a C++ Expert. I could be like Juggalo2, smoke so much weed I can't spell... I'd rather be drunk, you won't remember SHIT at all.... Unless it's a Coyote Ugly situation, then you really don't want to remember that. Zero must have quite alot of those...Dax wrote:Because you're not smart enough to use them. Don't request somthing which is over your head.ADDKiD wrote: Thats all fine and dandy. When the hell is someone going to make a SQL Source?! Besides Aryes, I don't even know what the hell is going on with his files...
Even though it already exists you're just too fucking stupid to use it..
Worldlserver Source
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
Long ago you claimed I never get laid, now you claim I do, but with ugly women. God damn. Pick an insult and stick with it. Stop switching back and forth. You're just so god damn retarded it's sad.ADDKiD wrote:I'm not that stupid, Dax. It takes time to learn something.. I can't just go "POOF" and I'm a C++ Expert. I could be like Juggalo2, smoke so much weed I can't spell... I'd rather be drunk, you won't remember SHIT at all.... Unless it's a Coyote Ugly situation, then you really don't want to remember that. Zero must have quite alot of those...Dax wrote:Because you're not smart enough to use them. Don't request somthing which is over your head.ADDKiD wrote: Thats all fine and dandy. When the hell is someone going to make a SQL Source?! Besides Aryes, I don't even know what the hell is going on with his files...
Even though it already exists you're just too fucking stupid to use it..
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia
</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.

-
- noob
- Posts: 11
- Joined: Thu Aug 17, 2006 5:34 am
Thank you marleythe9 for the code, but when I put this code in the hg he says to me that it he connects of 10, and on having entered the client, I try to enter to the game but he says to me that the map this one disconnected:S, I check the exe of the map and this on, not that happens, if someone can answer me
Cya!
Cya!
<b><i>ZeroEoyPnk</i></b><br><img src='http://ar.geocities.com/eoy_zero/mas_para_mi.jpg' border='0' alt='user posted image' />
-
- <3 bd long time
- Posts: 967
- Joined: Tue Jul 12, 2005 8:07 pm
- Location: Washington, USA
- Contact:
Works 100% for me. Dunno what the fuck your problem is. Zero, I'm just fucking around with you guys. Seriously, I've known you long enough to know if you wanted too you could get laid. Shit you guys take everything too serious. Dax, I don't know SQL because I haven't taken the time to learn it. End of story...zeroeoypnk wrote: Thank you marleythe9 for the code, but when I put this code in the hg he says to me that it he connects of 10, and on having entered the client, I try to enter to the game but he says to me that the map this one disconnected:S, I check the exe of the map and this on, not that happens, if someone can answer me
Cya!
-
- noob
- Posts: 11
- Joined: Thu Aug 17, 2006 5:34 am
Already encontre the problem, but now I have other one, I realized that xD was not using the correct world, after hours of seeing the problem I me realized that ponian to unload a world with the code of the hg, it he unloads it and when I execute it to raise the server, there throws me the same mistake that in the first post xD, if someone knows since as I it solve, agradecere, and if they do not want to give me, or to say to me in source, though it he should be I ask for a world.exe fixed, and with it of the password, or that says that alone they can raise 2 hgs.
Cya!
Cya!
<b><i>ZeroEoyPnk</i></b><br><img src='http://ar.geocities.com/eoy_zero/mas_para_mi.jpg' border='0' alt='user posted image' />
-
- Loyal fan
- Posts: 391
- Joined: Sat Mar 26, 2005 12:41 am
wow check it out
i fixed character in use bug.
WL checks see if Map server registered to WL if not it sets accoutn to null / sends message Main telling accounts not in use*

WL checks see if Map server registered to WL if not it sets accoutn to null / sends message Main telling accounts not in use*
Code: Select all
void CWorldLog::EnterGame(int iClientH, char * pData)
{
char cData[256], cCharNameCheck[11], cMapName[11], cCharacterName[11], cAccountName[11], cAccountPassword[11], cAddress[16];
int iPort, iCode, iLevel, iRet;
char * cp;
WORD *wp;
DWORD *dwp;
int i;
bool bflag;
bflag = FALSE;
if (m_pClientList[iClientH] == NULL) return;
ZeroMemory(cData, sizeof(cData));
ZeroMemory(cCharNameCheck, sizeof(cCharNameCheck));
ZeroMemory(cMapName, sizeof(cMapName));
ZeroMemory(cCharacterName, sizeof(cCharacterName));
ZeroMemory(cAccountName, sizeof(cAccountName));
ZeroMemory(cAccountPassword, sizeof(cAccountPassword));
ZeroMemory(cAddress, sizeof(cAddress));
cp = (char *)(pData + DEF_INDEX2_MSGTYPE + 2);
memcpy(cCharacterName, cp, 10);
cp += 10;
memcpy(cMapName, cp, 10);
cp += 10;
memcpy(cAccountName, cp, 10);
cp += 10;
memcpy(cAccountPassword, cp, 10);
cp += 10;
iCode = iGetMapInformation(cMapName, cAddress, &iPort, iClientH);
wsprintf(G_cTxt, "(TestLog) ReqEnterGame: Accnt(%s) Pass(%s) Char(%s) Map(%s) Addr(%s) Port(%d) Code(%d)", cAccountName, cAccountPassword, cCharacterName, cMapName, cAddress, iPort, iCode);
PutLogList(G_cTxt);
//game char fix
for (i = 0; i < DEF_MAXGAMESERVERSMAPS; i++)
if((m_cMapList[i] != NULL) && (strcmp(m_cMapList[i]->m_cName, cMapName) == 0)) bflag = TRUE;
if (iCode == -1) {
dwp = (DWORD *)(cData);
*dwp = MSGID_RESPONSE_ENTERGAME;
wp = (WORD *)(cData + DEF_INDEX2_MSGTYPE);
*wp = DEF_ENTERGAMERESTYPE_REJECT;
cp = (char *)(cData + DEF_INDEX2_MSGTYPE + 2);
*cp = 3;
iRet = m_pClientList[iClientH]->m_pXSock->iSendMsg(cData, 7, DEF_USE_ENCRYPTION);
if(bflag == FALSE) {
wsprintf(G_cTxt, "(TestLog) ReqEnterGame Reject! Account(%s) status NULL", cAccountName);
PutLogList(G_cTxt);
SendEventToMLS(MSGID_REQUEST_CLEARACCOUNTSTATUS, DEF_MSGTYPE_CONFIRM, cData, 10, -1);
OnPlayerAccountMessage(DEF_MSGACCOUNTSET_NULL, cAccountName, NULL, NULL, NULL);
return;
}
}
else if (iCode == -2) {
dwp = (DWORD *)(cData);
*dwp = MSGID_RESPONSE_ENTERGAME;
wp = (WORD *)(cData + DEF_INDEX2_MSGTYPE);
*wp = DEF_ENTERGAMERESTYPE_REJECT;
cp = (char *)(cData + DEF_INDEX2_MSGTYPE + 2);
*cp = 5;
iRet = m_pClientList[iClientH]->m_pXSock->iSendMsg(cData, 7, DEF_USE_ENCRYPTION);
if(bflag == FALSE) {
wsprintf(G_cTxt, "(TestLog) ReqEnterGame Reject! Account(%s) status NULL", cAccountName);
PutLogList(G_cTxt);
SendEventToMLS(MSGID_REQUEST_CLEARACCOUNTSTATUS, DEF_MSGTYPE_CONFIRM, cData, 10, -1);
OnPlayerAccountMessage(DEF_MSGACCOUNTSET_NULL, cAccountName, NULL, NULL, NULL);
return;
}
}
else {
if (iGetCharacterInformation(cAccountName, cCharNameCheck, &iLevel) == FALSE) {
delete m_pClientList[iClientH];
m_pClientList[iClientH] = NULL;
wsprintf(G_cTxt, "(TestLog) ReqEnterGame Reject! Account(%s) status NULL", cAccountName);
PutLogList(G_cTxt);
SendEventToMLS(MSGID_REQUEST_CLEARACCOUNTSTATUS, DEF_MSGTYPE_CONFIRM, cData, 10, -1);
OnPlayerAccountMessage(DEF_MSGACCOUNTSET_NULL, cAccountName, NULL, NULL, NULL);
return;
}
dwp = (DWORD *)(cData);
*dwp = MSGID_RESPONSE_ENTERGAME;
wp = (WORD *)(cData + DEF_INDEX2_MSGTYPE);
*wp = DEF_ENTERGAMERESTYPE_CONFIRM;
cp = (char *)(cData + DEF_INDEX2_MSGTYPE + 2);
memcpy(cp, cAddress, 16);
cp += 16;
wp = (WORD *)cp;
*wp = iPort;
cp += 2;
iRet = m_pClientList[iClientH]->m_pXSock->iSendMsg(cData, 24, DEF_USE_ENCRYPTION);
}
switch(iRet) {
case DEF_XSOCKEVENT_QUENEFULL:
case DEF_XSOCKEVENT_SOCKETERROR:
case DEF_XSOCKEVENT_CRITICALERROR:
case DEF_XSOCKEVENT_SOCKETCLOSED:
delete m_pClientList[iClientH];
m_pClientList[iClientH] = NULL;
return;
}
}
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
-
- Loyal fan
- Posts: 391
- Joined: Sat Mar 26, 2005 12:41 am
the account in use i posted early ant a perfict fix but ya it kinda fixes it if the map is not up*.
but if the Map server crashes or something it will not set your char to null cuz it has nothing to do wit that.
Wlserver Bugs:
Server crash - chars still in use
MultiHosting Foce Dissconnect - password is not saved correctly in verible.
Know Crash Caused by - when player logs on, rare crash.
but if the Map server crashes or something it will not set your char to null cuz it has nothing to do wit that.
Wlserver Bugs:
Server crash - chars still in use
MultiHosting Foce Dissconnect - password is not saved correctly in verible.
Know Crash Caused by - when player logs on, rare crash.
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
-
- Loyal fan
- Posts: 391
- Joined: Sat Mar 26, 2005 12:41 am
Code update. code i posted earlyer has a bug.. still posable to get stuck.
this fixes it
just replace old group of code with this.
from the test so far seams to work fine
. problem with the earlyer code cData was not defined so it sent a bad message
. this tells the MLserver to set the Accout to null.
this fixes it
Code: Select all
if(bflag == FALSE) {
wsprintf(G_cTxt, "(TestLog) ReqEnterGame Reject! Account(%s) status NULL", cAccountName);
PutLogList(G_cTxt);
SendEventToMLS(MSGID_REQUEST_CLEARACCOUNTSTATUS, DEF_MSGTYPE_CONFIRM, cAccountName, 10, -1);
OnPlayerAccountMessage(DEF_MSGACCOUNTSET_NULL, cAccountName, NULL, NULL, NULL);
delete m_pClientList[iClientH];
m_pClientList[iClientH] = NULL;
return;
}
from the test so far seams to work fine


<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
-
- noob
- Posts: 11
- Joined: Thu Aug 17, 2006 5:34 am
thanks marleythe9, But I continue having a problem xD, throwing this mistake to this me:
The mistake I solve it, extracting this: "iClientH"
And I wanted to be able do like in order that desaparesca this mistake xD
On the other hand the world that vos posteas in source, the server of 10 raises, but to the moment to connect for the client, remains in conecting
Cya!
And the mistake returns it to me of this lineerror C2660: 'iGetMapInformation' : function does not take 4 parameters
Code: Select all
iCode = iGetMapInformation(cMapName, cAddress, &iPort, iClientH);
And I wanted to be able do like in order that desaparesca this mistake xD
On the other hand the world that vos posteas in source, the server of 10 raises, but to the moment to connect for the client, remains in conecting
Cya!
<b><i>ZeroEoyPnk</i></b><br><img src='http://ar.geocities.com/eoy_zero/mas_para_mi.jpg' border='0' alt='user posted image' />
lol. I understood the error more than him trying to explain it all.Charles wrote: the error tells you exactly what's wrong lol
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia
</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.

-
- noob
- Posts: 11
- Joined: Thu Aug 17, 2006 5:34 am
The only thing that entendi is that the function is not 4 parameters, and they show this way the fix, but it does not explain like to solve it
<b><i>ZeroEoyPnk</i></b><br><img src='http://ar.geocities.com/eoy_zero/mas_para_mi.jpg' border='0' alt='user posted image' />