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?
November 22, 2008, 01:15:58 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 356 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: 1077


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: 1077


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
Change text in remember "...
by gerborg
[November 21, 2008, 05:14:57 PM]

Log playtime from buddys ...
by Temar
[November 20, 2008, 10:33:57 AM]

Vote Core module and Simp...
by Temar
[November 19, 2008, 09:26:52 AM]

Restrict access for one m...
by Organizer
[November 19, 2008, 03:21:19 AM]

Custom / Revised Modules ...
by Elesar1
[November 17, 2008, 03:51:46 PM]

TWC
by Temar
[November 16, 2008, 11:39:12 AM]

Are there any FUN modules...
by Elesar1
[November 15, 2008, 07:39:15 PM]

Call to a member function...
by exxie
[November 15, 2008, 09:29:31 AM]

Ported Modules
by Alreadythere
[November 14, 2008, 06:10:07 PM]

cURL and other non-defaul...
by Temar
[November 14, 2008, 04:11:44 PM]
Stats
Members
Total Members: 1235
Latest: DDDepressionnn
Stats
Total Posts: 11037
Total Topics: 1496
Online Today: 18
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 0
Guests: 14
Total: 14

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