Author Topic: Creating a server on mac  (Read 3461 times)

Senor_Cucumber

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Creating a server on mac
« on: May 04, 2014, 09:11:02 PM »
I unzipped the tnet.zip file, got a tnet server folder, pasted the files "Server" and "Common" in the folder, then hit build using monodevelop, but nothing is happening. I don't know where to go from there. Any help please?

djray2k

  • Jr. Member
  • **
  • Thank You
  • -Given: 4
  • -Receive: 4
  • Posts: 74
  • Blockey Hockey!
    • View Profile
    • Walking Talking Grilling Bear Studios
Re: Creating a server on mac
« Reply #1 on: May 04, 2014, 09:14:47 PM »
The server runs off a .exe file that you run by itself.

Senor_Cucumber

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: Creating a server on mac
« Reply #2 on: May 04, 2014, 09:16:00 PM »
Yea, but when i click on the exe file it says i cant run that on OSX.

jannugimes

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Re: Creating a server on mac
« Reply #3 on: May 05, 2014, 03:24:13 PM »
Download the zip file again, unzip and then try again..

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Creating a server on mac
« Reply #4 on: May 06, 2014, 12:07:01 AM »
On OSX you execute it like so:
Quote
mono TNServer.exe

GregMeach

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 1
  • Posts: 36
    • View Profile
Re: Creating a server on mac
« Reply #5 on: May 06, 2014, 07:54:32 AM »
On OSX you execute it like so:
"mono TNServer.exe"

^^ 100% accurate... perhaps 10% helpful  :(

Instructions to run TNServer.exe on an OS X (Mac) computer:
1: Download the Mono RUNTIME Engine from THIS PAGE
Note: Direct link (may not work in the future)
2: Install the MRE (the .pkg file you just downloaded)
3: Open a Terminal window (can be found in the Applications/Utilities folder)
4: Confirm "mono" is a valid command by typing "mono" (without quotes) and press enter. If installed, lots of information will be displayed; if not "command not found" error will display <- you will have to fix this in order to continue
5: Type "mono " (without quotes AND INCLUDE A SPACE). Now find your TNServer.exe file and drag and drop into terminal window. The entire path should be displayed to your TNServer.exe file
6: Click back in the Terminal window and press ENTER

If successful you will see the server info along with a "press q to quit" which, if you type "q" (without quotes) into the terminal window and press enter, the server will save and shutdown.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Creating a server on mac
« Reply #6 on: May 06, 2014, 10:13:33 PM »
Mono is included in current OSX versions. At least both my macbooks from 1.5-3 years ago already had it installed.

GregMeach

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 1
  • Posts: 36
    • View Profile
Re: Creating a server on mac
« Reply #7 on: May 07, 2014, 07:08:40 AM »
Mono is included in current OSX versions. At least both my macbooks from 1.5-3 years ago already had it installed.

Nope, not on either of my developer machines; 2009 17" MacBook Pro and a mid-2011 27" iMac (both have clean installs of 10.9 which any new Mac would have)

Edit: just checked my two Mini's both running 10.9 (one upgraded from 10.6.8 and one 10.7) and they also did not have the MRE (type mono in Terminal and reports unknown command)
 8)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Creating a server on mac
« Reply #8 on: May 08, 2014, 03:25:44 AM »
Curious... wonder why I had it then.