MU Soapbox

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Muxify
    • Mustard
    1. Home
    2. skew
    3. Posts
    • Profile
    • Following 0
    • Followers 4
    • Topics 43
    • Posts 710
    • Best 285
    • Controversial 1
    • Groups 2

    Posts made by skew

    • RE: Wiki to MU solution/MU to Forum

      @sonder Also, @Thenomain did a nice Jobs to SQL, which is here: https://github.com/thenomain/Mu--Support-Systems/blob/master/SQL Job Archives.txt

      It's not jobs to forum, but it is a nice, efficient archive. I just don't know that the commands to pull from the archive was finished. Considering that page looks like it has my janky sql statements on it, I'm guessing not! But even then, once you get it installed, not hard to tweak a little further (and I'll be writing the code to make it work better eventually, anyways).

      posted in MU Code
      skew
      skew
    • RE: Wiki to MU solution/MU to Forum

      Wiki to Help/News can be found here: https://github.com/thenomain/Mu--Support-Systems/blob/master/Wiki Help and News.txt

      I can help, ofc. You got my discord!

      posted in MU Code
      skew
      skew
    • RE: Mux Logger Objects

      @ashen-shugar Thank you!

      posted in MU Code
      skew
      skew
    • RE: Mux Logger Objects

      @ashen-shugar I've literally never heard this before... Just to be clear, my repose code works by creating a new attribute (something like d.time.poser-dbref with the pose as the data) with each new pose, then wipe()s those attributes after X minutes. You're saying that, even though I wipe(), the hash key for each attribute will continue to grow? And @dbclean will simply fix that up no problem?

      And for the record, Thenomain's poselogger logs in SQL, so no issue there. The other poselogger has each player create an object, which could potentially be a problem.

      posted in MU Code
      skew
      skew
    • RE: Mux Logger Objects

      @Thenomain Okay, so, again, I do not have any pose logger code. I have +repose, and while that could be tweaked to be a logger (and frankly I'm intending to do so), in it's present state it is not.

      @Derp On Fate's Harvest, we have code that essentially allows you, the player, to @create an object and then use the Pose Logger command to turn it into a Pose Logger. You turn it on, it listens to the room, when you're done, you turn it off, then it can output the code in WikiMedia template format.

      posted in MU Code
      skew
      skew
    • RE: @hook on mux2.12

      @hook sets it for a session, or something. To have a permanent hook object, you need need to set it in the netmux.conf. This should help:

      https://github.com/skewskewskew/MUSHCode/blob/master/posebreak fix up.txt

      (Obvs you want the stuff in the commented out section, not the attribute to modify posebreak.)

      Edit: Derp. You need hook_obj 14 to read the dbref of the object. So, replace 14 with whatever dbref# your hook_obj is.

      posted in MU Code
      skew
      skew
    • RE: Mux Logger Objects

      @derp @Thenomain
      I don't have a logger code myself, but we do have one on Fate's Harvest. I could see if Annapurna is okay sharing, or knows where it originally came from?

      posted in MU Code
      skew
      skew
    • RE: +repose command for TinyMux

      @derp Oh! +poseorder is different code. It can be found here: https://github.com/skewskewskew/MUSHCode/blob/master/Pose Order Machine.txt

      A lot of people actively dislike +poseorder. Some people feel it rushes people, some people dislike the idea of a "pose order" in general and prefer things to flow freely. Whatever the case, I know some people (Arx, SF MUX) have opted to NOT have +poseorder or something like it, very intentionally.

      posted in MU Code
      skew
      skew
    • RE: +repose command for TinyMux

      @derp The function in Tiny (and I think in Rhost and Penn, too) is beep(). The function is usually locked to wiz, surely to avoid abuse (page-spamming beep() at someone would be awful), so using it as a player is mostly not possible. On Fate's Harvest, I put in a command called +beeptest that mostly exists so people can test if their beep() sound is actually playing (a lot of clients block it by default and you need to turn it on). But, with +beeptest it allows players to send it (and, with +beeptest you can input into a custom PoseOrder and make it so each time someone poses you get a beep).

      Anyways, the code for +beeptest is below. As you can see, it's meant to go on SGP global, which is usually #6. Does that help?

      &C.BEEP.TEST SGP - Main Globals=$+beeptest:@pemit %#=This is to see if your beep is working! [beep()] Beep beep!
      
      posted in MU Code
      skew
      skew
    • RE: Shadows of Paradise: help wanted!

      @thatonedude said in Shadows of Paradise: help wanted!:

      I'm curious on this game if it lost traction based on a coder still? There is @Thenomain 's code out there with stuff from @skew and @Cobaltasaurus . I know of another coder that works on WoD stuff as well. Is the big issue trying to do custom stuff? Is it TinyMux?

      ThenoCode is, indeed, alive and well. It's active on at least one game right now, and I'm busily tossing it up onto a server, and continuing to suggest improvements as I do. I'm always willing to help folks with MU-code, and specifically ThenoCode, but no one asks and I'm not about to chase down additional work.

      As for how adaptable the code is, I'd have to ask "What do you want to do?". Adding new stats (merits, powers, etc) is doable, though can become quite tricky if there's complication (eg, you need to buy x then y then Z becomes cheaper). All that said, the gamelines chosen here are done (or done enough, as Theno says).

      Assuming, yes, it's on TinyMUX.

      And now I'm just rambling. What was my point?

      posted in Adver-tis-ments
      skew
      skew
    • RE: +repose command for TinyMux

      Updated again... I finally tweaked it so \\ doesn't show up on +repose. I might have went overkill, but it now eats every \. I can't really think of any negatives except that, obviously, you cannot use \ in the displayed text of your pose. Does anyone use that, anyways? Just use a / right?

      If you're already using my reposer, you should be able to put this into Muxify and dump it in.

      &f.capture.pose [v( d.rr )]=
      	strcat(
      		setq( l, loc( %# ) ),
      		if( cor( 
      			match( u( d.exclude.rooms ), %ql ), 
      // check exclude room list
      			match( get( %ql/_REPOSE ), off ), 
      // check setting on local room 
      			), @@( If on the no list do nothing else process rest of this ),
      		strcat(
      			setq( u, u( f.secure.pose, objeval( %#, s( %0 )) ) ),
      // Using objeval will eval the string as if by %# (ie, the invoker).
      // This should filter out MOST nonsense people might try
      // f.secure.pose boggles up [] so that should handle the rest
      			setq( c, strtrunc( %0, 1) ),
      			setq( f, first( %0 ) ),
      			setq( e, switch( %qc,
      				:, u( f.format.repose, rest( %qu, : ), pose ),
      				;, u( f.format.repose, trim( %qu ) , pose.ns ),
      				", u( f.format.repose, rest( %qu, " ), say ),
      				\, u( f.format.repose, rest( %qu, lit( \ ) ), emit ),
      				switch( 1,
      					strmatch( %qf, po* ), u( f.format.repose, rest( %qu ), pose ),
      					strmatch( %qf, sa* ), u( f.format.repose, rest( %qu ), say ),
      					strmatch( %qf, @em* ), u( f.format.repose, rest( %qu ), emit ),
      					strmatch( %qf, @re* ), u( f.format.repose, rest( %qu ), emit ),
      					u( f.format.repose, edit( trim( %qu ), %\, ), emit ) ) ) ),	
      // This long nasty bit tries to figure out how you posed. Ie, " or @em or etc
      			set( %ql, 
      				u( f.format.repose.attribute, %# ):
      				[u( f.format.repose.data, %qe )] )
      // add that you posed 
      				) 
      			)
      	)
      
      posted in MU Code
      skew
      skew
    • RE: Requesting a Dummies Guide to MU Creation

      I just recently went through the Zero to Mux thread, using Thenomain's additional instructions. Lots of frowning at my screen and sighing. I spammed my thoughts/notes at it, but I don't think I have the stray sanity to recompile the entire guide.

      Also, it seems like Digital Ocean and/or Ubuntu and/or whoever else seems to change things every few months, so new stuff pops up.

      posted in MU Questions & Requests
      skew
      skew
    • RE: San Francisco: Paris of the West

      @ziggurat I am not an official to say officialness, but there's been folks approved for a week or two now. There was the "Grand Opening" event today, started with an (IC) speech by the mayor. There's a few sphere-specific events happening also.

      posted in Adver-tis-ments
      skew
      skew
    • RE: Zero to Mux (with wiki)

      @skew And more...

      I don't see it listed anywhere on any of the instructions (which isn't to say it isn't, just that I don't see it!), but after installing the basic stuff was root, I installed my game as mygameuser. Figured that was smart, right? Anyways, I couldn't get SQL to work (mind, I'm using Chime's branch). When doing Chime's configure, I was seeing... checking for mysql/mysql.h... no and I figured that's why SQL wasn't working. Right? Right. Sure.

      So, I did some digging here and found Ark recommending apt-get install -y libmysqlclient-dev and that did it.

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

      @surreality Refinements such as how to block specific IPs! For when a ban on the MU just isn't enough!

      sudo ufw deny from 15.15.15.51

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

      And more...

      After installing TinyMUX and setting the port and all, I attempted to connect and I failed. Per Thenomain, he asked me to check if the Mux was running via... telnet localhost <port>

      Success, could reach connect screen. Then light bulb. Almost all ports are blocked by default (is this new to THIS distro of Ubuntu? idk). Need to allow through the firewall via... sudo ufw allow <port>/tcp.

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

      @thenomain So Thenomain doesn't forget...

      The LAMP droplet needs to be selected from the "one click install" page, when you go to set up a new droplet.

      Once you're in, the mysql_secure_installation requires you to enter the password of mysql. This should be created by default and stored in a directory. Look at the motd that displays when you first log in, it'll say to check "/root/.digitalocean_password" which you do with more /root/.digitalocean_password.

      In 1. [Step 1] under "Get Us Some MediaWiki", you need to add... sudo apt-get install php-xml and make sure to do a sudo service apache2 restart after that's done!

      posted in How-Tos
      skew
      skew
    • RE: San Francisco: Paris of the West

      @ganymede said in San Francisco: Paris of the West:

      I think I'm passing on this one. My online time is limited, and I have other commitments.

      Thanks for letting us know!

      posted in Adver-tis-ments
      skew
      skew
    • RE: MediaWiki: Changing Index.php

      @bobotron I haven't the slightest idea what CentOS is... Your version of Linux? I don't think it should much matter...

      But honestly it's ridiculous that MediaWiki does this. The /index.php/ is so ugly, and they don't even use it on their own site. Like, why have this be how the application installs? I don't know. Harumph, I say.

      Anyways, hit me up on here and I can pass you my discord and try to help, but mostly I was just bumping around in the dark promising @Cobaltasaurus I'd break her stuff.

      posted in Code
      skew
      skew
    • RE: MediaWiki: Changing Index.php

      Because I'm impatient...

      The code I copy+pasted above needs to go into the appropriate .conf file, which will be located in /etc/apache2/sites-available ... If it's a very basic MediaWiki install on, say, DigitalOceans, you might need to use default or default.conf. In this case, because my site was wiki.site.com it was in a file called site.conf.

      As per the instructions, paste that code into the .conf file, then move on to updating the LocalSettings.php file, which would be in /var/www/wiki/ or whatever else. Once that is done, if you are using DigitalOceans, when you refresh your site it'll fail. 404 error. Your broke literally everything. Awesome, right?

      You need to enable mod_rewrite for Apache. Do that, you can check out the DigitalOceans guide. Really, it's just two commands.

      posted in Code
      skew
      skew
    • 1
    • 2
    • 9
    • 10
    • 11
    • 12
    • 13
    • 35
    • 36
    • 11 / 36