User Name
Password

Go Back   Planetarion Forums > Planetarion Related Forums > Planetarion Discussions

Reply
Thread Tools Display Modes
Unread 14 Jan 2023, 14:21   #1
macen
Registered User
 
Join Date: Mar 2014
Posts: 80
macen is a glorious beacon of lightmacen is a glorious beacon of lightmacen is a glorious beacon of lightmacen is a glorious beacon of lightmacen is a glorious beacon of lightmacen is a glorious beacon of light
Exclamation Planetarion Toolset

Hi

Planetarion Toolset, originally created by VenoX and enhanced by myself is available for download here https://github.com/craigfairhurst/Planetarion-Toolset

Features

Webby:
  1. Members - configure notifications, link to telegram
  2. Politics - set deals so attack can't be incorrect
  3. Schedule - afk hours of day
  4. Planets - arbiter
  5. Galaxies - arbiter
  6. Alliances - arbiter
  7. Scans - imported scans (see !parse )
  8. Attacks - attack system
  9. Battlegroups - battlegroup system
  10. Misc - various tools

Telegram:
  • !tools: Website URL
  • !tick: Display current tick or information for tick - Usage: !tick [tick]
  • !cookie: Give user a virtual cookie - Usage: !cookie
  • !setnick: Set your nick at round start - Usage: !setnick
  • !setplanet: Set your planet at round start - Usage: !setplanet <x:y:z>
  • !attacks: List open attacks
  • !claimed: List claimed targets from open attacks
  • !book: Book a target in an open attack, use !free to see available targets. - Usage: !book <x:y:z>
  • !drop: Drop a target from attack - Usage: !drop <x:y:z>
  • !free: List all available targets in attack
  • !launch: Retrieve all claimed attack targets
  • !call: Place a call to - Usage: !call
  • !sms: Send an SMS to - Usage: !sms
  • !maxcap: Find max potential roid gain for after - Usage: !maxcap <x:y:z> [ticks]
  • !eff: Effect of ship on ships it targets - Usage: !eff [tier]
  • !stop: Calculate ships required to stop ship with amount - Usage: !stop
  • !afford: Work out potential for ships to be built for a given planet - Usage: !afford
  • !roidcost: Cost of roids given based on supplied information - Usage: !roidcost
  • !ship: Retrieve stats for - Usage: !ship
  • !last24: Fetch stats for last 24 ticks - Usage: !last24 [nick|alliance]
  • !top5: Retrieve top 5 players with option to specify an alliance - Usage: !top5 [alliance]
  • !lookup: Fetch your planets details - Usage: !lookup
  • !epenis: Last 24 hours score change - Usage: !epenis [nick]
  • !galpenis: Last 24 hours galaxy score change - Usage: !galpenis [nick]
  • !apenis: Last 24 hours alliance score change for Unicorns
  • !winners: Top 5 players in alliance
  • !loosers: Bottom 5 players in alliance
  • !intel: Set or retrieve intel for planet or galaxy - Usage: !intel <x:y:z> [nick]
  • !latestscan: Latest scan for given coords and type - Usage: !latestscan <x:y:z>
  • !cost: Retrieve cost of given ships - Usage: !cost
  • !req: Request a scan - Usage: !req <x:y:z>
  • !reqs: List all open requests - Usage: scan/officer channel only
  • !parse: Parse given scan url - Usage: !parse
  • !jpg: Parse scan link and notify those with prelaunch on them - Usage: !jpg
  • !spam: Spam intel for given alliance - Usage: !spam
  • !whodidthis: Random love for those that helped with this project

Installation

In order to use tools you must have:
  • A working webserver with PHP 7.4 and MySQL
  • Email address for notifications (with tools+1@... support)
  • Telegram Bot (see @BotFather on TG for instructions)
  • Infobip account registered to send SMS

Follow these steps:
  • Replace 'your.domain.tld' with your domain
  • Enter credentials into alliance/.env
  • Import database patools_webby.sql
  • Run php /path/to/tools/alliance/artisan schedule:run on the hour every hour
  • Configure Telegram webhook with https://your.domain.tld/bot<bot_key>/hook


Usage

For attacks and Telegram to work you must do the following, every round:
  • /addchannel or /addscanschannel to start Telegram monitoring
  • Register at Tools, approve account
  • Every member must do !setnick <tools_nick> on Telegram
  • After shuffle, you must do !setplanet or attack system won't work

Troubleshooting
  • You may need to adjust public/.htaccess to fit with your environment
  • See roles table after install, you may need to add basic data
__________________
macen

Round 58 44th
Round 64 113th
Round 65 86th
Round 66 98th
Round 92 56th
macen is offline   Reply With Quote
Unread 15 Jan 2023, 14:57   #2
Assassin
PA Ancient
 
Assassin's Avatar
 
Join Date: Oct 2003
Location: Ventnor, Isle Of Wight
Posts: 1,060
Assassin has a brilliant futureAssassin has a brilliant futureAssassin has a brilliant futureAssassin has a brilliant futureAssassin has a brilliant futureAssassin has a brilliant futureAssassin has a brilliant futureAssassin has a brilliant futureAssassin has a brilliant futureAssassin has a brilliant futureAssassin has a brilliant future
Re: Planetarion Toolset

Nice share.
__________________
Played: Round 1-13. PA Team: Round 13-17. The Return: Round 18-19. PA Team: Round 20. Return.. Again: Round 21-37 Retired: Round 38 Returned: Round 39-45 Retired: Round 45 Returned: Round: 56

Ever been attacked by a p3nguin? You get left a bit black and white!

p3nguin Founder
Assassin is offline   Reply With Quote
Unread 16 Jan 2023, 02:54   #3
Mzyxptlk
mz.
Alien Invasion Champion, Submarine Champion, Tiger Punch Champion, Barts Watersports Adventure Champion
 
Join Date: Aug 2005
Posts: 8,587
Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.
Re: Planetarion Toolset

Nice!

Venox' original was released under the MIT licence, and since this is based on that, you should do the same.
__________________
The outraged poets threw sticks and rocks over the side of the bridge. They were all missing Mary and he felt a contented smug feeling wash over him. He would have given them a coy little wave if the roof hadn't collapsed just then. Mary then found himself in the middle of an understandably shocked family's kitchen table. So he gave them the coy little wave and realized it probably would have been more effective if he hadn't been lying on their turkey.
Mzyxptlk is offline   Reply With Quote
Unread 21 Jan 2023, 00:55   #4
VenoX
Registered User
 
Join Date: Jan 2008
Posts: 499
VenoX has a brilliant futureVenoX has a brilliant futureVenoX has a brilliant futureVenoX has a brilliant futureVenoX has a brilliant futureVenoX has a brilliant futureVenoX has a brilliant futureVenoX has a brilliant futureVenoX has a brilliant futureVenoX has a brilliant futureVenoX has a brilliant future
Re: Planetarion Toolset

Hey man, good work on extending particularly the telegram commands I never got round to, just a heads up though, your infobip creds are hard coded into your !alert command, you might want to put them into environment variables before somebody burns your credits.
__________________
Founder and HC of [Denial] and [Evolution]
VenoX is offline   Reply With Quote
Unread 23 Jan 2023, 02:40   #5
macen
Registered User
 
Join Date: Mar 2014
Posts: 80
macen is a glorious beacon of lightmacen is a glorious beacon of lightmacen is a glorious beacon of lightmacen is a glorious beacon of lightmacen is a glorious beacon of lightmacen is a glorious beacon of light
Re: Planetarion Toolset

Thanks for your kind words Liam. I'm working on it all next week, there are a few problem areas that need ironing out. I take nothing away from your stella effort though, you are indeed deserving of all the praise. Thanks for the !alert info also ..good spot! :-)
__________________
macen

Round 58 44th
Round 64 113th
Round 65 86th
Round 66 98th
Round 92 56th
macen is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Forum Jump


All times are GMT +1. The time now is 11:11.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2018