Bitburner

Bitburner

View Stats:
aerouge Feb 14, 2023 @ 12:23pm
Cant run exe from a script?
Hey guys,
I am playing around with some textfiles and want a neatly categorized server landscape.

My current plan is to run the ServerProfiler.exe against my growing servers_conf.txt file. I can loop it no problem and utilize it for funny worm-shenannigans ... so that part works. Now I simply want to run the list of servernames through the ServerProfiler.exe and write the output into a server_details.txt file to browse when looking for what to hack.

However I am running into a tiny but ultimately really effing problem / bug.

I want to run the Serverprofiler.exe from a script (and parse the output into a textfile).

I've tried to run it like the cracker-exes

ServerProfiler.exe(target);

I've tried to run it like a script:

run("ServerProfiler.exe", 1, 'joesguns');

but I always get this message in my logs:
run: Could not find script 'ServerProfiler.exe' on 'home'

but it shows up with ls and I can run it from command line.

Now what am I doing wrong here? Or is this indeed a bug?

Any help and ideas are appreciated.
< >
Showing 1-2 of 2 comments
Bugs Bunny Feb 14, 2023 @ 12:30pm 
You can't run the EXEs but all the functionality from those EXEs exists as script commands, so go nuts on recreating them.
aerouge Feb 14, 2023 @ 12:38pm 
oooh brainfart time ... yeah all those "getServer" functions are what the Profiler spits out... didnt think of that ... makes my life so much easier :-D

And getting the juicy "getHackingMultipliers()" ... thank you... I really banged my head against the wall to get the exe to run....
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Feb 14, 2023 @ 12:23pm
Posts: 2