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 21, 2008, 08:21:12 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > Modules for older versions > 0.2.x Custom/Unofficial Modules > Topic: Land Control Areas
Pages: [1] 2   Go Down
« previous next »
Print
Author Topic: Land Control Areas  (Read 2994 times)
0 Members and 1 Guest are viewing this topic.
Wolfbiter
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 141



WWW
Land Control Areas
« on: April 25, 2006, 01:26:41 PM »

Updated 2006-06-25

Land Control Area script.
!lca 50 <- show all towersites in the 50 range
!lca newland <- show all towersites in newland and newland desert
!lca 100 200 <- show all towersites in the 100-200 range
!lca 100 200 newland <- show all towersites in the 100-200 range in newland

You get the idea...

Towersite info was taken from the helpfiles from CSPMap
« Last Edit: June 25, 2006, 10:22:32 AM by Wolfbiter » Logged

220 Doctor | 220 Adventurer | 220 Shade
jokerjr
Freshman
*
Offline Offline

Posts: 12


Re: Land Control Areas
« Reply #1 on: April 27, 2006, 08:26:42 PM »

Get some crazy looping when I try to do !lca 100
 Keeps spaming (page 2 of 2) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 1 of 3) etc.

!lca newland etc works fine.
Logged
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 414



Re: Land Control Areas
« Reply #2 on: April 27, 2006, 09:07:19 PM »

I compiled a database myself awhile ago, but never finished the module. Attached my SQL just incase you want to compare. Smiley
Logged
lonillen
Freshman
*
Offline Offline

Posts: 15


Re: Land Control Areas
« Reply #3 on: April 28, 2006, 02:31:51 AM »

Quote from: jokerjr on April 27, 2006, 08:26:42 PM
Get some crazy looping when I try to do !lca 100
 Keeps spaming (page 2 of 2) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 1 of 3) etc.

!lca newland etc works fine.

have a look at http://bebot.shadow-realm.org/index.php/topic,234.0.html
Logged
Wolfbiter
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 141



WWW
Re: Land Control Areas
« Reply #4 on: April 28, 2006, 04:39:59 AM »

Quote from: Glarawyn on April 27, 2006, 09:07:19 PM
I compiled a database myself awhile ago, but never finished the module. Attached my SQL just incase you want to compare. :)

Quick compare and I had one LCA more than you, I'm not going to detail compare thou, that's way too boring ;)

Quote from: jokerjr on April 27, 2006, 08:26:42 PM
Get some crazy looping when I try to do !lca 100
 Keeps spaming (page 2 of 2) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 2 of 3) (page 1 of 3) etc.

!lca newland etc works fine.

Follow the link lonillen gave you, it's an old bug in BeBot, fixed in recent versions.
Logged

220 Doctor | 220 Adventurer | 220 Shade
jokerjr
Freshman
*
Offline Offline

Posts: 12


Re: Land Control Areas
« Reply #5 on: April 28, 2006, 07:37:53 PM »

Whoops thanks.
Logged
Xenixa
BeBot Contributor
Expert
*******
Offline Offline

Posts: 307



Re: Land Control Areas
« Reply #6 on: May 06, 2006, 03:45:40 AM »

Using Wolf's data I started to revamp the TowerAttack.php module.

Attached is a sneek peek of what I have so far for the !battle command. I've also added the ability to search battles by playfield.

Update: As advertised below, info on how to get is here:
http://bebot.shadow-realm.org/index.php/topic,243.msg2314.html#msg2314
« Last Edit: May 13, 2006, 07:15:29 AM by Xenixa » Logged

<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky
Tsuyoi
Rookie
**
Offline Offline

Gender: Male
Posts: 30


BigT


WWW
Re: Land Control Areas
« Reply #7 on: May 08, 2006, 08:12:47 AM »

So are the attacks always returned as the the coords for the LCA or are they the coords for the exact tower being attacked?  Been wanting to add alittle bit more info for !battle myself, but I wasn't sure of this aspect.
Logged
Wolfbiter
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 141



WWW
Re: Land Control Areas
« Reply #8 on: May 08, 2006, 09:49:58 AM »

I think the coords here are just approximate the area, with the attacked coords will always the same (and are slightly different than these), but I've not done any testing on it... just not intrested enough in towerwards.
Logged

220 Doctor | 220 Adventurer | 220 Shade
Xenixa
BeBot Contributor
Expert
*******
Offline Offline

Posts: 307



Re: Land Control Areas
« Reply #9 on: May 08, 2006, 08:32:26 PM »

The coordinates Funcom announces in chat are the Exact Coords of the tower being attacked in an LCA. Exception, any further attacks by other orgs in the same LCA it re-uses the FIRST set of coords announced since the LCA went 25%.

The coordinates in the LCA table are the approximate center of the LCA. So performing a simple radius search based on the announced coords vs the stored aprox. center LCA coords was pretty easy to setup. Only it's not so much a radius as it is a box.

I.E. The math ... Announced coords X - Units west(290 in my case) to X plus Units East and Annouced coords Y - Units South to Y + Unit North.
Or for example: X=2000, Y=2000, S=290 : find X-S to X+S and Y-S to Y+S)

That would make a box with the coords 2000x2000 as the center that is 580 units wide and 580 units tall.
See... Simple geometry math. :p
Logged

<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky
Tsuyoi
Rookie
**
Offline Offline

Gender: Male
Posts: 30


BigT


WWW
Re: Land Control Areas
« Reply #10 on: May 08, 2006, 09:02:27 PM »

That was the biggest obstacle I didn't wanna cover was how big to make the rectange so that it isn't overlapping the smaller zones like in SEB, but isn't missing out on some of the huge zones like EFP or Andromeda.  Thanks for all your help Xen ^^
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1077


Re: Land Control Areas
« Reply #11 on: May 09, 2006, 01:41:21 PM »

Nice plugin, saves me the work to do it myself Smiley
Logged
Pharexys
Apprentice
***
Offline Offline

Posts: 94


Re: Land Control Areas
« Reply #12 on: May 13, 2006, 07:15:42 AM »

nice plugin, but dunno looks wierd at me, i would like something like:

Belial Forest Land Control Regions

Forest Waters
- Range: 160-200
- Coords: 2940x2820
- Hugemap: 1
- Enabled: Yes
- Side: Clan

Muddy Pools
- Range: 110-120
- Coords: 1100x2620
- Hugemap: 2
- Enabled: Yes
- Side: Clan

West of Wine
- Range: 100-150
- Coords: 1700x2300
- Hugemap: 3
- Enabled: Yes
- Side: Clan

East of Wine
- Range: 120-180
- Coords: 2940x2260
- Hugemap: 4
- Enabled: Yes
- Side: Clan

Central Belial Forest
- Range: 130-195
- Coords: 1900x1740
- Hugemap: 5
- Enabled: No

River Delta
- Range: 130-190
- Coords: 2500x1660
- Hugemap: 6
- Enabled: Yes
- Side: Clan

Junction Forest
- Range: 160-200
- Coords: 2540x1220
- Hugemap: 7
- Enabled: Yes
- Side: Clan

Borderline
- Range: 100-150
- Coords: 2340x860
- Hugemap: 8
- Enabled: Yes
- Side: Clan

Southern belial Mine
- Range: 120-180
- Coords: 2020x420
- Hugemap: 9
- Enabled: Yes
- Side: Clan

Southwest Belial Mining District
- Range: 140-200
- Coords: 620x380
- Hugemap: 10
- Enabled: No

this is from Gimpybot [RK2]

Also need to add some shortcuts to Belial Forest to BF and others as well
anyway good job man, i'll try to modify it to fit my needs Tongue
Logged
Wolfbiter
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 141



WWW
Re: Land Control Areas
« Reply #13 on: May 13, 2006, 08:38:53 PM »

All but side who controls it is there already, and which side would have to updated when a change is made, and I'm way too lazy/non-caring for that... besides, rk1-2 are different on who controls what.
Logged

220 Doctor | 220 Adventurer | 220 Shade
Pharexys
Apprentice
***
Offline Offline

Posts: 94


Re: Land Control Areas
« Reply #14 on: June 10, 2006, 03:13:51 PM »

I edited ur module, and i would like when u do !lca, reply to be only 1 blob, and the areas to be a link to /tell <botname> !lca <name of area>, But i cant seem to find were to edit this, since u writed it, should probly know hehe Tongue
Logged
Pages: [1] 2   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > Modules for older versions > 0.2.x Custom/Unofficial Modules > Topic: Land Control Areas
« previous next »
 
Jump to:  

Recent
Change text in remember "...
by gerborg
[Today at 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: 16
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 11
Total: 12
upstart

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