Ticket #186 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

final stage of introducing King of the hill to pubs

Reported by: dads revenge <dadsrevenge@…> Owned by: Maverick
Priority: normal Component: Core
Version: Latest version from repository Severity: minor
Keywords: Cc:

Description

the settings are very easy the gameplay wont change any aspect of pub ezcept for ppl will wnt to stay alive more and get extra points for wining. this is to enhance competition in pubs. the problem is that the bot in spec starts with deaths left and kills needed so if the DeathCount=1 the bot will start with deaths left 1. I need a way to have the bot register that it was (for lack of a better term) killed 1 time at the start of each KOTH so it loses its crown or it will win every round.

Attachments

Change History

  Changed 3 years ago by Maverick

  • owner set to Maverick
  • status changed from new to assigned

Ok I will try to dig up some old code for this.

Rifleman made in 17th Parallel a TWCore bot which avoided this problem (don't ask me how - I'll find out).

  Changed 3 years ago by Maverick

I've looked up the King of the hill packets in the SS protocol and it seems that the bot only has to send packet 0x1E (End Personal KoTH Timer) as soon as it receives packet 0x02B / 0x02C or when it receives the arena message saying that the King of the game is restarting (which might just be only client-side as an interpretation to the 0x02C packet).

Which bots need this implemented?

  Changed 3 years ago by Maverick

  • priority changed from high to normal
  • type changed from defect to enhancement
  • component changed from Bots - Other to Core
  • severity changed from major to minor
  • reporter changed from dadsrevenge@… to dads revenge <dadsrevenge@…>

  Changed 3 years ago by Maverick

Packets integrated into TWCore.

Bots can now end their own King of the Hill game using BotAction.endKOTH();. Detection when the King of the Hill game is (re)starting/ending (for a specific player) can be done using the KotHReset event.

(Will commit soon.)

follow-up: ↓ 7   Changed 3 years ago by Maverick

See changeset:2123.

Dads revenge, which bots need the modification that they don't win with the King of the Hill game - only PubBot and RoboBoy?

  Changed 3 years ago by anonymous

Yes this is an enhancement for pub arenas the king settings in the cfg will need to be changed I will get with moot and Kim on that part.

in reply to: ↑ 5   Changed 3 years ago by anonymous

Replying to Maverick:

See changeset:2123.

Dads revenge, which bots need the modification that they don't win with the King of the Hill game - only PubBot and RoboBoy?

Witness> Will this work with/for ?? prize/hotspot module/ bot?? can it be added to them if possible??

  Changed 3 years ago by Maverick

I don't understand if it will work for prize/hotspot module ?

What do you want the bot to do concerning the King of the Hill game ?

  Changed 3 years ago by Maverick

[Jan 22 04:24] Witness: im getting a error when i reply 2 ticket 186. Im guessing your adding a piece of code to bots so they ignore the koth timer? right?.I know banner boy/etc needs it for pub..  On a diff. event can you add it to robobots 1,2,etc. ?

Ok, I will add it to the following bots:

  • RoboBoy (purepubbot)
  • RoboBot* (multibot)

  Changed 3 years ago by Maverick

and

  • BannerBoy/Girl (bannerboy)

  Changed 3 years ago by Maverick

and I figured also

  • Mr. Arrogant 2 (pubarrogant)

as it roams the public arenas

  Changed 2 years ago by anonymous

King of the Hill: DevMulti given 2 points

could you get the dev bots when you get a chance? and thanks for all the hard work on this issue.

  Changed 2 years ago by Maverick

Done, will commit & update soon.

  Changed 2 years ago by Maverick

  • status changed from assigned to closed
  • resolution set to fixed

Fixed by changeset [2323]

I'll give the dev bots an upgrade for this.

Add/Change #186 (final stage of introducing King of the hill to pubs)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.