Tutorial MW2 Tool | Source

More weird methods of modding?


  • Total voters
    10

Liam

I'm a god
Messages
191
Points
593
Hey ccm,

Here is a tool/source for MW2 for people to LEARN from.
Its coded in Python so before you ask
Noob said:
What do I do with this?
RESEARCH!
Anyway. Here you go.

from socket import *
import struct
import os
import ctypes
import time
#### Developed By Liam ####
#### CabconModding.com ####
ctypes.windll.kernel32.SetConsoleTitleW("P-XBDM | Developed By Liam")
TCP_PORT = 730
CMD = 'setmem addr=0x82104093 data=01\r\n'
def GetSystemIP():
if ask_for_ip != "":
s = socket(AF_INET, SOCK_STREAM)
s.connect((ask_for_ip, TCP_PORT))
s.send(bytes(CMD, "UTF-8"))
data = s.recv(1024)
s.close
clear = lambda: os.system('cls')
clear()
BeginSelection()
def PythonGamerTag():
s = socket(AF_INET, SOCK_STREAM)
s.connect((ask_for_ip, TCP_PORT))
print("Setting Preset Name")
Reset = 'setmem addr=0x838BA824 data=00\r\n'
SendGT = 'setmem addr=0x838BA824 data=5E31492055736520507974686F6E20746F204D6F64\r\n'
s = socket(AF_INET, SOCK_STREAM)
s.connect((ask_for_ip, TCP_PORT))
s.send(bytes(Reset, "UTF-8"))
time.sleep(0.5)
s.send(bytes(SendGT, "UTF-8"))
data = s.recv(1024)
s.close
def LiamGT():
s = socket(AF_INET, SOCK_STREAM)
s.connect((ask_for_ip, TCP_PORT))
print("Setting Preset Name")
Reset = 'setmem addr=0x838BA824 data=00\r\n'
SendGT = 'setmem addr=0x838BA824 data=5E334C69616D205E376174205E3643434D\r\n'
s = socket(AF_INET, SOCK_STREAM)
s.connect((ask_for_ip, TCP_PORT))
s.send(bytes(Reset, "UTF-8"))
time.sleep(0.5)
s.send(bytes(SendGT, "UTF-8"))
data = s.recv(1024)
s.close
def MattGT():
s = socket(AF_INET, SOCK_STREAM)
s.connect((ask_for_ip, TCP_PORT))
print("Setting Preset Name")
Reset = 'setmem addr=0x838BA824 data=00\r\n'
SendGT = 'setmem addr=0x838BA824 data=5E354D617474205E363C33\r\n'
s = socket(AF_INET, SOCK_STREAM)
s.connect((ask_for_ip, TCP_PORT))
s.send(bytes(Reset, "UTF-8"))
time.sleep(0.5)
s.send(bytes(SendGT, "UTF-8"))
data = s.recv(1024)
s.close
def PreSetNameMenu():
s = socket(AF_INET, SOCK_STREAM)
s.connect((ask_for_ip, TCP_PORT))
ChooseGT = input("Pick a Preset Name:\n1. Python Mods\n4. Back to Main Menu\n")
if ChooseGT == "1":
PythonGamerTag()
PreSetNameMenu()
if ChooseGT == "4":
BeginSelection()
else:
clear = lambda: os.system('cls')
clear()
BeginSelection()
def BeginSelection():
s = socket(AF_INET, SOCK_STREAM)
s.connect((ask_for_ip, TCP_PORT))
ask_for_option = input("Select an Option:\n1. Preset Name Menu\n2. Laser\n")
if ask_for_option == "1":
PreSetNameMenu()
elif ask_for_option == "2":
GetSystemIP()
else:
print("Invalid Option")
clear = lambda: os.system('cls')
clear()
BeginSelection()
def getIP():
print("Welcome to P-XBDM | Developed By Liam")
global ask_for_ip
ask_for_ip = input("Enter IP to Connect to: ")
if ask_for_ip != "":
s = socket(AF_INET, SOCK_STREAM)
s.connect((ask_for_ip, TCP_PORT))
BeginSelection()
getIP()
[/CODE]

Have fun :0
 
G

Gentle

Guest
Does anyone know what the code actually means? If so tell me and I will pay u 50 bucks (Liam & Matt don't bother.)
 

Top