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?
December 04, 2008, 05:32: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 > Module Requests > Topic: Personal Org Tower Info Tool
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Personal Org Tower Info Tool  (Read 270 times)
0 Members and 1 Guest are viewing this topic.
Threeze
Freshman
*
Offline Offline

Posts: 9



Personal Org Tower Info Tool
« on: March 20, 2008, 10:03:00 PM »

Currently I have a simple little module for my org's bot that outputs some useful tower information:
Quote
:::: Tower Information ::::

Control Tower Type QL Ranges

   Type 1: ql 10-33
   Type 2: ql 34-81
   Type 3: ql 82-128
   Type 4: ql 129-176
   Type 5: ql 177-200
   Type 6: ql 201-225
   Type 7: ql 226-275

Number of Towers Plantable

   Level 0-15    = You can't build any towers
   Level 15-74   = You can build 1 tower
   Level 75-149  = You can build 2 towers
   Level 150-199 = You can build 3 towers
   Level 200-220 = You can build 4 towers

Which has been somewhat useful, but what would be the most useful would be to have the ability for a higher ranking member to do something such as:

!tower add 60 90 Greater Omni Forest

which would get stored so when someone did !towers command, it would output the above quoted information as well as the org's current land tower ranges, and locations. i.e.:

Current Tower Locations for Organization 'Pretty Pony Patrol'
Land Range       Location
60 - 90             Greater Omni Forest

This *could* later on even be automated, so that land lost or won by the org would automatically adjust the locations and land ranges - this would obviously be quite a bit more coding work, however.

I would do all these things myself but, again, very limited knowledge... guess i'll just give some ideas... : o
« Last Edit: March 20, 2008, 10:29:12 PM by Threeze » Logged
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Offline Offline

Gender: Male
Posts: 313



Re: Personal Org Tower Info Tool
« Reply #1 on: March 20, 2008, 10:28:16 PM »

I have been working on a new notumwars module and that involves extending the land control zones to contain last known owner of a field. This is ofcourse not 100% but it will be able to give an indication atleast of the faciton (not) owning the field.

However I haven't got all that much time to spare these days, but eventually such a feature can be implemented.
Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
Tichy
Rookie
**
Offline Offline

Posts: 42



Re: Personal Org Tower Info Tool
« Reply #2 on: March 21, 2008, 06:42:36 AM »

Just some ideas:

 * if an org is attacked, add them as owner of the LCA
 * if an org lost a war, set the owner of the LCA to empty
 * if an org lost a field, set the owner of the LCA to empty
 * save the orgname of the org whichs wins a war (not as owner)
 * allow to save gas change time, so the module can conduct the
    gas states (they won't change as long the field isn't lost)
 * maybe assume gas change time when somebody attacks a field w/o known time (and mark it as unconfirmed)
 * include sow gas changes (Do someone know how it exactly work? Is the gas lowered for 1h from first attack or last attack?)
 * an interface to query for tower fields by orgs, by faction, by a certain gas level, by level range, ...
 * link it with the battle/victory commands to show all attacks on a certain tower field


These are just my two cent when I thought about towerfield tracing some weeks ago... but nothing coded yet Wink

If the owner is set, it will be always 100% correct. If no owner set, the state of the field is just unknown. This assumes the module can always detect the correct field which is attacked. This sometimes failes: on DNW Galway Shire #4 is not opened but attacks on field #3 are detected as attacks on #4 by bebot.
Logged
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Offline Offline

Gender: Male
Posts: 313



Re: Personal Org Tower Info Tool
« Reply #3 on: March 21, 2008, 06:56:35 AM »

Quote from: Tichy on March 21, 2008, 06:42:36 AM
* link it with the battle/victory commands to show all attacks on a certain tower field
 * if an org is attacked, add them as owner of the LCA
 * if an org lost a war, set the owner of the LCA to empty
 * if an org lost a field, set the owner of the LCA to empty
 * save the orgname of the org whichs wins a war (not as owner)
This is already implemented. The winner of a war is saved as "last captor". The "Guild has lost their LCA in area" message comes when someone deletes a control tower and when an un-guilded player takes down a field. So if the field in question has been attacked in the last X hours the faciton of the field is set to the faciton of the attacker and no guild set as last captor.
Quote from: Tichy on March 21, 2008, 06:42:36 AM
* allow to save gas change time, so the module can conduct the
    gas states (they won't change as long the field isn't lost)
 * maybe assume gas change time when somebody attacks a field w/o known time (and mark it as unconfirmed)
 * include sow gas changes (Do someone know how it exactly work? Is the gas lowered for 1h from first attack or last attack?)
 * an interface to query for tower fields by orgs, by faction, by a certain gas level, by level range, ...
These are good ideas and should be possible to implement.
Quote from: Tichy on March 21, 2008, 06:42:36 AM
If the owner is set, it will be always 100% correct. If no owner set, the state of the field is just unknown. This assumes the module can always detect the correct field which is attacked. This sometimes failes: on DNW Galway Shire #4 is not opened but attacks on field #3 are detected as attacks on #4 by bebot.
For the owner to be 100% correct it would have to be entered manually. It's not always that the guild attacking a field is the one taking possession of it.

However the faction of a field is usually not the same after a field has been taken and that's the best indication we can provide automagically.
Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
Tichy
Rookie
**
Offline Offline

Posts: 42



Re: Personal Org Tower Info Tool
« Reply #4 on: March 22, 2008, 01:13:39 PM »

Quote from: Blueeagle on March 21, 2008, 06:56:35 AM
For the owner to be 100% correct it would have to be entered manually. It's not always that the guild attacking a field is the one taking possession of it.

My idea was to set the owner of a field if:
 - the field is attacked
 - someone tells the bot the owner

If a field was destroyed by an org it should become an unknown status (with a link to the last tower message of the field Wink. I think it happens more often that the winners don't build themself.

Another point crossed my mind: the tower gas times are reset on server restarts imho, so the module should track the server status via the xml file and reset the timers on serverup.
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1089


Re: Personal Org Tower Info Tool
« Reply #5 on: March 22, 2008, 01:25:14 PM »

Quote from: Tichy on March 22, 2008, 01:13:39 PM
Another point crossed my mind: the tower gas times are reset on server restarts imho, so the module should track the server status via the xml file and reset the timers on serverup.
No, only replanting the CT changes the gas times.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Module Requests > Topic: Personal Org Tower Info Tool
« previous next »
 
Jump to:  

Recent
online not working after ...
by Temar
[Today at 05:09:48 PM]

Bot not working after tod...
by Alreadythere
[Today at 01:04:41 PM]

Tokens Calulator
by Temar
[December 03, 2008, 01:09:03 PM]

Bebot does not work with ...
by IKShadow
[December 03, 2008, 08:54:04 AM]

!items database
by Temar
[December 03, 2008, 07:27:59 AM]

massive_pvp_time_table 1
by Sudoka
[December 03, 2008, 06:49:07 AM]

Log playtime from buddys ...
by IKShadow
[December 02, 2008, 06:48:12 AM]

[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]
Stats
Members
Total Members: 1246
Latest: Vingus
Stats
Total Posts: 11193
Total Topics: 1508
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 6
Guests: 11
Total: 17
Kentarii
Raysett
Temar
vikor
upstart
daltarak

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.908 seconds with 29 queries. (Pretty URLs adds 0.026s, 4q)
Loading...