FORUM HOME > TNM > Help
HELP!  Massive problem with TweakCirc!

AnubisPosted on 09/22/04 at 11:03:06

Whenever I go into the "Edit Injuries" list, the injuries get switched to different people!  I searched for other topics on this and found a link to an update for the plugin, but that didn't fix the problem.  The problem only appears in the plugin in the "Edit Injuries" list.

Like Wrestlers A, B, and C are injured, and in the list, it'll show Wrestlers D, E, and F as being injured instead, transferring the injuries right over for some reason.  As I said, I downloaded the update, and that doesn't work.  In fact, I tried everything in all the threads on this topic, and none of it worked.

I should also mention that this has happened to me constantly ever since injuries could be editted when the plugin was first introduced.  I just finally got annoyed enough with it to actually make a bug report.  Basically, if ANYONE gets injured, going into the list will show someone else injured instead.
AnubisPosted on 09/22/04 at 11:05:01

Update: I notice one glaring difference with the updated version of the plugin.  In the old versions, the actual injury would transfer over.  I would have to get rid of the wrong injuries and put them back on the right people.  With the updated plugin, however, it appears that the injuries stay on the correct people but simply "appear" on the list to be on the wrong people.

I'll make a screenshot and explain.
AnubisPosted on 09/22/04 at 11:08:40

http://www.imperiacorporation.com/TweakCircBug.jpg

Take a look.  See where it says Zekk Azeroth is injured for 24 cards?  Well, in actuality, it's Yendor (the name that's highlighted) that's supposed to be injured.  If I check Zekk Azeroth, though, it'll say 0 as it's supposed to.  Just the same, if I check Yendor, it'll say 24 as it's supposed to.

The only glitch is in the actual list itself for some reason.  The database has everything saved properly, just the list doesn't show the right people as being injured.

What's going on?
Critic of the DawnPosted on 09/22/04 at 16:58:08

I've got no idea what the problem is here - but then, I don't really use that feature of the plugin very much.

I will, however, give you props for having a guy named Yendor.  I think he's probably so badly injured because people keep barging into his tower, zapping him with wands of death, and stealing the Book of the Dead from him.  I know that'd put me on the injured list for a while...

Eric "Critic of the Dawn"
Oliver CoppPosted on 09/22/04 at 21:52:10

Anubis - please replace your version of TWEAKCSE.EXE with the one in the following ZIP:

http://www.tnm7.com/downloads/temp/tweakcse.zip

Does this help?
AnubisPosted on 09/23/04 at 23:37:54

Nope, no help. The injuries are on the right people, but just as in the picture and stuff above, the injuries are SHOWN on the wrong people on the list only.

If I had to venture a guess, and I dunno if this might help, but it LOOKS like a numerology issue.  Like, the database has everything listed in a certain order but gets put in a different order in TweakCirc when alphabetized.  Like, in the database, Yendor may be #140 (because he's one of the last people I made), but then when TweakCirc calls on #140, it goes to #140 alphabetically (which is Zekk Azeroth, 140/141 with Zeno being #141).  That's what it SEEMS like, although I can't be certain.  (I'm not a good programmer, but I have some knowledge of troubleshooting any program I can look at the files for, such as TNM.  In fact, I knew how to edit the data files for TNM before anyone here ever suggested it, heh.)

Anyway, lemme check real quick.  This should be easy to verify.  Yep, BINGO.  I looked at the database, and sure enough, the wrestler created as #140 is Yendor, and #140 alphabetically is Zekk Azeroth.  Suddenly, poof, the list shows Zekk Azeroth as being injured instead, although trying to edit them shows that the injuries are on the correct people, just not SHOWN as such on the list.

Does that help?
Oliver CoppPosted on 09/24/04 at 00:43:47

Please download the file above again. I had forgotten to convert TWEAKCSE.ZIP to tweakcse.zip during upload.

Should be fine.
AnubisPosted on 09/24/04 at 08:17:23

Yep, that fixed it totally!

I do have a question: Was I at all close to the actual problem with the theory I posted?
Oliver CoppPosted on 09/24/04 at 22:49:10

You nailed it right on the head :)
AnubisPosted on 11/02/04 at 18:37:30

Bad news, Oliver . . . The problem is back again.

It worked for a little bit, but now it's back.  Someone gets injured, but the injury gets transferred upon opening TweakCirc.  The most recent was Mista Ed getting injured, and upon opening TweakCirc, Sniper was injured instead.

I dunno what to do anymore.  Do you want me to ZIP up my TNM and send it to you the next time it happens?  (I already got rid of this one . . .)  I'm certain it'll happen again soon enough.

Whatcha want me to do?
Oliver CoppPosted on 11/03/04 at 21:03:08

Please do. I want to find the reason why it's happening to you.
AnubisPosted on 11/03/04 at 23:37:36

Sent!
Oliver CoppPosted on 11/04/04 at 00:15:29

Fixed TweakCirc posted here: http://www.tnm7.com/downloads/tweakcse.zip

Thanks for your help!
AnubisPosted on 11/04/04 at 09:59:48

If you don't mind me asking, what exactly was causing the issue?  (Just curious is all.)
Oliver CoppPosted on 11/05/04 at 08:37:03

Sure.

When a wrestler is freshly injured, his name (not wrestler id) is added to the injury file. When the next card is run, it is automatically converted to its wrestler id value.

TweakCirc SE looked up the name's wrestler id correctly, however it happened *after* the wrestler list had already been sorted but then wasn't mapped properly.

After the index had been converted, the problem disappeared because a different lookup function was then used.
triad4evrPosted on 11/05/04 at 10:25:48

Do any of the rest of us have to worry about this or is everything cool for the rest of us? Thanks!
Oliver CoppPosted on 11/06/04 at 01:53:33

"Worry" isn't the right term. It doesn't hurt downloading the file but if you don't edit injuries through TweakCirc, you might just as well not get it.