A little help with customizing my server.
I'm look for help with the following.
You can send me to a post with help or wiki, or type it in here on how to do it. But here my list of things i would like to know how to do.
That all atm. I have the PEQ database editor but I can't figure out how to do any of that. But if some one can teach me I'll be good. Also if any requires me to download something please give me a link. (Save so much time.) Also sorry if this is in the wrong section. |
Will answer a few questions for you.
1. The start_zones table of the database. Use Navicat or a similar program to view it. 2. The spawn2 table of the database and here again use Navicat or a similar program to view it. 6. For zone instancing read this Code:
http://eqemulator.org/forums/showthread.php?t=32609 |
Ok thank you.
|
Um for some reason it wont take effect i have it set to 118 for the Forgotten halls but it keeps taking me to Crescent reach or the Tutorials. Why?
ok now its taking me to South Qeynos. still set to 118. Ok had to set startzone in the variables to fhalls but it kicked my toon to the arena so need help fixing that. fixed it. |
Ok now time to update what i want help with doing XDD.
Please and thanks |
What exactly do you mean by way point? Creating the .path files for each zone or just creating pathing for individual mobs?
5. zone portals Zone portals can literally be just about any object or door in any given zone. All you have to do is find the correct object or door in there respective tables in the database then add the destination coordinates, heading, target zone name(zone short name) and maybe click type. 6. Adding text to npc's. You have to create scripts to add text to npc's. Here is an example of an npc responding to a hail. RandomNPC.pl Code:
sub EVENT_SAY { 7. Teleport bot example. Translocator.pl Code:
#Translocator for Multiple Zones In case you don't already know how to create scripts. Using RandomNPC.pl as an example....Open notepad then copy and paste everything inside the code block into the text document. Select save as then use RandomNPC.pl as the file name and set file type to all files. Save the file. Now place the newly created script into the appropriate zone folder in your quests directory. The zone folders use the short names of zones which can be found in the zone table of your database. |
Ok. I'll give that a try now, The way point is something Akka made. Its also in EZ server. If you give it plat it will hold it in a bank like system that it will use for better buffs or make an instance of the zone you're in. How do I add an object to like my hub zone, and give it a zone location? I'll be trying to figure it out, but I'm still a noob with the tools and mysql.
|
Given your description of the way point that is very very custom. You might try checking the quest section just in the off chance someone posted it or a partial script there.
Here is an example of how to add an object to a zone. The following will add an augment pool to Plane of Knowledge. It will appear in front of main bank. Code:
delete from object where id = 2278; |
Ok i'm having a hard time adding responses. Like with below. After you hail him and say Information to hear more. This is my code. I have it like that and set in the right zone folder. but with it like that when i hail him My npc Says nothing to me. So how do i fix it so he will say things and work right? (talking to someone with no c++ experience.
Code:
sub EVENT_SAY { but with the following code he dose. The only problem is i can't get him to say my name not his. So is there a in-game command for geting a npc to target a player and say its name like %T. Code:
sub EVENT_SAY { Edit I got it working XDD. I just looked at a .pl for a npc from a other zone and used it as a reference. |
This is completely untested but try this
Code:
sub EVENT_SAY { Code:
http://www.eqemulator.net/wiki/wikka.php?wakka=QuestTutorial |
Ok thank you and can you send me a link to the objects? The only ones I can fine are the ones for trade skill. But I think there are more like the pok stone. Also how can I set the object to a zone point that I click on. I know i have a lot of questions. When I get most of I done I will give you credit. Probable as my mentor if you don't mind.
|
I may have been wrong about that list of object & door names as I can't find it either.
PoK Book Example Code:
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_instance`, `dest_x`, `dest_y`, `dest_z`, `dest_heading`, `invert_state`, `incline`, `size`, `buffer`, `client_version_mask`, `is_ldon_door`) VALUES (3415, 1, 'Everfrost', 0, 'POKTELE500', 2887.25, -78.1207, -64.1542, 238.73, 58, 0, 0, 0, 0, 0, 0, 0, 0, 'poknowledge', 0, 132.109, 873, -145, 128, 0, 0, 100, 0, 4294967295, 0); |
Example only
#Old man Thorren.pl # LOC PoK (-170.68, -261.52, -156.31) sub EVENT_SAY { if($text=~/Hail/i){ quest::say("Welcome to The Veil of Alaris, $name. To ease your [Newly discoved Lands]. If you wish, I can also send you to [Arena] or [Crafthalls]. But be warned that while I can Teleport you to these distant Lands, you are on your own for finding a way back."); } if($text=~/Newly discoved Lands/i) { quest::say("Argath,Valley of Lunanyn,Sarith,Rubak Oseka,Beast Domain,Resplacement Temple,Bronze,Pillars,Windsong,Sepulcher,Sepulcher East,Sepulcher West") } if($text=~/Arena/i) { quest::movepc(-882.00,132.00,51.47); #Arena } if($text=~/Crafthalls/i) { quest::movepc(0.00,0.00,-6.30); #Ngreth's Den } if($text=~/Argath/i) { quest::movepc(62000.00,7930.00,-29.99); } if($text=~/Valley of Lunanyn/i) { quest::movepc(3379.00,-1922.00,1333.37); } if($text=~/Sarith/i) { quest::movepc(918.00,-499.00,-1.87); } if($text=~/Rubak Oseka/i) { quest::movepc(-27.00,-56.00,516.17); } if($text=~/Beast Domain/i) { quest::movepc(-4846.00,4463.00,181.21); } if($text=~/Resplacement Temple/i) { quest::movepc(92.00,-76.00,9.90); } if($text=~/Bronze/i) { quest::movepc(-978.00,-2255.00,50.54); } if($text=~/Pillars/i) { quest::movepc(); } if($text=~/Windsong/i) { quest::movepc(); } if($text=~/Sepulcher/i) { quest::movepc(); } if($text=~/Sepulcher East/i) { quest::movepc(); } if($text=~/Sepulcher West/i) { quest::movepc(); } sub EVENT_SPAWN { $x = $npc->GetX(); $y = $npc->GetY(); quest::set_proximity($x - 170.68, $x - 261.52, $y - 156.31, $y + 0); } sub EVENT_ITEM { quest::say("I have no use for this, $name."); plugin::return_items(\%itemcount); } #END of FILE Zone:poknowledge |
Can you tell me how i can manually find the ids for them?
Noport what cha telling me here? I'm lost. |
The id's are something you will have to find out for yourself as your database is probably different than mine. About all I can tell you is that the id will be the next available for use. The doorid will be the next available for use with in whatever zone you placed it in. This is where having navicat or a similar program will come in handy. The ability to sort a table by various column headers and content or even filter the entire table to a specific zone is very very helpful.
|
All times are GMT -4. The time now is 02:18 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.