unright
Enhancement Talent
Posts: 20
|
Post by unright on Feb 23, 2020 16:20:51 GMT -5
When I change a wrestler's name within a circuit, the program shuts down.
|
|
|
Post by tnmlyger on Feb 26, 2020 5:18:31 GMT -5
Would that be on the same screen where you hire wrestlers?
Please ZIP up your TNM folder and send it to copp@tnm7.com via WeTransfer.com or another file transfer service. I'll have a look and will let you know how to fix it.
|
|
unright
Enhancement Talent
Posts: 20
|
Post by unright on Feb 26, 2020 20:39:54 GMT -5
Actually I looked it further because I wanted to give you more detail and I think I found the issue. It seems to be a very hyper-specific glitch.
It only happens in one specific circuit to one specific wrestler and with only one specific name change.
I wanted to change Albert's name to Prince Albert, but I think the circuit closes because at some point in the past I had used the Circuit Editor to change Albert to Prince Albert in a result (other cards still have regular Albert). That's probably the reason it crashes.
I don't really need a fix as it's not really a super important thing I need (I can just leave him as Albert). I guess I just wanted to make you aware of it. If you still want me to send a zip in, let me know.
|
|
|
Post by tnmlyger on Feb 27, 2020 1:35:05 GMT -5
Awesome detective work, sir :-)
If you were so kind to please send the ZIP anyway, I could figure out a way to help you... and by extension help the next person who will change Albert's name to Prince Albert in about... say... 23 years :-D
Thanks in advance!
|
|
unright
Enhancement Talent
Posts: 20
|
Post by unright on Feb 27, 2020 22:10:06 GMT -5
Hey now. I may have stopped watching wrestling in the summer of 1999, but I'm sure that Albert and his revolutionary gimmick of being a wrestling body piercer went on to become a main event talent. There's no better possible gimmick for someone of Matt Bloom's ability.
[...]
I'll send it in.
|
|
|
Post by tnmlyger on Feb 28, 2020 2:34:15 GMT -5
Hahaha - thank you :-) It was as I suspected. When you rename a wrestler, you are given the option of renaming him in the ratings as well. When you tell it to do that, it goes through each of the ratings files and replaces the wrestler's old name with the wrestler's new name. Believe it or not but you've discovered a bug that had been sitting there since 1997 that would only hit if you replaced a wrestler's name with a name that added something in the beginning but otherwise kept the old name (e.g. "Albert" -> "Prince Albert"). Because string operations under DOS can sometimes fail when you're close to running out of free memory (code and data have to get by with <500kB total), I hardened TNM against that by checking after the replace operation whether the old name was still present. And if that was the case, it would retry. I think you can see where I'm going with this. So this is what happened: Albert -> Prince Albert Prince Albert -> Prince Prince Albert Prince Prince Albert -> Prince Prince Prince Albert ... ... until it ran out of memory and threw an error.
I hadn't thought of this particular case at the time.
Please download this: www.tnm7.de/downloads/cardhir.zipThen please unzip it to TNM7SE\TNM7SE\PROGRAM and have it replace the existing CARDHIR.PBC. That'll fix the issue.
|
|
unright
Enhancement Talent
Posts: 20
|
Post by unright on Feb 28, 2020 19:05:19 GMT -5
Ah, thanks Oliver. It's working fine. Though now I'm tempted to rename him "Prince Prince Prince Albert" and have him in a round robin feud with Prince Nana, Prince Iaukea, and Prince Devitt.
Or maybe it's a stable waiting to happen....
|
|
|
Post by tnmlyger on Feb 29, 2020 15:46:55 GMT -5
Awesome to hear - thank you :-)
I find it amazing that you were able to find a bug that had been undiscovered for 22 years - LOL
Don't forget the Prince of Bel Air, Freddy Prinze and Leslie Barbara's dog Princess from Police Academy who - according to Commandant Lassard - is clearly a Prince.
|
|