Function adventurer_print_link($advid)
{
$connection = mysql_connect("localhost","root","") or die("NO SERVER");
mysql_select_db("aq") or die("Unable to select database");
$query = "SELECT url FROM characters where id=$advid";
$result = mysql_query($query) or die("Query failed");
$link = mysql_result($result,0,"url");
mysql_close($connection);
print("$link");
}
Function adventurer_get_link($advid)
{
$connection = mysql_connect("localhost","root","") or die("NO SERVER");
mysql_select_db("aq") or die("Unable to select database");
$query = "SELECT url FROM characters where id=$advid";
$result = mysql_query($query) or die("Query failed");
$link = mysql_result($result,0,"url");
mysql_close($connection);
return $link;
}
Function adventurer_new($adv_name, $adv_player, $adv_link, $adv_blurb)
{
$connection = pg_connect("localhost","5432","aq");
$query = "INSERT INTO characters VALUES (nextval('adventurer_sequence'::text),'$adv_name','$adv_player','$adv_link','$adv_blurb')";
$result = pg_exec($connection, $query);
pg_close($connection);
}
Function adventurer_flist()
{
$connection = pg_connect("localhost","5432","aq");
$query = "SELECT adv_name,adv_link,adv_blurb,advid FROM characters ORDER BY adv_name";
$result = pg_exec($connection, $query);
for ($row=0; $row < pg_NumRows($result); $row++) {
if (strcmp(pg_result($result,$row,1),"NONE")) {
printf("%s (%s)- %s
\n",
pg_result($result,$row,1), pg_result($result,$row,0),
pg_result($result,$row,3), pg_result($result,$row,2));
}
else {
printf("%s (%s) - %s
\n",
pg_result($result,$row,0),pg_result($result,$row,3),
pg_result($result,$row,2));
}
}
pg_close($connection);
}
?>
Function actor_print_link($advid)
{
$connection = mysql_connect("localhost","root","") or die("NO SERVER");
mysql_select_db("aq") or die("Unable to select database");
$query = "SELECT url FROM actors where id=$advid";
$result = mysql_query($query) or die("Query failed");
$link = mysql_result($result,0,"url");
mysql_close($connection);
print("$link");
}
Function actor_get_link($advid)
{
$connection = mysql_connect("localhost","root","") or die("NO SERVER");
mysql_select_db("aq") or die("Unable to select database");
$query = "SELECT url FROM actors where id=$advid";
$result = mysql_query($query) or die("Query failed");
$link = mysql_result($result,0,"url");
mysql_close($connection);
return $link;
}
Function actor_new($actor_name, $actor_player, $actor_link, $actor_blurb)
{
$connection = pg_connect("localhost","5432","aq");
$query = "INSERT INTO actors VALUES (nextval('actor_sequence'::text),'$actor_name','$actor_player','$actor_link','$actor_blurb')";
$result = pg_exec($connection, $query);
pg_close($connection);
}
Function actor_flist()
{
$connection = pg_connect("localhost","5432","aq");
$query = "SELECT actor_name,actor_link,actor_blurb,advid FROM actors ORDER BY actor_name";
$result = pg_exec($connection, $query);
for ($row=0; $row < pg_NumRows($result); $row++) {
if (strcmp(pg_result($result,$row,1),"NONE")) {
printf("%s (%s)- %s
\n",
pg_result($result,$row,1), pg_result($result,$row,0),
pg_result($result,$row,3), pg_result($result,$row,2));
}
else {
printf("%s (%s) - %s
\n",
pg_result($result,$row,0),pg_result($result,$row,3),
pg_result($result,$row,2));
}
}
pg_close($connection);
}
?>
September 20, 2003
| Game Start Date |
|
| Game End Date |
|
| Game Master |
Preson Wiley |
|
Adventurers
|
Paul
Siilex Alois
Mordacai
Dom Foran
Doglon
Meow Kitty
D'leyna
|
| Actors |
Mylor
|
Hook
Adventures/Thugs wanted for item recovery and island defense. Meet Mylor
at the Spectral Meteor at 2pm.
Plot Synopsis
Mylor is an elf and he wishs the adventures to help him obtain two items
from an elven island about 4 days from Lojem that has recently come under
attack. The island was attacked about a day and a half ago and while the
elves were able to fight the attack off, they took very heavy losses and
will not be able to fend off another attack. The elves remain on the
island simply because they are sure they will be ambushed if they leave
the island with the two artifacts.
The adventures agree to do this and they arrive at the island 4 days
later. They load the items, a 4' x 1.5' oak box and four metal stakes
wrapped in canvas, into their boat. At the same time, the remaining elves
on the island load up the two elven boats in dock. The adventurers boat
and the other boats set sail.
Someone spots a boat in the distance with no flag raised. The other elf
boats move behind the adventurer boat and sail away from the oncoming
boat. Paul dives in the water and swims up under the enemy boat, someone
spots him and tosses an object into the water with cause a fireball to
explode damaging Paul. Paul casts demolish on the boat, the wooden hull
explodes, exposing a second metal hull. The deck begins falling part, but
the boat is still sail worthy.
In the meantime, enemies begin flying at the adventures boat with weapons
in hand. One lands on the boat and tosses an object after pulling a pin at
the center of the boat. Its lets off a demolish spell and the parties ship
begins breaking apart. Four more enemies show up. Mordanci fires a few
shots of a bow at one, but is taken down. Dom kills one, one retreats, two
go unconcious. The party takes the two artifacts and loads them into one
of the other elven boats while Dom threatens the enemy boat with violence,
as he dumps one of their unconcious guys on the boat, if they don't give
up now. They give in and agree to leave.
The adventure is successful and the party gets paid.
Noteworthy events:
After this mission, all guards in elven territory have +1 weapons. (They
only remain +1 for one day if they are taken.)