Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
sameh_zaky #1
Member since May 2008 · 8 posts · Location: Egypt
Group memberships: Members
Show profile · Link to this post
Subject: I can not join chat room
hi every body,
i use "MiniClient" but i can not join my chat room
in the event "joinToolStripMenuItem_Click"
the condition "if (node != null && node.Level == 1)"
is always node.Level = 0 not 1 so the program exit the routine

i use the example to connect to client to each other
this operation succeeded
but my problem in the joining of the char room

please help me
  :nuts:
Avatar
Alex #2
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Did you browse a server for available chatrooms and selected a room when you press the join button?

Alex
Avatar
sameh_zaky #3
Member since May 2008 · 8 posts · Location: Egypt
Group memberships: Members
Show profile · Link to this post
hi Alex,
thanks for your replay,
i add my chat room name in the "ChatServers.xml" file
and try to join it but

in the event "joinToolStripMenuItem_Click"
the condition "if (node != null && node.Level == 1)"
is always node.Level = 0 not 1 so the program exit the routine

are there any thing wrong i did it?
 :huh:
thanks
Avatar
sameh_zaky #4
Member since May 2008 · 8 posts · Location: Egypt
Group memberships: Members
Show profile · Link to this post
hi Alex,
i found the problem,i put the chat room name directly in the xlm file,
now i write the server name then press find rooms to find all rooms
then we can join the room
 :-D  :-D  :-D  :-D
Avatar
Alex #5
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
exactly, just wanted to attach a screenshot of my MiniClient ;-)

Alex
Avatar
rahman #6
User title: RaHmAn
Member since Jun 2008 · 4 posts · Location: Malaysia
Group memberships: Members
Show profile · Link to this post
In reply to post #4
Hi Sameh

I need your help. I do not unserstand what is in your explaination.
For Example, If I have a server called svr.gg.net, and there is a chat room called FPDA,
what is the thing will be written in ther ChatServer.xml?

I tried my time, but failed. Please assist me.
Avatar
Jabberer #7
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post
nothing gets written to the ChatServer.xml.
We just use it in the MiniClient to show you how the xml classes in agsxmpp can be used to read xml config files. There is a small list of public muc servers in ChatServer.xml. You should not use this list for your own software.
Software Developer
AG-Software
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS