anomaly jobs and myrrdin bboard not working


  • Pitcrew

    I'm doing a fresh install of anomaly jobs, and none of the commands work. I'm literally copy/pasting from the Googlecode, so that makes me wonder.

    I've noticed some code not working as I don't have some functions properly setup. Is something happening on jobs code that requires a function to be properly 'functioned' beforehand?

    Also, does anyone have a fresh install of Myrrdin's BBoard. The one on MUSHcode.com has a reference dbref that isn't used at all #222.


  • Pitcrew

    That should be a placeholder dbref #.

    @@ WEB OFF
    @pemit %#=BBS INSTALLER> Cleaning up attributes...%r
    @force me=@edit [num(bbpocket)]/*=#222,[num(bbpocket)]
    @force me=@edit [num(mbboard)]/*=#222,[num(bbpocket)]
    

    This should be changing all the #222s to the dbref # of your bbpocket after you install the code.


  • Pitcrew

    @krmbm said in anomaly jobs and myrrdin bboard not working:

    @@ WEB OFF
    @pemit %#=BBS INSTALLER> Cleaning up attributes...%r
    @force me=@edit [num(bbpocket)]/=#222,[num(bbpocket)]
    @force me=@edit [num(mbboard)]/
    =#222,[num(bbpocket)]

    I did that but it still doesn't work. I'm on MUX 2.10, and now it doesn't recognize any boards at all. Any board it creates is 0.


  • Pitcrew

    Sorry. :(

    I haven't installed Myrddin's BBS in a few years, and I'm not sure I ever did it on MUX, but I'm guessing something went wrong with your quote.

    If you examine your objects, do they still say #222 all over them?


  • Pitcrew

    @krmbm No. The #222 was removed and replaced with the proper DB. I'm just trying to figure out why bboards aren't being registered.

    I was able one thing, but it won't make more than one board now though. >.<


  • Pitcrew

    Did it replace on both the bbpocket and the BBS? And is the bbpocket inside the BBS?


  • Pitcrew

    Yep!


  • Pitcrew

    @krmbm

    I think something is wrong with the bbcreatenewgroup command. When it creates a new group, it sets the attribute on the bbpocket groups as #-2 and keeps it as such. It doesn't change anything even when you add it.

    The command is:
    CMD_+BBNEWGROUP [#1]: $+bbnewgroup *:@switch hasflag(%#,wizard)=1, {@create %0; @wait 1={@switch [setr(0,num(%0))]=#-1,{@pemit %#=That's not a good name for a group.},{&groups #152=[switch(words(get(#152/groups)),0,,[get(#152/groups)]%b)]%q0; &own %q0=%#; @set %q0=safe; @set %q0=inherit; &last_mod %q0=[u(#152/bbtime)]; &CANREAD %q0=1; &CANWRITE %q0=1; &config_timeout %q0=[get(#152/config_timeout)]; @pemit %#=Group number [member(get(#152/groups),%q0)] added as '%0'. Messages will have [ifelse(get(%q0/config_timeout),a [div(get(%q0/config_timeout),86400)] day,no)] timeout.}}}, {@pemit %#=You can't add groups to the message base.}


  • Pitcrew

    Can you create one and paste the trace output?


  • Pitcrew

    Okay I figured out what's going on. So it's now posting. I just needed to fix stuff and clear some attributes on the bbpocket.

    Now, my second question is how do I update the +bbread command to just show +bblist.

    Update: ACtually, +bbread doesn't show what's unread and what's there. Shouldn't +bbread show all the boards and the messages there @krmbm


  • Pitcrew

    I honestly don't remember what all the commands do. I think bbread just outputs the list of forums that you can see with a (U) next to unread ones?

    If you want bbread to do the same thing as bblist, though, just copy everything after the first colon in the command. E.g.,

    CMD_+BBREAD: $+bbread:<copy all this stuff>
    &cmd_+bblist <obj>=$+bblist:<paste all this stuff>

    Unless MUX has @include? Then you can just do:

    &cmd_+bblist <obj>=$+bblist:@include me/CMD_+BBREAD


  • Tutorialist

    +Bbread will list all of the boards.
    +Bbread ## -- will list all messages on the specific board.
    +Bbread ##/## -- will view a specific message.
    +Bblist ?? an alias of +Bbread maybe? idk.
    +Bbnew / +bbnext will show unread posts in chronological order from oldest unread to newest unread (at least by board).

    @Whirlwind's +help file for it based off of.... idek can still be found here: http://windycity.wikidot.com/help#help_plusbboard

    I don't really know of where else to find the help files for it.


  • Pitcrew

    @Cobaltasaurus So the issue I'm having is that +bbread doesn't list all the boards. That's why I'm puzzled. I thought it just wasn't coded but it's there.


  • Tutorialist

    @chibichibi said in anomaly jobs and myrrdin bboard not working:

    @Cobaltasaurus So the issue I'm having is that +bbread doesn't list all the boards. That's why I'm puzzled. I thought it just wasn't coded but it's there.

    Show me the code?


  • Pitcrew

    @chibichibi Does it only list boards you can see / are subscribed to? Because I think that's what bbread does.


  • Pitcrew

    @Cobaltasaurus @krmbm

    Looking at the object, only THIS appears. There is NO &CMD_+BBREAD command >.< DAFUQ?

    CMD_+BBREAD2 [#1]: $+bbread :@switch strmatch([%0],/)=0,{@switch member(u(#152/valid_groups,%#,read),setr(0,u(#152/get_group,%0)))=0,{@pemit %#=[switch(%q0,#-2,That Group name is not specific enough.,You do not subscribe to that Group.)]},{@pemit %#=[repeat(=,78)]%r[center(*** [name(%q0)] ****,78)]%r[space(8)]Message[space(28)]Posted[space(8)]By%r[repeat(-,78)]; @dolist get(%q0/MESS_LST)={@pemit %#=[ljust([member(get(#152/groups),%q0)]/[member(get(%q0/MESS_LST),##)],6)][ljust(u(#152/fn_msg_flags,%#,%q0,##),2)][ljust(index(setr(1,get(%q0/HDR_##)),|,1,1),35)][ljust(index(%q1,|,2,1),14)][mid([index(%q1,|,3,1)][ifelse(and(hasattr(%q0,anonymous),hasflag(%#,wizard)),%b([name(index(%q1,|,4,1))]),)],0,21)][switch(member(get(%q0/MESS_LST),##),words(get(%q0/MESS_LST)),%r[repeat(=,78)])]}}},{@switch member(u(#152/valid_groups,%#,read),setr(0,u(#152/get_group,setr(2,first(%0,/)))))=0,{@pemit %#=[switch(%q0,#-2,That Group name is not specific enough.,You do not subscribe to that Group.)]},{@dolist [setq(4,member(get(#152/groups),%q0))][switch(rest(%0,/),u,u(#152/unreadnums,%#,%q0),u(#152/fn_makelist,rest(%0,/)))]={@switch [and(lte(##,words(get(%q0/MESS_LST))),isnum(##),gt(##,0))]=0,{@pemit %#=Message %q4/## ([name(%q0)]/##) does not exist.},{@pemit %#=%r[center(= [name(%q0)] =,78,=)]%r[ljust(Message: %q4/##[switch(u(#152/fn_timeout_close,index(setr(3,get(%q0/HDR_[extract(get(%q0/MESS_LST),##,1)])),|,5,1)),1,{%b(timeout warning)})],35)]Posted[space(8)]Author%r[ljust(index(%q3,|,1,1),35)][ljust(index(%q3,|,2,1),14)][mid([index(%q3,|,3,1)][ifelse(and(hasattr(%q0,anonymous),hasflag(%#,wizard)),%b([name(index(%q3,|,4,1))]),)],0,29)]%r[repeat(-,78)]%r[get(%q0/BDY_[extract(get(%q0/MESS_LST),##,1)])]%r[repeat(=,78)]; &bb_read %#=[setunion(get(%#/bb_read),[extract(get(%q0/MESS_LST),##,1)])]}}; @wait 2={&bb_read %#=[setinter(get(%#/bb_read),get(#152/master_lst))]}}}



  • @chibichibi said in anomaly jobs and myrrdin bboard not working:

    Looking at the object, only THIS appears. There is NO &CMD_+BBREAD command >.< DAFUQ?

    The standard install comes with a CMD_+BBREAD, and the one you're looking at (CMD_+BBREAD2) is for reading a specific board's posts with +bbread <name/#>.

    Seems that your installation went awry somehow.


  • Pitcrew

    I literally copied from the MUSHcode repository for the bboard, so Idk. Does anyone have a working CMD-+BBREAD?



  • @chibichibi It doesn't have line numbers so I can't refer you to a specific line, but the muscode file does have a CMD_+BBREAD (without the 2). http://www.mushcode.com/File/Myrddins-BBS-v4-0-6 You should be able to copy and paste it fairly easily, but I'd be more concerned about what else might be missing. It might be better just to start over.


  • Pitcrew

    I'm going to start over. Thank you for that other link. I don't know why it's screwing up.

    Then I have to fix the anomaly jobs problem. The other code that was put in works, GAH. So frustrating.


Log in to reply