Jump to content


Photo

SET_2DA_ENTRY


  • Please log in to reply
43 replies to this topic

#41 Hoppy

Hoppy

    Mage Hunter

  • Member
  • 2107 posts

Posted 25 March 2010 - 09:33 AM

Should I revert the WeiDU fix (which causes CtB to fail) or are you going to fix & upload CtB soon?

The fix only worked with TDD so far which was the first suspect. I will try the code with TDD and CtB installed together to see how things turn out.

If everything is cool, then I will repackage the two (same version numbers) and reupload at DragonsHoard. Also I will try to reupload to the Temp server here but K'aeloree has had troubles updating the last two updates, so SHS versions are already out of date. These are things beyond my control and they (admin) have been working on it.

EDIT: Golden good with CtB and no warnings after TDD. I think it was TDD initial hosing that screwed CTB.

You guys are rockin' the house! 8)

Edited by Hoppy, 25 March 2010 - 11:07 AM.

?May God defend me from my friends; I can defend myself from my enemies.? - Voltaire

"If you think that a size of the mod indicates an amount of bugs that it introduces and their severity you're totally wrong...
Try not to use next time a load of shitty "super-mega-improving-tweaking-revising" small mods that you have installed and try to meet Wulfgar once again."
- King Diamond


Posted Image The Definitive Guide to Trolls

"Finding food and a place to sleep is your own business. I imagine Paul the Cat should have some fun with you, too" - Potencius in The Darkest Day
"You have been warned, little bastard!" -Khelben to a young <CHARNAME>in Check the Bodies
There are those who will snivel, and offer nothing in return except criticism, meanwhile never lifting a finger to do other than to cut other peoples labor down simply for the fact that they lack the capability to put anything of their own together. -erebusant

#42 Mike1072

Mike1072
  • Modder
  • 539 posts

Posted 02 June 2010 - 01:56 AM

Some updates:


The IR Slashing Halberds component has been fixed so it won't try to add rows above the column labels when additional columns have been added. It also now pads extra -1 entries onto its rows to match however many additional columns the file has.


RoT and NTotSC appear to be the only big mods that still add a 0 column label to the file, causing abilities to display the wrong tooltips.


I've finished my initial work on an easy-to-use tooltip-adding function for modders to use. Given an item resource and a list of .tra references or strrefs, it will add the information to tooltip.2da, make sure all rows have the right number of -1 entries, and extend the number of columns in the file if it has less than the number of tooltips you give it, plus keep everything looking pretty.
Attached File  tooltip.tpa   3.13K   325 downloads

You use it like this:

LAUNCH_ACTION_FUNCTION ~ADD_ITEM_TOOLTIPS~ STR_VAR item = ~CBDRDSWD~ tooltips = ~@650284 12094 12026 8786 @32~ END

And it will add CBDRDSWD to the file with 5 tooltips. It treats 12094, 12026, and 8786 as string references that already exist in the game, and it looks up @650284 and @32 in your .tra files and writes new strrefs for them.

I intend to make it available for anyone to use. I'd appreciate any feedback you may have on it before I release a finalised version.

Edit: I've updated the function so it ensures that each row in the file has the right number of columns. It also fixes any problems with the column labels.

Edited by Mike1072, 03 June 2010 - 04:44 PM.


#43 Hoppy

Hoppy

    Mage Hunter

  • Member
  • 2107 posts

Posted 04 June 2010 - 12:52 PM

Cool, thanks Mike1072.

Although it may be a while before CTB gets updated or even repackaged, I will keep the simple fix that Miloch presented and is currently in use for now. Region of Terror will get an update in the future and is the next project for me along with two translations of the mod in the works. I didn't look at RoT when we were discussing the 2da here but I knew CtB and TDD both were messing things up in the 2da file.

I can implement the new code with RoT when that gets a fresh package. I'll double check TS-BP for the old code too since all of these mods were maintained around the same time before I started flailing about with them. :)
?May God defend me from my friends; I can defend myself from my enemies.? - Voltaire

"If you think that a size of the mod indicates an amount of bugs that it introduces and their severity you're totally wrong...
Try not to use next time a load of shitty "super-mega-improving-tweaking-revising" small mods that you have installed and try to meet Wulfgar once again."
- King Diamond


Posted Image The Definitive Guide to Trolls

"Finding food and a place to sleep is your own business. I imagine Paul the Cat should have some fun with you, too" - Potencius in The Darkest Day
"You have been warned, little bastard!" -Khelben to a young <CHARNAME>in Check the Bodies
There are those who will snivel, and offer nothing in return except criticism, meanwhile never lifting a finger to do other than to cut other peoples labor down simply for the fact that they lack the capability to put anything of their own together. -erebusant

#44 Hoppy

Hoppy

    Mage Hunter

  • Member
  • 2107 posts

Posted 10 August 2010 - 10:44 AM

Some updates:


The IR Slashing Halberds component has been fixed so it won't try to add rows above the column labels when additional columns have been added. It also now pads extra -1 entries onto its rows to match however many additional columns the file has.


RoT and NTotSC appear to be the only big mods that still add a 0 column label to the file, causing abilities to display the wrong tooltips.


I've finished my initial work on an easy-to-use tooltip-adding function for modders to use. Given an item resource and a list of .tra references or strrefs, it will add the information to tooltip.2da, make sure all rows have the right number of -1 entries, and extend the number of columns in the file if it has less than the number of tooltips you give it, plus keep everything looking pretty.
Attached File  tooltip.tpa   3.13K   325 downloads

You use it like this:

LAUNCH_ACTION_FUNCTION ~ADD_ITEM_TOOLTIPS~ STR_VAR item = ~CBDRDSWD~ tooltips = ~@650284 12094 12026 8786 @32~ END

And it will add CBDRDSWD to the file with 5 tooltips. It treats 12094, 12026, and 8786 as string references that already exist in the game, and it looks up @650284 and @32 in your .tra files and writes new strrefs for them.

I intend to make it available for anyone to use. I'd appreciate any feedback you may have on it before I release a finalised version.

Edit: I've updated the function so it ensures that each row in the file has the right number of columns. It also fixes any problems with the column labels.



I will set this as top priority in my tests with CtB and TDD for there future release. The tooltip is still getting screwed up and I am at the end of my rope, which wasn't really long to begin with.
?May God defend me from my friends; I can defend myself from my enemies.? - Voltaire

"If you think that a size of the mod indicates an amount of bugs that it introduces and their severity you're totally wrong...
Try not to use next time a load of shitty "super-mega-improving-tweaking-revising" small mods that you have installed and try to meet Wulfgar once again."
- King Diamond


Posted Image The Definitive Guide to Trolls

"Finding food and a place to sleep is your own business. I imagine Paul the Cat should have some fun with you, too" - Potencius in The Darkest Day
"You have been warned, little bastard!" -Khelben to a young <CHARNAME>in Check the Bodies
There are those who will snivel, and offer nothing in return except criticism, meanwhile never lifting a finger to do other than to cut other peoples labor down simply for the fact that they lack the capability to put anything of their own together. -erebusant