Author Topic: SAY [OFFSET] #-1  (Read 7831 times)

Offline GeN1e

  • Planewalker
  • *****
  • Posts: 267
  • Gender: Male
Re: SAY [OFFSET] #-1
« Reply #25 on: January 11, 2010, 05:02:59 PM »
Eh, who said I feel bad? I thought that was you feeling all bad and jealous about pamela123 choosing the other guy over you.

Offline aVENGER

  • Planewalker
  • *****
  • Posts: 143
Re: SAY [OFFSET] #-1
« Reply #26 on: March 26, 2010, 01:03:21 PM »
Has something changed regarding this behavior for WeiDU 214? I'm getting a "ERROR: [mazzy8.cre] -> [override] Patching Failed (COPY) (Invalid_argument("index out of bounds"))" on this code:

Code: [Select]
// Correct a minor issue in Mazzy's soundset (aVENGER)

ACTION_FOR_EACH ~file~ IN                                                          // for each of the following files
               ~mazzy8~                                                            // Mazzy at level 8 (SoA)
               ~mazzy9~                                                            // Mazzy at level 9 (SoA)
              ~mazzy11~                                                            // Mazzy at level 11 (SoA)
              ~mazzy12~                                                            // Mazzy at level 12 (SoA)
              ~mazzy15~                                                            // Mazzy at level 15 (ToB)
BEGIN                                                                              // execute the following
ACTION_IF FILE_EXISTS_IN_GAME ~%file%.cre~ BEGIN                                   // if the file exists
COPY_EXISTING ~%file%.cre~ ~override~
PATCH_IF (%SOURCE_SIZE% > 0x2d3) THEN BEGIN                                        // file size sanity check (filters out 0 byte files i.e. ALLOW_MISSING)
  SAY EXISTANCE2 #29727 SAY EXISTANCE3 #-1                                         // assign the Spell Failed sound to the proper soundslot
END                                                                                // ends file size check
BUT_ONLY_IF_IT_CHANGES
END                                                                                // ends ACTION_IF FILE_EXISTS_IN_GAME block
END   

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: SAY [OFFSET] #-1
« Reply #27 on: March 26, 2010, 01:52:49 PM »
*sigh*

Uploading a fixed copy of 214.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: SAY [OFFSET] #-1
« Reply #28 on: March 26, 2010, 02:08:14 PM »
Uploaded. can you devSin reupload the Mac version?
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline aVENGER

  • Planewalker
  • *****
  • Posts: 143
Re: SAY [OFFSET] #-1
« Reply #29 on: March 26, 2010, 02:18:55 PM »
Cheers, it works properly now.

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: SAY [OFFSET] #-1
« Reply #30 on: March 26, 2010, 02:21:45 PM »
So basically, what you're saying is that months of effort spent "testing" new releases in private is just a complete fucking waste of time and effort? It doesn't make one god damn bit of difference?

If you admit it, then I will reupload.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: SAY [OFFSET] #-1
« Reply #31 on: March 26, 2010, 03:43:54 PM »
So basically, what you're saying is that months of effort spent "testing" new releases in private is just a complete fucking waste of time and effort? It doesn't make one god damn bit of difference?
In this particular case, no mod was ever doing SAY xyz #-1 because it didn't work even before, so it wasn't in the test cases. In general, I agree with you that using proper unit testing would be faster than having cmorgan install all mods under the Sun twenty times.
« Last Edit: March 26, 2010, 03:45:27 PM by the bigg »
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: SAY [OFFSET] #-1
« Reply #32 on: March 26, 2010, 03:56:15 PM »
In this particular case, no mod was ever doing SAY xyz #-1 because it didn't work even before, so it wasn't in the test cases. In general, I agree with you that using proper unit testing would be faster than having cmorgan install all mods under the Sun twenty times.
I think aVENGER's comment was that he was using this pre-214. Now, it may not have written 2^32 before, but it's always done 2^31 or whatever and it was used in the prehistoric eras.

I uploaded, like, 10 minutes after talking shit in any case. For $150, I will compile a very special personalized version of WeiDU*. Contact me for details.




*Limited time offer. Not available in certain parts of New York. Limit one compile per customer.

Offline cmorgan

  • Planewalker
  • *****
  • Posts: 1424
  • Gender: Male
  • Searcher of Bugs
Re: SAY [OFFSET] #-1
« Reply #33 on: March 26, 2010, 04:15:57 PM »
Plus, I'm teh slow, and sometimes have to be told which of the big button-thingies on the funny glowing tube to press in order to misunderstand what I am looking at. But I am much cheaper than devSin. For $5 and a smile, I'll do anything. A N Y T H I N G.

Offline Echon

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1941
  • Gender: Male
    • The Fields of the Dead
Re: SAY [OFFSET] #-1
« Reply #34 on: March 26, 2010, 04:35:32 PM »
For $5 and a smile, I'll do anything. A N Y T H I N G.

Even moose stuff?

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: