MU Soapbox

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Muxify
    • Mustard
    1. Home
    2. Ashen-Shugar
    3. Topics
    • Profile
    • Following 2
    • Followers 3
    • Topics 15
    • Posts 272
    • Best 116
    • Controversial 0
    • Groups 3

    Topics created by Ashen-Shugar

    • Ashen-Shugar

      Resetting your #1/God/Admin password
      Mildly Constructive • • Ashen-Shugar

      6
      2
      Votes
      6
      Posts
      1810
      Views

      Ashen-Shugar

      @autumn said in Resetting your #1/God/Admin password:

      A very slightly easier version of #2 for TinyMUSH is to redefine GOD to the dbref of a character you do know the password for -- then recompile and restart. The TinyMUSH source code I have at hand is about ten years old, but it's probably still in flags.h:

      #define GOD ((dbref) 1)

      This has the advantage of allowing only the specified player to change #1's password; but it makes it even more important to change it back right away, because there's probably some code on your game somewhere that depends on #1 being God.

      Most excellent. That totally slipped my mind as a valid solution. Thanks for the reminder!

      I added it to the main post with credits to you.

    • Ashen-Shugar

      Mush Online Training
      Mildly Constructive • • Ashen-Shugar

      13
      1
      Votes
      13
      Posts
      1446
      Views

      Jamie

      @Ashen-Shugar I could hunt around and see if I still have any of the old logfiles from our AdminMUSH days.

    • Ashen-Shugar

      Decorative Camel Toes
      Tastes Less Game'y • • Ashen-Shugar

      1
      0
      Votes
      1
      Posts
      721
      Views

      No one has replied

    • Ashen-Shugar

      Shout for Help
      Mildly Constructive • • Ashen-Shugar

      10
      3
      Votes
      10
      Posts
      2674
      Views

      Derp

      @thenomain said in Shout for Help:

      So you hit up Google and end it with site:musoapbox.net

      You know, I've been kind of tempted to write a 'How to Google Like a Champ' thing for awhile now. Maybe this will get me the motivation to finally do that.

    • Ashen-Shugar

      The Mush Hackathon
      Mildly Constructive • • Ashen-Shugar

      6
      0
      Votes
      6
      Posts
      1278
      Views

      Thenomain

      @skew said in The Mush Hackathon:

      So you just want me to start a new code project and see how badly I can break everything?

      I would buy you a week's worth of coffee (er, one coffee a day for a week) to watch this beautiful trainwreck unfold.

    • Ashen-Shugar

      What to do when your mush is attacked
      Mildly Constructive • • Ashen-Shugar

      21
      57
      Votes
      21
      Posts
      5482
      Views

      surreality

      @Arkandel This is exactly the sort of thing that would be extraordinarily helpful, yes! Thank you, Ark.

    • Ashen-Shugar

      @scan and search tools for MUX
      MU Code • • Ashen-Shugar

      7
      0
      Votes
      7
      Posts
      2038
      Views

      Lithium

      This is rather neat. Thanks @Ashen-Shugar .

      Also, I did fix that problem... was a simple /space/. Silly spaces messing up code...

    • Ashen-Shugar

      Codebase Pot Pie - Or what I like or wish I could have
      MU Code • • Ashen-Shugar

      26
      0
      Votes
      26
      Posts
      5618
      Views

      Chet

      We need open source code to make coding easier, like a MUSH version of Windows.

      j/k

    • Ashen-Shugar

      Brilliant Breakthroughs and Impossible Projects
      MU Code • • Ashen-Shugar

      26
      0
      Votes
      26
      Posts
      5379
      Views

      Mercutio

      For the longest time, I've had issues where I wish there was a way to save information to a database like SQL, in some known format, and be able to query it. I don't just mean 'just use SQL', but I mean advanced features like... 'related topics', etc.

      I basically wanted Graph based storage. I tried using oqgraph, since MariaDB gives access to that, and with MariaDB being binary compatible with MySQL, I could use it. But it isn't well maintained, and it tended to crash things. So I dropped that. (Read: Don't use OQGraph for SQL Graph Storage, it's a trap!)

      I recently actually started work on this anew, and in doing so fixed a bug in PennMUSH's SQL handling that enabled single-return Stored Procedures -- creating Graph based functions in SQL. However, SQL isn't really made for this... with enormous tables, this'll get slow. (Read: Stored Procedures for SQL Graph Storage is the best option at the moment)

      It's roughly detailed here:
      http://mush-mercutio.tumblr.com/post/153345784737/pennmush-graph-framework

      If I finish this, I may at some point rewrite SceneSys to use this kind of storage, and launch some basic things along with it, like a basic BBS and a basic Jobs system as a POC.

      Being reflected on the MUSH and on SQL, would allow easy grabbing through websites, etc.

    • Ashen-Shugar

      New Start Databases
      MU Code • • Ashen-Shugar

      29
      1
      Votes
      29
      Posts
      6360
      Views

      Thenomain

      @Ashen-Shugar

      One of the million things I have on the back burner is "SGP replacement".

      My back burner is about the size of a house.

    • Ashen-Shugar

      Trace/Debug Breakpoints
      MU Code • • Ashen-Shugar

      1
      1
      Votes
      1
      Posts
      854
      Views

      No one has replied

    • Ashen-Shugar

      Dreams to Reality
      MU Code • • Ashen-Shugar

      20
      2
      Votes
      20
      Posts
      5756
      Views

      Ashen-Shugar

      @Chime said in Dreams to Reality:

      It's very pretty-- but it's a perfect example of what I was trying to avoid. I've been a UNIX person since 1995. I really do want just bare autoconf so that I can automate and do CI testing more easily.

      Well, that's the brilliant part of it. It makes a dynamic file called 'custom.defs' in the src directory that has the Makefile variables. So you could use CLI and generate it in a batch or on the fly just fine. The menu is just an interface to generate the custom.defs file, that's it.

      Unix guy here since 1985 (AT&T SYS3/SYSV on a 3B2), so I am all for the mighty CLI 😉

      That said-- it is really nice to have all of those configurable features. Ideally they should become config options in the game conf file rather than compile-time features, but I understand quite well how big a pain that is.

      Yup, we have a ton of customizations that way. All the mysql is in a rhost_mysql.conf, again, the Makefile menu interfaces with it.

      The only compile times are those that make huge differences in the code itself, and again is just populated as DEFS's in the custom.defs file. So entirely CLI capable with batch processing. Yay is the UNIX.

      Admittedly, a lot of my customizations to MUX were to remove a lot of #ifdefs for obsolete crap.

      Take your MUX inc()/dec() option. What's the harm in having that always enabled?

      Yea, some of these things we likely will re-visit to change from compile time to just conf parameters, most of it however was due to speed/performance considerations at the time.

      [X] 26. SHA512 Passwords

      I hope those are still salted?

      Absolutely. 10 character randomized seeding per password encryption.
      No rainbow table decryption for our baby 😉

    • Ashen-Shugar

      Myrddin CRON - Fix for Possible Missed Trigger Events
      MU Code • • Ashen-Shugar

      1
      1
      Votes
      1
      Posts
      782
      Views

      No one has replied

    • Ashen-Shugar

      Trend Statistics for RhostMUSH
      MU Code • • Ashen-Shugar

      8
      0
      Votes
      8
      Posts
      2337
      Views

      Thenomain

      strcat( %b %b, iter( lnum( 1, 23, 2 ), strcat( ljust( v( %i0 ), 2 ), ljust( v( inc( %i0 )), 2 ))), %b %b )

      Okay, got it. Harder to change, not difficult to set up, more issue with iteration limits. C'est la vie.

    • 1 / 1