Booya
collapse collapse

Menu

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Search


* Board Stats

  • stats Total Members: 1060
  • stats Total Posts: 18264
  • stats Total Topics: 2479
  • stats Total Categories: 7
  • stats Total Boards: 31
  • stats Most Online: 168

Author Topic: [AO] Rally with waypoint  (Read 137098 times)

0 Members and 3 Guests are viewing this topic.

Offline Nogoal

  • BeBot Apprentice
  • ***
  • Posts: 77
[AO] Rally with waypoint
« on: July 09, 2009, 11:13:03 am »
I added a waypoint link to !rally. The problem is that you had to know the playfield number. So it also comes with a table. All pfs should be in the table except backyards and missions. I also added some abbreviations like EFP, OA, etc.

How to install:
- copy pfnumb.sql to extra/table_data
- delete your old rally.php
- copy the new rally.php to customs/modules

or simply replace the old by the new one

How to use:
it works like the old one used to. You can use either playfield name or number. You can get the number in game by hitting ctrl-F9.

With playfield name:
!rally old 10 10 Rally at OA grid!
Bot: Rally info: [Zone: Old Athen City] [Coords: 10, 10] [Link] [Note: Rally at OA grid!]

With playfield number:
!rally 540 10 10 Rally at OA grid!
Bot: Rally info: [Zone: Old Athen City] [Coords: 10, 10] [Link] [Note: Rally at OA grid!]

If bot find multiple entries in the db he'll ask you for the right one.

Rally.phps
pfnumb.sql

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
    • Ascension's Home
Re: [AO] Rally with waypoint
« Reply #1 on: July 09, 2009, 11:30:21 pm »
works well, already implimented, though it's now up to the org to use it..heheh, that's another task in of itself

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
    • Ascension's Home
Re: [AO] Rally with waypoint
« Reply #2 on: July 10, 2009, 04:29:32 pm »
one issue...needs and error handler, as if you put in the wrong pf number, causes bot to crash

Offline Nogoal

  • BeBot Apprentice
  • ***
  • Posts: 77
Re: [AO] Rally with waypoint
« Reply #3 on: July 13, 2009, 03:54:36 pm »
Fixed. You have to download Rally.phps again.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
    • Ascension's Home
Re: [AO] Rally with waypoint
« Reply #4 on: July 13, 2009, 04:08:21 pm »
ty, will test it out in a few minutes

Offline Talmahera

  • BeBot Rookie
  • *
  • Posts: 1
Re: [AO] Rally with waypoint
« Reply #5 on: July 16, 2009, 08:41:37 am »
Thank you for this nice plugin Nog.

You can use this script too if your raidbot is an old one (like Budabot :P) :

Quote
<a href="text://To get waypoint to rally in %4 please <a href='chatcmd:///waypoint %1 %2 %3'>click this</a>">Waypoint to %4</a>

Where %1 %2 are coord, %3 pf zone and %4 name. Ex : /way 550 1000 590 Rally
« Last Edit: July 16, 2009, 08:45:37 am by Talmahera »

Offline bitnykk

  • BeBot Rookie
  • *
  • Posts: 11
Re: [AO] Rally with waypoint
« Reply #6 on: April 03, 2016, 03:44:19 pm »
Only issue with this plugin is it's referring to a RK region abbrevation table wich ... excludes any waypoint link for SL ! Here are faulty lines of function set_rally() inside file rally.php to be commented for a quickfix :

Code: [Select]
      if(is_numeric($zone))
      {
      //   $zonenumc = $this -> bot -> db -> select("SELECT area FROM #___land_control_zones WHERE zoneid = $zone");
      //   if(!empty($zonenumc))
      //   {
            $zonenum = $zone;
      //      $zone = $zonenumc[0][0];
            $e = "and Way";
      //   }
      //   else
      //      $zonenum = FALSE;
      }

Once applied, you'll be able to add any rally with waypoint link, as those 59 i'm proposing in joined file.

 

* Recent Posts

CIDB by bitnykk
[July 21, 2017, 10:19:38 am]


Line 99 StartBot.php by Kepha
[October 17, 2016, 10:37:57 am]


New Central itemDB (!item[s|reg]) by aoc_botter
[September 17, 2016, 07:06:44 pm]


Unknown dimension error. by aoc_botter
[September 17, 2016, 06:53:20 pm]


Raid Loot module by bitnykk
[April 05, 2016, 07:11:25 pm]

* Who's Online

  • Dot Guests: 23
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Forum Staff

Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator