L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 12, 2008, 11:38:17 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Feedback and Suggestions > Topic: Towerbattle
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Towerbattle  (Read 334 times)
0 Members and 1 Guest are viewing this topic.
Sorekill
Freshman
*
Offline Offline

Posts: 11


Towerbattle
« on: April 30, 2007, 09:24:00 PM »

I have done a few searches and couldn't find exactly what I was looking for. Anyways is there a command or option or something  I could change in the code to make the Tower Battle alerts to be minimized into a line with the option of the person to click on it for a detail information (aka what SC's and up get from the server?
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1061


Re: Towerbattle
« Reply #1 on: May 01, 2007, 12:25:16 AM »

Yes, you'll have to edit the output created in   function gmsg($name, $group, $msg). It's the part following if (!empty($off_guild)).
Logged
Sorekill
Freshman
*
Offline Offline

Posts: 11


Re: Towerbattle
« Reply #2 on: May 01, 2007, 05:18:49 PM »

OK.. Since I am just learning about php and whatnot, does anyone have theirs edited and could post there file here or send me a msg with how to do it...Sorry I messed with this all day but ended up with original file lol ... Guess I have more to learn hehe
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1061


Re: Towerbattle
« Reply #3 on: May 02, 2007, 03:08:50 AM »

Try replacing
Code:
if (!empty($off_guild))
$msg = "<font color=#ffff00>" . $off_guild . "</font> <font color=#dddddd>(" . $off_side . ")</font> has attacked <font color=#ffff00>" .
$def_guild . "</font> <font color=#dddddd>(" . $def_side . ")</font> in " . $zone . " at " . $x_coords . "x" . $y_coords. ". Attacker: <font color=#ffff00>" .
$off_player . "</font> <font color=#dddddd>(LvL " . $player["level"] . " " . $player["profession"] . ")</font>";
else
$msg = "<font color=#ffff00>" . $off_player . "</font> <font color=#dddddd>(LvL " . $player["level"] . " " . $player["profession"] . ")</font> just attacked " .
$def_guild . "</font> <font color=#dddddd>(" . $def_side . ")</font> in " . $zone . " at " . $x_coords . "x" . $y_coords. ".";
with
Code:
if (!empty($off_guild))
$msg = "<font color=#ffff00>" . $off_guild . "</font> <font color=#dddddd>(" . $off_side . ")</font> has attacked <font color=#ffff00>" .
$def_guild . "</font> <font color=#dddddd>(" . $def_side . ")</font>. " . $this -> bot -> make_blob("More info", "The fight is in " . $zone . " at " . $x_coords . "x" . $y_coords. ".\nAttacker: <font color=#ffff00>" .
$off_player . "</font> <font color=#dddddd>(LvL " . $player["level"] . " " . $player["profession"] . ")</font>");
else
$msg = "<font color=#ffff00>" . $off_player . "</font> just attacked " . $def_guild . "</font> <font color=#dddddd>(" . $def_side . ")</font>" .
$this -> bot -> make_blob("More info", "The fight is in " . $zone . " at " . $x_coords . "x" . $y_coords. ".\nAttacker: <font color=#ffff00>" .
$off_player . "</font> <font color=#dddddd>(LvL " . $player["level"] . " " . $player["profession"] . ")</font>")";

Can't guarantee no errors, just did that quick on the fly. If it works it should shorten the output a bit.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Feedback and Suggestions > Topic: Towerbattle
« previous next »
 
Jump to:  

Recent
!security Levels
by Nytridr
[Today at 11:36:45 PM]

Bossloot for 5.2
by Brac
[Today at 04:45:17 PM]

Ported Modules
by Jiheld
[Today at 09:00:13 AM]

raid/point system suggest...
by Temar
[October 11, 2008, 11:45:40 PM]

!timers suggestions: alts...
by Alreadythere
[October 11, 2008, 03:19:46 PM]

!server does not work
by Alreadythere
[October 11, 2008, 06:54:38 AM]

TWC
by clashbot
[October 10, 2008, 08:52:57 AM]

Using Bebot in AoC Raid c...
by IKShadow
[October 09, 2008, 02:38:50 PM]

!items database
by cthulhu
[October 09, 2008, 08:00:27 AM]

File upload issue
by GBH
[October 08, 2008, 10:33:40 AM]
Stats
Members
Total Members: 988
Latest: Talmahera
Stats
Total Posts: 10809
Total Topics: 1458
Online Today: 15
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 3
Guests: 21
Total: 24
Nytridr
Hades
Zeephonz

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.165 seconds with 28 queries. (Pretty URLs adds 0.023s, 4q)
Loading...