Arex
04-30-2006, 10:47 PM
Hi, i would like to know what i must to do for use web templates that come with eqemu, when i use it with my apache server, i can navigate for all pages, but i see the expressions where i should to see the information of players online, guilds, etc.
Example:
get("zone", ""); @chars = $EQW->ListPlayers($zone); #( # { character => "Joe", account => "yay", location_short => "arena", location_long => "Arena" }, # { character => "Bob", account => "yay", location_short => "freportw", location_long => "West Freeport" }, # { character => "Monkey", account => "notyay", location_short => "freportn", location_long => "North Freeport" } # ); ?>
Online Player List
GetPlayerDetails($charname); if(!$char) { $char->{character} = "ERROR: no char"; } elsif($char->{error}) { $char->{character} = "ERROR: ".$char->{error}; } print ""; if($char->{character} eq "") { print ""; } else { print ""; } print ""; print ""; print ""; print ""; } ?>
Character Account Name Location Actions
Not Selected $char->{character}"; if(defined($char->{guild_id}) && $char->{guild_id} > 0) { print " <guild #$char->{guild_id}>"; } print "
"; print "$char->{level} $char->{race} $char->{class}"; print " $char->{account}"; if($char->{status} > 0) { print " (status $char->{status})"; } print "
"; print " $char->{ip} $char->{location_long} ($char->{location_short}) "; print "Kick"; print "
what must i to do for see it correctly?
Thank you!
Example:
get("zone", ""); @chars = $EQW->ListPlayers($zone); #( # { character => "Joe", account => "yay", location_short => "arena", location_long => "Arena" }, # { character => "Bob", account => "yay", location_short => "freportw", location_long => "West Freeport" }, # { character => "Monkey", account => "notyay", location_short => "freportn", location_long => "North Freeport" } # ); ?>
Online Player List
GetPlayerDetails($charname); if(!$char) { $char->{character} = "ERROR: no char"; } elsif($char->{error}) { $char->{character} = "ERROR: ".$char->{error}; } print ""; if($char->{character} eq "") { print ""; } else { print ""; } print ""; print ""; print ""; print ""; } ?>
Character Account Name Location Actions
Not Selected $char->{character}"; if(defined($char->{guild_id}) && $char->{guild_id} > 0) { print " <guild #$char->{guild_id}>"; } print "
"; print "$char->{level} $char->{race} $char->{class}"; print " $char->{account}"; if($char->{status} > 0) { print " (status $char->{status})"; } print "
"; print " $char->{ip} $char->{location_long} ($char->{location_short}) "; print "Kick"; print "
what must i to do for see it correctly?
Thank you!