Log in

View Full Version : adding doors and objects


Gonkers
05-01-2004, 10:14 AM
I've been roughing around in the Door's part of my database and it seems that whenever I try adding a door to the database, it breaks the entire database full of the door spawns.

What I mean by this is if I add a pokbook to let's say cshome at loc x y z. I put the ID number at around 9000 because I have no idea where the doors in db end.

So after I put the pokbook portal to des zone of qeynos2. I log in, no book..so i zone to templeveeshan...no doors at all.

This means i'm adding one book and it's corrupting my entire door's database.

Any solutions to this problem?

RangerDown
05-01-2004, 02:03 PM
The fact you're putting the ID number way up there might be your problem.

Somebody correct me if I'm wrong, but I think happens when the server loads up doors is it looks at the highest ID number and then allocates enough memory to hold that many doors. Try making your new door with only 1 higher than the highest existing ID.

You can determine what the highest existing door ID is by giving the command from a MySQL prompt:


SELECT Max(ID) FROM Doors;