Blocktrix
Welcome, Guest. Please Login or Register.
12/04/26 at 7:45pm

Home Home Help Help Search Search Login Login Register Register


Pages: 1
connect using command line (Read 525 times)
vyloveny
New Member
*


Blocktrix Rules!

Posts: 3
connect using command line
03/02/06 at 4:21am
 
Hi,
 
is it possible to connect to the server using command line option?
 
cu,
Maio
Back to top
 
 
View Profile   IP Logged
strikelight
Administrator
*****


Make Me King

Posts: 288
Re: connect using command line
Reply #1 - 03/02/06 at 3:49pm
 
I'm not sure I understand you.  Do you mean from the "run" option in the windows start menu?  Please give an example of what you mean, to clarify.
Back to top
 
 

-=) StrikeLight
-=) Blocktrix developer
-=) www.blocktrix.org
Email View Profile WWW   IP Logged
vyloveny
New Member
*


Blocktrix Rules!

Posts: 3
Re: connect using command line
Reply #2 - 03/04/06 at 7:48am
 
something like this:
 
btpr2.exe -mode TetriNET -connect tetrinet.server.org
 
and it will connect me to tetrinet.server.org just like using GUI (Net Settings->Client Settings->Connect)
Back to top
 
 
View Profile   IP Logged
strikelight
Administrator
*****


Make Me King

Posts: 288
Re: connect using command line
Reply #3 - 03/04/06 at 11:43am
 
Not currently.. Maybe in the next version.
 
Thanks.
Back to top
 
 

-=) StrikeLight
-=) Blocktrix developer
-=) www.blocktrix.org
Email View Profile WWW   IP Logged
vyloveny
New Member
*


Blocktrix Rules!

Posts: 3
Re: connect using command line
Reply #4 - 03/09/06 at 5:02am
 
i would be realy grateful. thanks
Back to top
 
 
View Profile   IP Logged
sordrex
New Member
*


Blocktrix Rules!

Posts: 4
Re: connect using command line
Reply #5 - 04/08/06 at 11:21pm
 
I tried the command line option like so : "btpr2.exe -server tetrinet.org" but my OS gave me an error. Without the command line options, blocktrix opens just fine. I am using the latest release which is .62 BETA. I understand this version already supports command line options. Any help would be greatly appreciated. Thanks.
Back to top
 
 
Email View Profile   IP Logged
strikelight
Administrator
*****


Make Me King

Posts: 288
Re: connect using command line
Reply #6 - 04/09/06 at 2:50am
 
What is the error/OS version?
Back to top
 
 

-=) StrikeLight
-=) Blocktrix developer
-=) www.blocktrix.org
Email View Profile WWW   IP Logged
sordrex
New Member
*


Blocktrix Rules!

Posts: 4
Re: connect using command line
Reply #7 - 04/09/06 at 9:45pm
 
Thanks for the prompt reply strikelight. I am on Win XP Professional Edition. The error is "Windows cannot find 'btpr2.exe -server tetrinet.org'. Make sure you typed the name correctly, and then try again. To search for a file.. etc. etc..
Back to top
 
 
Email View Profile   IP Logged
strikelight
Administrator
*****


Make Me King

Posts: 288
Re: connect using command line
Reply #8 - 04/09/06 at 10:17pm
 
Where are you typing "btpr2.exe -server tetrinet.org" from?
 
If from start->run, you may need to specify the full path to btpr2.exe
ie. if you installed to C:\Program Files\Blocktrix , then you may need to type:
C:\Program Files\Blocktrix\btpr2.exe -server tetrinet.org
This may give you another error though, which should be corrected by  
creating a shortcut to the file, and right clicking on the shortcut file, and changing the 'start in' path under file properties to that of where btpr2.exe is installed.
 
Easier is to open up a dos prompt and simply 'cd' to where blocktrix is installed, and then type btpr2.exe -server tetrinet.org
(or even, with reference to the above, create a simple batch script)
 
Hope this helps.
Back to top
 
 

-=) StrikeLight
-=) Blocktrix developer
-=) www.blocktrix.org
Email View Profile WWW   IP Logged
sordrex
New Member
*


Blocktrix Rules!

Posts: 4
Re: connect using command line
Reply #9 - 04/10/06 at 3:06am
 
Hi strikelight, I actually typed in the full location of the exe file using the command line. By itself, btpr2.exe runs but when i added in the options such as the -server tetrinet.org, the error occurs.
Back to top
 
 
Email View Profile   IP Logged
dunno
Noble
***


hmm....

Posts: 27
Re: connect using command line
Reply #10 - 04/10/06 at 9:34am
 
just tried this myself again.
clicked on start, run then  
 
c:\progra~1\blocktrix\btpr2.exe -server tetrinet.org
 
it opens up blocktrix and connects to the said server without any problem.
Back to top
 
 
View Profile   IP Logged
strikelight
Administrator
*****


Make Me King

Posts: 288
Re: connect using command line
Reply #11 - 04/10/06 at 5:27pm
 
Looks like it's what I thought the problem was... spaces in the pathname most likely.  OS related, not btrix ;x
Back to top
 
 

-=) StrikeLight
-=) Blocktrix developer
-=) www.blocktrix.org
Email View Profile WWW   IP Logged
sordrex
New Member
*


Blocktrix Rules!

Posts: 4
Re: connect using command line
Reply #12 - 04/10/06 at 10:16pm
 
Works perfectly now.. Thanks guys!  Smiley
Back to top
 
 
Email View Profile   IP Logged
Pages: 1