the Phrozen Forums
  General Mod Making
  Yup .. Patchstring problems..

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Yup .. Patchstring problems..
Syntaks
WarLord

Posts: 231
From:
Registered: Sep 2001

posted 26 November 2001 13:07     Click Here to See the Profile for Syntaks   Click Here to Email Syntaks        Reply w/Quote   
Ok ..

I didd some tweaking of patchstring .. little by little, tested the changes, everyhting was going good.

Then I made a booboo. No problem, erased the key that I made the mistake on.

Thought it was that easy.

Now It's all messed up. Character selection screen is mixed up (difficulties are now Select Difficulty, Normal and Nightmare) To make a new character it say Bonus To Attack Character...

Anyway. So I just delete the patchstring in the folder, boot it up .. everything's fine. Throw a brand new (unmodified) copy into my local/lng/eng folder, and it's still messed up.

The only changes I've made besides this are to my levels.. and these are fine, since they run alright without the patchstring file... And even taking out that change does nothing..

So.. what's my point? How do I get the patchstring working again.?.

IP Logged

Syntaks
WarLord

Posts: 231
From:
Registered: Sep 2001

posted 26 November 2001 14:13     Click Here to See the Profile for Syntaks   Click Here to Email Syntaks        Reply w/Quote   
Well, I switched patchstrings and seems to work now..

Delays delays.. Sheesh

------------------
"Embrace this moment, remember/ we are immortal, all this pain is an illusion"

-Tool

IP Logged

jbouley
Forum Admin.

Posts: 4907
From: Portland, Maine, USA
Registered: Jan 2001

posted 26 November 2001 14:19     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
Ok, I'll take this opportunity here to once again warn all modders, especially newbies, about patchstring.tbl.

This is a really troublesome file, and if you mess it up...you can cause yourself untold grief (well, that applies to all .tbl files to some degree...but especially here).

Also, people who add new entries to patchstring.tbl often encounter horrendous problems afterward.

My advice is this: Only do one thing with patchstring.tbl...use it to change the names of things in-game that can be changed nowhere else. For example, there are some skill description displays and charcter names and such that appear in patchstring.tbl. Because patchstring overrides the string.tbl and expansionstring.tbl files, you need to change those in patchstring or they won't show up in-game.

For 99% of your modding, though, you can make changes simply in the other two .tbl files.

And again, I cannot stress enough that if you add new stuff, add it to string.tbl (my preference) or expansionstring.tbl

Never, never NEVER delete an original Blizzard entry from any .tbl file.

And please look both directions before crossing the street.

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download at http://www.fileplanet.com/dl/dl.asp?/planetdiablo/phrozenkeep/mods/sic_beta.zip - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged

Forsaken
Honorary Warlord

Posts: 397
From: Dutch guy in France
Registered: Sep 2001

posted 27 November 2001 06:06     Click Here to See the Profile for Forsaken   Click Here to Email Forsaken        Reply w/Quote   
quote:
Originally posted by Syntaks:
Ok ..

I didd some tweaking of patchstring .. little by little, tested the changes, everyhting was going good.

Then I made a booboo. No problem, erased the key that I made the mistake on.

Thought it was that easy.

Now It's all messed up. Character selection screen is mixed up (difficulties are now Select Difficulty, Normal and Nightmare) To make a new character it say Bonus To Attack Character...

Anyway. So I just delete the patchstring in the folder, boot it up .. everything's fine. Throw a brand new (unmodified) copy into my local/lng/eng folder, and it's still messed up.

The only changes I've made besides this are to my levels.. and these are fine, since they run alright without the patchstring file... And even taking out that change does nothing..

So.. what's my point? How do I get the patchstring working again.?.


Ehmmmm, Syntaks error? Sorry, lame joke, I know, but I really couldn't resist ;-)

------------------
So much bandwidth, so little time

IP Logged

Syntaks
WarLord

Posts: 231
From:
Registered: Sep 2001

posted 27 November 2001 06:51     Click Here to See the Profile for Syntaks   Click Here to Email Syntaks        Reply w/Quote   
quote:
Originally posted by jbouley:
Ok, I'll take this opportunity here to once again warn all modders, especially newbies, about patchstring.tbl.

This is a really troublesome file, and if you mess it up...you can cause yourself untold grief (well, that applies to all .tbl files to some degree...but especially here).

Also, people who add new entries to patchstring.tbl often encounter horrendous problems afterward.

My advice is this: [b]Only do one thing with patchstring.tbl...use it to change the names of things in-game that can be changed nowhere else. For example, there are some skill description displays and charcter names and such that appear in patchstring.tbl. Because patchstring overrides the string.tbl and expansionstring.tbl files, you need to change those in patchstring or they won't show up in-game.

For 99% of your modding, though, you can make changes simply in the other two .tbl files.

And again, I cannot stress enough that if you add new stuff, add it to string.tbl (my preference) or expansionstring.tbl

Never, never NEVER delete an original Blizzard entry from any .tbl file.

And please look both directions before crossing the street.

[/B]



I'm sorry, I'm sorry , I'm sorry!

*cries pittifully*

I'll never do it again .. Honest!!

___

See.. I knew that, I just couldn't remember which string to add to. And editing the .txt files weren't doing it. I was renaming levels..


------------------
"Embrace this moment, remember/ we are immortal, all this pain is an illusion"

-Tool

IP Logged

FoxBat
Moderator

Posts: 1618
From: PA, USA
Registered: Feb 2001

posted 27 November 2001 07:28     Click Here to See the Profile for FoxBat   Click Here to Email FoxBat        Reply w/Quote   
Interesting, I've been adding alot of entries to patchstring, no really wierd errors yet... although one problem you do run into is some things get looked up by number and not key name, meaning that patchstring won't over-write properly... have to go back to string/expansionstring for that reason alone :/

IP Logged

Xavon Wrentaile
Honorary Warlord

Posts: 451
From:
Registered: Jul 2001

posted 27 November 2001 10:59     Click Here to See the Profile for Xavon Wrentaile        Reply w/Quote   
Acutally, Jeff, you can take stuff out of patchstring with no problems. Or at least I can. Whenever I've needed to change a string in patchstring, I just delete the entry in patchstring.tbl (via MSWord), then edit the entry in string.tbl or expansionstring.tbl

------------------
"You could. And I could nail your head to the table, set it on fire, and feed your charred remains to the Pak'mara;
but it's an imperfect universe, and we don't always get what we want." John Sheridan

"Bubbles! Gregory! Road Trip!" Son Goku

IP Logged

jbouley
Forum Admin.

Posts: 4907
From: Portland, Maine, USA
Registered: Jan 2001

posted 27 November 2001 11:50     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
Hmmm...well, I would still recommend against deleting Blizzard's entries. It has a tendency to cause random errors in weird places. At least, I know it does when you take Blizzard's stuff out of string.tbl

For example, you might find that one NPC is suddenly accessing the speech of another NPC while most of them continue acting normally. I've heard of Tyreal becoming unselectable after a string.tbl entry was removed. Suddenly, some items might have the wrong names or become "An Evil Force." Stuff like that.

In any case, I'm just advising caution. I really cannot see a good reason to delete Blizzard's entries anyway. If you don't like what they called an item or something like that, just change the descriptor for that Key or eliminate the item from the game.

Anyway, that's just my rant.

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download at http://www.fileplanet.com/dl/dl.asp?/planetdiablo/phrozenkeep/mods/sic_beta.zip - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged

Xavon Wrentaile
Honorary Warlord

Posts: 451
From:
Registered: Jul 2001

posted 27 November 2001 12:38     Click Here to See the Profile for Xavon Wrentaile        Reply w/Quote   
But, I've had just as much trouble changing descriptors in patchstring. And that is the only table I delete from (so I can edit entries in the other two tables). And I do it manually.

------------------
"You could. And I could nail your head to the table, set it on fire, and feed your charred remains to the Pak'mara;
but it's an imperfect universe, and we don't always get what we want." John Sheridan

"Bubbles! Gregory! Road Trip!" Son Goku

IP Logged

jbouley
Forum Admin.

Posts: 4907
From: Portland, Maine, USA
Registered: Jan 2001

posted 27 November 2001 13:57     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
Well, more Blizzard weirdness, I guess. Something works on one person's computer but not on someone else's

Gotta love those Blizzard programmers.

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download at http://www.fileplanet.com/dl/dl.asp?/planetdiablo/phrozenkeep/mods/sic_beta.zip - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged

Myokai
Honorary Warlord

Posts: 298
From: Entsteig, Sanctuary
Registered: Oct 2001

posted 28 November 2001 04:42     Click Here to See the Profile for Myokai   Click Here to Email Myokai        Reply w/Quote   
quote:
Originally posted by jbouley:
Also, people who add new entries to patchstring.tbl often encounter horrendous problems afterward.

Are you sure? I added 850+ new entries, and everything works fine

Until I accidentally deleted a Blizzard entry. Fireworks ;( The rest of the evening was spent with a dictionary on the Ctrl key, two instances of Darkstorm's opened, and alternately pressing C and V as quickly as possible...

IP Logged

Syntaks
WarLord

Posts: 231
From:
Registered: Sep 2001

posted 28 November 2001 10:14     Click Here to See the Profile for Syntaks   Click Here to Email Syntaks        Reply w/Quote   
quote:
Originally posted by Myokai:
Are you sure? I added 850+ new entries, and everything works fine

Until I accidentally deleted a Blizzard entry. Fireworks ;( The rest of the evening was spent with a dictionary on the Ctrl key, two instances of Darkstorm's opened, and alternately pressing C and V as quickly as possible...



And this is why I ALWAYS have a backup of whatever I do...

I'll save and test.. if it works, I make a back up and continue..

The golden rule: SOSO!!!

Save once, save often!

------------------
"Embrace this moment, remember/ we are immortal, all this pain is an illusion"

-Tool

IP Logged

FoxBat
Moderator

Posts: 1618
From: PA, USA
Registered: Feb 2001

posted 28 November 2001 13:04     Click Here to See the Profile for FoxBat   Click Here to Email FoxBat        Reply w/Quote   
Where you insert the entries is probably key. I make sure to add mine at the end, never BEFORE. I could see how adding an entry before the end would screw things up, as it would change the number position of Blizzard entries...

IP Logged

jbouley
Forum Admin.

Posts: 4907
From: Portland, Maine, USA
Registered: Jan 2001

posted 28 November 2001 13:29     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
Well, the other thing I hate about patchstring is that all other things aside...you have to re-update it when a new patch comes out.

I just despise the thought of doing that...and for me, at least, it's not worth it for me to use patchstring.tbl instead of string.tbl. In the grand scheme of things, I don't think it makes that much difference in the size of my patch.

But hey...different strokes for different folks. If it works for you, go for it!

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download at http://www.fileplanet.com/dl/dl.asp?/planetdiablo/phrozenkeep/mods/sic_beta.zip - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged

djc
Serf

Posts: 16
From:
Registered: Nov 2001

posted 28 November 2001 14:35     Click Here to See the Profile for djc        Reply w/Quote   
Though the re-updating thing is a good reason (perhaps the *only* really good reason) for Enquettar... just keep building up a script file for it, and always run the script on the old patchstring. When a new one comes out, just switch which you're running it on.

Though that really doesn't outweigh the difficulties involved in figuring out what to *do* when you're running off Enquettar... Ah, well.

------------------
-djc

IP Logged

Syntaks
WarLord

Posts: 231
From:
Registered: Sep 2001

posted 29 November 2001 13:04     Click Here to See the Profile for Syntaks   Click Here to Email Syntaks        Reply w/Quote   
*strikes a match to the folder so he can have his first flaming topic*

------------------
"Embrace this moment, remember/ we are immortal, all this pain is an illusion"

-Tool

IP Logged

Syntaks
WarLord

Posts: 231
From:
Registered: Sep 2001

posted 29 November 2001 13:06     Click Here to See the Profile for Syntaks   Click Here to Email Syntaks        Reply w/Quote   
*grumbles and tries again*

*jumps up and down in joy*


------------------
"Embrace this moment, remember/ we are immortal, all this pain is an illusion"

-Tool

IP Logged

All times are Central Standard Time

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | The PhrozenKeep

© PhrozenKeep.com . all buttons made by the Evilenglishman . swords and shields by DigiBO.


Ultimate Bulletin Board 5.47c