Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    E-Blah Discussion    E-Blah Bugs  ›  Modification Center Bug
Users Browsing Forum
No Members and 1 Guests

Modification Center Bug  This thread currently has 856 views. Print
1 Pages 1 Recommend Thread
Craig
December 9, 2005, 2:39am Report to Moderator Report to Moderator

SQL Support Team
Posts: 3,619
Gender: Male
Posts Per Day: 2.13
Reputation: 97.73%
Reputation Score: +215 / -5
Time Online: 14 days 15 hours 11 minutes
Location: Germany
Age: 38
If you do a mod that uses the "before" fuction, when you uninstall, it deletes the original code instead of the mod.  Might want to fix that one .


Don't just ask a question.
Instead ask a question, give us a screen shot and post a link to your forum.
Help us help you make your forum better!


If I helped...increase my Reputation by clicking here.
Logged Offline
Site Site Private Message Private message ICQ ICQ
riffplayer
December 9, 2005, 9:11am Report to Moderator Report to Moderator

E-Blah Member
Posts: 263
Gender: Male
Posts Per Day: 0.15
Reputation: 100.00%
Time Online: 2 days 3 hours 50 minutes
Location: Indiana
Age: 33
Yeah, I was getting this too - even before I upgraded.  Every time I uninstalled a mod I would have to upload all the Code files again (or restore the backups).  What a pain!
Logged Offline
Private Message Private message Reply: 1 - 4
riffplayer
December 9, 2005, 9:44am Report to Moderator Report to Moderator

E-Blah Member
Posts: 263
Gender: Male
Posts Per Day: 0.15
Reputation: 100.00%
Time Online: 2 days 3 hours 50 minutes
Location: Indiana
Age: 33
I did a little checking - here's my 2 cents worth.

Search for this:
Code
# Before
if($deinstall && $type{$opened,$counter} == 3) {
$trash = "$search\r$write";
if($file{$opened} =~ s~\Q$trash\E~$search~g) { $bad = 0; }


In the last line, the "$search" should be "$write" so it would look like this:
Code
# Before
if($deinstall && $type{$opened,$counter} == 3) {
$trash = "$search\r$write";
if($file{$opened} =~ s~\Q$trash\E~$write~g) { $bad = 0; }

I tried it and it seemed to work, but someone else (like Justin  ) should check this before anyone else tries it.  
Logged Offline
Private Message Private message Reply: 2 - 4
Justin
December 9, 2005, 2:51pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,070
Gender: Male
Posts Per Day: 6.55
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 14 minutes
Location: Tallassee, AL
Age: 22
Quoted from riffplayer
I did a little checking - here's my 2 cents worth.

Search for this:
Code
# Before
if($deinstall && $type{$opened,$counter} == 3) {
$trash = "$search\r$write";
if($file{$opened} =~ s~\Q$trash\E~$search~g) { $bad = 0; }


In the last line, the "$search" should be "$write" so it would look like this:
Code
# Before
if($deinstall && $type{$opened,$counter} == 3) {
$trash = "$search\r$write";
if($file{$opened} =~ s~\Q$trash\E~$write~g) { $bad = 0; }

I tried it and it seemed to work, but someone else (like Justin  ) should check this before anyone else tries it.  


Let Craig try it.  I really don't use the Mod Center very much, so someone else should use it to ensure it works.  ONE bad thing with the code could screw the entire mod center up.  


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 3 - 4
riffplayer
December 9, 2005, 3:41pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 263
Gender: Male
Posts Per Day: 0.15
Reputation: 100.00%
Time Online: 2 days 3 hours 50 minutes
Location: Indiana
Age: 33
I've been using it quite a bit since then and so far no problems.  I compared the code before an installation with the code after a deinstallation and they were identical.  I've done probably 10-20 installs and deinstalls and so far no problem.
Logged Offline
Private Message Private message Reply: 4 - 4
1 Pages 1 Recommend Thread
Print

E-Blah Community    E-Blah Discussion    E-Blah Bugs  ›  Modification Center Bug