Just 1 question...the PointCommandHandler addon will be ok to add right just b4 the last } of the function...right b4 it ends right?
[Src]->Friends List.
Nice code Drajwer 
Just 1 question...the PointCommandHandler addon will be ok to add right just b4 the last } of the function...right b4 it ends right?
Just 1 question...the PointCommandHandler addon will be ok to add right just b4 the last } of the function...right b4 it ends right?
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
yep, loco, b4 end.
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
you're a noob...€M4NU€L wrote: I don't understand a shit about where to add the codes![]()
you wouldn't try to code. Noobs like you must leave hb!
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
i think it would be far better is the list is stored server side. Why don't add a struct in the CClient class to store all the friends ? Then add some netmessages like "DEF_REQUEST_FRIENDLIST" and "DEF_REPLY_FRIENDLIST", and send status of your friends (online / offline)
.
I'll work on it this weekend !
Anyways Nice job Drajwer !!!
I'll work on it this weekend !
Anyways Nice job Drajwer !!!
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
lol.... than you so bad to ppl some times hehehe .."Noobs like you must leave hb!" thets why i leaved HB for atm :unsure: :rolleyes:diuuude wrote:you're a noob...€M4NU€L wrote: I don't understand a shit about where to add the codes![]()
you wouldn't try to code. Noobs like you must leave hb!
<img src='http://img357.imageshack.us/img357/505/eyecopy7ng.gif' border='0' alt='user posted image' />
-
Slipknight
- Loyal fan
- Posts: 423
- Joined: Thu Apr 07, 2005 7:53 pm
"Click the character which you want to add.",10); //pointing mode
Nice drajwer.
Nice drajwer.
<img src='http://www.bleachportal.net/interactive ... irjjkt.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/Slipknot%20Fan.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/UT2004%20Player.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/AC%20DC%20Fan.png' border='0' alt='user posted image' /><br>
-
€M4NU€L
- Outpost bitch
- Posts: 517
- Joined: Sat Nov 19, 2005 9:07 pm
- Location: I watch gay porn
- Contact:
Why you insult me ? No reason to ... i just don't know where to add codesdiuuude wrote:you're a noob...€M4NU€L wrote: I don't understand a shit about where to add the codes![]()
you wouldn't try to code. Noobs like you must leave hb!
<span style='color:blue'>Helbreath Thermal</span> <span style='color:green'>BETA</span> <span style='color:red'>Soon</span>:<br><br>www.youporngay.com<br><br><img src='http://img264.imageshack.us/img264/1041 ... piopk7.jpg' border='0' alt='user posted image' /><br><img src='http://img257.imageshack.us/img257/3762 ... eakxj1.jpg' border='0' alt='user posted image' /><br><img src='http://arthur.crepin.free.fr/images/use ... mpsons.png' border='0' alt='user posted image' /><br><img src='http://img329.imageshack.us/img329/5797/pesgamerrr3.gif' border='0' alt='user posted image' /><br><br><u><b>BLACK GAY LIST:</b></u><br><br><span style='color:red'>€M4NU€L</span>:<br>I look like a girl and he's always complaining someone.
-
€M4NU€L
- Outpost bitch
- Posts: 517
- Joined: Sat Nov 19, 2005 9:07 pm
- Location: I watch gay porn
- Contact:
Finally could put codes
but now i dunno where to put this code:
Where do i put that ?
Pointing Command Handler:
Where do i put that ?
Pointing Command Handler:
Code: Select all
else if (m_iPointCommandType == 250)
{ if ((strlen(m_cMCName) == 0) || (strcmp(m_cMCName, m_cPlayerName) == 0) || (m_cMCName[0] == '_')) {
PlaySound('E', 14, 5);
}else
{
PlaySound('E', 14, 5);
memcpy(m_cFriends[m_iTotalFriends],m_cMCName,10);
m_iTotalFriends++;
m_stDialogBoxInfo[43].sV1=0;
SaveFriendList();
return;
} }<span style='color:blue'>Helbreath Thermal</span> <span style='color:green'>BETA</span> <span style='color:red'>Soon</span>:<br><br>www.youporngay.com<br><br><img src='http://img264.imageshack.us/img264/1041 ... piopk7.jpg' border='0' alt='user posted image' /><br><img src='http://img257.imageshack.us/img257/3762 ... eakxj1.jpg' border='0' alt='user posted image' /><br><img src='http://arthur.crepin.free.fr/images/use ... mpsons.png' border='0' alt='user posted image' /><br><img src='http://img329.imageshack.us/img329/5797/pesgamerrr3.gif' border='0' alt='user posted image' /><br><br><u><b>BLACK GAY LIST:</b></u><br><br><span style='color:red'>€M4NU€L</span>:<br>I look like a girl and he's always complaining someone.
search ::PointCommandHandler then there is
change it to
Code: Select all
}else if (m_iPointCommandType == 200)
{ if ((strlen(m_cMCName) == 0) || (strcmp(m_cMCName, m_cPlayerName) == 0) || (m_cMCName[0] == '_')) {
m_stDialogBoxInfo[32].cMode = 0;
PlaySound('E', 14, 5);
AddEventList(POINT_COMMAND_HANDLER1, 10);
}else
{ m_stDialogBoxInfo[32].cMode = 3;
PlaySound('E', 14, 5);
ZeroMemory(m_stDialogBoxInfo[32].cStr, sizeof(m_stDialogBoxInfo[32].cStr));
strcpy(m_stDialogBoxInfo[32].cStr, m_cMCName);
bSendCommand(MSGID_COMMAND_COMMON, DEF_COMMONTYPE_REQUEST_JOINPARTY, NULL, 1, NULL, NULL, m_cMCName);
return;
}
}
}Code: Select all
}else if (m_iPointCommandType == 250)
{ if ((strlen(m_cMCName) == 0) || (strcmp(m_cMCName, m_cPlayerName) == 0) || (m_cMCName[0] == '_')) {
PlaySound('E', 14, 5);
}else
{
PlaySound('E', 14, 5);
memcpy(m_cFriends[m_iTotalFriends],m_cMCName,10);
m_iTotalFriends++;
m_stDialogBoxInfo[43].sV1=0;
SaveFriendList();
return;
} }