A Boatload of Doors
zone: abysmal (the tradeskill boat)
effects: doors, dang it! I hope this is useful to someone. oh btw: anyone know a way to copy a section of mysql into text? I have been doing these by hand due to my lack of skills. :( Code:
INSERT INTO doors (doorid, zone, name, pos_y, pos_x, pos_z, heading, opentype, guild, lockpick, keyitem, triggerdoor, triggertype, doorisopen, door_param, dest_zone, dest_x, dest_y, dest_z, dest_heading, invertstate, incline, size) As always, let me know if any errors pop up with this addition. |
If you are using phpMyAdmin, you can export selected records. Run a Search query for the stuff you know you changed, select only your records, and at the bottom is an export selected option. Puts it into a nice text-shaped .sql file.
If you are not using the web-based admin tool, there should be a similar way to export a recordset, one would think. If not, and you have php, I recommend the simplicity of phpMyAdmin 2.81 or whatever they are on. |
Which database did you do this work on?
|
technically, a 'blank one'.. but I used this file to pull over on my 'play server' from it. That is why I leave the id field out, so it will be autoadded. But there is always a chance that I missed a , or a ) somewhere. Thus my caution for alot of this addition listing.
Who's dbase do you think I use Ang? /bonk There is only one I send people after, when they ask for one: Some crazy guy's site |
oh btw: I might have missed 2 or 3 doors (kinda), as there was one hallway that I thought looked better as a hall instead of putting the door there to close it off.
I couldn't remember the zone exactly from live as it was mostly a quick "boom boom, then a zoom zoom" kind of zone for me. So, if you find a spot a door is needed, just yell. I tended to go on 'oh that would look good' instead of doing something useful like logging into my live account to check. I'm lazy like that.. |
I finally got around to this, but doesn't work for me - here's the error;
Quote:
|
This is what worked for me;
Code:
INSERT INTO doors (doorid, zone, name, pos_y, pos_x, pos_z, heading, opentype, guild, lockpick, keyitem, triggerdoor, triggertype, doorisopen, door_param, dest_zone, dest_x, dest_y, dest_z, dest_heading, invert_state, incline, size) |
ahh rats. I shoulda caught that from way before. That's what I get for posting it right after I finished, was seeing crosseyed when I put it up. Glad you found the fix for it, just got back home and was checking up on the boards here.
|
Yeah, generally speaking, if it's a text field, it should have quoties around the text. ;)
I usually do an export of my work using the SQL tools so things are formatted properly straight away. But, even I am known to make mistakes. ~grins~ |
Here's five more doors in POK.
Code:
INSERT INTO doors (doorid, zone, name, pos_y, pos_x, pos_z, heading, opentype, guild, lockpick, keyitem, triggerdoor, triggertype, doorisopen, door_param, dest_zone, dest_x, dest_y, dest_z, dest_heading, invert_state, incline, size) |
hey,
sorry it took so long to find this thread... but... I built every zone I had logs for for the PEQ db, and that included zone points and doors... so check out the SQL dumps over there for some of the newer zones: http://www.projecteq.net/sql/ |
Wow lots more doors.
Nice job PEQ team there are more than 1200 doors added using their door file.
Also little off topic but there are 9 more zones added as well using their zone files, including the guild hall off of POK. |
These just wont' work for me.. on ax_peq.
Any suggestions, please? Using Navicat because I'm still kinda dumb on how to merge these using just the mysql command line. Also, what are these doors for please? Especially the abysmal ones.. what do they add? Thanks for any help you can give me. |
Just source this into you database that will add all the doors. Sorry I'm not sure where all the doors lead but if they are like most I've seen they are mainly cosmetic. Some may be portal to a zone or different area of the zone. As for adding this sql file in I use the MySQL admin restore utility and restore the sql file into my database.
Hope that helps. |
Quote:
He's probably trying to add the same doors over again. |
All times are GMT -4. The time now is 12:29 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.