Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client program segfault #1

Open
shellcoder641 opened this issue Sep 25, 2019 · 12 comments
Open

client program segfault #1

shellcoder641 opened this issue Sep 25, 2019 · 12 comments

Comments

@shellcoder641
Copy link

I tried testing the program by creating a room and have another user join, but when the other user issue the command -join room_name, the client program segfault and exit.

@mach1el
Copy link
Owner

mach1el commented Oct 9, 2019

did u change anythings ?

@shellcoder641
Copy link
Author

No, I didn't. I ran the program as is. I think it's the problem with pyqt

@mach1el
Copy link
Owner

mach1el commented Oct 9, 2019

u might setup a new machine on virtualbox and try it again,dont try both in the same machine

@shellcoder641
Copy link
Author

I guess so, but I have some suggestions for it: like when a user connects to the server, the client should show some tips and commands so they know how to create a room or other things.

@shellcoder641
Copy link
Author

Oh hey I just got a segfault again. So this is what I did: start the server first, let the 2 users connect to the server. User 1 created a room called hacking. User 2 attempted to join then both segfault, leading to the server segfault.

@mach1el
Copy link
Owner

mach1el commented Oct 9, 2019

I guess so, but I have some suggestions for it: like when a user connects to the server, the client should show some tips and commands so they know how to create a room or other things.

actually i made that when user send msg when them not joined in room chat.

@mach1el
Copy link
Owner

mach1el commented Oct 9, 2019

Oh hey I just got a segfault again. So this is what I did: start the server first, let the 2 users connect to the server. User 1 created a room called hacking. User 2 attempted to join then both segfault, leading to the server segfault.

please setup virtual machine dont try in the same machine

@mach1el
Copy link
Owner

mach1el commented Oct 9, 2019

i tested it and everything run is fine.Make sure about nickname,cause i still not add any funct to detect same nickname,second host:port of server to connect

@shellcoder641
Copy link
Author

I guess so, but I have some suggestions for it: like when a user connects to the server, the client should show some tips and commands so they know how to create a room or other things.

actually i made that when user send msg when them not joined in room chat.

yeah but what if they don't send message? I think its good to just put them there when they first connected so users know what to do.

@shellcoder641
Copy link
Author

i tested it and everything run is fine.Make sure about nickname,cause i still not add any funct to detect same nickname,second host:port of server to connect

yeah they have different nicknames, I used the default host:port.

@mach1el
Copy link
Owner

mach1el commented Oct 9, 2019

I guess so, but I have some suggestions for it: like when a user connects to the server, the client should show some tips and commands so they know how to create a room or other things.

actually i made that when user send msg when them not joined in room chat.

yeah but what if they don't send message? I think its good to just put them there when they first connected so users know what to do.

i made same to hexchat bro :D

@mach1el
Copy link
Owner

mach1el commented Oct 9, 2019

i tested it and everything run is fine.Make sure about nickname,cause i still not add any funct to detect same nickname,second host:port of server to connect

yeah they have different nicknames, I used the default host:port.

default host:port just used for when u test it in same machine,host must change to server's IP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants