oldfart, you need to use steamclient.dll. If you need help, join @ irc.rizon.net #rev-crew and I will be glad to help
oldfart,
maybe you should join the channel again sometimes so we can see how to get rid of that "no permissions to run 'game'" message.
I am now online so if you are around, hop in
oldfart, I'm waiting for you ;]
I'll be over to hassle you shortly - sorry about the delay.Uncle D said:You should join the channel whenever you get the chance, and just leave me a PM. (my nickname will always be there) I try to visit it regularly so when I'm not AFK, I can see all private messages.
Hmm, See now you've gone and piqued my interest... Why'd you have to go and do that...
hey, are we gonna make it happen or not
Looking really promisingCan files be transferred over this p2p?
// ---> ------------------------ <---
// ---> Windows Type Structures <---
// ---> ------------------------ <---
typedef struct TWinSessionEndPoint_Tag {
CString csWinIpAddress;
int nWinPort;
} TWinSessionEndPoint, TWSEP, * PTWSEP;
BOOL CP2PClient::SetHostParameters( HWND hWndParent,
LPCTSTR pszUsername,
LPCTSTR pszPassword,
TWSEP &rtLocalPrivateSep,
CEvent *pEvTerminated )
BOOL CP2PServer::SetHostParameters( HWND hWndParent,
TWSEP &rtServerPrivateSep,
CEvent *pEvTerminated )
------------------------------------------
[ ] UDP Hole Punching
[X] Common
[X] Keep Alive
[X] Definition
[X] Debug
[X] Packet
[X] Set KeepAlive - Create Packet
[ ] RU There
[ ] IAM HERE
--------------------------------------
[ ] Server CWinThread
[X] Start Thread
[X] Stop Thread
[X] Remove timed out sessions
[ ] Retransmit unacknowledged messages
[X] Server Socket
[X] Client Session Array
[X] Add Session
[X] Remove Session
[X] Repeat Tx
[^] Register Request
[X] Rx Register
[X] Ack - All Ok
[X] NAK
[X] Logged In same username diff't password
[X] Logged in Same username password - diff't SEP
[ ] Different username same SEP
[ ] Connect Request
[ ] Validate
[ ] Ack
[ ] Nak
[ ] Contact Peer
[ ] Tx Peer Connect Request - use "Call me"
[ ] Contact requestor
[ ] Tx Peer Connect Request - use "RU There"
[ ] Relay Peer Message - use server's connection
------------------------------------------------------------
[ ] Client CWinThread
[ ] Add States
[ ] Idle
[X] Setup Done
[X] Client Started ... Ready .. Server Started
[X] Registering
[X] Registered
[X] Keep-Alive every ? x seconds to server
[X] Requesting Peer Connect ... Request Peer Connect
[X] Keep-Alive every ? x seconds to server
[X] Attempting Peer Connect
[X] Keep-Alive every ? x seconds to server
[^] Peer Connected
[X] Keep-Alive every ? x seconds to server
[ ] Keep-Alive every ? x seconds to Peer
[X] Start Thread
[X] Stop Thread
[ ] Remove timed out sessions
[X] Retransmit unacknowledged messages
[X] Client Socket
[X] Peer Session Array
[X] Add Session
[X] Remove Session
[X] Repeat Tx
[X] Register Request
[X] Tx Register
[X] Process Ack
[X] Process Nak
[X] Duplicate name and different IP
[X] Duplicate name and different Password
[X] Process Timo
[ ] Connect Request
[ ] Tx Connect Request
[ ] Process Ack
[ ] Process Nak
[ ] Not Exist
[ ] Yourself ?
[ ] Process Timo
[ ] Peer Connect Request - Unsolicited
[ ] Send Ack/Nak - maybe Ack only
Public Class clientData
Public Structure CClient
Public socket As Socket
Public thread As Thread
Public c_filename As String
Public c_command As String
Public c_dataHolder As String
Public c_fileTransfer As Boolean
Private c_isAdmin As Boolean
Public Property c_isAdminProperty() As Boolean
Get
Return c_isAdmin
End Get
Set(ByVal value As Boolean)
c_isAdmin = value
End Set
End Property
Public c_filesize As Int64
Dim c_authenticated As Boolean
Public c_address As String
Public c_uid As String
Public c_conTime As String
Public c_conId As Integer
End Structure
End Class
Module Module1
Private g_DataHolder As New Hashtable()
Function unAuth() Handles unAuthTimer.Elapsed
Dim client As CClient
Try
For Each item In g_DataHolder
Dim dataItem As DictionaryEntry
dataItem = item
client = CType(g_DataHolder(dataItem.Key), CClient)
If client.c_conTime < Date.Now.AddMinutes(-1) Then
Debug("Account expired")
g_DataHolder.Remove(dataItem.Key)
End If
Next
Catch ex As Exception
End Try
End Function
End Module
// ---> --------------- <---
// ---> Time Out Values <---
// ---> --------------- <---
#define P2P_CLEANUP_TICK 1000L // Cleanup granularity
#define P2P_CLEANUP_TIMO P2P_CLEANUP_TICK * 20
#define P2P_SERVERKEEPALIVE_TIMO P2P_CLEANUP_TIMO / 4
#define P2P_CLIENTRETRY_TICK 1000L // Retry Rx/Tx granularity
#define P2P_CLIENTRETRY_TIMO P2P_CLIENTRETRY_TICK * 5 // Tx ack/Nak Timo
#define P2P_PEERKEEPALIVE_TIMO 15000
Looks good, hopefully that all works the first time.
Now we just have to find you a skinning system to make the GUI more sleek than the generic windows themes.
i think that when you are letting people "borrow" accounts that it should automatically log in with the username and password so that the person never actual sees it so they wouldn't be able to steal it at all. it should all be automatic through the program.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?