Jump to content

Ras

Active Members
  • Posts

    1106
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Ras

  1. nu te-am blestemat :@ :@ trebuia sa il vinzi in ziua aia :@ :@
  2. Ras

    decembrie

    merita sa puna pt ca ar arata mai misto
  3. This file has been deleted. Goob la tine cum mai merg ? :@
  4. Ras

    decembrie

    imi place cum ninge pacat ca nu ninge in bucuresti
  5. pai daca nu e de la baterie ori e de la telefon ori de la incarcator..... cel mai bine schimbi telefonu'
  6. thx flyppy am modificat acum
  7. tu vrei sa fie un buton pe care sa apesi si gata site-ul sa fie al tau ?? :@ :@
  8. you can upload the programs in http://share.urbanfriends.us/ ??
  9. cel mai bine dupa parerea mea este sa folositi http://share.urbanfriends.us/
  10. asta trebuia sa il postezi la ajutor....nu la scamuri :@
  11. nu imi merge linku' poti sa uploadezi pe urbanfriends sau in alta parte? pls
  12. vinde-ti 3650 si cumpara-ti alt telefon
  13. salut! esti cumva Rap']['or sau Shady ?
  14. Ras

    hy

    cred ca ai gresit sectiunea.... ai postat la programe hack...
  15. This is the best tutorial about Visual Basic, this tutorial is very long... Format: PDF Document Link: http://www.rapidshare.ro/download.php?id=inBKLMcjX6pIJtaUL7d3
  16. este un mic programel , el arata cam asa: v-am pus programul aici: sursa'>http://share.urbanfriends.us/savefile_php/uploads/f54284ed37.rar sursa programului: http://share.urbanfriends.us/savefile_php/uploads/4244a9608d.zip
  17. This tutorial will teach you how to use the Winsock control to make chat programs, multiplayer games, email checkers, and anything else that uses Winsock! Winsock is a communications 'thingy' that lets you communicate with other computers via network/internet. Using TCP/IP or UDP protocols, you can send data from one computer to another. We will be using the Winsock control with visual basic. First, open up visual basic, then add the Winsock Control. I also assume that you know what a port is... Add one to your form. Now, make 2 command buttons. Label one 'Connect' and the other 'Host'. Under the 'connect' button, add the following code: Host = inputbox("Enter the host's computer name or ip address:") Port = inputbox("Enter the host's port to connect to:") Winsock1.connect host, port That code let you specify the host computers name/ip address, and the port to connect to on it. Now, add the following code to the 'Host' button. Port = inputbox("What port do you want to host on?") Winsock1.localport = Port Winsock1.Listen If you were to click the 'host' button, it would activate the server and wait for somebody to try to connect. Now, double click the Winsock control and go to the sub 'winsock1_ConnectionRequest'. Under that ' , put this code. if winsock1.state <> sckclosed then winsock1.close 'Got to do this to make sure the Winsock control isn't already being used. winsock1.accept RequestID That code simply let the client connect. Now, add a 3rd button to the form and call it 'Send'. Under it, add this code. Text = inputbox("Send what text?") winsock1.senddata text When you click that, it sends data to the other computer, no matter if you are the host or the client. You need a way to receive this data on both, so double click the Winsock control, then go to the 'winsock1_RecieveData' sub (or something like that). Put in this code. winsock1.getdata(data,vbstring,bytestotal) or is it winsock1.getdata data,vbstring,bytestotal? I think I might be mixing c++ syntax w/ visual basic msgbox Data This displays the data that the other user sent you. I guess I really didn't go in depth with this article, but it is all REALLY simple. Maybe you want to send player coordinates if you are making a multiplayer game, or send messages if it's a chat program that you want to make. Doesn't really matter. To test this program, compile it, then open 2 instances of it. in one, click the 'host' button and enter the port 100 (Ju ' st because. You could do any port you want (1 to 1000 or higher!)) In the other one, click 'Connect' Then type in 'Localhost' for the server, and the port should be, guess what, 100! This will create a loop, and you will connect to your self. On one of the instances, click send, then type in a message. No, don't just type in any message, type 'Hello World!'. How original is that? Click OK, then a message box from the other instance should pop up with the same message. You could also use 127.0.0.1 for the host instead of Localhost, because that is the same thing as Localhost, only in an IP address. I guess this doesn't TEACH you how to make multiplayer games, but at least you know how to now...
  18. trebuie sa iau cateva e bartai lista aici :@ THX
  19. Ras

    programul tau ! ;p

    la 7 ma trezesc pe la 7:40 plec la scoala la 14:15 sunt acasa aprind calculatoru, ma duc sa mananc stau pe la calculator pana pe la 18:00 ma duc p'afara vin pe la 21:00, mananc mai stau la calculator si ma culc :@
  20. Ras

    Flooder

    tocmai ce l-am dowlowadat. acum il incerc sper sa mearga THX uite aici pe urban: http://share.urbanfriends.us/savefile_php/uploads/70042135fe.rar
  21. puteti sa il uploadati si pe rapidshare sau in alta parte..... ca nu merge sa il dowlowadez de pe situ ala
  22. SpiridusuCaddy say's you make a post hunting :@
  23. link: programul'>http://www.rapidshare.ro/download.php?id=1EVcTVgGmYDhulg3yyud programul nu este facut de mine, am luat sursa de pe un site sper sa va foloseasca la ceva
  24. Ras

    DFG

    salutare !
  25. acum l-am instalat sper sa fie ceva de programu' asta THX
×
×
  • Create New...