PDA

View Full Version : I was smitten


mauldraine
09-15-2005, 11:56 AM
Wow has this taken me a while. Way back in 2003 I found out about LotGD. I downloaded 0.9.5 which was the latest version at that time. Installation was easy and users were soon playing happily.

It wasn't until recently that I actually had the time to update the site, its layouts, and features. So now that I have the site redone, I have started tackling the task of upgrading all of the games that I have. LotGD is one of them.

Today I downloaded 1.0.3 from Sourceforge, backed up the LotGD data, installed the new PHP files and connected to install.php to start the process of upgrading.

My first issue was that it wouldn't let me log in, saying that the account information was incorrect or that it wasn't a super user account. So I removed the dbconnect.php file that I had left and got past that part. It said that it upgraded everything correctly and I was excited.

Now I could log in and get to the grotto, however there was only two menu items there, and the modules area was not one of them. When I took a look at my user account in MySQL it showed a superuser value of 65, so I took a gamble and increased it to 100.

Now I could see more menu items but still not the modules menu so I could allow users to connect and play again. So I increased the superuser value to 128 and then I could see it.

However the moment I clicked on the module link I received ...

For attempting to defile the gods, you have been smitten down!

And now I can not even log in at all. Please help?

Moonchilde
09-15-2005, 04:15 PM
Being smitten doesn't lock you out of the game, so any inability to access the game stems from something else.

The first thing you need to do is realize that permissions are now a bitfield rather than a numeric level.

Go into the database and give yourself a superuser value of 255. That will give you most of the basic permissions including MEGAUSER, and specifically for this one, SU_EDIT_USERS.

When you are able to reconnect to the game (which I cannot help you with), go into the grotto and then into the USER editor and go to the 'superuser flags' tab and give yourself the full set of permissions (you'll be able to do this since you have SU_MEGAUSER).

One of those permissions is the permission to edit modules and module settings.
Now you'll be able to set up modules and whatnot.

Hope this helps.

mauldraine
09-15-2005, 06:08 PM
Superb. Changing the superuser value to 255 and then editing the account solved it for me. My sincere thanks.

Elessa
09-15-2005, 09:12 PM
might i suggest ye create a secondary mega-user for thyself so ye can unstick thyself in the future.