The KO2CV Wish List: Revisited

Talk about EVERYTHING related to Kick Off 1 + 2.

Moderators: Rodolfo, Moderators, Rodolfo, Moderators

User avatar
mmike
Posting is free!!!
Posting is free!!!
Posts: 46
Joined: Fri Jan 23, 2009 9:17 am
Location: building near marakana - stadium of red star, belgrade, serbia

Re: The KO2CV Wish List: Revisited

Postby mmike » Sun Feb 17, 2013 11:08 am

there is one of the oldest and oddest bugs still in the game:

when the ball goes up or down, near the side edge of a pitch, and you move the player out of the pitch (up left / right, or down left / right - same up or down as the ball goes), and continue to move that player in the same direction, he teleports few meters (approximatly five - six) back in the pitch. this is so unnecessary. he should at least stay out of pitch, or hit invisible wall and stop, or anything, just not teleport back.
User avatar
Danny D
4000+ Poster!
4000+ Poster!
Posts: 4775
Joined: Mon Jun 11, 2001 12:00 am
Contact:

Re: The KO2CV Wish List: Revisited

Postby Danny D » Tue Mar 10, 2015 3:57 pm

tcp/ip stack code! Think of it, team A and B select their names at the start of a match then ko2Cv talks to a nice restful api in realtime. The scores update themselves. No need for humans! The end result is a realtime ticker, think Sky Sports

** UPDATE Fastest goal scored by Alkis in 0.5 seconds! **
** Score in Final is Team A 4, Team B 3 with 3 mins left!**.
Image

and a realtime League table etc...

Image

Of course this requires Amigas with network cards and a network. It turns out networks cards are only about 30 Euro and require an Amiga 600 or 1200.
"We are now on the threshold of a newer movement, with a newer hope and a new inspiration."
James Larkin
User avatar
Steve Camber
Mad! 7000+ poster!
Mad! 7000+ poster!
Posts: 7807
Joined: Sat Jun 16, 2001 12:00 am
Location: Sheffield, England
Contact:

Re: The KO2CV Wish List: Revisited

Postby Steve Camber » Wed Mar 11, 2015 11:38 am

I'd probably go for some filthy low level wifi packet hack.
We're currently down to under 20k free on A500 so not much to play with there.
--
SteveC - Kick Off engineer
18 Dec 2003 - "One day I'm going to disassemble the 68000 code, and find out exactly what's going on in there!! "

Ask me about online KO2 :) https://kickoff2.net
User avatar
Steve Camber
Mad! 7000+ poster!
Mad! 7000+ poster!
Posts: 7807
Joined: Sat Jun 16, 2001 12:00 am
Location: Sheffield, England
Contact:

Re: The KO2CV Wish List: Revisited

Postby Steve Camber » Fri Mar 13, 2015 2:21 pm

To be viable this would have to work on A500 which rules out PCMCIA cards.

What this leaves us with is littering tournament rooms with serial cables. Eww.
Or some alternative use of the serial or parallel port.

Both bluetooth and wifi are options here but price becomes an issue, especially when it comes to plug and play devices. Minimum £50 per amiga for this.
Alternatively, there's the £5 per amiga solution which is more like it.
http://www.ebay.co.uk/itm/RS232-Bluetoo ... 19f4b9e7c0
I dont know much about Bluetooth, but in theory this would allow each amiga in the tournament room to be able to communicate bi-directionally with a laptop (receiving scores, broadcasting player names etc). It's probably only bluetooth v2.1, and I'm not sure if it's possible to communicate with multiple bluetooth devices at once.. but there's a chance it could be bullied into doing enough for our needs.
--
SteveC - Kick Off engineer
18 Dec 2003 - "One day I'm going to disassemble the 68000 code, and find out exactly what's going on in there!! "

Ask me about online KO2 :) https://kickoff2.net
User avatar
Danny D
4000+ Poster!
4000+ Poster!
Posts: 4775
Joined: Mon Jun 11, 2001 12:00 am
Contact:

Re: The KO2CV Wish List: Revisited

Postby Danny D » Fri Mar 13, 2015 3:53 pm

Nice reply Steve.

BlueTooth sounds like the best choice as :
a) it's cheap.
b) it avoids the need for additional clutter (cabled, wifi routers etc..)
c) is Amiga 500 friendly.

A couple of thoughts:
  • For this to work players would be required to enter their names in ko2CV before a match in order for the central server to know who is who. This would require a code change. Alternatively the bluetooth receiver could receive a list of names via bluetooth thus players would pick their names as opposed to entering them.
    -
  • As ko2cv on a A500 has 20Kb of usable ram what about a Bluetooth driver taking up valuable memory? I'm guessing that no such driver is needed and instead you will be talking directly to the serial port ?
    -
  • In my opinion the amigas only need to talk to a central server and not each other. I don't see any advantage of them the Amigas chatting to each other, am I missing anything?
    -
  • I believe the max range is 12m meaning that the central server might need to be located in the middle of the cluster depending on tournamet room dimensions.
    -
  • The Amiga is powering the BlueTooth chip (at a continual 5V?), Any impact on the psu powering the Amiga ?
    -
  • I imagine "hooks" would be introduced that would trigger the communication something along the lines of

    Code: Select all

    if goal()
       { send  player name, updated overall score etc.. }

    if gameOver ()
       { send FT score }


    Does that sound about right? Would this have any impact on the Amiga performance?

This sounds like a project that would add additional excitement to tournaments. Transmit these results to the internet and the whole world could be updated in real time !
"We are now on the threshold of a newer movement, with a newer hope and a new inspiration."
James Larkin
User avatar
Steve Camber
Mad! 7000+ poster!
Mad! 7000+ poster!
Posts: 7807
Joined: Sat Jun 16, 2001 12:00 am
Location: Sheffield, England
Contact:

Re: The KO2CV Wish List: Revisited

Postby Steve Camber » Fri Mar 13, 2015 4:47 pm

-That amiga would grab the list of player names from the server before the match, and the two players then select their names from the list by some simple method.(up/down/fire)
-I'm guessing minimal memory requirements for this as throwing bytes to the COM port via 68000 I expect would be relatively simple. None of that modern driver rubbish to worry about.
- Yes, the laptop server is the central hub that all amigas talk to.
- Range could be an issue, lots of factors involved there. We can have multiple laptops if necessary.
- I doubt the power requirement is anything significant.
- Communications may stall the CPU, it depends on how it's implemented on amiga. I've not even looked at it yet. I'm thinking initially comms would take place pre and post match. Or maybe during stalls in play - throw-ins, goal kicks etc.

Long term - In theory we could stream all WC games live via the internet.
--
SteveC - Kick Off engineer
18 Dec 2003 - "One day I'm going to disassemble the 68000 code, and find out exactly what's going on in there!! "

Ask me about online KO2 :) https://kickoff2.net
User avatar
Danny D
4000+ Poster!
4000+ Poster!
Posts: 4775
Joined: Mon Jun 11, 2001 12:00 am
Contact:

Re: The KO2CV Wish List: Revisited

Postby Danny D » Fri Mar 13, 2015 5:00 pm

Steve Camber wrote:-That amiga would grab the list of player names from the server before the match, and the two players then select their names from the list by some simple method.(up/down/fire)
-I'm guessing minimal memory requirements for this as throwing bytes to the COM port via 68000 I expect would be relatively simple. None of that modern driver rubbish to worry about.
- Yes, the laptop server is the central hub that all amigas talk to.
- Range could be an issue, lots of factors involved there. We can have multiple laptops if necessary.
- I doubt the power requirement is anything significant.
- Communications may stall the CPU, it depends on how it's implemented on amiga. I've not even looked at it yet. I'm thinking initially comms would take place pre and post match. Or maybe during stalls in play - throw-ins, goal kicks etc.

Long term - In theory we could stream all WC games live via the internet.


This sounds great. Assuming the coding behind it isn't too much !
What would be nice would be if it talked to a restful api written in something generic, eg Node JS. Then the server can run on any environment, linux, Windows, Mac etc.. The api then logs to a db, the db is queried by a webpage which updates league tables , stats, everything!

No need for human manual intervention anymore. Long live the robots !



I have a similar concept that is hardware independent.it would be limited to near real time and only able to provide updates on FT scores and updates to the league table. quick summary is:
mobile device --> api --> pusher api (web sockets) --> webpage

Image

Advantage is that it's hardware independent and is not KO2 exclusive.
Disadvantage is that "real time" results are in reality FT results and not a goal by goal update.
"We are now on the threshold of a newer movement, with a newer hope and a new inspiration."
James Larkin
Lee W
Newbie
Newbie
Posts: 598
Joined: Thu Aug 20, 2015 8:47 pm

Re: The KO2CV Wish List: Revisited

Postby Lee W » Wed Sep 02, 2015 11:50 am

how doable would it be to have an option in there that basically stops trap moves? say for instance, if you trap the ball the only option from there is to pass the ball, not continue running with it.

I just ask cause me and my mate kinda banned that years ago cause we just wanted to score shooty type of goals, not routine stuff, would be kinda nice to challenge other players here n there to a more 'pure' game for fun :D
Filthy Lobber-Lee Snow; the basterd son of Camber.
User avatar
Steve Camber
Mad! 7000+ poster!
Mad! 7000+ poster!
Posts: 7807
Joined: Sat Jun 16, 2001 12:00 am
Location: Sheffield, England
Contact:

Re: The KO2CV Wish List: Revisited

Postby Steve Camber » Wed Sep 02, 2015 2:00 pm

I think some simple surgery could make this happen, although I don't think this would be a popular feature!
Practicing self-restraint may be the quicker solution if you want to enforce this restriction :)
--
SteveC - Kick Off engineer
18 Dec 2003 - "One day I'm going to disassemble the 68000 code, and find out exactly what's going on in there!! "

Ask me about online KO2 :) https://kickoff2.net
Lee W
Newbie
Newbie
Posts: 598
Joined: Thu Aug 20, 2015 8:47 pm

Re: The KO2CV Wish List: Revisited

Postby Lee W » Wed Sep 02, 2015 3:12 pm

not to worry, just a thought :D
Filthy Lobber-Lee Snow; the basterd son of Camber.
Freshmaker
Moderator
Moderator
Posts: 12557
Joined: Sat Apr 06, 2002 12:00 am
Location: Tromsø,Norway
Contact:

Re: The KO2CV Wish List: Revisited

Postby Freshmaker » Wed Sep 02, 2015 7:02 pm

Steve... come on, you know you'd like it :)
-----------------------------
Silver Cup 2019, LAA 2015, reigning Scandinavian Champ
Founder of FÖKOF, FAKO and The People's Lockout!
WC-Host 2014 and 2017
Il portiere è mongoloide!
http://www.yearnlydom.rocks
I'm a Norwegian boy, I make rock music
User avatar
hogstrom
1000+ Poster!
1000+ Poster!
Posts: 1437
Joined: Mon Jan 10, 2005 10:11 pm
Location: Osterund, Sweden
Contact:

Re: The KO2CV Wish List: Revisited

Postby hogstrom » Tue Oct 13, 2015 3:10 pm

Steve Camber wrote:Long term - In theory we could stream all WC games live via the internet.


Indeed such future would be amazing, Steve!
By car, Kickoff2-record traveller! Ostersund/Dusseldorf +3,750 km during +55 hours
Wcups: 2005 (29:th), 2006 (15:th), 2007 (6:th), 2008 (6:th), --, 2010 (12:th), --, --, --, 2014 (5:th), 2015 (12:th)...
User avatar
thor
Newbie
Newbie
Posts: 204
Joined: Tue Nov 04, 2014 1:59 am

Re: The KO2CV Wish List: Revisited

Postby thor » Tue Oct 20, 2015 12:10 am

Perhaps this is already possible and I have missed the option. Would it be possible to add a checkpoint feature (snapshot of the game-state) that can be returned to? For example, if I pause the game and press a key, a snapshot is created and then later I can pause again and jump back to that state? This would be useful for practicing certain situations over and over again. Not sure how much memory the game state (and if it is scattered or not) takes up, and how much memory is still available.
Fred/Typical

Who is online

Users browsing this forum: No registered users and 3 guests