Quote:
Originally Posted by Angelox
Thanks for your reply - From what I gather from the threads i read, I don't think they want to give up any code like that. I'm thinking of switching to EQ database since it appears to have this problem solved . That's what I need to do in order for eqemuPORTAL to work?
I think this is very important as long as there are broken zones/portals.
Would it be possible to transfer character data from PEQ database to the EQ one?
Thank you again for your help
|
No if you do that you will endup with dupelacate spawns in all the old zones.
eqemuPORTAL works with anything as long as you have php setup correctly and the config files for it point to your active server ie: peq
[CODE]in command.cpp
add with the other commands at the top
command_add("peqzone","[zonename] [x] [y] [z] - Go to specified zone (coords optional)",10,command_zone) ||
in command.h
add with the simular ones.
void command_peqzone(Client *c, const Seperator *sep);
And here is a way to use it with a NPC.
just open up wordpad and call it <npc number.pl>
sub EVENT_SAY
{
if ($text=~/Hail/i)
{
if ($race=~/Human/i)
{
$startzones='Qeynos or Freeport';
}
elsif ($race=~/Barbarian/i)
{
$startzones='Halas';
}
elsif ($race=~/Erudite/i)
{
$startzones='Erudin';
}
elsif ($race=~/Wood Elf/i)
{
$startzones='Kelethin (Greater Faydark)';
}
elsif ($race=~/High Elf/i)
{
$startzones='Felwithe';
}
elsif ($race=~/Dark Elf/i)
{
$startzones='Neriak';
}
elsif ($race=~/Half Elf/i)
{
$startzones='Qeynos, Freeport, Kelethin, or Felwithe';
}
elsif ($race=~/Dwarf/i)
{
$startzones='Kaladim';
}
elsif ($race=~/Troll/i)
{
$startzones='Neriak';
}
elsif ($race=~/Ogre/i)
{
$startzones='Oggok';
}
elsif ($race=~/Halfling/i)
{
$startzones='Rivervale';
}
elsif ($race=~/Gnome/i)
{
$startzones='Ak\