Discord bot

Moderator: LIHL Staff

Diablo_
Protector of Nature
Posts: 3180
Joined: Sat Apr 06, 2013 10:26 pm
Has thanked: 55 times
Been thanked: 145 times

Re: Discord bot

Postby Diablo_ » Thu Nov 02, 2017 11:00 pm

Done:
  • When signing only being in a lihl game will block you, other ent games aren't considered anymore.
  • Fixed a small bug with anti early sign system.
  • !info command now (hopefully) correctly handles and displays observers.
  • Lihlsign command now works even when the player-to-sign is banned or in a game.

Don_Killuminati wrote:Can obs be considered as non players at least untill the system become more fluid ?


Fixing observers for !info command was half the work to also fix them for the anti early sign system, so this should be done soon.

Meshtar wrote:I have a lazy suggestion. Considering how the new signing system works game could get created and then be followed with plenty of !sign spam. Would be great if a gamename could be easily copied by just doing 1 click if possible, cause sometimes its so annoying to select and copy gamename through all that spam :)


Not sure if that's even possible and seeing its limited usefulness I'll not look into it, sorry :)
These users thanked the author Diablo_ for the post (total 2):
Kreutertee (Fri Nov 03, 2017 6:55 am) • Jamo (Thu Nov 02, 2017 11:55 pm)
-----
LIHL player parser, a tool to automatically parse LIHL players' Elo and create reports for it: CLICK

Diablo_
Protector of Nature
Posts: 3180
Joined: Sat Apr 06, 2013 10:26 pm
Has thanked: 55 times
Been thanked: 145 times

Re: Discord bot

Postby Diablo_ » Thu Nov 09, 2017 8:15 pm

Done:
  • Fixed ordering of !bot command (player with lowest Elo is now at the bottom of the list instead of the top)
  • Added basic spam protection. Every player can execute !start and !sign only every 3 seconds. If you think this time is too short or too long tell me, it might need some adjustments.
These users thanked the author Diablo_ for the post:
BoretkPanda (Thu Nov 09, 2017 8:25 pm)
-----
LIHL player parser, a tool to automatically parse LIHL players' Elo and create reports for it: CLICK

FateStayNight
Forest Walker
Posts: 231
Joined: Wed Jan 16, 2013 11:23 pm
Has thanked: 11 times
Been thanked: 27 times

Re: Discord bot

Postby FateStayNight » Sat Nov 11, 2017 1:42 pm

need !compare for ultimate jihad competition!

Diablo_
Protector of Nature
Posts: 3180
Joined: Sat Apr 06, 2013 10:26 pm
Has thanked: 55 times
Been thanked: 145 times

Re: Discord bot

Postby Diablo_ » Thu Nov 16, 2017 11:26 pm

FateStayNight wrote:need !compare for ultimate jihad competition!


It will come ... one day ^.^

Done:
  • !start command is no longer influenced by the anti spam system, i.e. you can instantly use !sign after using !start.
  • Stats commands like !ihs !lms etc. no longer require full/exact names (e.g. !ihs dia will now show the same as !ihs diablo_). However, it will display the stats of the first player matching that part (e.g. !ihs d will show dafuker's stats cause his name comes first alphabetically).
  • Refactored the !sign code to further improve the bot's performance when many ppl spam.
These users thanked the author Diablo_ for the post:
HazarDous (Fri Nov 17, 2017 3:44 pm)
-----
LIHL player parser, a tool to automatically parse LIHL players' Elo and create reports for it: CLICK

Diablo_
Protector of Nature
Posts: 3180
Joined: Sat Apr 06, 2013 10:26 pm
Has thanked: 55 times
Been thanked: 145 times

Re: Discord bot

Postby Diablo_ » Sat Mar 17, 2018 10:16 pm

New feature:
!compare command!!

If anyone has an idea for a better formatting/text which also better fits on one line ... tell me :P

PS: Clarification for those newbies that don't know or remember the old compare command: It doesn't show/know all games played together. The amount of games it shows is somewhat random, as far as I know Ent simply stores the data of the last XXXX games and the command checks all these games, no more no less. So if you haven't played for a while you will see 0/0 stats etc.
Attachments
compare.PNG
compare.PNG (13.58 KiB) Viewed 2498 times
These users thanked the author Diablo_ for the post:
Jamo (Sat Mar 17, 2018 11:01 pm)
-----
LIHL player parser, a tool to automatically parse LIHL players' Elo and create reports for it: CLICK

User avatar
dweiler
Plague Treant
Posts: 1735
Joined: Sat Jan 19, 2013 6:28 pm
Location: The Netherlands
Has thanked: 88 times
Been thanked: 232 times

Re: Discord bot

Postby dweiler » Sat Mar 17, 2018 10:26 pm

Damn seems like that Hazardous guy really sucks.
These users thanked the author dweiler for the post:
Meshtar (Sat Mar 17, 2018 10:42 pm)
You don't stop playing because you grow old; you grow old because you stop playing.

User avatar
HazarDous
Staff Department
Posts: 9051
Joined: Mon Jan 12, 2015 9:36 pm
Has thanked: 70 times
Been thanked: 227 times

Re: Discord bot

Postby HazarDous » Sat Mar 17, 2018 11:49 pm

;(

Maybe one day I will be bot 1, tough competition tho

Capture d’écran 2018-03-17 à 22.48.30.png
Capture d’écran 2018-03-17 à 22.48.30.png (35.09 KiB) Viewed 2464 times

Mind
Donator
Posts: 174
Joined: Tue Sep 17, 2013 12:45 pm
Has thanked: 17 times
Been thanked: 11 times

Re: Discord bot

Postby Mind » Sun Mar 18, 2018 12:16 pm

thank you, dia <3
(32:21 / All) Mudman: WE FORGOT KING
(32:23 / All) Mudman: gg

User avatar
Vendeta
Treant Protector
Posts: 653
Joined: Sun Mar 08, 2015 10:58 pm
Has thanked: 72 times
Been thanked: 36 times

Re: Discord bot

Postby Vendeta » Sun Mar 18, 2018 3:08 pm

Game finishes at 15:16, with fiji being in it, but he somehow started new lobby at 15:15.

fiji.jpg
fiji.jpg (11.56 KiB) Viewed 2440 times


fiji2.jpg
fiji2.jpg (28.29 KiB) Viewed 2440 times


fiji3.jpg
fiji3.jpg (28.24 KiB) Viewed 2440 times


Time on ent game history is different timezone than mine, its 5 hours differencial, thats why 10/15m dont make that confuse u.

Why and how ? And can others do that too since fiji can ? Need to do something about this asap, its completely unfair. It is huge abuse.

@diablo_ @hazardous
this needs to be looked into asap.
D.S. 1989

User avatar
Varg
Forest Walker
Posts: 120
Joined: Sun May 08, 2016 7:56 am
Has thanked: 38 times
Been thanked: 19 times

Re: Discord bot

Postby Varg » Sun Mar 18, 2018 3:44 pm

u joking?

User avatar
Vendeta
Treant Protector
Posts: 653
Joined: Sun Mar 08, 2015 10:58 pm
Has thanked: 72 times
Been thanked: 36 times

Re: Discord bot

Postby Vendeta » Sun Mar 18, 2018 4:06 pm

He started a game, while he was in other one, where do u see a joke ?
D.S. 1989

Diablo_
Protector of Nature
Posts: 3180
Joined: Sat Apr 06, 2013 10:26 pm
Has thanked: 55 times
Been thanked: 145 times

Re: Discord bot

Postby Diablo_ » Sun Mar 18, 2018 4:23 pm

Ye, pwnerer mentioned fiji specifically as well. I will see if there is anything wrong the next time I see him playing.
-----
LIHL player parser, a tool to automatically parse LIHL players' Elo and create reports for it: CLICK

User avatar
Jamo
Treant
Posts: 460
Joined: Thu Dec 04, 2014 10:57 pm
Has thanked: 121 times
Been thanked: 66 times

Re: Discord bot

Postby Jamo » Sun Mar 18, 2018 4:24 pm

Probably Server times just differ? It's ENT time vs Discord time. I'd assume something technical like that

Edit: ok, dia confirmed, wow. That's interesting

Diablo_
Protector of Nature
Posts: 3180
Joined: Sat Apr 06, 2013 10:26 pm
Has thanked: 55 times
Been thanked: 145 times

Re: Discord bot

Postby Diablo_ » Sun Mar 18, 2018 4:28 pm

Jamo wrote:Probably Server times just differ? It's ENT time vs Discord time. I'd assume something technical like that

Edit: ok, dia confirmed, wow. That's interesting


I didn't confirm anything :P
You are probably right, since the finished games take some time to show up on the stats page they probably just have a "too late" timestamp.
-----
LIHL player parser, a tool to automatically parse LIHL players' Elo and create reports for it: CLICK

User avatar
Vendeta
Treant Protector
Posts: 653
Joined: Sun Mar 08, 2015 10:58 pm
Has thanked: 72 times
Been thanked: 36 times

Re: Discord bot

Postby Vendeta » Sun Mar 18, 2018 4:32 pm

Honestly, time doesnt matter, because i was in that game, and joining the other one which was started by fiji.

He was still in game while starting that 2nd.
D.S. 1989


Return to “LIHL Archive”

Who is online

Users browsing this forum: No registered users and 8 guests