|
|
#1 (permalink) |
|
GotGames Ninja Admin
|
Well for those who don't know, 'WarMod' is currently a script I'm developing in PHP to help refs and the like, administer CSS matches and tournaments much easier. Including automatic lo3, sourcetv recording and IRC scorebots.
However ! Although PHP fine, it didn't have any type of input, without having an IRC bot pickup commands, which requires internet, which some LAN events will not have. I'd like to develop this into a standalone application: ![]() Basically this is type of application I'm wanting to build, kinda like a miniHLSW. However I need some help, The above was created in Borland Delphi, but I am rather amateur with application programming, and can't figure out how to write an rcon class for this. It is probably better written in another language, but I'm not sure what. Any help or ideas on this would be great, thanks - Twelve-60
__________________
![]() |
|
|
|
|
|
|
|
#4 (permalink) |
|
Pro Member
Join Date: Jun 2006
Age: 19
Posts: 5,593
Rep Power: 8
|
Borland.. nuff said
![]() Theres heaps of socket libraries out there Brendan.. Racs probably used one of them.. like I suggested to you in the first place ![]() chem
__________________
There are no stupid questions... but there are alot of inquisitive idiots. - |
|
|
|
|
|
#5 (permalink) |
|
GotGames Ninja Admin
|
I have a UDP and TCP socket components for delphi
![]() I can receive logs via UDP, but I can't construct a rcon class ![]() Not sure how this pack() function works (took a look at Khaless's php rcon class). Someone make a rcon class for delphi ![]() Edit: Racs you are not on IRC - Twelve-60
__________________
![]() |
|
|
|
|
|
#9 (permalink) |
|
Monster Member
|
Ok sorry, I could help out if it was in Visual Basic. >_>;. I made a radiobot with the mIRC protocol. Thats about as far as my skills go. XD
__________________
AMD 5000+BE@3.21GHZ//2GB OCZREAPER//ATI HD3870@850/1301 ANTEC 900//RAZER TARANTULA//TT TAI-CHI M2//SS 5HV2 XFI #GotGames #MelbCSS #s2.au #Reality.Gaming #TRAiNWRECK melb.lan.net.invite - kto_-[1b] |
|
|
|
|
|
#10 (permalink) |
|
Pro Member
Join Date: Jan 2007
Location: ZULU
Age: 17
Posts: 6,719
Rep Power: 0
|
Visual Basic is becoming easier for me to use. Even though i pay no attention in class and check GotGames for 80 minutes, my teacher loves me!
__________________
odin : atleast i didnt join gotgames in 2009 |
|
|
|
|
|
#11 (permalink) |
|
Monster Member
|
Visual Basic so far at my school is pathetic. Nearly everything I know is self taught or I've nagged people for a bit of help and they've taught me something. My class is learning how to position a ****ing picture box and all ths other lame crap.
__________________
AMD 5000+BE@3.21GHZ//2GB OCZREAPER//ATI HD3870@850/1301 ANTEC 900//RAZER TARANTULA//TT TAI-CHI M2//SS 5HV2 XFI #GotGames #MelbCSS #s2.au #Reality.Gaming #TRAiNWRECK melb.lan.net.invite - kto_-[1b] |
|
|
|
|
|
#12 (permalink) | |
|
Participating Member
|
Quote:
I'll take a quick look at it and see if I can whip something up.
__________________
KeyDecoder This is where I say something witty and original, like this. |
|
|
|
|
|
|
#15 (permalink) |
|
Participating Member
|
If I wasn't so tired, I'd be deeply disturbed by that
WinSock2 for Delphi. Very handy. ftp://ftp.delphi-jedi.org/api/Winsock2.zip <-Deleted very embrassing code->
__________________
KeyDecoder This is where I say something witty and original, like this. Last edited by KeyDecoder; 05-05-2007 at 12:16 PM.. Reason: Removed crap code (Useful tip: never code half-asleep) |
|
|
|
|
|
#16 (permalink) |
|
GotGames Ninja Admin
|
I'm currently using EASY_TCP and EASY_UDP
![]() Which I currently have working fine for logs (as mentioned above), so I'd like to stick with that as its already a class and shall be easy to create an array full of TCP objects for multiple servers ![]() I came up with a combined function with the following: Code:
Packet.String1 := Password + #0; Packet.String2 := ''; Packet.RequestID := 0; Packet.CommandOrResponse := SERVERDATA_AUTH; Packet.PacketSize := SizeOf (Packet); TCPClient.SendData(Packet,Packet.PacketSize); Code:
Packet.String1 := 'sv_password " "' + #0; Packet.String2 := ''; Packet.RequestID := 0; Packet.CommandOrResponse := SERVERDATA_EXECCOMMAND; Packet.PacketSize := SizeOf (Packet); TCPClient.SendData(Packet,Packet.PacketSize); ![]() But thanks, hopefully I can get it working ![]() Feel free to post more ideas - Twelve-60
__________________
![]() Last edited by Twelve-60; 05-05-2007 at 05:52 AM.. |
|
|
|
|
|
#17 (permalink) | |||
|
Participating Member
|
Quote:
Quote:
Quote:
Apologies for a crap code last night, was half-asleep, I really should know better. I'm taking another look today, but won't post anything until I've got something working with my local test server. Thanks, -KeyDecoder.
__________________
KeyDecoder This is where I say something witty and original, like this. |
|||
|
|
|












