Author Topic: Blockland dedicated derver, on debian  (Read 2470 times)

I tried following this guide to get the server running on wine
http://forum.blockland.us/index.php?topic=197423.0
It seems to get near the end of loading, and then it closes for no reason.
I'm running Debian 6 on a VPS.
Any help with this would be great.

console.log
any errors from wine

Here's the console.log


I don't think wine is giving any errors, but I don't know how to check. I'm trying to run the server via a file called start_server.sh
Code: [Select]
wine BlocklandLauncher.exe -dedicated

running the command from SSH gives this:

run that command manually in a shell
are you running this yes you're running this headless

sudo apt-get install xvfb -y
xvfb-run -a wineconsole Blockland.exe ptlaaxobimwroe -dedicated


stick this in your start_server.sh file:
xvfb-run -a wineconsole Blockland.exe ptlaaxobimwroe -dedicated

seems like it's springing errors at me
Code: [Select]
blockland@nyvz6:~/Blockland$ ./start_server.sh
ALSA lib ../../../src/seq/seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: Permission denied
fixme:reg:GetNativeSystemInfo (0x33f7fc) using GetSystemInfo()
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
wine: Call from 0x42b1fa to unimplemented function iphlpapi.dll.GetAdaptersAddresses, aborting
wine: Unimplemented function iphlpapi.dll.GetAdaptersAddresses called at address 0x42b1fa (thread 001b), starting debugger...
wine: Call from 0x42b1fa to unimplemented function iphlpapi.dll.GetAdaptersAddresses, aborting
fixme:event:wait_for_withdrawn_state window 0x10024/800005 wait timed out
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":99.0"
      after 21 requests (13 known processed) with 0 events remaining.
blockland@nyvz6:~/Blockland$

Quote from: chat
Never tell your password to anyone.
07:05 PM - Alex.: blockland@nyvz6:~/Blockland$ tail -n 20 console.log
  Music:   15
  Total:   1084

Starting server authentication...

*** CREATING MISSION
*** Stage 1 create
136 environmental resource files found
Regenerating file manifest
Got 1429 items in manifest, 0 files hashed

ERROR: WebCom_PostServer() - mission is not running
BackTrace: ->[sportBallsPackage]onStart->[sportBallsPackage]serverPart2->[sportBallsPackage]dedicatedKeyCheck->[sportBallsPackage]initDedicated->[sportBallsPackage]createServer->createMission->onMissionLoaded->WebCom_PostServer

Engine initialized...
Authentication: Connected...
Authentication: Sending Response...
Dedicated server is now running.
Authentication: Connected...
Authentication: SUCCESS
blockland@nyvz6:~/Blockland$ xvfb-run -a wineconsole --backend=curses Blockland.exe ptlaaxobimwroe -dedicated
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":99.0"
      after 21 requests (13 known processed) with 0 events remaining.
blockland@nyvz6:~/Blockland$ tail -n 20 console.log                                              Add-Ons: 393
  Music:   15
  Total:   1084

Starting server authentication...

*** CREATING MISSION
*** Stage 1 create
136 environmental resource files found
Regenerating file manifest
Got 1429 items in manifest, 0 files hashed

ERROR: WebCom_PostServer() - mission is not running
BackTrace: ->[sportBallsPackage]onStart->[sportBallsPackage]serverPart2->[sportBallsPackage]dedicatedKeyCheck->[sportBallsPackage]initDedicated->[sportBallsPackage]createServer->createMission->onMissionLoaded->WebCom_PostServer

Engine initialized...
Authentication: Connected...
Authentication: Sending Response...
Authentication: Connected...
Authentication: SUCCESS
07:05 PM - Alex.: woops copied it twice
07:05 PM - Lugnut: um it's literally working
07:06 PM - Alex.: it dosen't show up in the server list
07:06 PM - Alex.: the key is right
07:06 PM - Lugnut: yes it's authenticating
07:06 PM - Lugnut: you're like idk how much farther along than me and greek were a month ago
07:06 PM - Alex.: all i did was copy the key.dat over because i didn't want to forget it up
07:07 PM - Lugnut: um
07:07 PM - Lugnut: from your main computer?
07:07 PM - Alex.: yes
07:07 PM - Lugnut: .... that shouldn't have worked
07:07 PM - Lugnut: like i'm serious that's almost a bad thing
07:07 PM - Alex.: lol
07:07 PM - Alex.: well it dosen't work
07:07 PM - Alex.: it goes back to terminal
07:07 PM - Alex.: well, shell or whatever
07:07 PM - Alex.: after that error
07:07 PM - Lugnut: Authentication: Connected...
Authentication: Sending Response...
Authentication: Connected...
Authentication: SUCCESS
07:08 PM - Lugnut: your server almost seems to be dying when it posts to master server
07:08 PM - Alex.: yeah
07:08 PM - Alex.: well it's not like the ports are closed
07:08 PM - Alex.: any game server works on it, almost
07:08 PM - Alex.: blockland is iffy
07:09 PM - Lugnut: http://www.debistar fisherforums.org/viewtopic.php?f=55&t=2058
07:09 PM - Alex.: O MY
07:10 PM - Lugnut: sudo nano /etc/apt/sources.list
07:10 PM - Lugnut: put that sources thing in there
07:10 PM - Lugnut: ctrl+x
07:10 PM - Lugnut: y
07:10 PM - Lugnut: enter
07:10 PM - Lugnut: sudo apt-get update; sudo apt-get install wine
07:10 PM - Alex.: o my its working
07:04 PM - Lugnut: what
07:04 PM - Lugnut: installing wine
07:10 PM - Alex.: the installing
07:10 PM - Alex.: not the server
07:04 PM - Lugnut: once it's done run wine --version
07:11 PM - Alex.: will do
07:11 PM - Alex.: thanks for helping me :)
07:04 PM - Lugnut: we're nowhere near done
07:11 PM - Alex.: i don't want to be an unappreciative cunt
07:04 PM - Lugnut: we're done when it works 3 times in a row
07:05 PM - Lugnut: then still works after two reboots, two crashes, and files are modified
07:05 PM - Lugnut: /then/ we're done
07:12 PM - Alex.: wine-1.6
07:05 PM - Lugnut: woah
07:05 PM - Lugnut: well, give this a shot again
07:12 PM - Alex.: yep
07:06 PM - Lugnut: xvfb-run -a wineconsole --backend=curses Blockland.exe ptlaaxobimwroe -dedicated
07:13 PM - Alex.: lol i think it got worse
07:13 PM - Alex.: fixme:service:scmdatabase_autostart_service s Auto-start service L"MountMgr" failed to start: 2
^CXIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":99.0"
      after 140 requests (137 known processed) with 0 events remaining.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":99.0"
      after 48 requests (48 known processed) with 1 events remaining.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":99.0"
      after 48 requests (48 known processed) with 4 events remaining.
err:seh:raise_exception Unhandled exception code c000013a flags 0 addr 0xb77e4420
/usr/bin/xvfb-run: line 186: kill: (1966) - No such process
blockland@nyvz6:~/Blockland$ fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:iphlpapi:NotifyAddrChange (Handle 0x11ce910, overlapped 0x11ce91c): stub
X connection to :99.0 broken (explicit kill or server shutdown).
07:07 PM - Lugnut: christ
07:14 PM - Alex.: its like we're building with broken legos
07:07 PM - Lugnut: this is what i meant by not working
07:14 PM - Alex.: jesus christ badspot is it that hard to write a linux server
07:07 PM - Lugnut: yes
07:14 PM - Alex.: ok well it says unable to start mountmgr
07:14 PM - Alex.: do we apt-get install mountmgr
07:08 PM - Lugnut: no
07:15 PM - Alex.: ok
07:08 PM - Lugnut: mountmgr is actually a wine program
07:15 PM - Alex.: ooh
07:15 PM - Alex.: did greek get it working in the end?
07:15 PM - Alex.: didn't he do something with sound
07:09 PM - Lugnut: 1012     23179  0.0  0.0 1987260 3112 ?        Sl   19:12   0:00 C:\windows\system32\winedevice.exe MountMgr
07:09 PM - Lugnut: yes, he did and so did i get it working
07:09 PM - Lugnut: he used some sound config file or something to input his key
07:16 PM - Alex.: wow
07:10 PM - Lugnut: i put mine in config/main.cs
07:16 PM - Alex.: did you get any similar errors to me
07:10 PM - Lugnut: schedule(0, 0, setkey, "key");
07:10 PM - Lugnut: no
07:16 PM - Alex.: damn
07:17 PM - Alex.: what OS are you using
07:10 PM - Lugnut: lets start with a clean slate. can you reboot the server?
07:10 PM - Lugnut: ummmmm
07:17 PM - Alex.: sure
07:10 PM - Lugnut: debian 7, debian 6, ubuntu 12.04
07:19 PM - Alex.: okay, well this is debian 6
07:19 PM - Alex.: should we install blockland from the start
07:13 PM - Lugnut: probably
07:20 PM - Alex.: okay
07:13 PM - Lugnut: i have a node.js script that pulls only the neccesary stuff
07:20 PM - Alex.: ooh
07:13 PM - Lugnut: sudo apt-get install nodejs
07:14 PM - Lugnut: rhhhmm
07:20 PM - Alex.: i've been looking at node.js, is it good for control panels?
07:14 PM - Lugnut: it's designed for web i think, so yeah
07:20 PM - Alex.: oh my
07:14 PM - Lugnut: don't tell me you're starting your own hosting service
07:21 PM - Alex.: lol no
07:21 PM - Alex.: i want my own control panel for personal and friends use
07:21 PM - Alex.: i want to learn before i start that stuff anyway
07:21 PM - Alex.: im not going to go in it without much knowledge
07:15 PM - Lugnut: what
07:15 PM - Lugnut: so you're planning on it eventually?
07:22 PM - Alex.: not for blockland
07:22 PM - Alex.: i don't think
07:22 PM - Alex.: people will make better hosting services than me, like you
07:22 PM - Alex.: i'd probably just want to help out if at all possible
07:22 PM - Alex.: and learn
07:23 PM - Alex.: also, it says unable to locate package jodejs
07:23 PM - Alex.: *nodejs
07:17 PM - Lugnut: make a new directory somewhere
07:17 PM - Lugnut: wget http://216.224.169.29/update.js
07:23 PM - Alex.: ok
07:17 PM - Lugnut: wget http://nodejs.org/dist/v0.10.26/node-v0.10.26.tar.gz
07:17 PM - Lugnut: uh
07:24 PM - Alex.: ?
07:17 PM - Lugnut: tar -zxvf v0[press tab key]
07:17 PM - Lugnut: wait oops
07:24 PM - Alex.: lol
07:17 PM - Lugnut: tar -zxvf node-[tab]
07:18 PM - Lugnut: i don't know how tar works cause i use atool which is like the multitool of archive utilities
07:18 PM - Lugnut: find the directory with the "MakeFile" or "configure" script
07:25 PM - Alex.: seems like i can't enter the tar command
07:18 PM - Lugnut: it'll be either right where you were or in a directory
07:18 PM - Lugnut: you what
07:25 PM - Alex.: root@nyvz6:~/Documents# tar -zxvf node-
tar (child): node-: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
07:19 PM - Lugnut: how do you not have tar installed
07:19 PM - Lugnut: no dangit
07:19 PM - Lugnut: you press the tab key
07:19 PM - Lugnut: after the -
07:25 PM - Alex.: woopsies
07:26 PM - Alex.: oh wow that's useful
07:26 PM - Alex.: ok that worked
07:19 PM - Lugnut: it's an archive extracter
07:26 PM - Alex.: there's a makefile
07:20 PM - Lugnut: how is this fantastically useful
07:20 PM - Lugnut: hrng
07:20 PM - Lugnut: um
07:20 PM - Lugnut: python --version
07:27 PM - Alex.: 2.6.6
07:20 PM - Lugnut: good enough
07:20 PM - Lugnut: cd into the newly extracted directory
07:20 PM - Lugnut: ./configure
07:27 PM - Alex.: ok
07:27 PM - Alex.: done
07:21 PM - Lugnut: did it spit out an error
07:28 PM - Alex.: no
07:21 PM - Lugnut: run
07:21 PM - Lugnut: make
07:28 PM - Alex.: permission denied
07:22 PM - Lugnut: what
07:22 PM - Lugnut: uhhhh
07:22 PM - Lugnut: sudo make?
07:22 PM - Lugnut: sudo make
07:29 PM - Alex.: ./Makefile runs it
07:29 PM - Alex.: correctly?
07:29 PM - Alex.: *correct?
07:22 PM - Lugnut: no
07:23 PM - Lugnut: make is a program that uses configuration settings from the makefile
07:29 PM - Alex.: oh.
07:29 PM - Alex.: ok its doing things
07:23 PM - Lugnut: you're compiling the latest version of node
07:30 PM - Alex.: neat, thanks
07:24 PM - Lugnut: once that's done, which could be a while depending on your vps
07:24 PM - Lugnut: sudo make install
07:31 PM - Alex.: man
07:31 PM - Alex.: i shouldn't do this on root
07:25 PM - Lugnut: actually you should
07:31 PM - Alex.: done
07:25 PM - Lugnut: well
07:25 PM - Lugnut: the make install part
07:25 PM - Lugnut: the compilation part didn't need to be root
07:32 PM - Alex.: installed
07:25 PM - Lugnut: okay
07:32 PM - Alex.: oh wait
07:25 PM - Lugnut: npm --version
07:32 PM - Alex.: root@nyvz6:~/Documents/node-v0.10.26# make install
make -C out BUILDTYPE=Release V=1
make[1]: Entering directory `/root/Documents/node-v0.10.26/out'
  g++ '-DENABLE_DEBUGGER_SUPPORT' '-DENABLE_EXTRA_CHECKS' '-DV8_TARGET_ARCH_X64' -I../deps/v8/src  -Wall -Wextra -Wno-unused-parameter -pthread -m64 -fno-strict-aliasing -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-omit-frame-pointer -fno-tree-vrp -fno-rtti -fno-exceptions -MMD -MF /root/Documents/node-v0.10.26/out/Release/.deps//root/Documents/node-v0.10.26/out/Release/obj.target/v8_base/deps/v8/src/accessors.o.d.raw  -c -o /root/Documents/node-v0.10.26/out/Release/obj.target/v8_base/deps/v8/src/accessors.o ../deps/v8/src/accessors.cc
make[1]: g++: Command not found
make[1]: *** [/root/Documents/node-v0.10.26/out/Release/obj.target/v8_base/deps/v8/src/accessors.o] Error 127
make[1]: Leaving directory `/root/Documents/node-v0.10.26/out'
make: *** [node] Error 2
07:32 PM - Alex.: errors o no
07:33 PM - Alex.: or is that correct
07:26 PM - Lugnut: .... why is it trying to compile wtf
07:33 PM - Alex.: hm
07:27 PM - Lugnut: apt-get install build-essential
07:27 PM - Lugnut: then make agai
07:33 PM - Alex.: installing
07:33 PM - Alex.: ok
07:34 PM - Alex.: root@nyvz6:~/Documents/node-v0.10.26# make agai
make: *** No rule to make target `agai'.  Stop.
07:28 PM - Lugnut: erm
07:28 PM - Lugnut: i didn't think you'd misread that typo
07:28 PM - Lugnut: make
07:28 PM - Lugnut: as in run make again
07:34 PM - Alex.: whoops
07:28 PM - Lugnut: as in run it a second time lol
07:35 PM - Alex.: ok
07:35 PM - Alex.: its doing things
07:36 PM - Alex.: btw which vps are you going to use for lughost?
07:29 PM - Lugnut: myhosting
07:29 PM - Lugnut: i would use someone else if i could get custom-built vpses
07:37 PM - Alex.: their reseller vps package?
07:37 PM - Alex.: oh wait
07:37 PM - Alex.: wtf am i saying
07:37 PM - Alex.: their $15.95 one?
07:31 PM - Lugnut: http://myhosting.com/virtual-server-hosting/custom-vps.aspx
07:32 PM - Lugnut: >ubuntu
07:32 PM - Lugnut: >no control panels because I'm a "guru"
07:32 PM - Lugnut: > barebone vps
07:32 PM - Lugnut: > 20GB for the first 5 people, +20 for the next
07:32 PM - Lugnut: +512MB ram for each client until I max at 8
07:32 PM - Lugnut: total of 12 people to a node
07:32 PM - Lugnut: Billing monthly
07:33 PM - Lugnut: 20% discount
07:33 PM - Lugnut: +300GB bandwidth for good measure
07:33 PM - Lugnut: $45.72 a VPS a month
07:33 PM - Lugnut: Assuming max capacity
07:40 PM - Alex.: oh god please say they don't do the "DDOS PROTECTION" which servermania does
07:33 PM - Lugnut: If I only need the resources for 4 people, I only pay for 3 people
07:33 PM - Lugnut: i'm honestly not positive what they do
07:40 PM - Alex.: have you already bought it
07:34 PM - Lugnut: I really need to check into that
07:40 PM - Alex.: yeah please do it
07:34 PM - Lugnut: yes I've had it a month
07:34 PM - Lugnut: everything works, preparing for launch come the 28th
07:41 PM - Alex.: if hammer is going to do his shenanigens again, that'll be bad
07:41 PM - Alex.: anyway, the make is done
07:35 PM - Lugnut: make install
07:41 PM - Alex.: that's the command i did
07:35 PM - Lugnut: and
07:35 PM - Lugnut: did it work
07:42 PM - Alex.: yes
07:42 PM - Alex.: :)
07:37 PM - Lugnut: npm --version
07:44 PM - Alex.: 1.4.3
07:42 PM - Lugnut: put this in a file called "package.json"
07:42 PM - Lugnut: {
  "name": "blman",
  "version": "0.0.0",
  "description": "A command line utility for managing a Blockland server installation.",
  "bin": {
    "blman": "./bin/blman"
  },
  "keywords": [
    "blockland",
    "management",
    "server",
    "cli"
  ],
  "author": "portify <portification@gmail.com>",
  "license": "MIT",
  "dependencies": {
    "request": "~2.33.0",
    "carrier": "~0.1.13",
    "mkdirp": "~0.3.5",
    "graceful-fs": "~2.0.2"
  }
}
07:43 PM - Lugnut: npm install
07:49 PM - Alex.: ok
07:43 PM - Lugnut: mkdir blocklandserver
07:43 PM - Lugnut: cd blocklandserver
07:43 PM - Lugnut: node ../update.js
07:51 PM - Alex.: npm install has pretty colours
07:53 PM - Alex.: root@nyvz6:~/Documents/blocklandserver# node ../update.js

module.js:340
    throw err;
          ^
Error: Cannot find module 'graceful-fs'
    at Function.Module._resolveFilen ame (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/root/Documents/update.js:2:10)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
07:46 PM - Lugnut: um
07:47 PM - Lugnut: ls ../node_modules
07:54 PM - Alex.: ls: cannot access ../node_modules: No such file or directory
07:54 PM - Alex.: this is silly
07:48 PM - Lugnut: hrng
07:50 PM - Lugnut: when you ran npm install it made a directory called node_modules
07:50 PM - Lugnut: ls that directory
07:57 PM - Alex.: it is a directory
07:50 PM - Lugnut: no
07:51 PM - Lugnut: LS
07:51 PM - Lugnut: ls ../node_modules
07:57 PM - Alex.: root@nyvz6:~/Documents/node-v0.10.26# ls ./node_modules
carrier  graceful-fs  mkdirp  request
07:51 PM - Lugnut: forget it
07:51 PM - Lugnut: cd ..
07:51 PM - Lugnut: mkdir blocklandstuff
07:51 PM - Lugnut: mv node-v0.10.26/node_modules blocklandstuff
07:51 PM - Lugnut: cd blocklandstuff
07:51 PM - Lugnut: oops
07:52 PM - Lugnut: mv ../node-v0.10.26/update.js .
07:52 PM - Lugnut: node update.js
07:59 PM - Alex.: root@nyvz6:~/Documents/blocklandstuff# mv ../node-v0.10.26/update.js
mv: missing destination file operand after `../node-v0.10.26/update.js'
Try `mv --help' for more information.
07:53 PM - Lugnut: there was a period on the end
08:00 PM - Alex.: oh, thaught that was a typo
08:00 PM - Alex.: my bad
07:53 PM - Lugnut: mv ../node-v0.10.26/update.js .
08:00 PM - Alex.: root@nyvz6:~/Documents/blocklandstuff# mv ../node-v0.10.26/update.js .
mv: cannot stat `../node-v0.10.26/update.js': No such file or directory
08:01 PM - Alex.: i probably made a mistake with node.js
07:55 PM - Lugnut: root@nyvz6:~/Documents/node-v0.10.26
07:55 PM - Lugnut: then i had you cd ..
07:55 PM - Lugnut: then you were in documents
07:56 PM - Lugnut: then you made blocklandstuff and cded in
08:02 PM - Alex.: yes
07:56 PM - Lugnut: where did node-v0.10.26 go
07:56 PM - Lugnut: where was update.js
08:02 PM - Alex.: it's in documents
07:56 PM - Lugnut: jesus just move update.js into the goddamned blocklandstuff directory
08:03 PM - Alex.: in the node-v0.10.26 folder
08:03 PM - Alex.: ok
07:56 PM - Lugnut: that's what i'm trying to do blind here
08:03 PM - Alex.: oh wow
08:03 PM - Alex.: apparently update.js is outside of the node folder
08:04 PM - Alex.: moved
07:58 PM - Lugnut: go back into blocklandstuff
07:58 PM - Lugnut: node update.js
08:05 PM - Alex.: root@nyvz6:~/Documents/blocklandstuff# node update.js

module.js:340
    throw err;
          ^
Error: Cannot find module 'graceful-fs'
    at Function.Module._resolveFilen ame (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/root/Documents/blocklandstuff/update.js:2:10)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
08:05 PM - Alex.: wow
07:59 PM - Lugnut: ls
08:06 PM - Alex.: root@nyvz6:~/Documents/blocklandstuff# ls
update.js
08:00 PM - Lugnut: where is node_modules
08:06 PM - Alex.: in the node folder
08:00 PM - Lugnut: put that in the blocklandstuff folder too
08:07 PM - Alex.: ok
08:07 PM - Alex.: thank you for enduring with me
08:01 PM - Lugnut: ya
08:02 PM - Lugnut: then node update.js again so we can finally get the files we wanted
08:13 PM - Alex.: ok stuff went in there when i ran it
08:13 PM - Alex.: it gave me that error but stuff went in
08:07 PM - Lugnut: ls

Quote
08:13 PM - Alex.: root@nyvz6:~/Documents/blocklandstuff# ls
Add-Ons        OpenAL32.dll  msvcr71.dll   steam_api.dll
Blockland.exe  base          node_modules  update.js
08:07 PM - Lugnut: mkdir config
08:07 PM - Lugnut: nano config/main.cs
08:07 PM - Lugnut: put this in the thing
08:08 PM - Lugnut: schedule(0, 0, setkey, "your key here");
08:14 PM - Alex.: ok
08:08 PM - Lugnut: press ctrl+x, y, then enter
08:08 PM - Lugnut: xvfb-run -a wineconsole --backend=curses Blockland.exe ptlaaxobimwroe -dedicated
08:16 PM - Alex.: ok i think it's doing things
08:16 PM - Alex.: it said wine: created the configuration directory '/root/.wine'
08:16 PM - Alex.: just waiting for more output
08:10 PM - Lugnut: ah balls, yeah
08:10 PM - Lugnut: okay either wait ~10 minutes (literally)
08:17 PM - Alex.: wow ahah
08:10 PM - Lugnut: no seriously 10 minutes before it times out
08:10 PM - Lugnut: or press ctrl+c
08:17 PM - Alex.: ok
08:10 PM - Lugnut: then up arrow, then try again
08:17 PM - Alex.: i'll wait 10 minutes
08:10 PM - Lugnut: no i'm serious
08:11 PM - Lugnut: ctrl+c has worked fine the last 5 times i tried
08:17 PM - Alex.: ok
08:17 PM - Alex.: shall i do ctrl+c then
08:11 PM - Lugnut: it's waiting for your OK on a menu you can't see because of XVFB
08:11 PM - Lugnut: yes
08:18 PM - Alex.: root@nyvz6:~/Documents/blocklandstuff# xvfb-run -a wineconsole --backend=curses Blockland.exe ptlaaxobimwroe -dedicated
wineconsole: Starting program "Blockland.exe ptlaaxobimwroe -dedicated" failed.
The command is invalid.
XIO:  fatal IO error 84 (Invalid or incomplete multibyte or wide character) on X server ":99.0"
      after 8 requests (7 known processed) with 0 events remaining.
XIO:  fatal IO error 25 (Inappropriate ioctl for device) on X server ":99.0"
      after 672 requests (578 known processed) with 0 events remaining.
root@nyvz6:~/Documents/blocklandstuff# xvfb-run -a wineconsole --backend=curses Blockland.exe ptlaaxobimwroe -dedicated
wineconsole: Starting program "Blockland.exe ptlaaxobimwroe -dedicated" failed.
The command is invalid.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":99.0"
      after 672 requests (578 known processed) with 0 events remaining.
XIO:  fatal IO error 25 (Inappropriate ioctl for device) on X server ":99.0"
      after 672 requests (578 known processed) with 0 events remaining.
08:12 PM - Lugnut: i wat
08:12 PM - Lugnut: ls -l
08:19 PM - Alex.: root@nyvz6:~/Documents/blocklandstuff# ls -l
total 72
drwxr-xr-x 3 root root  4096 Mar 24 07:12 Add-Ons
-rw-r--r-- 1 root root     0 Mar 24 07:12 Blockland.exe
-rw-r--r-- 1 root root 53005 Mar 24 07:12 OpenAL32.dll
drwxr-xr-x 7 root root  4096 Mar 24 07:12 base
drwxr-xr-x 2 root root  4096 Mar 24 07:15 config
-rw-r--r-- 1 root root     0 Mar 24 07:12 msvcr71.dll
drwxr-xr-x 6 root root  4096 Mar 24 07:09 node_modules
-rw-r--r-- 1 root root     0 Mar 24 07:12 steam_api.dll
-rw-r--r-- 1 root root  2141 Mar 24 06:22 update.js
08:12 PM - Lugnut: why the hell
08:12 PM - Lugnut: it made the directories but none of the files have any data in them
08:12 PM - Lugnut: i don't even
08:13 PM - Lugnut: node install update.js
08:13 PM - Lugnut: oopos
08:19 PM - Alex.: ok
08:13 PM - Lugnut: node update.js
08:19 PM - Alex.: O!
08:20 PM - Alex.: IT'S DOING THE DONES
08:13 PM - Lugnut: i honestly have no idea why you have to run like 5 things over and over
08:20 PM - Alex.: it hasn't done the DONE's before
08:20 PM - Alex.: alright
08:20 PM - Alex.: shall i now retry
08:13 PM - Lugnut: not if it's done
08:13 PM - Lugnut: ls -l
08:14 PM - Lugnut: oh wait
08:14 PM - Lugnut: oops
08:20 PM - Alex.: root@nyvz6:~/Documents/blocklandstuff# ls -l
total 4012
drwxr-xr-x 3 root root    4096 Mar 24 07:12 Add-Ons
-rw-r--r-- 1 root root 3571712 Mar 24 07:19 Blockland.exe
-rw-r--r-- 1 root root   60416 Mar 24 07:19 OpenAL32.dll
drwxr-xr-x 7 root root    4096 Mar 24 07:12 base
drwxr-xr-x 2 root root    4096 Mar 24 07:15 config
-rw-r--r-- 1 root root  348160 Mar 24 07:20 msvcr71.dll
drwxr-xr-x 6 root root    4096 Mar 24 07:09 node_modules
-rw-r--r-- 1 root root  106408 Mar 24 07:19 steam_api.dll
-rw-r--r-- 1 root root    2141 Mar 24 06:22 update.js
08:14 PM - Lugnut: yeah sorry was thinking of something else
08:14 PM - Lugnut: yes retry the xvfb one
08:20 PM - Alex.: oh my
08:20 PM - Alex.: it's uh
08:21 PM - Alex.: it's doing things
08:21 PM - Alex.: I THINK IT'S WORKING
08:14 PM - Lugnut: definitely glad we didn't do this via forum posts
08:15 PM - Lugnut: we'd be 4 days out
08:21 PM - Alex.: holy stuff it works
08:21 PM - Alex.: i love you so much
08:22 PM - Alex.: OH MY GOD THANK YOU SO MUCH
08:15 PM - Lugnut: i'm gonna paste this into the thread for searchers
08:15 PM - Lugnut: linux users tend to be more intelligent
08:15 PM - Lugnut: and thus search
08:22 PM - Alex.: thanks
08:23 PM - Alex.: oh wow console commands work too
08:16 PM - Lugnut: yes
08:23 PM - Alex.: this is fantastic
08:16 PM - Lugnut: magic
08:23 PM - Alex.: the performance isn't bad too
08:23 PM - Alex.: this is good
08:24 PM - Alex.: i may need to create an alias or something so i don't forget the command
08:24 PM - Alex.: will a .sh work?
08:17 PM - Lugnut: yeah
08:24 PM - Alex.: oh my yes
08:18 PM - Lugnut: #!/bin/bash
08:24 PM - Alex.: thank you
08:18 PM - Lugnut: xvfb-whatever
08:18 PM - Lugnut: be sure to have t
08:18 PM - Lugnut: okay yeah
08:18 PM - Lugnut: here's what you do
08:18 PM - Lugnut: cd ~/Documents
08:18 PM - Lugnut: cp blocklandstuff ~blockland
08:18 PM - Lugnut: (no typos in that command)
08:18 PM - Lugnut: well stuff, there is a typo
08:25 PM - Alex.: cp?
08:18 PM - Lugnut: cp blocklandstuff ~blockland -r
08:18 PM - Lugnut: copy
08:25 PM - Alex.: oh, thanks
08:18 PM - Lugnut: cp blocklandstuff ~blockland/ -r
08:18 PM - Lugnut: run /that/ one
08:19 PM - Lugnut: cd ~blockland
08:19 PM - Lugnut: chown -R blockland:blockland blocklandstuff
08:19 PM - Lugnut: then do this
08:19 PM - Lugnut: nano
08:19 PM - Lugnut: put this in that file
08:19 PM - Lugnut: #!/bin/bash
08:20 PM - Lugnut: xvfb -a wineconsole --backend=curses ~blockland/blocklandstuff/Blockland.exe ptlaaxobimwroe -dedicated
08:20 PM - Lugnut: ctrl+x, y, type in "start-bl", push enter
08:20 PM - Lugnut: cp start-bl /usr/local/bin/
08:20 PM - Lugnut: log into blockland user
08:20 PM - Lugnut: type start-bl
08:20 PM - Lugnut: ta loving d- oh stuff
08:20 PM - Lugnut: yeah
08:20 PM - Lugnut: as root
08:27 PM - Alex.: oh wow, i didn't know you could do that from other users
08:20 PM - Lugnut: chmod +x /usr/local/bin/start-bl
08:27 PM - Alex.: that is amazing
08:21 PM - Lugnut: /then/ run "start-bl" from blockland user

Quote
08:28 PM - Alex.: what do you call the file, anything?
08:22 PM - Lugnut: the name of the file is the command you run
08:28 PM - Alex.: i see, thanks
08:29 PM - Alex.: ah, this stuff is in root
08:30 PM - Alex.: that shouldn't be a problem
08:23 PM - Lugnut: well you know
08:23 PM - Lugnut: barring someone finding a vulnerability in wine or blockland and compromising the entirety of your VPS
08:23 PM - Lugnut: no prob
08:24 PM - Lugnut: if you limit it to blockland user, they can only do what that user can do
08:30 PM - Alex.: ah okay
08:30 PM - Alex.: could i just copy the contents of the stuff and put it in the blockland user's directory?
08:31 PM - Alex.: and chown it of course
08:24 PM - Lugnut: that is literally what i just told you to do
08:24 PM - Lugnut: then make the start-bl script
08:24 PM - Lugnut: and tune it so it starts that blockland
08:31 PM - Alex.: thank you
08:31 PM - Alex.: sorry i've been so hard to help

yeah okay there's the whole thing
god i hope no one reads that unneccesarily

Thanks for the help lugnut :)