• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 414 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.
  • ?
    A Former User
    last edited by 28 Jul 2020, 00:38

    I put enough stuff in the tailor table to make what I thought would be six healing kit +1 and ended up with 36 of them. Not sure if it is a bug and that the recipe makes multiples or not this is my first time using this crafting system. I have also trashed them all just to be on the safe side. Bug 1.png Bug 2.jpg Bug 3.jpg

    1 Reply Last reply Reply Quote
    • E
      Echo
      last edited by 28 Jul 2020, 03:27

      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
      • E
        Echo
        last edited by 28 Jul 2020, 23:24

        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 29 Jul 2020, 17:22

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

          1 Reply Last reply Reply Quote
          • E
            Echo
            last edited by 29 Jul 2020, 21:05

            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 29 Jul 2020, 22:24

              Maybe it just wants to mess with me :(

              1 Reply Last reply Reply Quote
              • E
                Echo
                last edited by 29 Jul 2020, 22:24

                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
                • E
                  Echo
                  last edited by 22 Aug 2020, 18:04

                  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
                  • H
                    Harlequin
                    last edited by 2 Sept 2020, 23:16

                    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
                    • E
                      Echo
                      last edited by 2 Sept 2020, 23:55

                      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
                      • H
                        Harlequin
                        last edited by 4 Sept 2020, 00:50

                        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
                        • P
                          Puffy
                          last edited by 4 Sept 2020, 07:35

                          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
                          • E
                            Echo
                            last edited by 4 Sept 2020, 11:49

                            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
                            1 / 1
                            • First post
                              7/13
                              Last post