City of Arabel
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. DoctorDeth
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 7
    • Groups 0

    DoctorDeth

    @DoctorDeth

    1.2k
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Age 57
    Location Ocean Springs, MS

    DoctorDeth Unfollow Follow

    Latest posts made by DoctorDeth

    • RE: forum links changing (pictures)

      @Darlene-Te-len Nothing is getting deleted. Links to Discord attachments will start to expire if you access them from services other than the Discord client. E.g., if you post a link to a message attachment in this comment thread, it will eventually return an error when accessed. The announcement is in a recent message in #api-announcements in the /discord-developers official server.

      Solution: Upload the images to a more permanent storage space (e.g. Google Photos, Flicker, lmgur, etc.) or the forums themselves.

      posted in Closed Bugs
      DoctorDethD
      DoctorDeth
    • RE: Roll dot command issue

      @StrawMan

      Not sure why this doesn't work.. inc_dot_parse calls CommandRollDMFI, and for regular users, this executes the "roll" script.

          if (!GetCommanderIsDM(oCommander)) {
              // Non-DMs get the regular "roll" command
              SetLocalString(oCommander, "roll", sArgs);
              ExecuteScriptWithWarn("roll", oCommander);
              return;
          }
      

      The roll script then checks for ability and skill check rolls and defaults to figuring out if you sent it a "d8" or "d20". (I chopped this up to make it shorter for display purposes only).

          //roll an ability check
          if (sArgs == "str")      { modifier = ABILITY_STRENGTH; }
          else if (sArgs == "dex") { modifier = ABILITY_DEXTERITY; }
          // ... etc ... 
      
          if(modifier > 0) {
              // Do the roll and inform..
              return;
          }
      
          if (StartsWith(sArgs, "appr"))      { iSkill = SKILL_APPRAISE; }
          else if (StartsWith(sArgs, "bluf")) { iSkill = SKILL_BLUFF; }
          // ... etc...
      
          // roll a skill check
          // Not implemented yet cause I don't really have the time.
          if(iSkill > 0) {
              // Do the roll and inform..
              return;
          }
      
          // Default is rolling a die if we didn't get out of the script before that.
          rollDice(sArgs);
      }
      
      void rollDice(string roll) {
          int dice = StringToInt(GetStringRight(roll, GetStringLength(roll) - 1)); //The type of dice to roll
          int diceresult;
      
          switch(dice) {
              case   2: diceresult =   d2(); break;
              case   3: diceresult =   d3(); break;
              // .. etc .. 
          }
          inform(roll, diceresult);
      }
      
      posted in Closed Bugs
      DoctorDethD
      DoctorDeth
    • RE: .companion name Not working properly

      @Zool Fix inbound next time I can snag the module.

      Hot patched in the meantime.

      posted in Closed Bugs
      DoctorDethD
      DoctorDeth
    • RE: "Dot commands" for Summon Companion/Languages Not Working

      @Gorga469 ok.. I added some debug statements to the logs. after the next reset run it again and post back here with the rough time you tried the command (include the time zone, too, so I can convert it to UTC to find it in the logs).

      posted in Closed Bugs
      DoctorDethD
      DoctorDeth
    • RE: "Dot commands" for Summon Companion/Languages Not Working

      @Gorga469 were you using .set lang elven or .set lang elf ?

      posted in Closed Bugs
      DoctorDethD
      DoctorDeth
    • RE: Journal not clearing/resetting

      @Puffy said in Journal not clearing/resetting:

      I believe this issue is linked to the weird time bug with resting, we might want to look into our time scripts

      Possible fix in place.. needs testing.

      posted in Closed Bugs
      DoctorDethD
      DoctorDeth
    • RE: Journal not clearing/resetting

      Linking to "timeanddate.com" doesn't include teh current time and date..

      was the quest completed?

      posted in Closed Bugs
      DoctorDethD
      DoctorDeth