Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 [FP]Chat Client Advanced++, Not text based. Sexy looking! 8)
Index -> Programming, Turing -> Turing Submissions
Goto page Previous  1, 2, 3, 4, 5, 6  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
JayLo




PostPosted: Thu Jan 22, 2004 6:20 pm   Post subject: (No subject)

sympathy bits for jaylo?
Sponsor
Sponsor
Sponsor
sponsor
Andy




PostPosted: Thu Jan 22, 2004 8:19 pm   Post subject: (No subject)

+16 bits to jaylo
DanShadow




PostPosted: Thu Jan 22, 2004 10:02 pm   Post subject: (No subject)

hmm...in the universe, everything must be balanced. EVEN bit giving!
-9999999 bits
muahaha...
lol, just j oking
icemaster




PostPosted: Fri Jan 23, 2004 11:21 am   Post subject: (No subject)

templest all you had to do is type in View.Set in the index of the help file . . . LOL


EDIT~!
templest! fix your client! Evil or Very Mad Evil or Very Mad Evil or Very Mad it has the error, where it does not get messages, honestly, it's not hard to fix, i already tried to explain it to u. . . fix it!
JayLo




PostPosted: Fri Jan 23, 2004 2:42 pm   Post subject: (No subject)

woot. sympathy bits rock. Puppy Dog Eyes
icemaster




PostPosted: Fri Jan 23, 2004 3:36 pm   Post subject: (No subject)

here is the moment everyone has been waiting for~~~! 8) 8) 8) 8)

the code for the multichat server in turing, this version is very stable, and if there are any problems let me know asap, and remember, this site is educational, credit me for my code
thoughtful




PostPosted: Fri Jan 23, 2004 8:46 pm   Post subject: (No subject)

Ey , very nice. What i would like to see is emoticons and simmilar stuff, maybe colored nicknames. The emoticons can be done by searching for a pattern in the string. I am not that familiar with the NET commands in turing so i dont know if it would allow you to transfer any images, otherwise you would have to give the images with the client.

But anyways i must say a job well done.
+10 Bits
Andy




PostPosted: Fri Jan 23, 2004 9:16 pm   Post subject: (No subject)

nicely done... although u could have made it so that you dont have to set the number of ppl before hand...

+20 bits
Sponsor
Sponsor
Sponsor
sponsor
icemaster




PostPosted: Fri Jan 23, 2004 10:24 pm   Post subject: (No subject)

templest and i actually already thought of both of those, first:
sending pics is very difficult as the only way is to read the file in and send it over the network, but non ascii characters are part of a pic file, we are working on it and nearly there.

as for the number of clients at the beginning, i purposly put that there so the server could be more flexible, like for instance, a person wants to quickly make a small server to chat with his 6 friends. why would i make it wait for more connections when they are not neccesary? haha and also the person might want 20 or 30 clients, i did that to make it more flexible,

i even used to get the starting port number, but i realized that that's a wast of time cuz as long as u pick a port not reguraly used, most ports after will not be in use either, well except for our occasional hacker lol.

EDIT~1
oh and emoticons are possible, it's just drawing them. . . i was thinking of drawing them in a GUI canvas cuz its easier. besides as far as i know it's impossible to draw pics in a text box
icemaster




PostPosted: Fri Jan 23, 2004 10:25 pm   Post subject: (No subject)

oh and thanks for the bits SmileVery Happy bits are always welcome
McKenzie




PostPosted: Fri Jan 23, 2004 11:33 pm   Post subject: (No subject)

Pardon me for not reading all of the flame on this post. I looked over the program, looks good. Just wanted to add my 2 cents about sending pictures as text. You can use the old takepic/drawpic combo. I was playing around with it for your problem, looks like:
code:

proc picToASCII(buff:array 1..* of int,var aBuff : array 1..* of string(11))
    for i:1..upper(buff)
        aBuff(i) := intstr(buff(i))
    end for
end picToASCII

proc ASCIIToPic(aBuff : array 1..* of string(11),var buff:array 1..* of int)
    for i:1..upper(buff)
        buff(i) := strint(aBuff(i))
    end for
end ASCIIToPic

for i: 1..50
    drawfillstar(Rand.Int(1,255),Rand.Int(1,255),Rand.Int(1,255),Rand.Int(1,255),Rand.Int(1,255))
end for

var buff,buff2 : array 1..sizepic(0,0,50,50) of int
var aBuff : array 1..upper(buff) of string(11)
for i:1..upper(buff)
    buff(i):=0
end for

takepic(0,0,50,50,buff)
picToASCII(buff,aBuff)
ASCIIToPic(aBuff,buff2)
cls
drawpic(0,0,buff,0)
drawpic(100,0,buff2,0)

This is a simple test program that I show how I can translate a picture into an array of int then an array of string, then back again without any loss.
templest




PostPosted: Sat Jan 24, 2004 3:10 pm   Post subject: (No subject)

wow Mc, for sure that's going into the next version. Thanks!
+All my Bits
McKenzie




PostPosted: Sat Jan 24, 2004 3:20 pm   Post subject: (No subject)

No need for bits (tell be how many, I'll refund). I deal in intangibles like respect and satisfaction. Besides I find little problems like that fun, Like solving a puzzle.
icemaster




PostPosted: Sat Jan 24, 2004 3:30 pm   Post subject: (No subject)

wow Very Happy thanks alot, this will work, i know for sure!!

i am implementing this now

i will be sure to credit you for your help, ur name is now in the comments for the makers of my server:DVery HappyVery Happy
templest




PostPosted: Mon Jan 26, 2004 11:59 am   Post subject: (No subject)

no need to refund, it was 2 bits. Razz (which I'll regain by making this post).

PS: I am working on an "About" window, so the world can see you helped us with that, not just developers! Twisted Evil
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 4 of 6  [ 76 Posts ]
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Jump to:   


Style:  
Search: