ok i edit cause old problem solved :) New problem though :(
All the globals are wrong, there supposed to be declaring function names but how would I do this in VB.Net? I mean instead of Global it should be what?
Code:
Module mdl_Proxy
recv_key(1, 256)
Global send_key(1, 256)
Global cl_recv_countr(1), cl_send_countr(1), sv_send_countr(1), sv_recv_countr(1)
Global listen_port, server_ip, server_port, game_port, game_ip
Global keye3, keye4
Global first_game_packet, first_game_packet2
Global g_accid
Dim tpr As String
Global skill_time, jump_time, b1
Global invent(5000), invent_count
Private Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long
Private Declare Function timeGetTime Lib "winmm.dll" () As Long
Public Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As Object, ByVal lpBuffer As Object, ByVal nSize As Long, ByVal lpNumberOfBytesWritten As Long) As Long
Global prv_plyr
Global globalBCrecv
Global bc(20, 3)