Hacking Self-Hosting Pegascape, help

onibaku

Lurker
OP
Member
Joined
Aug 15, 2007
Messages
336
Trophies
1
XP
2,317
Country
Sweden
I'll start off by saying that I have never self-hosted any exploits and I am not familiar with terminals and commands. I've been trying to self-host Pegascape on my Windows 10. I installed node.js and npm (i believe they came in one package). I followed the readme file for pegascape and tried to run "npm install" in the pegascape master directory however, it seemed to load and extract some things but error messages followed:

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t https://github.com/Dwood15/blessed.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.


And when running the following command "[sudo] node start.js [--webapplet] [--ip <html_server_ip_override>] [--host <dns_server_ip_override] [--disable-dns]" I get the following message:

At line:1 char:8
+ [sudo] node start.js [--webapplet] [--ip <html_server_ip_override>] [ ...
+ ~~~~
Unexpected token 'node' in expression or statement.
At line:1 char:42
+ [sudo] node start.js [--webapplet] [--ip <html_server_ip_override>] [ ...
+ ~
The '<' operator is reserved for future use.
At line:1 char:77
+ ... t.js [--webapplet] [--ip <html_server_ip_override>] [--host <dns_serv ...
+ ~
The '<' operator is reserved for future use.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken

Has anyone successfully been able to self-host pegascape? Any help would be appreciated. Thank you
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,038
Trophies
2
Age
29
Location
New York City
XP
13,454
Country
United States
I'll start off by saying that I have never self-hosted any exploits and I am not familiar with terminals and commands. I've been trying to self-host Pegascape on my Windows 10. I installed node.js and npm (i believe they came in one package). I followed the readme file for pegascape and tried to run "npm install" in the pegascape master directory however, it seemed to load and extract some things but error messages followed:

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t https://github.com/Dwood15/blessed.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.


And when running the following command "[sudo] node start.js [--webapplet] [--ip <html_server_ip_override>] [--host <dns_server_ip_override] [--disable-dns]" I get the following message:

At line:1 char:8
+ [sudo] node start.js [--webapplet] [--ip <html_server_ip_override>] [ ...
+ ~~~~
Unexpected token 'node' in expression or statement.
At line:1 char:42
+ [sudo] node start.js [--webapplet] [--ip <html_server_ip_override>] [ ...
+ ~
The '<' operator is reserved for future use.
At line:1 char:77
+ ... t.js [--webapplet] [--ip <html_server_ip_override>] [--host <dns_serv ...
+ ~
The '<' operator is reserved for future use.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken

Has anyone successfully been able to self-host pegascape? Any help would be appreciated. Thank you
Why not just use Pegascape?
 

akira022

Well-Known Member
Member
Joined
Jun 1, 2010
Messages
111
Trophies
1
XP
1,234
Country
United States
From what i have found out so far is the format is

node start.js --webapplet --ip 192.168.0.11 --host 192.168.0.11

Also, if you go into node_module and

git clone https://github.com/Dwood15/blessed.git

it seems to do the same thing. though my knowledge of node is something like 2% at this moment...lol. I will try to help anyway that I can.
 
  • Like
Reactions: onibaku

onibaku

Lurker
OP
Member
Joined
Aug 15, 2007
Messages
336
Trophies
1
XP
2,317
Country
Sweden
From what i have found out so far is the format is

node start.js --webapplet --ip 192.168.0.11 --host 192.168.0.11

Also, if you go into node_module and

git clone https://github.com/Dwood15/blessed.git

it seems to do the same thing. though my knowledge of node is something like 2% at this moment...lol. I will try to help anyway that I can.

Just saw this, might give it another try :D
 

veesonic

Member
Newcomer
Joined
Aug 18, 2019
Messages
21
Trophies
0
Age
44
XP
481
Country
United States
I'm somewhat tech savvy but I get pretty lost when doing anything command prompt, terminal, or linux related. I was able to follow this tutorial and get Pegascape Self Hosting working on Windows 10. I made some adjustments on what I needed to get it working, you can follow the original post and refer to my reply to see my adjustments. B-)

https://gbatemp.net/threads/pegascape-self-hosting-in-windows-10.652216/post-10392861
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • S @ salazarcosplay:
    and you convince your owner to help you break out of the virtual world to real world
  • BigOnYa @ BigOnYa:
    Eyes - "yawn"
    +1
  • S @ salazarcosplay:
    you bleack in to goverment computer systems to get cyborg schematics so you can get a robot body constructed
  • Xdqwerty @ Xdqwerty:
    btw @BigOnYa the health bar doesnt decrease when i take damage (and yes i put the "at the beggining of the scene change value of greenflatbar: set to Protagonistcopmode.Health::Health())
  • S @ salazarcosplay:
    i the protagonist
  • S @ salazarcosplay:
    human, robot, cyborg
  • S @ salazarcosplay:
    human with cyborg enhancements
  • S @ salazarcosplay:
    or like terminatior
  • S @ salazarcosplay:
    with living tissue
  • BigOnYa @ BigOnYa:
    @Xdqwerty there is health behaviour you can add to your character, then to use a health bar is lil more complicated, google n watch a few tutorial video on it, be too hard to explain here.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the character has the health behavior
  • BigOnYa @ BigOnYa:
    I know you have to create a health and health max variable. Then there is a calculation you use in code to subtract width size of the health bar. Google few vids.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the "greenflatbar" is one of the preset health bars btw
  • BigOnYa @ BigOnYa:
    Yea you can use any bar/sprite. It will just change the width. Ok good luck and have fun. I'm off to go shoot some pool at the bar. Talk to you later.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why does the health behavior exist if you can just use a variable?
  • Xdqwerty @ Xdqwerty:
    and nope the number still doesnt change
  • Xdqwerty @ Xdqwerty:
    ok im gonna make my own asset
  • Xdqwerty @ Xdqwerty:
    nvm i think i fixed it
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, I fixed it
    +1
  • S @ salazarcosplay:
    how are you\
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, we just talked like 2 hours ago
    Xdqwerty @ Xdqwerty: