I have written a MP3 application using the BASS library and a basic Notes Reminders type of application which stored information into a Firebird database but thats really about it.All I know is the server uses the UDP protocol and its a quake3 based gameserver, after that I am kind of lost so I hoping someone here might be able to provide me with some information (pref with examples) on how I can do things like.
Query the remote server to get information like the players on the server. I just need some EASY to follow instructions examples that I can learn from and apply to do this on my own. Rcon Application How To Interpertate ThatThe problem is I have no idea how to interpertate that information (I have never worked with socket programming in my life so I dont know what I am looking at or how to translate it to delphi code). BTW sorry for the double post but EE wont let me edit my post it seems. Link. Rcon Application Update Tho ITo update tho I have found out that I would need to use the UDP protocol to accomplish my task and have since downloaded the INDY10 components for Delphi and I am currently looking over some of the documentation but it seems abit over my head at this point so I am still needing alot of help in this area so I can do things like I said before such as. ![]() If you start with a remote server and things dont work, you dont know whats the cause. Dont use Indy. Since its blocking its extra difficult to start developing with. I dont even mean what you say blocking (i can guess but I would rather not make a fool of myself) however I did download and installed ICS but now I am more confused than ever on how this thing works. I looked at a couple of the demos that came with it but could not make head or tails of them the only thing I think I have figured out is I am going to be using the WSOKCET component to access the server and do whatever I need to do but its far more advanced then the INDY version so again I have no idea what half of the properties mean. As far as using a local server goes for testing that seems fine. I can just start one of my games on my local machine and run it in server-mode but to be perfectly hones I am really not sure where I need to start so as I said examples would really come in handy at time like this and I thank you for your time and replies once again. Blocking basically means that you are required to put your stuff in a thread, which makes things extra complicated. Can you tell me (short) of what parts you think you have an idea how to do it. If you read the docs on the protocol (this one also seems quite good: ). Is it all gibberish or do you understand parts What kind of (Delphi) apps have you written before Dont spend too much time into answering, just give me quick glimps please so I know at what level to start. Here is what I tried to do. Created a new app and dropped a WSocket component, A Button and Memo control onto my form 2.) I set properties for the WSocket control (named WSocket1) as such Addr: localhost (I also tried 127.0.0.1 but did not make a difference) Port: 27960 (this is the default port for my game server) Proto: udp All other properties were left at the default values. ![]() On a side note I ran the same setup using the INDY UDPClient component and the status was displayed in the memo as I expected it to be (albeit unparsed so I dont know what to do about that) but it did work so I dont know what I need to do to get the same result with ICS and still do not know how to do anything other then that at the moment. Well I looked at the page you pointed to and most of it made sense, I did not quite understand the challenge stuff but the rest of it seemed ok. As far as my experience with Delphi I have to admit I am just a hobbyist at best and have never really read any books or had any formal training. I mostly turn to delphi when I cannot find an already existing application that will suit my needs. I then try to find as many examples as I can (and eventually end up here at EE) to help me build the app I need. Most of the programs I have made are what I call automation type programs which basically automates a task that I could do manually, much in the same way batch files do.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
October 2020
Categories |