Difference between revisions of "User:Zamujasa/DWAINE for Smartasses"

From Space Station 13 Wiki
Jump to navigation Jump to search
(Created page with "This is a work-in-progress guide on using DWAINE powerfully. == DWAINE usage == == Useful DWAINE info == == Programs and scripts == === Advanced tips and tricks === DWA...")
 
m
Line 12: Line 12:


I'd like to make a better tutorial/guide for using it here.
I'd like to make a better tutorial/guide for using it here.
=== Super user access ===
Run this somewhere. Requires <code>/mnt/term</code> to exist.
<pre>echo registered=A|nassignment=A|naccess=34 ^ /mnt/term/loginpacket
su
file_send</pre>


=== Telescience for people who love typing ===
=== Telescience for people who love typing ===


You'll need <code>su</code> access (though ''that's'' easy). The first thing you should (probably) do is copy <code>teleman</code> out of the <code>/sys/srv</code> folder into one you make yourself. Then run these wherever you copied it:
You'll need <code>su</code> access to access the file. The first thing you should (probably) do is copy <code>teleman</code> out of the <code>/sys/srv</code> folder into one you make yourself. Then run these wherever you copied it:


<pre>echo #!|nteleman coords $arg0 $arg1 $arg2|nteleman scan ^ scan
<pre>echo #!|nteleman coords $arg0 $arg1 $arg2|nteleman scan ^ scan
Line 27: Line 35:
As an AI or Cyborg, terminal windows will stay with you and update, making it much more effective to use than trying to use the telescience computer itself, since the interface for that doesn't update if you aren't near it (and people can modify the numbers you input). As a human, if you can make a copy of this, you can use it anywhere a wireless computer can reach the mainframe! (Or if you're REALLY into it, PDA messages...)
As an AI or Cyborg, terminal windows will stay with you and update, making it much more effective to use than trying to use the telescience computer itself, since the interface for that doesn't update if you aren't near it (and people can modify the numbers you input). As a human, if you can make a copy of this, you can use it anywhere a wireless computer can reach the mainframe! (Or if you're REALLY into it, PDA messages...)


Right now there's some bug that causes this to result in a stack overflow after enough uses (and some other weird bugs) so you have to occasionally reset the terminal and reconnect.


=== Artifact research for people who hate typing ===
=== Artifact research for people who hate typing ===

Revision as of 18:26, 5 March 2019

This is a work-in-progress guide on using DWAINE powerfully.

DWAINE usage

Useful DWAINE info

Programs and scripts

Advanced tips and tricks

DWAINE for Dummies is pretty basic and there's a lot of weird shit you can do with the terminals and mainframe beyond what it explains (it also seems to be pretty out of date).

I'd like to make a better tutorial/guide for using it here.

Super user access

Run this somewhere. Requires /mnt/term to exist.

echo registered=A|nassignment=A|naccess=34 ^ /mnt/term/loginpacket
su
file_send


Telescience for people who love typing

You'll need su access to access the file. The first thing you should (probably) do is copy teleman out of the /sys/srv folder into one you make yourself. Then run these wherever you copied it:

echo #!|nteleman coords $arg0 $arg1 $arg2|nteleman scan ^ scan
echo #!|nteleman coords $arg0 $arg1 $arg2|nteleman receive ^ recv
echo #!|nteleman coords $arg0 $arg1 $arg2|nteleman send ^ send
echo #!|nteleman coords $arg0 $arg1 $arg2|nteleman portal ^ portal
echo #!|nteleman relay $arg0 $arg1 $arg2 $arg3 $arg4 $arg5 ^ relay

These will combine the "set coordinates" and "do a thing" commands into one, simplifying things a great deal. The copy of teleman also means you won't need su to access it again.

As an AI or Cyborg, terminal windows will stay with you and update, making it much more effective to use than trying to use the telescience computer itself, since the interface for that doesn't update if you aren't near it (and people can modify the numbers you input). As a human, if you can make a copy of this, you can use it anywhere a wireless computer can reach the mainframe! (Or if you're REALLY into it, PDA messages...)

Right now there's some bug that causes this to result in a stack overflow after enough uses (and some other weird bugs) so you have to occasionally reset the terminal and reconnect.

Artifact research for people who hate typing

This will make a copy of the artlab utilities in the event some dummy breaks the tape drive or it goes offline or whatever, and provide a list of very handy shortcuts to make everything much easier.

mkdir /artlab
cp /mnt/artlab/gptio /artlab
cd /artlab
echo #!|ngptio activate $arg0 ^ a
echo #!|ngptio deactivate $arg0 ^ d
echo #!|ngptio sense $arg0|ngptio read $arg0 ^ r
echo #!|ngptio info $arg0 ^ i
echo #!|ngptio poke heater temptarget 200 ^ cold
echo #!|ngptio poke heater temptarget 400 ^ hot
echo #!|ngptio poke impactpad stand 1 ^ raise
echo #!|ngptio poke impactpad stand 0 ^ lower
echo #!|ngptio poke xray radstrength $arg0 ^ radstrength

Now just use a heater to start something up, d heater to turn it off, r xray to automatically sense shit and print it out.

Hell, get creative and do a x_ray ^ /mnt/lp-whatever/butt to automatically print out info! wow this didn't seem to work, have to try again later

Bonus: You don't need to type the underscores in device names. impactpad works for impact_pad, xray works for x_ray, etc.


Oops the mainframe died, now what

When the mainframe is restored (e.g. from a temporary power outage/APC tomfoolery), gptio will helpfully forget all of the device names -- they'll all show up as UNKNOWN, so you can't refer to them by name.

To get their names back, use gptio info address, which will update its name and allow you to use it as a shortcut again.

If someone REALLY fucked it up and removed the memory core (only doable when it's unpowered), you'll have to get a replacement from Hemera or maybe the Lava Moon. Good luck!


The goddamn RD deleted prman

There's a backup ThinkTape in the RD's office you can insert into the databank. It contains a copy of everything in /mnt/control, and when inserted into the RD's databank will show up at /mnt/rd. Be sure to let your local RD know that he is very mean.


Scanning paper and other junk

Put piece of paper or other doodad onto a scanner. Go to your local DWAINE terminal and look for /mnt/sc-location. Run cat /mnt/sc-location/document to take a look at it (or copy it or whatever). Note that half-broken HTML and other garbage comes along for the ride. Welp!