|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
General::Server Discussion Discussion about emulator servers. Do not post support topics here. |
 |
|
 |

08-30-2018, 01:54 PM
|
Fire Beetle
|
|
Join Date: Jun 2017
Posts: 1
|
|
Doors in Gloomingdeep acting like Portals
Sorry if this was already brought up, I didn't read through all the posts.
The player.pl file included in this package causes ALL Doors (jail cell and Fort) to act as portals to your Home City.
The code in player.pl that is to blame:
sub EVENT_CLICKDOOR {
my $dbh = plugin::LoadMysql();
$nth = $dbh->prepare("SELECT class, race, deity FROM character_data WHERE name='$name'");
$nth->execute();
@row = $nth->fetchrow_array();
my $n_class = $row[0];
my $n_race = $row[1];
my $n_deity = $row[2];
$sth = $dbh->prepare("SELECT zone_id, x, y, z, heading FROM start_zones WHERE player_class=$n_class AND player_deity=$n_deity AND player_race=$n_race");
$sth->execute();
@row = $sth->fetchrow_array();
my $zn_id = $row[0];
my $zn_x = $row[1];
my $zn_y = $row[2];
my $zn_z = $row[3];
my $zn_head = $row[4];
$dbh->disconnect();
quest::movepc($zn_id, $zn_x, $zn_y, $zn_z, $zn_head);
}
I don't have a code fix for it, I just reverted back to my original player.pl file and all is good.
|
 |
|
 |
 |
|
 |

08-30-2018, 02:17 PM
|
 |
Hill Giant
|
|
Join Date: Apr 2008
Posts: 237
|
|
This should be fixed now as I simply told the PL script to use doorid 11 to run that section (which is the cave). The main upload has been updated as well.
Anyone who already got this package, just replace your player.pl file (in the tutorialb folder) with this:
Code:
sub EVENT_ENTERZONE
{
quest::movepc(189,18, -147, 19.6, 0);
if(!defined $qglobals{tutbind} && $ulevel == 1)
{
quest::selfcast(2049);
quest::setglobal("tutbind",1,1,"D30");
}
if(!defined $qglobals{tutpop})
{
quest::popup("Join the revolution!", "Welcome to the Revolt! You have been given two new quests:
<br><br><c \"#FFFF00\">Rally with Rahtiz:</c><br>If you are ready to begin fighting for the revolt,
hail Guard Rahtiz and see where you are needed.<br><br><c \"#FFFF00\">Basic Training:</c><br>If you
would like more training on the finer points of Everquest, speak with Arias and he will direct you to other knowledgeable
members of the slave revolt.<br><br><c \"#F07F00\">Click 'OK' to continue.</c>");
quest::assigntask(22);
quest::assigntask(23);
quest::setglobal("tutpop",1,1,"D30");
}
if($ulevel > 15 && $status < 80)
{
$client->Message(15,"You are too high in level to be in this zone.");
my $dbh = plugin::LoadMysql();
$nth = $dbh->prepare("SELECT class, race, deity FROM character_data WHERE name='$name'");
$nth->execute();
@row = $nth->fetchrow_array();
my $n_class = $row[0];
my $n_race = $row[1];
my $n_deity = $row[2];
$sth = $dbh->prepare("SELECT zone_id, x, y, z, heading FROM start_zones WHERE player_class=$n_class AND player_deity=$n_deity AND player_race=$n_race");
$sth->execute();
@row = $sth->fetchrow_array();
my $zn_id = $row[0];
my $zn_x = $row[1];
my $zn_y = $row[2];
my $zn_z = $row[3];
my $zn_head = $row[4];
$dbh->disconnect();
quest::movepc($zn_id, $zn_x, $zn_y, $zn_z, $zn_head);
}
}
sub EVENT_TASK_STAGE_COMPLETE
{
if ($task_id == 34)
{
quest::ze(15, "A cheer arises from the slaves as the last of the Kobold overseers fall.");
}
if ($task_id == 28 && $activity_id == 1) {
$client->Message(0,"Vahlara bows as you return. 'Just in time. Many are wounded and more arrive by the hour. If you can find any Gloomingdeep silk, bring it to me and I can reward you with more burlap clothing. It's not much, but it's nicer than the rags these kobolds left us with.'");
}
}
sub EVENT_CLICKDOOR {
if( $doorid == 11 )
{
my $dbh = plugin::LoadMysql();
$nth = $dbh->prepare("SELECT class, race, deity FROM character_data WHERE name='$name'");
$nth->execute();
@row = $nth->fetchrow_array();
my $n_class = $row[0];
my $n_race = $row[1];
my $n_deity = $row[2];
$sth = $dbh->prepare("SELECT zone_id, x, y, z, heading FROM start_zones WHERE player_class=$n_class AND player_deity=$n_deity AND player_race=$n_race");
$sth->execute();
@row = $sth->fetchrow_array();
my $zn_id = $row[0];
my $zn_x = $row[1];
my $zn_y = $row[2];
my $zn_z = $row[3];
my $zn_head = $row[4];
$dbh->disconnect();
quest::movepc($zn_id, $zn_x, $zn_y, $zn_z, $zn_head);
}
}
|
 |
|
 |

09-03-2018, 10:05 PM
|
Fire Beetle
|
|
Join Date: Aug 2018
Location: Canada
Posts: 13
|
|
Find Item System "prophetess of Norrath"
My wife and I are really enjoying the Solo Package so far and have made liberal use of the SOW Barbarian in POK. We're looking for certain items from the Prophetess, but neither of us have been able to get her to recognize our quires.
We hail her and click the item link where the explanation says to use 'M:something'. Do you need to use the /say to get it to function? Do we need to actually type it out as a question? I've tried clicking item, then /say M:*Tunic.
It just shows me saying it in the dialog window with no response.
|

09-04-2018, 06:57 AM
|
 |
Hill Giant
|
|
Join Date: Apr 2008
Posts: 237
|
|
Not sure what your issue may be. I attached a screenshot of me asking about a cloth cap. I never use the /say commands I just hit ENTER to either go into the chat box or click there with my mouse. Make sure you have the two extra tables added to your database as well.
LINK TO IMAGE
|

09-04-2018, 12:21 PM
|
Fire Beetle
|
|
Join Date: Aug 2018
Location: Canada
Posts: 13
|
|
Hmm, I don't see an attachment picture on your post. Not sure what two extra tables you mean. I've copied the .pl files including the prophetess one the the global folder, then sourced the Solo_Server.sql with the two POK book locations removed. I did not use the craft_merchant.sql though. Is that what i'm missing?
I didn't use it because it has no data in the file for me to copy and paste the same way I did the other sql file. File size is 8bytes but notepad and Ultra Edit show nothing. (although Ultra edit does show 5 blank lines)
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 06:28 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |