Page 1 of 1

arena.py bugfix

Posted: Mon Dec 02, 2013 9:58 am
by learn_more
last few lines:
Code: Select all
        def on_flag_spawn(self, x, y, z, flag, entity_id):
            if not self.arena_enabled:
                return protocol.on_base_spawn(self, x, y, z, flag, entity_id)
            return HIDE_COORD
should be:
Code: Select all
        def on_flag_spawn(self, x, y, z, flag, entity_id):
            if not self.arena_enabled:
                return protocol.on_flag_spawn(self, x, y, z, flag, entity_id)
            return HIDE_COORD

Re: arena.py bugfix

Posted: Mon Dec 02, 2013 12:24 pm
by Kuma
lol, hiding the base instead of the intel. I was never aware of this.
actually, when arena is disabled it would spawn the base at the flag coords

Re: arena.py bugfix

Posted: Mon Dec 02, 2013 12:43 pm
by learn_more
there is a bug in flagreturn.py aswell, ill fix that later.
(it doesnt update the flag location on advancing to the next map)

Re: arena.py bugfix

Posted: Thu Jan 16, 2014 12:51 pm
by izzy
Thanks, fix applied to all aloha.pk arena servers.