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);
}
?>
January 22, 2005
| Game Start Date |
10-05-10044 |
| Game End Date |
10-11-10044 |
| Game Master |
Craig Brown |
|
Adventurers
|
Tanis
Riot
Jorjis
Corrigon
Rogodeter
Vladimir
Dr. Winder Miko
|
| Actors |
Merrik
|
| Locations |
Rougtero
|
Hook
Wanted - Mercenary Assault Team. Contact Merrik on the Nigrapassero.
Plot Synopsis
The characters found their way to the docks and gained permission to board
the Nigrapassero.
Merrik explained that four days ago his ship was attacked by pirates and his
brother, Garris, was taken captive. He wants people to storm the pirate
stronghold and rescue Garris.
They stopped in a fishing village near the stronghold to gather info. They
gained a description of the pirate ship, and gathered that the ship had only
recently begun prowling the nearby waters.
They made a plan to attack at night, but were spotted. They fought their
way into the building, killed most of the pirates, and rescued Garris
unharmed. They took what loot they could manage and returned to Rougtero.
Also of note: Dr. Winder bought the captured pirate ship from the group,
and is in the process of refurbishing it for her own use.