Hallo. Ich hab ein kleines Problem.
Ich hab ein kleines Problem. Ich hab ein Script erstellt, das mich in eine Seite einloggt (POST PACKET) und auf einen Button klickt (POST PACKET). Wenn man auf diesen Button drueckt, erwirbt man etwas und bekommt z.B Items. Nachdem ich den Button gedrueckt habe, bekommt ich noch ein Get Packet. Allerdings weis ich nicht wie ich es in mein Script einbauen kann.
Infos : Es handelt sich um das Spiel 4Story (Privat Server).
ich bezweifle das es sich hierbei um korrekte cookies handelt.
zu deiner eigentlichen frage:
TCPSend(...) Sendet Packet
TCPRecv(...) Empfängt Packet
das ganze wäre am besten über zustände steuerbar.
so sollte es problemlos möglich sein gleichzeitig senden und empfangen zu können =)
Danke dir fuer die schnelle antowort, aber was meinst du mit "keine korrekte cookies" ? Ich hab die cookies entfernt. Hab gehoert, durch cookies kann man sich in Foren einloggen ^^
Danke dir fuer die schnelle antowort, aber was meinst du mit "keine korrekte cookies" ? Ich hab die cookies entfernt. Hab gehoert, durch cookies kann man sich in Foren einloggen ^^
First of all TCPSend() only sends raw data. Your trying to send a HTTP header. You will need a HTTP UDF and use the functions in it in order to make your script work.
PHP Code:
#include "WinHttp.au3"
Opt("MustDeclareVars", 1)
; Open needed handles Global $hOpen = _WinHttpOpen() Global $hConnect = _WinHttpConnect($hOpen, "msdn.microsoft.com") ; Specify the reguest: Global $hRequest = _WinHttpOpenRequest($hConnect, Default, "en-us/library/aa384101(VS.85).aspx")
; Send request _WinHttpSendRequest($hRequest)
; Wait for the response _WinHttpReceiveResponse($hRequest)
Global $sHeader = _WinHttpQueryHeaders($hRequest) ; ...get full header
First of all TCPSend() only sends raw data. Your trying to send a HTTP header.
first of all, he's trying to send a string. if you check the helpfile, you'll see, that TCPSend is infact able to handle and send strings used in the data parameter:
Quote:
Originally Posted by Autoit HelpFile
TCPSend ( mainsocket, data )
parameter
content
mainsocket
The connected socket identifier (SocketID) as returned by a TCPConnect function.
[Packets] Wie änder ich flyff packets? 07/16/2011 - Flyff Private Server - 19 Replies HeyHo,
Ich würde sehr gerne wissen wie man die Flyff Packets ändert...
ich denke mal Zahlen ändern werden nicht ausreichen oder?
[Hilfe] Packets Mob Walk 06/03/2009 - Kal Online - 32 Replies Hello all,
after arround 4-5 Hours of hard learning, my bot works very simple.
Now i try to fix, that my Bot beheads all died mobs arround me...
There should be something like a range arround 50.
For Pick, it works. difference between x,y and some math ^^.
After a Mobs spawn / apear, i get x,y coords. But they walk arround. And thats the Problem. I recive 1 Packet (for exampe: Mob move: x=2 y=4) 3-4 times. How can i fix that problem?
My Try:
if(lastMoveId!=id || lastMoveX != x ||...
packets fürs mixen hilfe pls 10/12/2008 - Kal Online - 3 Replies hi
ich brauch hilfe bei den packets:
BYTE MIX = {0x62, G40weap, Armor, Weapon, medicine, money};
woher bekomme ich die IDs fürs g40 weapon und den rest?
danke für alle hilfreichen antworten, alle die nich helfen wollen und nur ihren senf dazu geben möchten, lasst es einfach sein, danke