Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-03-2010, 10:30 PM
Thovar
Sarnak
 
Join Date: Nov 2009
Posts: 41
Talking

You both kick so much Arse right now.

1. for you Trev posting that, which is 100% usable by me since I understand mysql very well.

2. for you secrets of posting the sql parts.

That is much more than I expected, I was only trying to get the two lifts inside and the two lifts outside, but the fact you gave me the doors and objects is just amazing!!! If I could give you a high five, this would be the time!

You guys really made my day coming home from a 10.5 hour shift at work dealing with customers at my tech support job by saving me so much time, those doors and objects was next on my list since I noticed random fire in the middle of the room and other missing items.

Again, thank you both SO MUCH.

p.s. when I get some really cool stuff done with the TSS zones I am working with I will get them posted (I have two more zone lines to get to work properly for TSS zones, but for the most part they are 96% complete and ready to use by anyone. Stonehive zone line is giving me a rough time, cant get it to work, think I might be using an invis 240 race guy as a teleporter when someone enters his proximity, when I get that done I'll post.)
__________________
~Thovar
GM of http://www.beradingoldbeard.info/
Reply With Quote
  #2  
Old 01-03-2010, 11:25 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Quote:
Originally Posted by Thovar View Post
Stonehive zone line is giving me a rough time, cant get it to work, think I might be using an invis 240 race guy as a teleporter when someone enters his proximity, when I get that done I'll post.)
Yeah, I couldn't figure out Stone Hive zone line either, so I just had to use an invis guy with a proximity to simulate it just like you are saying.

Also, you do know that there are doors and lifts in Stone Hive as well, right? :P
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 01-04-2010, 10:42 AM
Thovar
Sarnak
 
Join Date: Nov 2009
Posts: 41
Default

Hrmm, wasn't aware of any lifts in stone hive, never ventured too far in since I couldnt get the zone line to work... great LOL. I hope getting doors and lifts in wont be impossible like the stupid zone line.

Luckily I have a script for the teleport man so all hope is not lost. I did get the door to vergalids mine to work both ways and since I found out how to do lifts in crescent reach I will be adding in the one in the mine as well and the one(s) in stonehive if I can get them to work. thanks for the heads up on stonehive. Looks like the Super Ultra Mega Bixie Queen of the Stone will have to wait to be spawned.
__________________
~Thovar
GM of http://www.beradingoldbeard.info/
Reply With Quote
  #4  
Old 01-04-2010, 01:49 PM
Tilar
Sarnak
 
Join Date: Oct 2009
Posts: 35
Default

I got an error on line four when I tried importing the one for doors and I still have nothing. I am learning but my knowledge of this is still very limited so I wasnt surprised when I couldnt find anything wrong. =)

Found a script for the inviz zone line guy... I should put something like that in neriak because my nektulos forest is apparently fubared.

Last edited by Tilar; 01-04-2010 at 02:06 PM.. Reason: Found the script.
Reply With Quote
  #5  
Old 01-04-2010, 09:21 PM
Fritzism
Fire Beetle
 
Join Date: Aug 2009
Location: -
Posts: 10
Default

Quote:
Originally Posted by Tilar View Post
I got an error on line four when I tried importing the one for doors and I still have nothing.
Quote:
Originally Posted by Secrets
INSERT INTO doors
(`id`, `doorid`, `zone`, `version`, `name`, `pos_y`, `pos_x`, `pos_z`, `heading`, `opentype`, `guild`, `lockpick`, `keyitem`, `nokeyring`, `triggerdoor`, `triggertype`, `doorisopen`, `door_param`, `dest_zone`, `dest_x`, `dest_y`, `dest_z`, `dest_heading`, `invert_state`, `incline`, `size`, `buffer`, `is_ldon_door`)
VALUES
(13252, 36, 'crescent ', 0, 'OBJ_CRDOOR ', -1634.56, -1550.82, -90.255, 126, 0, 0, 0, 0, 0, 0, 0, 0, -1, 'NONE ', 0, , 0, 0, 0, 0, 100, 0, 0);
I see a missing '0' in here, should be :

VALUES
(13252, 36, 'crescent ', 0, 'OBJ_CRDOOR ', -1634.56, -1550.82, -90.255, 126, 0, 0, 0, 0, 0, 0, 0, 0, -1, 'NONE ', 0, 0, 0, 0, 0, 0, 100, 0, 0);

I think.
Reply With Quote
  #6  
Old 01-04-2010, 10:10 PM
Thovar
Sarnak
 
Join Date: Nov 2009
Posts: 41
Default

@Tilar....

Teleport man code

Code:
sub EVENT_SPAWN
{
$x = $npc->GetX();
$y = $npc->GetY();
quest::set_proximity($x - 100, $x + 100, $y - 100, $y + 100);
}

sub EVENT_ENTER
{
quest::movepc(zoneID, x, y, z, heading);
}
its that easy. just name it the NPCID.pl... so example would be 100999.pl put in the right zone for that NPC. Also for nektulos being fubared... make sure you have the right client map being used when playing in EQ. find nektulos.egq and rename it to .bak instead. that is the usual fix.
__________________
~Thovar
GM of http://www.beradingoldbeard.info/
Reply With Quote
  #7  
Old 01-05-2010, 10:52 PM
Thovar
Sarnak
 
Join Date: Nov 2009
Posts: 41
Default Error in SQL.

Well not a "real" error, but each of the line you made Secrets all have an extra space in them, which in turn makes mysql think the name of the object and zone is "OBJ_LIFT_" instead of just "OBJ_LIFT" so if anyone is going to copy and paste the above, take out the spaces in all the names. I still say "thank you" for making these easy for everyone to input into their own DB's

Notice all the spaces...

Code:
(13220, 4, 'crescent ', 0, 'OBJ_GEARSB ', -1299.59, -1541.26, -93.25, 0, 105, 0, 0, 0, 0, 0, 0, 1, -1, 'NONE ', 0, 0, 0, 0, 0, 1, 184, 100, 0);
so they should all be...

Code:
(13220,4,'crescent',0,'OBJ_GEARSB',-1299.59,-1541.26,-93.25,0,105,0,0,0,0,0,0,1,-1,'NONE',0,0,0,0,0,1,184,100,0);
They will work if you take out the spaces. in ALL of them.

Once Again, thank you Trevius AND secrets!!!
__________________
~Thovar
GM of http://www.beradingoldbeard.info/
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:51 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3