chaozz Posted November 20, 2004 Share Posted November 20, 2004 I want to make a tool in which one can store their favourite servers (ips and ports), and add comments to that entry. It will allow a person to browse through them and choose one. But, I need to know if MTA accepts parameters at startup, and if so, what's their format? I tried "MTAclient.exe 1.0.0.127:2003", but that doesn't work. Link to comment
Oli Posted November 20, 2004 Share Posted November 20, 2004 i think its in the format "MTAclient.exe +connect 127.0.0.1 +name chaozz" but im not sure about that Link to comment
chaozz Posted November 20, 2004 Author Share Posted November 20, 2004 nope.. thats not it. i tried (and failed) : MTAclient.exe +connect 127.0.0.1 +name chaozz MTAclient.exe +connect:127.0.0.1 +name:chaozz MTAclient.exe /connect 127.0.0.1 /name chaozz MTAclient.exe /connect:127.0.0.1 /name:chaozz does anyone know the correct parameter format for MTAclient? i noticed that as soon as i give *ANY* parameter to MTAclient.exe it will startup and start connecting to the last server you selected. Where-O-Where does MTA store these IP addresses??? Link to comment
Harry Posted November 21, 2004 Share Posted November 21, 2004 ASE starts my 'fake' client with +connect :2003 +name Harry Link to comment
chaozz Posted November 21, 2004 Author Share Posted November 21, 2004 heee, that works! thanks. although the client gives a CRC check error, and i have NO ideo why? but the settings from the command line are loaded anyway. Link to comment
orappa Posted November 21, 2004 Share Posted November 21, 2004 although the client gives a CRC check error, and i have NO ideo why? but the settings from the command line are loaded anyway. You need to change the folder. The command is ChDir in VB (and ChDrive) - I'm not sure which language you're using though. Link to comment
chaozz Posted November 21, 2004 Author Share Posted November 21, 2004 I got a CRC error when running MTAclient in it's own folder from the command prompt. I hadn't even started coding. I have now though and will keep you posted of my progress. Thanx again for responding! Link to comment
Harry Posted November 21, 2004 Share Posted November 21, 2004 But why don't you just create a directory containing mta:// links? You can name and comment on them in the filename, and if you click them, you'll connect to the server. Why create a program for it?? Link to comment
orappa Posted November 21, 2004 Share Posted November 21, 2004 That needs a third party program created by eAi (I'm not sure why they haven't included it in MTA by default). Link to comment
Harry Posted November 21, 2004 Share Posted November 21, 2004 Well... a third party program.. but allready approved by the MTA team, and still working. And all it (should) do is creating 1 registry value.. I don't see the point of creating a whole new program for this. It's a waste of valuable time. I can think of some other things that are much more needed Link to comment
chaozz Posted November 21, 2004 Author Share Posted November 21, 2004 But why don't you just create a directory containing mta:// links? You can name and comment on them in the filename, and if you click them, you'll connect to the server. Why create a program for it?? because your way doesn't allow me to add additional comments for each server. like who cheats there, who the admins are, if it's a good server, what your ping usually is, etc, etc. Also, an IP address by itself doesn't tell me anything. In my program you can call the servers whatever you like Wait.. I have a screenshot of the beta here: PS: does anyone know how to pass the password in the parameters? +password and +pass do not work. Link to comment
chaozz Posted November 21, 2004 Author Share Posted November 21, 2004 I've finished the first version. Please test and comment it.. thanx! download: Click Here Link to comment
Recommended Posts