collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Land Control Areas  (Read 9400 times)

0 Members and 1 Guest are viewing this topic.

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Land Control Areas
« on: April 25, 2006, 08: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, 05:22:32 pm by Wolfbiter »
Too many toons.

Offline jokerjr

  • BeBot Rookie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: Land Control Areas
« Reply #1 on: April 28, 2006, 03:26:42 am »
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.

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Land Control Areas
« Reply #2 on: April 28, 2006, 04:07:19 am »
I compiled a database myself awhile ago, but never finished the module. Attached my SQL just incase you want to compare. :)

Offline lonillen

  • BeBot Rookie
  • *
  • Posts: 15
  • Karma: +0/-0
Re: Land Control Areas
« Reply #3 on: April 28, 2006, 09:31:51 am »
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.link/index.php/topic,234.0.html

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Land Control Areas
« Reply #4 on: April 28, 2006, 11:39:59 am »
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 ;)

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.
Too many toons.

Offline jokerjr

  • BeBot Rookie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: Land Control Areas
« Reply #5 on: April 29, 2006, 02:37:53 am »
Whoops thanks.

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Re: Land Control Areas
« Reply #6 on: May 06, 2006, 10: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.link/index.php/topic,243.msg2314.html#msg2314
« Last Edit: May 13, 2006, 02:15:29 pm by Xenixa »
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline Tsuyoi

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
  • BigT
    • Adrenaline Rush Forums
Re: Land Control Areas
« Reply #7 on: May 08, 2006, 03:12:47 pm »
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.

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Land Control Areas
« Reply #8 on: May 08, 2006, 04:49:58 pm »
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.
Too many toons.

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Re: Land Control Areas
« Reply #9 on: May 09, 2006, 03:32:26 am »
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
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline Tsuyoi

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
  • BigT
    • Adrenaline Rush Forums
Re: Land Control Areas
« Reply #10 on: May 09, 2006, 04:02:27 am »
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 ^^

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Land Control Areas
« Reply #11 on: May 09, 2006, 08:41:21 pm »
Nice plugin, saves me the work to do it myself :)

Offline Pharexys

  • BeBot Apprentice
  • ***
  • Posts: 117
  • Karma: +0/-0
Re: Land Control Areas
« Reply #12 on: May 13, 2006, 02:15:42 pm »
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 :P

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Land Control Areas
« Reply #13 on: May 14, 2006, 03:38:53 am »
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.
Too many toons.

Offline Pharexys

  • BeBot Apprentice
  • ***
  • Posts: 117
  • Karma: +0/-0
Re: Land Control Areas
« Reply #14 on: June 10, 2006, 10: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 :P

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 692
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal