Narug0 Posted November 26, 2012 Share Posted November 26, 2012 (edited) Hello, In about 5 years ago, I played a lot with delphi, and now I'm remembering codes and would like to create software, once I had some tools to discover the source code of other programs and created a gathering a bit of each. But this time I would like to create a program using my knowledge, but is impossible, the main reason is the closure of many sites containing tutorials on quake3engine. Let the question ... I thought a program like what I have in mind, and do not intend to copy the code from it. http://returntocastlewolfenstein.filefront.com/file/ET_Console_Master;86414 Could someone tell me, where I find tutorial that explains how the program connects to the server using my admin(info)? Edited November 26, 2012 by Narug0 Quote Link to comment Share on other sites More sharing options...
rolf Posted November 26, 2012 Share Posted November 26, 2012 The screenshots of that application don't work. Care to explain a bit more? Especially whether you want to be able to use this in-game or not. Intuitively, you should be able to make a connection to the (a ) server. That will be the main problem. I suggest to first check whether you can connect to a webserver (e.g. download the source from google.com) and then extend it into: 1. Once you downloaded the source, make sure that the connection isn't terminated. Yes that might be default. 2. Make sure that you can send data as well. 3. Transform it into the RCON (I guess) connection of ET. You might want to develop a client for it as well, such that testing is easier for the first two steps. If you want to be able to use this ingame, I have no idea how that actually works but I suggest you rather start scripting in ET than trying to use overlay functions in Windows I have never programmed delphi, so I don't know what good tutorials are, but if you'd develop in that way you'll find the tutorials on the way Quote Link to comment Share on other sites More sharing options...
Narug0 Posted November 26, 2012 Author Share Posted November 26, 2012 this post explain better >>> by bucker http://fearless-assa...nd/#entry276923 i checked link and is off, then i uploaded 3mbs pass: narugo link: http://www.mediafire.com/?6b5yt3cb3orlmlr Quote Link to comment Share on other sites More sharing options...
rolf Posted November 26, 2012 Share Posted November 26, 2012 Since I have no ET installed using that program isn't that useful for me. But indeed, I get a better impression of what you want Although my 3 steps would work, it would require that you have RCON. Now however there is one mayor issue, how to communicate with ET. A main problem (I think), is that when you let other applications communicate with ET, punkbuster might think you're a cheater I actually have no idea how to 1. communicate with any program from another program (yeah, a bit, not that much, none in Delphi) and 2. how ET wants to have its commands received such that it passes forward to the console. If you can find those two things, you are actually done. But with both I can't help you unfortunately. Quote Link to comment Share on other sites More sharing options...
Clan Friend SunLight Posted November 26, 2012 Clan Friend Share Posted November 26, 2012 As I already suggested for Pinoy's fingertool, you can do something like the following (this is C, but you can do it with delphi) To send something to et console (just to give you an idea) you get et console window handle, then you send some text and the key 'enter' and it's as if you typed that in et console et_console = FindWindowEx(FindWindow(0, "ET Console"), NULL, "Edit", 0); SendMessage(et_console, WM_SETTEXT, 0, "echo blablabla"); SendMessage(et_console, WM_CHAR, 13, 0); // 13 = like pressing Enter And yes, it could be taken for a cheat. In this case, I don't think pb would complain since it's just a couple of normal windows api calls, but if I were you I wouldn't dare doing it on a tzac server, you never know getting busted for cheat while not cheating doesn't make much sense To *read* from the console, that's a bit tricky, and I think you need to do something more hack-like, which I don't recommend, because it could really be taken for a cheat, or as an alternative read console output from the file etconsole.log doing it with rcon is another story, if you have rcon password, that is... edit: at this point I'm not sure about what you really need, I need to check that software you mentioned 1 Quote Link to comment Share on other sites More sharing options...
Narug0 Posted November 26, 2012 Author Share Posted November 26, 2012 thx, this exactly that i was searching, i tested this tool is not too usefull, just wanted to add some keyboards shortcuts, move bots to spec... Quote Link to comment Share on other sites More sharing options...
Clan Friend SunLight Posted November 26, 2012 Clan Friend Share Posted November 26, 2012 thx, this exactly that i was searching, i tested this tool is not too usefull, just wanted to add some keyboards shortcuts, move bots to spec... Ok, so just call those Windows APIs and it should work. Don't add the slash before the commands. To move bots to spec an et config with a script would still do the trick, provided that you know bot names of course. for example a file putbots.cfg with: say "!put Anton s"; wait 10 etc... then: bind somekey exec putbots.cfg Quote Link to comment Share on other sites More sharing options...
Narug0 Posted November 26, 2012 Author Share Posted November 26, 2012 (edited) i have 1, but when is running, lock all i cant move or write. set bt1 "!putteam Halfwit s; wait 100; !putteam Cledus s; wait 100; !putteam Vokur s; wait 100; !putteam Kaolin s; wait 100; !putteam Nohope s; wait 100; vstr bt1s" set bt1s "!putteam SpecialEd s; wait 100; !putteam Sean s; wait 100; !putteam Chimichanga s; wait 100; !putteam Grog s; wait 100; !putteam Brad s; wait 100; !putteam Bortack s; set bcv vstr bt2" set bt2 "!putteam Amadi s; wait 100; !putteam Beelz s; wait 100; !putteam Aimless s; wait 100; !putteam Hitnrun s; wait 100; !putteam Nundak s; wait 100; vstr bt2s" wait 100 = 1secs Edited November 26, 2012 by Narug0 Quote Link to comment Share on other sites More sharing options...
Clan Friend SunLight Posted November 26, 2012 Clan Friend Share Posted November 26, 2012 There are too many waits, and for too long. /wait command 'locks' your keyboard. so until all the script is over, you won't be able to type. But without waiting, I don't know what would happen if you enter all those commands that fast. You need to test it. Quote Link to comment Share on other sites More sharing options...
PiNoY Posted November 27, 2012 Share Posted November 27, 2012 Can you try !put 1-9 s if that would work? I remember I read it somewhere here. Or !omni if that is available? Quote Link to comment Share on other sites More sharing options...
Narug0 Posted November 27, 2012 Author Share Posted November 27, 2012 (edited) There are too many waits, and for too long. /wait command 'locks' your keyboard. so until all the script is over, you won't be able to type. But without waiting, I don't know what would happen if you enter all those commands that fast. You need to test it. without wait skip most of names, from 10 only 5 r executed, PS: let me explain it in my cfg. i used "vstr bt1s" because line was too big and console was not recording. set bt1 "!putteam Halfwit s; wait 100; !putteam Cledus s; wait 100; !putteam Vokur s; wait 100; !putteam Kaolin s; wait 100; !putteam Nohope s; wait 100; vstr bt1s" set bt1s "!putteam SpecialEd s; wait 100; !putteam Sean s; wait 100; !putteam Chimichanga s; wait 100; !putteam Grog s; wa Can you try !put 1-9 s if that would work? I remember I read it somewhere here. Or !omni if that is available? !put 1-9 s never saw about this cmd, is u type it, u r changing some1 it 1-9 in name, if u use numbers for put bots u sure r moving players. jay2 is not working !omnispec and don't have !omni... Edited November 27, 2012 by Narug0 Quote Link to comment Share on other sites More sharing options...
PiNoY Posted November 27, 2012 Share Posted November 27, 2012 If you use "!put 1-10 s" it should work. You can also write !put 1 s, press enter, scroll up to change the "1" into "2" press enter and so on. Takes a few seconds to do it. But anyway, usually only put bots to spec when there are a reasonable amount of humans playing because its better to play with bots than to play 2vs2.. I never tried it though I usually use !put 1 s and so on. Quote Link to comment Share on other sites More sharing options...
Gubbi Posted November 27, 2012 Share Posted November 27, 2012 I never tried it though I usually use !put 1 s and so on. I meant !put 1 s, !put 2 s and so on. not one command "!put 1-10s". If I remember right, there was a problem with putting people in spec when using bots name in the bind and I wanted to say that using number will cause such a problem. Novice and Anton know what I am talking about Quote Link to comment Share on other sites More sharing options...
PiNoY Posted November 27, 2012 Share Posted November 27, 2012 So now its clear, its not a single command of !put 1-10 s ....omg that's interesting. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.