screeps-steamless-client's People
Forkers
myscreeps thmsndk joeltrain jomik hibari233 m1k0t0 robertyu pieterbrandsen admon84 wyattsl screepers jeallyrabbit guo-lab boehmchen wtfrank tiennouscreeps-steamless-client's Issues
Allow changing host
Currently we bind to localhost
, so that makes this page only accessible from the localhost instance.
This makes it so that we cannot run the client in a docker container, without having the container join the host network, which may not be what we want. I would like to set host to 0.0.0.0
personally.
Where are the local files located?
Where do I find my local files now? They are not in the scripts folder where they were usually located. Well, they are still there, but changing them does nothing.
Using private server backend redirects to screeps.com
I installed the package using the instructions in the readme. Whenever I try to access http://localhost:8080/(http://redacted.com:21025)/ , or start with npx using the --backend argument, the webpage instantly redirects me to screeps.com.
I believe the private server runs on the screeps-launcher package. Unfortunately I do not have a choice in this as I don't run the private server.
Whenever I try to use the default domain, it works as expected, although it does prompt me there is a game update available.
Please advice. I run on a Apple MBP 2018 16" (Intel 6-core i7) with MacOS Ventura 13.4.1, and have the game installed in Steam (which refuses to launch because of nw.js issues).
Localhost Web Server on 8080 loads fine, but map and rooms are blank screens
The web server boots up nicely, and I'm able to access the world map for my specific server on 10.0.0.2:21025. However the world map only works if you use the new alpha version, and even then it doesn't show any of the current creeps (green dots) in my room. Then I click on my room and I'm met with a blank screen.
See attached screenshots for reference.
https://prnt.sc/1x9t6r8
https://prnt.sc/1x9t7ne
https://prnt.sc/1x9t856
Unexpected identifier import os from 'os';
I am getting an error when trying to run npx after running npm install -g screeps-steamless-client.
$ npx screeps-steamless-client
/usr/local/lib/node_modules/screeps-steamless-client/dist/index.js:2
import os from 'os';
^^
SyntaxError: Unexpected identifier
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
Throws exception during launch when Screeps is installed on another drive other than C:\
I have Steam and Screeps installed on an application\data drive, drive D:.
Execute: npx screeps-steamless-client
Result:
[Error: ENOENT: no such file or directory, open 'C:\Program Files (x86)\Steam\steamapps\common\Screeps\package.nw'] {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\\Program Files (x86)\\Steam\\steamapps\\common\\Screeps\\package.nw'
}
from src:
const [ data, stat ] = await async function() {
const path = argv.package ?? function() {
switch (process.platform) {
case 'darwin': return new URL('./Library/Application Support/Steam/steamapps/common/Screeps/package.nw', `${pathToFileURL(os.homedir())}/`);
case 'win32': return 'C:\\Program Files (x86)\\Steam\\steamapps\\common\\Screeps\\package.nw';
default: return undefined;
}
SyntaxError: Unexpected reserved word "await"
npx screeps-steamless-client
file:///usr/local/lib/node_modules/screeps-steamless-client/dist/index.js:49
const [data, stat] = await async function () {
^^^^^
SyntaxError: Unexpected reserved word
at Loader.moduleStrategy (internal/modules/esm/translators.js:140:18)
at async link (internal/modules/esm/module_job.js:42:21)
Any way to load into a private server?
Im looking to play this on macos on a private server. Do you think it could be possible to do?
Expose backend as an argument
Would be nice if I could pass the backend
as an argument, so that the url is a bit easier to type in.
I am aware that the backend depends on the client, and not the one serving the web page, but still think it makes sense.
Logs out (and socket disconnects? unsure) after running in background for a few minutes
Release?
Release?
Is it possible to get a new npm release ? I would love to avoid these funky install from github workarounds ๐
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.