Jump to content

ludics

Active Members
  • Posts

    34
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ludics's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thanks, helped me a lot to the anti-cheat...
  2. Any idea or solution...
  3. Any idea or solution...
  4. #include "TCP.au3" ToolTip("SERVER: Creating server...",10,30) $hServer = _TCP_Server_Create(88); A server. Tadaa! _TCP_RegisterEvent($hServer, $TCP_NEWCLIENT, "NewClient"); Whooooo! Now, this function (NewClient) get's called when a new client connects to the server. _TCP_RegisterEvent($hServer, $TCP_DISCONNECT, "Disconnect"); And this,... this will get called when a client disconnects. While 1 WEnd Func NewClient($hSocket, $iError); Yo, check this out! It's a $iError parameter! (In case you didn't noticed: It's in every function) ToolTip("SERVER: New client connected."&@CRLF&"Sending this: Bleh!",10,30) _TCP_Send($hSocket, "Bleh!"); Sending: "Bleh!" to the new client. (Yes, that's right: $hSocket is the socket of the new client.) EndFunc Func Disconnect($hSocket, $iError); Damn, we lost a client. Time of death: @Hour & @Min & @Sec :P ToolTip("SERVER: Client disconnected.",10,30); Placing a tooltip right under the tooltips of the client. EndFunc in the function "ToolTip("SERVER: Client disconnected.",10,30); Placing a tooltip right under the tooltips of the client." As you can get the ip of the user disconnects ? I tested with "_TCP_Server_ClientIP()" but it does not work and the result is 0 Any idea or solution...
  5. Func Disconnect($hSocket, $iError); Damn, we lost a client. Time of death: @Hour & @Min & @Sec :P ToolTip("SERVER: Client disconnected.",10,30); Placing a tooltip right under the tooltips of the client. EndFunc As you can get the ip of the user disconnects =? _TCP_Server_ClientIP() not found
  6. CREATE TABLE IF NOT EXISTS `Server_Sscreens` ( `SscreensID` int(11) NOT NULL AUTO_INCREMENT, `SteamID` varchar(255) NOT NULL DEFAULT '', `Ssdate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `FileName` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`SscreensID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; As you can get a list of all columns in a MsgBox Example: 1|0:13132154|12:12:12|text.txt 2|0:13132154|12:12:12|text.txt 3|0:13134154|12:12:12|text.txt
  7. Ok, obtained thanks for the information.
  8. I am Spanish, I leave in my language and translate Bueno la cuestión es que tengo un servidor en Pawn y otro en Autoit, digamos que quiero hacer la comunicación entre ambos, por lo tanto: Pawn => por ejemplo envió hola al servidor Autoit y este lo recibe en binario 01010011000000000000, por lo tanto lo convierto con BinaryToString y entonces saco la palabra bien hola. Autoit => envió una palabra hola y este cuando llega al servidor de Pawn lo que recibe es 114 es decir que es o como puedo hacer para que ese 114 se convierta en hola es que no se si es por debería enviar hola en binario y lo e probado y nada o es que trabajan con otro tipo de socket, pero e probado con TCP y UDP, en STREAM Creo que pasa algo parecido con las comunicaciones entre Java y Autoit, yo creo que el problema esta en el tema de la codificación, sabe alguien como arreglar el tema.
  9. that already, the connection ago the problem comes when shipment that this sends but shipment " hol" it leaves codified " 114"
  10. "pawn" is a simple, C-like, language. here If they have not heard speak I suppose that they will not have any idea The unique thing that I can say is that: Pawn: UDP the answer is in binary, but the question leaves codified in another language.
  11. I feel my English it is not very good and it is the unique resource that I have, I look for the way solely that the answer by TCP of Autoit can read Pawn.
  12. someone can help me, whether or not it is possible and if possible would have to do as =?
  13. I need to connect a servant of Autoit to Pawn, the answer of Pawn to Autoit the coat by means of " BinaryToString the problem comes when it attempt the other way around, that what sent does not leave as it waited for if for example it did not send hello and the answer is 114 There would be some form to communicate Autoit to Pawn?
  14. good game, thank you very much for everything ...
  15. you see no result $VALUE = "123456789" $SID = $VALUE / 2 $SID1 = $VALUE * 2 $STEAMBIT=0 if not ($SID1 == $VALUE) then $STEAMBIT=1 Sleep(250) MsgBox(4096, "Program files are in:", "STEAM_0:"&$STEAMBIT&":"&Round($SID, 1)) STEAM_0:1:61728394
×
×
  • Create New...