|
Wolfbiter
|
 |
« 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
Posts: 12
|
 |
« 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
|
 |
« 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. 
|
|
|
|
|
Logged
|
|
|
|
lonillen
Freshman
Offline
Posts: 15
|
 |
« Reply #3 on: April 28, 2006, 02: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.shadow-realm.org/index.php/topic,234.0.html
|
|
|
|
|
Logged
|
|
|
|
|
Wolfbiter
|
 |
« Reply #4 on: April 28, 2006, 04: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.
|
|
|
|
|
Logged
|
220 Doctor | 220 Adventurer | 220 Shade
|
|
|
jokerjr
Freshman
Offline
Posts: 12
|
 |
« Reply #5 on: April 28, 2006, 07:37:53 PM » |
|
Whoops thanks.
|
|
|
|
|
Logged
|
|
|
|
|
Xenixa
|
 |
« 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 StudioAll my Custom Bebot files may be Found Here <-clicky
|
|
|
Tsuyoi
Rookie

Offline
Gender: 
Posts: 30
BigT
|
 |
« 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
|
 |
« 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
|
 |
« 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 StudioAll my Custom Bebot files may be Found Here <-clicky
|
|
|
Tsuyoi
Rookie

Offline
Gender: 
Posts: 30
BigT
|
 |
« 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
|
 |
« Reply #11 on: May 09, 2006, 01:41:21 PM » |
|
Nice plugin, saves me the work to do it myself 
|
|
|
|
|
Logged
|
|
|
|
|
Pharexys
|
 |
« 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 
|
|
|
|
|
Logged
|
|
|
|
|
Wolfbiter
|
 |
« 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
|
 |
« 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 
|
|
|
|
|
Logged
|
|
|
|
|