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.
|
5.How to add zone portals
Example using quest files for what ever zone you wish. I made my own for Bazzar quest for Red and Blue Translocator Translocator_Blue.pl sub TL { movepc(1213.00,921.00,3.28); } } movepc(88.00,265.00,36.00); } } Translocator_Red.pl sub TL { movepc(1212.00,-891.00,3.28); } } movepc(261.64,-91.47,36.00); } } ---------------------------------- This is a quest for what ever zone Example Dummy.pl for nexus sub EVENT_SAY { if($text=~/Hail/i){ quest::say("wish to go"); if($text=~/wish to go/i) { quest::movepc(-882.00,132.00,51.47); #Arena <--- This will move a charter to another zone location. } sub EVENT_SPAWN { $x = $npc->GetX(); $y = $npc->GetY(); quest::set_proximity($x - 170.68, $x - 261.52, $y - 156.31, $y + 0);<--- to spawn a ncp type in the location where you want him/her to show up. { } To find the location type /loc in chat window. |
Ok. I have a question. How do i get 329 - portal to show up in other zones? I can't figure out how to add static objects, and what there id's are so I guess I'll use that its the only one I Portal like I can find can find.
Edit nvm i used one from Wall of Slaughter. |
when you say objects are you referance to objects Example
Goto your Everquest directory find the zone you known where the file is in like example Tutorialb_assents add the objects name to the file. to extact the objects if need use the program called s3Dspy. under xxxxx_EnvironmentEmitters is where you want to put 329 - portal to show up look at that zone EnvironmentEmitters file it will give you a number and the location. |
Well I'm using one from wall of Slaughter now. Its in and every thing, but setting it to work like pok stones is a bit hard. I have it set to South Q but it set it self back to none. I'm thinking i didn't set it right and forgot to put South Q.
Edit Yeah those kind of objects. |
I'm sorry now i understand what your talking about when you say portal.
example veeshan_assets voidportal.eqg make sure you add the file name to xxxxxx_assets file for what ever zone your placing the portal in. |
Ok what about the a crystalline portal from wall of slaughter? (asking cause i got it to load just fine with out doing that)
|
what ever works is fine. Good job!
|
Thanks. Most of this would not have been done with out yours and blackdragonsdg's help. But I'm far away from being done. I only have starting gear made for one class, only 2 Class GM's, Still need to get my zones made out, and figure out how to make quests, Further work on the story, Edit what Aail the Enlightened says-never said his name but its the text i was having problems with-, Look for someone to do the hosting for me. Lets just say i have a new found respect for the people that have made a server, and the people that can do this like its nothing.
|
I"m working with the newer client Voa . i had to use Station & Lauchpad to make one good client. Exported all the zone files so far 1.22Gb with Voa client now been 9.25Gb Total
|
don't use %t if you want your charters name to show you'll have to use $name.
|
ok. And I'm haing troubles again. XDD
Code:
sub EVENT_SAY { Also with what I'v learned I think I can make my own Waypoint. All i need is to make sure every zone has the same npc and Script for it. The only thing i can't do is the banking system and the withdraw from it. But i can still make it my buff bot, skill trainer, Spell trainer, Disc trainer and what not. |
sub EVENT_SAY {
if($text=~/Hail/i) { quest::say("$name Hears a Voice that seems to come out Of the Rift.- This Will [Send] you back in time to South Qeynos. Please be careful to not change the future."); }elseIf($text=~/Send/i) { quest::movepc(302,0,10,5); } #END of FILE |
Thank you. XDD as you can see i'm still getting use to this.
Sadly that didn't work. still testing. I think i know what it is. $name Hears a Voice that seems to come out Of the Rift.- its the (-). I copyed the text from one of my other npcs and it worked. So its got to be that (-). Got it to work but, now i need to figure out why it sent me to dracknick(sp) -I so missed up that name XDD- scar I was looking at the wrong ID 302 is the zone id for DS 1 is for SQ |
xxxxxxxxxx.pl plugin name of file
#!/usr/bin/perl sub name_say { my $text = shift; if($text=~/hail/i){ quest::say("$name Hears a Voice that seems to come out Of the Rift.- This Will [Send] you back in time to South Qeynos. Please be careful to not change the future."); }elseIf($text=~/Send/i) { quest::movepc(302,0,10,5); } #END of FILE put this file in plugins dirctory to work in every zone. put this file in every zone replace xxxxxx and pluginname xxxxxxxxxx.pl plugin name of file #generic pluginname quest sub EVENT_SAY { plugin::pluginname_say($text); } |
Ok, I'll get to that later. Its sleep time. Thank you for the help. To bad I can't Port Foreword or i would ask you to beta test for me.
|
Glad your not a dark elf would get killed in qeynos heha. if you would like it to send you back to your home town say go home. it should return you to your home town.
|
Ok I'll keep that in mind. If anything I'll just remove all the factions so races that are KoS in Qeynos.
Edit i'm going to finish the custom basic armor, so can anyone tell me what the other classes armor. The armor like Singing and Deepwater. |
List of things i still need to know how to do, and need help with.
Note: I know how to add the buff bot, But I don't know how to make it cast buffs depending on your lvl, or how to make it cast more than 1 buff. |
8.) How to use the search function.
Don't get me wrong, feel free to sit back and wait for people to answer all your questions but you aren't asking to do anything new, everything you want to do is already documented many times over if you look for it. |
here is the link http://www.eqemulator.org/forums/showthread.php?t=32822 to all your questions about spells..
http://www.georgestools.eqemulator.net/ |
@ Caryatis Yes like I feel like wasting hours looking through pages after pages of topics that might contain Bot or Spell. I'd rather Ask than wast time looking. I can get things done much faster that way. Cause as I was waiting for a response I was adding new items. Which is a more productive thing to do. Also its not like Noport or blackdragonsdg has to help me. Besides if I did search I would be having tons of problems, like getting npcs to talk and port me somewhere. I Don't have c++ experience like a lot of devs here. (I only have limited BOO experience.)
So all in all Its just easier if I ask for help, It would take way to long to search for the help. And thank you Noport I'll read into that here soon when I finish making the armor. |
Big Milestone done to night. (or to me it is.) Just finished My hybrid merchant, He is to sell Armor for Bard, SK, Pal, Beast, and Ranger. I'm now going to get my GMs in, then work on Caster, Melee, And Aug sellers. By the time i'm done with that I hope someone has helped me with the Buff bot. If so Then I'll work on My rift. (The Rift will be your tele back to Hub, your Tele to other zones, Your buff bot, Spell trainer, Skill trainer, And side quest giver. If there is a Side quest for that zone.)
Also when I get the hub done, I'll post screens. So people can get the gist of it. NOTE: I'm still looking for some one to host my server for me. If you host my server your only allowing others to login, I'll be doing all the dev work. Unless you want to do some dev work to. As I stated in my other thread, Contact me at omgcats2@hotmail.com, PM or Skype. |
Basic Buffbot. Replace/add/remove spells IDs as desired.
Code:
sub EVENT_SAY |
I thought it would have been more than that. But I guess not. Thanks
|
5.How to make a custom quest
http://www.eqemulator.net/wiki/wikka...CategoryQuests |
All times are GMT -4. The time now is 12:11 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.