Jump to content

can use TCP to send packets ????


 Share

Recommended Posts

hi all

i wondering if i can use TCP function to send packets like -- 07 00 F0 70 88 2A 01 04 2B 27 00 00 00 / 0B 00 F0 70 88 8B 01 04 E8 27 00 00 01 AB F9 9E -- to server ??!

and if the answer is " yes " > how to male it _ just using the TCP(send/received .. etc )function as the help said :/

..... and if the answer is " no " what's is ur suggestion to make it work well !!!!!

>>>> thx foe help XD

Link to comment
Share on other sites

how to male it _ just using the TCP(send/received .. etc )function as the help said :/

Look in the helpfile for TCP/IP functions.

mmmmm ya i saw the helpfile before _ but i didnt find any thing about packets

>-----------------------------------------------------------------------------------------------------------------<

all i need is to know how to send specific packets to server(game server) by AUTOIT to make specific action ...

i can use WPE to send back the packets that i get (what i can do with the packets at this form?_nothing) _ so my idea

is to make a simple script with input box can read the input_packet at it then send it server

>----------------------------------------------------thx---------------------------------------------------------<

Edited by acer20006
Link to comment
Share on other sites

thx for answer_ i made a search before i make a post _ i know how to create server & client & all the other thing which full allover the forum & no one talk about sending packets _ or how to send it directly to sever :)

>>> my real problem is with packets how to send it___ i will explain it at easy way

___ my game called " silkroad online(Korean version)" & i use WPE to get the packets which i send it by button ( buff / skill / ... etc)

the packets came like this " 0B 00 F0 70 88 8B 01 04 E8 27 00 00 01 AB F9 9E" _ all what i wann to know is how to send this packets back by autoit NOT wpe to the server

which code i have to use ????????

Edited by acer20006
Link to comment
Share on other sites

I am a fan of WPE too.

http://www.autoitscript.com/forum/index.php?showtopic=44240&view=findpost&p=329728

http://www.autoitscript.com/forum/index.php?showtopic=95007

:)

im fan of WPE too

-----------------------

you are the man _ i will try it now (i hope it work XD)

ty for help Manadar

& Volly

Edited by acer20006
Link to comment
Share on other sites

mmmmm _ i have some problems at sending packets :)

i made this simple code

$Hex = "0B 00 F0 70 08 31 01 04 E8 27 00 00 01 0B 83 F0 01 "
 $g_IP = "121.254.153.33"
;~ ; Start The TCP Services :
;============================
TCPStartUp()
;~ ; Connect to "SOCKET" :
;=========================
$socket = TCPConnect( $g_IP, 15779 )
If $socket = -1 Then MsgBox (0,"TCP Services","Can't make connection")
TCPSend($socket,$Hex)
;~ ; Shutdown The TCP Services :
;===============================
TCPShutdown ( )

1> but this code didnt make any action at the client or server

2> the checksum get changed over and over _ how can i calculate it at my script to prevent the change ?

0B 00 F0 70 08 31 01 04 E8 27 00 00 01 0B 83 F0 01

0B 00 F0 70 56 91 01 04 E8 27 00 00 01 0B 83 F0 01

this the same packet but this a different checksum _ i can't even send the packet through WPE ( coz of checksum )

now, what i have to do ;) >>>>>>>>>>?

Link to comment
Share on other sites

You have to figure out how the packet is calculated. This is not an AutoIt related question so we can't really help you there.

mmmm so there's no other way to find solution for checksum here (i have to start searching again :) )

>>>> any way _ Manadar how about the code _ is it good ?? or need to modify ??

Link to comment
Share on other sites

thx for replay _ i will make search about checksum and comeback later :)

$hex="07 00 F0 70 88 2A 01 04 2B 27 00 00 00 / 0B 00 F0 70 88 8B 01 04 E8 27 00 00 01 AB F9 9E"

$binary="0x"&stringreplace($hex," " , "")

tcpsend($mysock,$binary)

Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

Link to comment
Share on other sites

$hex="07 00 F0 70 88 2A 01 04 2B 27 00 00 00 / 0B 00 F0 70 88 8B 01 04 E8 27 00 00 01 AB F9 9E"

$binary="0x"&stringreplace($hex," " , "")

tcpsend($mysock,$binary)

are i have to add this code to my script to send packets ?? _ i didnt get it yet :S sry
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...