[Src]->Friends List.
i dont work on it cuz havent time and server goes down and now its playing 5-6 ppl.
<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)
-
- Outpost bitch
- Posts: 517
- Joined: Sat Nov 19, 2005 9:07 pm
- Location: I watch gay porn
- Contact:
LOL ... lets prefer to say that your a fucking idiot that doesn't shared nothingDrajwer wrote:cuz u stupid faggot didnt read all code.€M4NU€L wrote: I think why it doesn't work cuz Drajwer didn't post the Server Side codes...
its saved in contents/friendlist.txt.
I dont put all codes correctly, but make it work its just add/move one line and its working. Copy&Paste sux.
<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.
hahahha
lets see ur sharings.
lets see ur sharings.
<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)
void LoadFriendList();//drajwer -friendlist
void SaveFriendList();//drajewr -friendlist
void DrawDialogBox_FriendList(short msX, short msY);//43
void DlgBoxClick_FriendList(short msX, short msY); // 43 - drajwer
char m_cFriends[13][10];
int m_iTotalFriends;
int m_iFriendIndex;
int m_iFriendIndex2; //dunno about that but its work
I THINK THIS IS THE PROBLEM! drawjer can u plz explain me whats the problem whit thAT? :huh:
PD: i am ur FAN NUNBER ONEEEEEEEE
DRAWJER RULZZZZZZZZZZZZZZZZZZZZZ
void SaveFriendList();//drajewr -friendlist
void DrawDialogBox_FriendList(short msX, short msY);//43
void DlgBoxClick_FriendList(short msX, short msY); // 43 - drajwer
char m_cFriends[13][10];
int m_iTotalFriends;
int m_iFriendIndex;
int m_iFriendIndex2; //dunno about that but its work

I THINK THIS IS THE PROBLEM! drawjer can u plz explain me whats the problem whit thAT? :huh:
PD: i am ur FAN NUNBER ONEEEEEEEE
DRAWJER RULZZZZZZZZZZZZZZZZZZZZZ
"Prefiero morir de pie que vivir arrodillado"
put codes exacly and add loading on the updatescreen_loading... and there is no problem.
<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)
-
- Loyal fan
- Posts: 216
- Joined: Wed Apr 19, 2006 12:19 am
you all need to lay the fuck off him€M4NU€L wrote:LOL ... lets prefer to say that your a fucking idiot that doesn't shared nothingDrajwer wrote:cuz u stupid faggot didnt read all code.€M4NU€L wrote: I think why it doesn't work cuz Drajwer didn't post the Server Side codes...
its saved in contents/friendlist.txt.
I dont put all codes correctly, but make it work its just add/move one line and its working. Copy&Paste sux.
<img src='http://img114.imageshack.us/img114/8618 ... 2dy3lx.jpg' border='0' alt='user posted image' />
you're really much more an idiot... there is not any server-side code... everything is handled cliend-side damn noob !€M4NU€L wrote:LOL ... lets prefer to say that your a fucking idiot that doesn't shared nothingDrajwer wrote:cuz u stupid faggot didnt read all code.€M4NU€L wrote: I think why it doesn't work cuz Drajwer didn't post the Server Side codes...
its saved in contents/friendlist.txt.
I dont put all codes correctly, but make it work its just add/move one line and its working. Copy&Paste sux.
The only server-side friendslist is mine, but it's not finished yet cuz i'm also working on new NPCs, Items and spells. I still have a huge amount of work before openning a server

<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 just worked a little bit more on the friends list, and the first features works :
- add a friend
- remove a friend
- Show friends list + status
- Show friend's infos when click on name
- Update friends list + status everytime a player logs in / out
I still have to add a new dialogbox to ask other peoples to become a friend and some GM stuff + buttons to add / remove / whisp / mail friends

- add a friend
- remove a friend
- Show friends list + status
- Show friend's infos when click on name
- Update friends list + status everytime a player logs in / out
I still have to add a new dialogbox to ask other peoples to become a friend and some GM stuff + buttons to add / remove / whisp / mail friends


<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 !
-
- Loyal fan
- Posts: 216
- Joined: Wed Apr 19, 2006 12:19 am
you work too hard diuuudediuuude wrote: I just worked a little bit more on the friends list, and the first features works :
- add a friend
- remove a friend
- Show friends list + status
- Show friend's infos when click on name
- Update friends list + status everytime a player logs in / out
I still have to add a new dialogbox to ask other peoples to become a friend and some GM stuff + buttons to add / remove / whisp / mail friends
![]()
<img src='http://img114.imageshack.us/img114/8618 ... 2dy3lx.jpg' border='0' alt='user posted image' />
The list is a bit ugly but as i see its working as it should

<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)
Btw maybe someone could help me. I have studied only C programming language, but c++ is much different than c.
mkay - lets go to the point.
Can anyone help me a little bit..
I think that this code is just fucked up, and my brain doesn't take it anymore..So I ask help...
I already solved my problem
mkay - lets go to the point.
Can anyone help me a little bit..
I think that this code is just fucked up, and my brain doesn't take it anymore..So I ask help...
Code: Select all
void CGame::LoadFriendList() //some polish friends helped me.
{
char buf[1024];
int konieclinii;
unsigned long linie=0;
FILE* f=fopen("contents\\FriendList.txt","rt");
m_iTotalFriends=0;
while(fgets(buf,1024,f)){
konieclinii=0;
int i=strlen(buf);
if(i>0 && buf[--i]=='\n'){
buf[i]=0; // kasujemy znak konca linii
konieclinii=1;
linie++;
}
if (linie-1<13) {
strcpy(m_cFriends[linie-1],buf);
m_iTotalFriends++;
}
}
if (m_iTotalFriends>12) m_iTotalFriends=12;
fclose(f);