ID:186733
 
ive typed

Source /home/demonhunterds/byond/bin/byondsetup and i get this

-bash: /home/demonhunterds/byond/bin/byondsetup: No such file or directory
-bash-2.05b$


I need a response asap thanks
did you run these commands before that:

cd byond
make here

After that it should say something like

***************************
Now run the following command:
source /home/username/byond/bin/byondsetup

Hope that helps.
In response to Yellowmc
Yellowmc wrote:
did you run these commands before that:

cd byond
make here

After that it should say something like

***************************
Now run the following command:
source /home/username/byond/bin/byondsetup

Hope that helps.

Now i get

make: unknown option -- -
usage: make [-BeiknPqrSst] [-D variable] [-d flags] [-f makefile]
[-I directory] [-j max_jobs] [-m directory] [-V variable]
[NAME=value] [target ...]
*** Error code 2

Stop in /home/demonhunterds/byond (line 103 of Makefile).
In response to Govegtos
actually, you should try 'make' first, then 'make here' for installing BYOND for personal use. if the server does not support passing the 'here' parameter to the local makefile, you might be stuck. it is odd that it does not work.

what does line 103 in the Makefile say?
Get PuTTy
Get SmartFTP
Download byond_linux.zip from www.byond.com

<font size + 3>Install BYOND:</font size>

1) Open SmartFTP.
2) Log in to your server using your login details + servername.
3) Connect(ctrl+b). A popup will come up and you'll be in your username's folder.
4) Open local browser(ctrl+L) and find byond_linux.zip
5) Drag the zip file into your username's folder.
6) Restart SmartFTP(making sure to relogin). Open PuTTy.
7) Put the hostname and port 22 and then open(bottom right).
8) Type in your username and hit enter. Type in your password and enter.
9) Type "unzip byond_linux.zip"
10) Type "cd byond/"
11) Type "make"
12) Type "make here"
13) Type "source /home/[username]/byond/bin/byondsetup"
14) Reboot PuTTy and relog in.
15) Using SmartFTP, transfer your gamefiles(atleast a .rsc + .dmb file - no spaces!) in to the /byond/bin directory.

You can now host BYOND games using a shell server.

<font size + 3>Host with shell server:</font size>

1) Open PuTTy, login.
2) Type "cd byond/"
3) Type "cd bin/"
4) Type "source /home/[username]/byond/bin/byondsetup
5) Type "./DreamDaemon MyGame.dmb [Port] -safe &" Make sure to make the port something like 4534.
6) Type "logout"

And now the game is being hosted.

<font size + 3>Log in to a game being hosted by shell server:</font size>

1) Open DreamSeeker.
2) Use the open location function(top left - File>Open Location)
3) Type "byond://[hostname]:[Port]"

And enjoy =)

<font size + 3>Shut down shell server:</font size>

1) Open PuTTy, login.
2) Type "ps a | grep Dream" and you'll get a list(should be just one if you hosted one game).

On the left, there'll be a number like 46572 next to the one to do with your game - it's the PID.

3) Type kill -9 [PID]
4) logout

And the game will no longer be hosted =)

Note: source /home/[username]/byond/bin/byondsetup may not be accepted. The /home/[username]/ part can differ. It is basically your main address. One different example would be "/www0/[username]/byond/bin/byondsetup"
In response to DeathAwaitsU
DeathAwaitsU does a great job at getting things up and running, but here are changes that might clarify things:

"...Type "ps x" and in the list, find the one to do with your game...."

if this is a *long* list, you might not readily see your game. a better way would be "ps x | grep Dream", which looks through the process list for all lines that have "Dream" in them (DreamDaemon, DreamSeeker, etc.).

"...On the left, there'll be a number 46572 next to the one to do with your game..."

ok, the number won't be 46572 necessarily, but the left-hand side of that line you found with the ps command above will be the process id (PID) you need.
In response to digitalmouse
digitalmouse wrote:
if this is a *long* list, you might not readily see your game. a better way would be "ps a | grep Dream", which looks through the process list for all lines that have "Dream" in them (DreamDaemon, DreamSeeker, etc.).

Ah ok, I hadn't ever come across a long ps x list or that function

"...On the left, there'll be a number 46572 next to the one to do with your game..."

I could have sworn I typed "On the left, there'll be a number like 46572 next to the one to do with your game" because I myself thought of what you said above, oh well I guess I forgot.

Thanks for the corrections, I'll edit my post.
In response to DeathAwaitsU
DeathAwaitsU wrote:

Thanks for the corrections, I'll edit my post.

as i will mine... it should have been 'ps x | grep Dream'
not 'ps a'

what the grep part does is look through the list for a pattern match, in this case 'Dream'. the entire command could be interpreted as, 'show processes that i own, but filter out only the ones that have Dream in them.'
In response to digitalmouse
Actually your best bet with the process list for BYOND stuff is "ps ax|grep Dream" as it will show more details just incase someone else has a similar process running, and a simple 'ps a' lists them as the same thing.
In response to digitalmouse
digitalmouse wrote:
actually, you should try 'make' first, then 'make here' for installing BYOND for personal use. if the server does not support passing the 'here' parameter to the local makefile, you might be stuck. it is odd that it does not work.

what does line 103 in the Makefile say?

102 - here:
103 - @rm -f bin/byondsetup 104 - @$(MAKE) --no-print-directory bin/byondsetup BYOND_SYSTEM=$(PWD)


There i hope it helps
In response to Govegtos
Govegtos wrote:
> 
> 102 - here:
> 103 - @rm -f bin/byondsetup > 104 - @$(MAKE) --no-print-directory bin/byondsetup BYOND_SYSTEM=$(PWD)
>
>

There i hope it helps

hmm... not really, as 'rm' is the standard *nix delete-file/directory command.

hopefully someone else can see the problem and assist.
In response to digitalmouse
Can anyone else help me?