MU Soapbox

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Muxify
    • Mustard
    1. Home
    2. Nemesis
    3. Posts
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 55
    • Best 9
    • Controversial 0
    • Groups 1

    Posts made by Nemesis

    • RE: Zero to Mux (with wiki)

      @auspice Yeah, well, you need to hit the PURGE button after I DELETE it or the next time I get targeted by a troll attack and this one chimes in, I'm just going to get mad and undelete it again. The Forum won't let me purge it after deleting it. You should probably admit at least to yourself that the whole post is completely appropriate in sentiment even if not in presentation, too.

      In fact I'm not the only one you should be talking to about what's appropriate in this forum, based on your own criteria.

      posted in How-Tos
      N
      Nemesis
    • RE: Zero to Mux (with wiki)

      https://www.mediawiki.org/wiki/Extension:Interwiki

      It doesn't have anything to do with getting multiple wikis running on the same host. It's for after that, if/when you want to share content between wikis, whether they run on the same host or not.

      Most useful if you actually run half a dozen WoD or Pathfinder wikis and want to share the publicized rulebook or houserules content among them, or for identical wikis in multiple languages (English to German), or to provide a dynamic/programmatic translation by setting up a dummy/fake wiki site and pumping English content through through Google Translate in response to Interwiki Link actions.

      posted in How-Tos
      N
      Nemesis
    • RE: Real life versus online behaviors

      @arkandel said in Real life versus online behaviors:

      @nemesis said in Real life versus online behaviors:

      Now you know (and knowing is half the battle)!

      What do I know now?

      Heh. Did you look at the link? I don't remember how or why I stumbled across Cirno's WWORA, which is effectively his tribute to being a racist and being called a racist, and lots and lots of only his own posts detailing how and why you should never use MSB because of what they did to him.

      It doesn't actually detail any bad behavior on MSB's part, and knowing Cirno just as well as I know trash like surreality et al from 20 years of not understanding what a MUSH is and bitchwhining about it on WORA when actual adults ban them for actual (not imagined or misrepresented) bad behaviors, or just snarking about what a shithole a game is and how staff fucked them over when the dice don't go their way in 1 scene out of hundreds, and never, ever growing up in those 2 decades either, I'm not holding someone banning him against anyone who banned him.

      I'm just confused why you'd do it now, the same way I'm confused how/why all the trash people here like to snipe and bitch about VASpider when they act just like her and in fact learned most of their bad behavior from her when she was WORA's owner. They sure all had their heads up her ass then, and for many years afterward, and now suddenly she's villainized for being the same piece of shit she always was. Same is true of Cirno. Same is true of Elsa.

      posted in Mildly Constructive
      N
      Nemesis
    • RE: Real life versus online behaviors

      @arkandel said in Real life versus online behaviors:

      Take the guy we re-banned this week. Do I know he's not trolling us for the lols? That he's actually a racist? Of course not, for all I know he's a nice person iRL.

      http://wwora.freeforums.net/

      Now you know (and knowing is half the battle)!

      posted in Mildly Constructive
      N
      Nemesis
    • RE: Comic Noir Game

      @mr-johnson said in Comic Noir Game:

      In sad news the Metropolis grid will need to be reworked as the person who had graciously donated the majority of said grid has revoked our right to actually use the grid they provided and asked that it be removed. Out of respect for their wishes I'm removing the work they did, and am going to do my best to rebuild it in a manner unique from the way they had crafted the city.

      I'm seriously appalled that anyone did this, and a little amazed/surprised that anyone would take them seriously. In the past year I've quit coding for 4 games with absolutely no intention of going back. The first was a game I was hosting too, where the GM just up and disappeared (and started melodrama for me with a group of staffers on a whole different/unrelated MU about the game I was building). I left that game up and running for several months to give the clown the chance to come back and find himself another coder/host. The next was the same kind of deal: When I quit I not only offered to leave my code but continue hosting free of charge for the guy. He said, "Keep your rotten server." He was obviously not serious anyway. The 3rd was just weird-ass passive aggressive melodrama for no apparent reason other than its own sake. I chowned all my code objects to that dumb fuck's Wizbit (ensuring flags/locks/powers/etc wouldn't get reset) and then @nuked my own Wizbit from #1.

      So since I was 15 or so, I've been seeing morons quit MUs even as players and bitch around after staff continued to NPC their former PC(s) in the interest of providing closure for other PCs. When I was 18, Cajun Nights actually had gone as far as to make a policy stating that any material you supply to the MUSH as a staff or player contributor was the same as handing over copyrights under something like the MIT License (which actually existed then but wasn't mentioned by name). When I left Cajun Nights over staff melodrama (I coded there as well as staffed for a couple of spheres), I found out they had actually kept NPCing my primary PC there not just for closure but because they thought he was a great atmosphere piece in his Sphere and an excellent foil for cross-sphere interactions. I was fucking floored and no less than thrilled by the flattery.

      Only 1 single time, when I was about 28 or 29, did I ever encounter some clown demanding that I not "steal his ideas" and that was from what started out as a pretty normalized medieval/Low Fantasy setting and then rapidly descended into his weird Anime Steampunk wetdreams. When I told the guy (who wasn't really a partner or cofounder so much as a contributor from the start) that I wasn't going to do that for any goddamn reason at all, the fucktard pitched a fit and demanded that I @nuke all the grid sections he'd built and furthermore that I'd better not go and use his ideas when I realized how fucking great they really were. Ell. Oh-(MFG). Ell.

      In a case like this, where you clearly had some kind of falling out with a volunteer contributor, I really don't see any reason at all to rebuild your grid just because somebody left with a stick up their ass and a pack of petulant demands. This person clearly has the maturity of a poodle and the brains to match - I don't really care how good the descs are and I don't even remotely recognize them as original work even if they were actually invented out of raw ether - Metropolis sure as shit isn't their "intellectual property" any more than any single pose they transmit to the MUSH during IC sessions and I'd dare say far, far less.

      posted in Game Development
      N
      Nemesis
    • RE: Bug Report

      Might be an issue with a forum theme. I use whatever the default is and haven't seen these issues.

      posted in Suggestions & Questions
      N
      Nemesis
    • RE: Zero to Mux (with wiki)

      @Bobotron check /var/logs/apache2/error.log (or for CentOS maybe /var/log/httpd/error_log or error.log) IMMEDIATELY after you try to load the page and "fail."

      You may want to edit the connecting-from IP Address from those lines to protect yourself before pasting those lines directly, or better yet just c/p the error code and message.

      I really dis-recommend CentOS for anything but a webhost and maybe a tagalong SQL database. It's rigged with defaults for those. Debian-ish platforms are rigged for anything, with an emphasis on free/open source software packages and community-based support. If you're scared of Debian, try Ubuntu. Ubu's a joke clowns don't realize they're telling when they brag about their linux workstation with a GUI, but it makes a neat little server platform.

      posted in How-Tos
      N
      Nemesis
    • RE: RL Anger

      @rnmissionrun said in RL Anger:

      The Rite Aid where I get my prescriptions, sodas for work and other essentials, was just bought out by Walgreens. So far they've only changed the pharmacy over and I haven't had a prescription filled there yet. You guys are making me nervous about the change 😞

      Walgreens pharmacy in my town is the best. Give them your cell number and they're like a Jewish grandmother reminding you about your refills. Long before you run out and even when you don't have refills available, an automated system calls you up and asks if you want a refill - you say yes and they'll contact the prescriber for you to get it done.

      posted in Tastes Less Game'y
      N
      Nemesis
    • RE: Zero to Mux (with wiki)

      So you're pretty much on your own to install the wiki of your choice, install/configure the Preprocessor (PHP or Python or Perl or whatevs), and then go through the wiki configuration to tell it which database schema to use and to make sure you got the user credentials right.

      But learning your way around Linux is really the hardest part.

      posted in How-Tos
      N
      Nemesis
    • RE: Zero to Mux (with wiki)

      The only reason MySQL even comes into this discussion is because MediaWiki talks to it.

      You have to create 1 schema for each wiki, in MySQL. Period.

      mysql --user=root -p
      Enter Password: (do that now)

      Your prompt changes to mysql>

      mysql> CREATE DATABASE wiki00;

      mysql> GRANT ALL PRIVILEGES ON wiki00.* to 'username0'@'localhost' IDENTIFIED BY 'someCleverPassword';

      mysql> GRANT ALL PRIVILEGES ON wiki00.* to 'username0'@'127.0.0.1' IDENTIFIED BY 'someCleverPassword';

      127.0.0.1 is a TCP loopback address. localhost is a named pipe. They're only synonymous or even vaguely similar when you're dicking around with your webbrowser and the browser behaves the same no matter which one you type in. That speaks to the amount of work the browser dev team put in.

      MySQL, as a high security platform, is engineered to treat 'localhost' and '127.0.0.1' as the two different connection sources they really are.

      So what you're doing in these MySQL queries is granting access to 'username0' when it connects from either source/protocol.

      mysql> flush privileges;

      What you just did is create a MySQL schema (also referred to as an individual database, but that's a horrible term to use because MySQL is the database and calling individual schemas 'databases' confuses newbies). After that you gave every imaginable permission (READ/WRITE/UPDATE/DELETE/ETC) to your new user. In newer MySQL versions, these commands alone should also create the specified user@site definition if it doesn't exist.

      mysql> quit

      This returns you to the linux shell.

      posted in How-Tos
      N
      Nemesis
    • RE: Zero to Mux (with wiki)

      Moving on to Apache, the webserver. By itself, Apache doesn't really need MySQL or any Preprocessor at all. By itself Apache serves content to properly privileged requestors via HTTP and HTTPS requests.

      The default site configuration in Apache looks like this (except of course without the wordwrap on long lines):

      <VirtualHost *:80>
      # The ServerName directive sets the request scheme, hostname and port that
      # the server uses to identify itself. This is used when creating
      # redirection URLs. In the context of virtual hosts, the ServerName
      # specifies what hostname must appear in the request's Host: header to
      # match this virtual host. For the default virtual host (this file) this
      # value is not decisive as it is used as a last resort host regardless.
      # However, you must set it for any further virtual host explicitly.
      #
      # UNCOMMENT AND EDIT THE NEXT LINE TO CONTAIN YOUR DOMAIN NAME #
      #ServerName www.example.com
      #
      ServerAdmin webmaster@localhost
      #
      # CHANGE THE VALUE FOLLOWING DocumentRoot ON THE NEXT LINE TO RETARGET ANOTHER LOCAL DIRECTORY WITH THIS SITE DEFINITION #
      #
      DocumentRoot /var/www/html
      #
      # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
      # error, crit, alert, emerg.
      # It is also possible to configure the loglevel for particular
      # modules, e.g.
      #LogLevel info ssl:warn
      #
      # CHANGE THE PART THAT READS ${APACHE_LOG_DIR} TO POINT TO YOUR CUSTOM LOG LOCATION #
      ErrorLog ${APACHE_LOG_DIR}/error.log
      CustomLog ${APACHE_LOG_DIR}/access.log combined
      #
      # For most configuration files from conf-available/, which are
      # enabled or disabled at a global level, it is possible to
      # include a line for only one particular virtual host. For example the
      # following line enables the CGI configuration for this host only
      # after it has been globally disabled with "a2disconf".
      #Include conf-available/serve-cgi-bin.conf
      Alias /log/ "/var/log/"
      <Directory "/var/log/">
      Options Indexes MultiViews FollowSymLinks
      AllowOverride None
      Order deny,allow
      Deny from all
      Allow from all
      Require all granted
      </Directory>
      </VirtualHost>

      You simply set this file up, with a different name, hostname, and target directory of course, for each site you host from the local machine.

      Once this is done, you use the command:

      a2ensite <the part of the filename you selected that precedes the .conf>

      This symlinks that definition from /var/apache2/sites-available into /var/apache2/sites-enabled - you could also create the symlink manually (and webhosts did up until a pretty recent version of Apache - not sure which one).

      Now you call into:

      /etc/init.d/apache2 restart

      Which restarts the apache2 webserver, which just like a MUSH loads all its config data into memory at startup.

      So to run multiple wikis from the same machine, as far as Apache is concerned, you just dump each wiki into a different directory and then create a new site definition for it.

      The only trick to it, as noted above, is getting the file permissions right for Linux. Not only does Linux have to have permissions allowing Apache to read the files, but Linux also needs permissions allowing Apache to serve the files to OTHER users, ie anonymous website visitors.

      Other than that, this is as easy as making hardboiled eggs. If you undercook it it'll still be damn tasty and if you overcook it you won't even notice. The only thing you can do wrong is flub the filesystem permissions, in which case you dropped an egg on the floor.

      posted in How-Tos
      N
      Nemesis
    • RE: Zero to Mux (with wiki)

      It really is a lot simpler than it sounds when you put it all together. I'll try to break it down to bite-sized chunks.

      First: We're talking about a lAMP stack. That's Linux with Apache, MySQL and Preprocessing. It's plain ironic or merely concidental that PHP, Python, and Perl all start with P and are the most popular Common Gateway Interface (aka Preprocessing engines) out there right now.

      So let's start with Linux. You need to know your directory structure. This is instead a partition structure in advanced setups, but you cross directory/partition boundaries the same way so that's just technical minutiae.

      /bin is all compiled binary applications/executables. It should always contain binary, non-human-readable files.

      /etc is mostly config files, static variables for application runtimes, etc. Not everything here is human readable, but anything ending in .ini or .conf or .cfg should be.

      /etc/init.d is exclusively for Daemon/Service configurations, meaning things that kick off at system boot and affect all users.

      /var is all variable data storage modified by application runtimes, such as logs and storage for persistent data/options selected at runtime. What you find here may or may not be human readable, but anything ending in .txt or .log or .err and such should be.

      Common commands:

      chown (change owner) which changes the owner/group of a file/directory.

      chown user:group /path/to/target changes just that target.

      chown user:group /path/to/target -R assumes that target is a directory and recursively changes ownership of target plus all its contents (subdirs, files, files in subdirs, etc).

      chmod permissionGroups /path/to/target changes permissions just for that target.

      chmod permissionGroups /path/to/target -R assumes that target is a directory and recursively changes permissions of target plus all its contents (subdirs, files, files in subdirs, etc).

      permissionGroups can be specified as something like:

      chmod ugo+rwx /path/to/target where the U means UserWhoOwnsIt and g means GroupThatOwnsIt and o means OthersWithSystemAccess. The +rwx means you're giving Read+Write+Execute.

      Using numerics is easier because you typically want user/group/others to all have different permission values and it's easier to set them all at once rather than make 3 different line entries of chmod u+rwx followed by chmod g+rw followed by chmod o+r.

      Enter the numeric permissions.

      4 is READ, 2 is WRITE, and 1 is EXECUTE. So if you want to give RWX you use 7 (4+2+1) and if you want to give RW you use 6 (4+2) and if you want just RX you use 5 (4+1) and if you want read only you use 4 - and if writeonly you use 2 - and if execute only you use 1.

      Then you have to realize that this is stored in 4 4-bit values (2 octets) but only 3 quads are actually used (3 groups of 4 bits). The last quad isn't relevant to you. So starting from the left side, SKIP one. Then the 2nd one is USER and the 3rd one is GROUP and the 4th one is OTHER.

      chmod 0777 /path/to/target gives RWX permissions to User+Group+Others.

      chmod 777 /path/to/target is the exact same command, simply omitting the leading 0.

      chmod 754 /path/to/target gives RWX to UserOwner, RX to GroupOwner, and Read-only to Others.

      Using the -R switch gets recursive.

      chmod 0754 is the exact same command.

      EZ PZ right?

      posted in How-Tos
      N
      Nemesis
    • RE: Zero to Mux (with wiki)

      @bobotron said in Zero to Mux (with wiki):

      And now to figure out how to make mediawiki on it. And then how to gulp import a mediawiki backup....

      ETA: So, me knowing enough stuff to get installs going as a baseline, is it possible to drop a couple of different mediawiki instances in there on different directories or things that point? IE: I have hotbmush.com which I want to be a core wiki. But I may have some other site, othersite.com, as a wiki too. Is this feasible?

      Yeah, it's simple. My directory examples may not be 100% accurate unless you're using debian/ubuntu.

      /etc/apache2/sites-available contains definitions for sites. Just look inside 000-default.conf there with a text editor to see how it should look. The important bit here is the directory specifier. For example, NEVER RUN YOUR WEBSITE OUT OF /var/www/html - ALWAYS SET UP A NON-ROOT AND NON-SUDO USER FOR SITES AND ESPECIALLY WIKIS. Those bits should be bold, italic, neon green on a black background.

      The way it works is that the Apache service runs under the passwordless/loginless user named www-data with a group by the same name. So you create a new basic user with a home directory, typically named the same as the domain you're hosting there, then create a www directory inside that. Don't screw around with enabling public_html directories. That's chickenshit designed for multi-user/multi-tenant hosting scenarios.

      So say your site is mydomain.com - log into the server as root or as a sudo-enabled user (preferably).

      sudo adduser mydomain

      This generates a user and a group at the same time, both named mydomain, and it generates a new /home/mydomain directory after you fill out the user's password and general info. You can just leave the general info blank, or put in other details if you like. You should really be using RSA keypairs instead of passwords to log in with any user at all, but you can set that up in /home/mydomain/.ssh/authorized_keys after your first login as that user.

      sudo mkdir /home/mydomain/www
      sudo chown www-data:www-data /home/mydomain/www
      sudo chmod 775 /home/mydomain/www

      What the last line does is set Read Write eXecute for Owner and RWX for Group and RX only for everyone else (this is imperative if you want the webpages to be publically available).

      sudo mkdir /home/mydomain/www-logs
      sudo chown www-data:www-data /home/mydomain/www-logs
      sudo chmod 770 /home/mydomain/www

      This time the last line sets RWX for owner, RWX for group, and no read/no-write for anyone else. This allows Apache to write into there and it allows mydomain to read/clear logs.

      sudo usermod -a -G www-data mydomain

      This adds the user 'mydomain' to the 'www-data' group, giving them RWX access to the new /home/mydomain/www directory. If you're logged in as mydomain at the time then you have to log out and back in for the change to take effect.

      You must not forget the -a or you'll dump all existing groups not in the list instead of adding one for that user.

      sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/mydomain.conf

      Now modify /etc/apache2/sites-available/mydomain.conf - set the data directory to /home/mydomain/www and set the logs directory (or the individual log files to point into) /home/mydomain/www-logs - assign whatever domain name you want to use in the host definition line.

      sudo a2ensite mydomain
      sudo /etc/init.d/apache2 restart

      Or use systemctl if you're more comfortable with that.

      At this point every distro has its little quirks so you may have to tweak stuff to get the filesystem permissions just right. /var/logs/apache2/error.log will tell you if this is the case. You can google error codes if any pop up. Apache is insanely well documented both in the online manual and literally every forum. Even StackOverflow.com manages not to fuck up advice on Apache configs and troubleshooting, which is a bit of a miracle if you've ever used StackOverflow for anything more complex than making toast.

      Now all you have to do is download your wiki and unzip into /home/mydomain/www or else /home/mydomain/www/wiki (if you want to have a regular website at mydomain.com and the wiki at mydomain.com/wiki)

      You'll want/need to create a separate MySQL schema for every wiki, but you can pretty safely use the same username/password as long as it's only accessible from localhost or 127.0.0.1 and only has privileges to those wiki schemas, and as long as nobody else ever logs into the linux shell. You should be able to tell each individual MediaWiki what schema and user credentials to use when you run the initial setup through a webbrowser.

      Be advised that literally every single time you upload new files or create new files in /home/mydomain/www you'll need to be root or a sudo user and run:

      sudo chown -R www-data:www-data /home/mydomain/www
      AND/OR (either works)
      sudo chmod -R 775 /home/mydomain/www

      Otherwise the newly created files will be owned by the user mydomain and the group www-data so Apache may have issues serving the pages without the chmod or mydomain may have issues editing/overwriting data. I like for everything to be wholly owned by www-data:www-data (user and group) for uniformity. When you do the chown then you're doing chmod for the user mydomain's benefit (the first 7). When you don't do the chown then you're doing the chmod for the group www-data's benefit (the second 7). In both cases you're doing the chmod for everyone else (the 5 at the end).

      Short of installing SAMBA and running all your uploads through that for new files (which I don't recommend for a public server - SSH is vastly preferable to SMB) I don't know of a good way to make the chown/chmod stuff happen automatically. Setting every single file in there to READ and EXECUTE may not be the best idea ever either, but is a quick and dirty way of doing it. If you value security over laziness, then you would run the recursive chown but then individually chmod every single new file by itself appropriately.

      ie: HTML should never be set eXecute but PHP/PY files should.

      sudo chmod 664 /home/mydomain/www/newHTMLFile.htm
      sudo chmod 775 /home/mydomain/www/newScriptFile.php
      sudo chmod 775 /home/mydomain/www/newScriptFile.py

      Unix file permissions are bitflag values so the number 4 is Read and 2 is Write and 1 is eXecute. 664 makes htm files R+W for owner (the first 6) and R+W for group (the second 6) and Read-Only for everyone else (the 4 at the end).

      775 then is RWX (owner) RWX (group) and Read+eXecute for everyone else.

      It really is easier than it looks, once you get the hang of dicking around with linux systems.

      posted in How-Tos
      N
      Nemesis
    • RE: Zero to Mux (with wiki)

      https://github.com/tekmunkey/ubuntuMUSH

      I recently added a MediaWiki installation routine to the ubuConfig.sh

      The whole thing installs your lamp server with both PHP and Python, MySQL and handles the baseline config for both a MUSH User and a Wiki user, and spits out what the new passwords are. And the passwords are randomly generated at runtime so you don't have to worry about an insecure/default PW installation.

      There's also an installPennMUSH.sh and installTinyMUX.sh that compile in MySQL Support so all that's left is to plug your MySQL config info into your .conf file. The TMUX installer automatically activates REALMS + Reality Levels and the async MySQL module.

      There's also an automated backup script that you just need to make some line-item mods to set up to your taste. The scripts are commented in a tutorial fashion.

      posted in How-Tos
      N
      Nemesis
    • RE: Coordinates-based Grid

      @wizz said in Coordinates-based Grid:

      I am currently bashing my head through a Python primer with a goal of eventually coding an Evennia game some time in the murky mists of the future and one thing I really, really wanna do is build a roomless, coordinates-based grid similar to KaVir's in God Wars 2. It's such a cool idea and while I'm not surprised it hasn't been used more often for MU*s, I really want to be able to implement it.

      Can anyone maybe tell me if it's realistic to code it in Python, or even if anyone has done something similar?

      It's ridiculously easy. I had done it with TinyMUX softcode around 2003-4. You just take your one room, decide how wide/long/tall you want it, and that's your X,Y,Z extents. 20x50x20 goes from -10 to 10 on the X, -25 to 25 on the Y, -10 to 10 on the Z. You still have to desc all those rooms individually by using some convention such as &desc-X-Y-Z (where the X-Y-Z are actually coordinate values). At that point voice volume vs stats like Acute Hearing can be a real thing - not just a 2D 'shout' heard in all rooms adjacent with exits.

      It doesn't get difficult or complicated (even the math is simple 3-value, not even vector, addition/subtraction in 99% of cases) until you decide you want to plot a straight-line trajectory from 0,-4,-6 (4 meters south of room center, 6 meters down) to 4,3,9 (4 east, 3 north, 9 up) and try to determine if there are objects in the path (for example if you want a building/wall to dampen sound).

      If you're working with Evennia you have to rewrite say/pose/emit commands to play nice and add a custom object default with a positional coordinates attribute. In TMUX I did it with the fairly new (at that time) @hooks.

      posted in MU Code
      N
      Nemesis
    • RE: Mush Online Training

      http://mushcode.com/

      http://graphcomp.com/info/mud/pennmush/guide-single.html

      https://www.aresmush.com/articles/practical-mush-coding/

      posted in Mildly Constructive
      N
      Nemesis
    • RE: Anyone familiar with Twine?

      I think there's something wrong with your browser then, if you're using Twine's built-in debug feature. When I tried: (set: $operations to operations + 1) it actually gave me a very useful error output stating that "operations is not defined"

      So I've actually started a Twine story up in Harlowe 2 and been playing with different code structures and permutations. Everything works fine and normally.

      Instead if (if: $operations <= 0) you could also try:

      (set: $isOperationsDone to ($operations <= 0))
      (print: $isOperationsDone)

      Instead of the if: statement (if you leave the if statement in, it'll trash your existing output when it jumps to the next storyboard). If the print value is correct and if you actually don't jump to the end without the apparently offending if statement, then try adding:

      $isOperationsDone[(goto: "peregrine@end:~$ ^z")]

      posted in Tastes Less Game'y
      N
      Nemesis
    • RE: Anyone familiar with Twine?

      (if: $operations <= 0)[(goto: "peregrine@end:~$ ^z")]

      Try go-to instead of goto

      I'm guessing or betting that "peregrin@end" is the next chapter or section in-line anyway so it's going there as a default in flow control. So the bool isn't always true it's just the command is always ignored as an application exception and the thing is behaving normally in all other respects.

      Tried this and nope. goto works just exactly like go-to and if there's nothing there at all then it does nothing.

      (set: $operations to 0)
      (if: $operations <= 0)[(goto: "peregrine@end:~$ ^z")]

      If I set $operations to anything but 0 (including by adding 1) then it doesn't goto.

      So I think you should present more of your code. That entire file, maybe. Something's going way wrong if Twine didn't alert you to the syntax error and it's giving you this other behavior too.

      posted in Tastes Less Game'y
      N
      Nemesis
    • RE: Anyone familiar with Twine?

      @auspice said in Anyone familiar with Twine?:

      (if: $operations <= 0)(goto: location)

      (if: $operations <= 0)[goto: location]

      Or maybe: (if: $operations <= 0)[(goto: $location)]

      The documentation is unclear but I'm fairly confident the IF's result should go in [] and maybe the goto should go in () inside that.

      Square brackets on command or what Harlowe likes to call "changer" Just To Be Different. Forevermore referred to as JTBD and highly derogatory.

      posted in Tastes Less Game'y
      N
      Nemesis
    • 1
    • 2
    • 3
    • 1 / 3