City of Arabel
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Tailoring healing kit's +1 crafting

    Scheduled Pinned Locked Moved Closed Bugs
    13 Posts 4 Posters 405 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • EchoE
      Echo
      last edited by

      Most definitely a bug.

      "You can complain if you weren't asked; you can't complain if you were asked but didn't contribute." ~ Professor.

      1 Reply Last reply Reply Quote
      • EchoE
        Echo
        last edited by

        I just tested it in game and got the correct number of kits for my ingredients.

        6f16cd48-21dd-4b22-afb6-108cc257ae5a-image.png

        Tested with @Cpt_Elrad and got the correct outcome.

        Could not duplicate bug.

        "You can complain if you weren't asked; you can't complain if you were asked but didn't contribute." ~ Professor.

        1 Reply Last reply Reply Quote
        • ?
          A Former User
          last edited by A Former User

          Only happens when crafting more then two at a time.
          Bug 4.png

          1 Reply Last reply Reply Quote
          • EchoE
            Echo
            last edited by

            I just tested 4 times.
            1st test - enough for 1 kit, got 1 kit
            2nd test - enough for 2 kits, got 2 kits
            3rd test - enough for 3 kits, got 3 kits
            4th test - enough for 5 kits, got 5 kits

            No clue!

            "You can complain if you weren't asked; you can't complain if you were asked but didn't contribute." ~ Professor.

            1 Reply Last reply Reply Quote
            • ?
              A Former User
              last edited by

              Maybe it just wants to mess with me :(

              1 Reply Last reply Reply Quote
              • EchoE
                Echo
                last edited by

                We'll keep testing. I'll get another player to try.

                "You can complain if you weren't asked; you can't complain if you were asked but didn't contribute." ~ Professor.

                1 Reply Last reply Reply Quote
                • EchoE
                  Echo
                  last edited by

                  Anyone else having this issue?

                  "You can complain if you weren't asked; you can't complain if you were asked but didn't contribute." ~ Professor.

                  1 Reply Last reply Reply Quote
                  • HarlequinH
                    Harlequin
                    last edited by

                    I put ingredients for 4 kits on the table and got 16 kits. Trashed the extra 12.

                    a6f2f9f5-fe39-473a-8265-aa58b1b70f6e-image.png

                    1 Reply Last reply Reply Quote
                    • EchoE
                      Echo
                      last edited by

                      fix attempted v6994

                      "You can complain if you weren't asked; you can't complain if you were asked but didn't contribute." ~ Professor.

                      1 Reply Last reply Reply Quote
                      • HarlequinH
                        Harlequin
                        last edited by

                        Some improvement...

                        I put enough ingredients for 4 healing kits (same as last time).
                        I got 4 healing kits in my inventory.
                        But -
                        The server thinks it gave me 8 and took away 1.

                        e8278f24-eebb-4e63-8fbe-7a86d93eff18-image.png

                        1 Reply Last reply Reply Quote
                        • PuffyP
                          Puffy
                          last edited by

                          Dumb question, why are some called Healer's Kit and some Healing Kit?

                          @SpiffyMeister
                          the real bench mark for success is if you seduce a puffy pc or npc
                          @Prof-Misclick
                          Puffy said "Don't you trust me? Then vote yes NERD!"
                          #scaredofstrongwomen

                          1 Reply Last reply Reply Quote
                          • EchoE
                            Echo
                            last edited by

                            Healer's Kits are NWN default. Healing Kits are CoA special.
                            The issue is that OUR kits all have the same tag and deal out healing based on variables.
                            And in the crafting scripts, they have to have different tags. So we use the NWN default tag and then our scripts replace those with our own Healing Kits.

                                // take away old traps, give new traps, take old kits, give new kits
                                if (GetIsPC(oPC) && !GetIsDM(oPC)) {
                                    if (GetStringLeft(sTag, 10) == "NW_IT_TRAP") {
                                        SetStolenFlag(oItem, TRUE);
                                    } else if (GetStringLowerCase(GetStringLeft(sTag, 12)) == "nw_it_medkit") {
                                        string sNew = "medkits";
                                        string sType = "sMEDKIT_TYPE";
                                        string sName = "Healing Kit +";
                            
                                        int num = StringToInt(GetStringRight(sTag, 3));
                                        switch (num) {
                                            case 1: sName += "1"; break;
                                            case 2: sName += "3"; break;
                                            case 3: sName += "6"; break;
                                            case 4: sName += "10"; break;
                                            default: sName += "1";
                                        }
                            
                                       /* int nStack = GetItemStackSize(oItem);
                                        int i = 0;*/
                                        DestroyObject(oItem);
                            
                                        object oTmp;
                                        //for (i = 0; i < nStack; i++) {
                                            oTmp = CreateItemOnObject(sNew, oPC);
                                            SetLocalString(oTmp, sType, "healkit");
                                            SetName(oTmp, sName);
                                        //}
                                    }
                                }
                            

                            So it gave her 4 Healer's Kits, then destroyed them and replaced them with Healing Kits.

                            So the fix Deth & I put in worked! @Harlequin put ingredients for 4 kits and got 4 kits. (eventually)

                            "You can complain if you weren't asked; you can't complain if you were asked but didn't contribute." ~ Professor.

                            1 Reply Last reply Reply Quote
                            • 1 / 1
                            • First post
                              Last post