Anthrax Posted January 17, 2008 Share Posted January 17, 2008 i hate using the COD server list thing because it drives me nuts trying to find a nz server without downloading 15000 other ones. there is a site called http://www.game-monitor.com which works well, the downside is you cant just click a button saying PLAY and it launches the game. this program i wrote allows you to copy and paste the IP from there or anywhere and then click connect and it will launch cod4 and connect to the server you wanted. Screenshot ftp://files.uber.net.nz/pub/admins/anthra...4app/screen.gif Executable: ftp://files.uber.net.nz/pub/admins/anthra...od4SC.zip ---400Kb Source Code: ftp://files.uber.net.nz/pub/admins/anthra...on_Src_Code.zip ---1.7Mb just thought i would release it into the community, i would hardly call it complex, just a couple of simple lines of code and a basic GUI. source code this there so someone may want to take up some ideas i originally had. Like a place to save favourites with IP and server name. note this should work with other versions of Call of Duty since it just points to an executable. let me know what you think. Quote Link to comment Share on other sites More sharing options...
sablefoxx Posted January 18, 2008 Share Posted January 18, 2008 Not too shabby, not to shabby at all... :-) Quote Link to comment Share on other sites More sharing options...
Anthrax Posted January 18, 2008 Author Share Posted January 18, 2008 cheers, have had a lot of good feedback so far :) Quote Link to comment Share on other sites More sharing options...
digip Posted January 18, 2008 Share Posted January 18, 2008 What did you compress it with? Windows and Winrar barf on the file, but I renamed it to .7z and 7Zip opened it fine. Quote Link to comment Share on other sites More sharing options...
Anthrax Posted January 18, 2008 Author Share Posted January 18, 2008 yeah its winzip. was the only compression tool i had. anyone know in c++ how to execute an external .exe without bringing the cmd window up? currently im using system(); and it leave a cmd window up until COD4 closes. Quote Link to comment Share on other sites More sharing options...
digip Posted January 18, 2008 Share Posted January 18, 2008 yeah its winzip. was the only compression tool i had. anyone know in c++ how to execute an external .exe without bringing the cmd window up? currently im using system(); and it leave a cmd window up until COD4 closes. Not sure how to do it in c++ but it can be done in vb6 using shell execute. http://www.vb-helper.com/howto_shellexecute.html It probably uses somehting similar in c++ to call SW_HIDE for the program you want to execute. Quote Link to comment Share on other sites More sharing options...
jollyrancher82 Posted January 19, 2008 Share Posted January 19, 2008 CreateProcess() http://msdn2.microsoft.com/en-us/library/m...425(VS.85).aspx Quote Link to comment Share on other sites More sharing options...
soulbleed Posted January 22, 2008 Share Posted January 22, 2008 I do the same thing with a batch script. @echo off set /p _= IP:Port ^> "%programfiles%ActivisionCall of Duty 4 - Modern Warfareiw3mp.exe" +connect %_% I like your's better though. Nice app by the way. Quote Link to comment Share on other sites More sharing options...
Anthrax Posted January 22, 2008 Author Share Posted January 22, 2008 cheers for all the positive feedback. i have come up with a better name for it, so now its called "Call of Duty 4 - Direct Connect". the .exe download has been updated but the source code hasn't yet. the only changes to the code were renaming the form. 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.