Author Topic: CPChessNet [developing]  (Read 14655 times)

0 Members and 1 Guest are viewing this topic.

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 815
  • Country: es
    • Awards
Re: CPChessNet [developing]
« Reply #75 on: 21:39, 22 March 18 »
Cool, congrats on the release.  Look forward to try it.

Now someone pm with their IP if they want to play a game over the inet :)

are you good at chess?  ;D
like
0
No reactions

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.259
  • Country: dk
    • spinpoint.org
    • Awards
Re: CPChessNet [developing]
« Reply #76 on: 21:40, 22 March 18 »
are you good at chess?  ;D
Decent, I guess :)
like
0
No reactions

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 815
  • Country: es
    • Awards
Re: CPChessNet [developing]
« Reply #77 on: 21:42, 22 March 18 »
Decent, I guess :)

then i will lost, i'm only know how to move pieces (and how to program it)  :laugh:


 
like
0
No reactions

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 815
  • Country: es
    • Awards
Re: CPChessNet [developing]
« Reply #78 on: 21:44, 22 March 18 »
then i will lost, i'm only know how to move pieces (and how to program it)  :laugh:

also i'm taking a drink to celebrate the release, and this doesnt help!
like
0
No reactions

Offline villain

  • Supporter
  • 464 Plus
  • *
  • Posts: 497
  • Country: de
    • Awards
Re: CPChessNet [developing]
« Reply #79 on: 21:51, 22 March 18 »
then i will lost, i'm only know how to move pieces (and how to program it)  :laugh:


Then your next board game port could be Ludo/Mensch ärgere Dich nicht.
like
0
No reactions

Offline XeNoMoRPH

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.146
  • Country: es
  • " ... in space no one , can hear you scream ... "
    • https://auamstrad.es/
    • Awards
Re: CPChessNet [developing]
« Reply #80 on: 22:13, 22 March 18 »
donwloading .. thx for this online game  :o
like
0
No reactions
your amstrad news source in spanish language : https://auamstrad.es

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 815
  • Country: es
    • Awards
Re: CPChessNet [developing]
« Reply #81 on: 22:17, 22 March 18 »
it 's working on internet!!

duke and me are playing a game right now!
like
0
No reactions

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.259
  • Country: dk
    • spinpoint.org
    • Awards
Re: CPChessNet [developing]
« Reply #82 on: 23:43, 22 March 18 »

Thanks @Joseman for a good game :)

PS: the tower loss was trap (ho ho, well almost).

like
0
No reactions

Offline zhulien

  • 6128 Plus
  • ******
  • Posts: 886
  • Country: au
  • aka Vorax
    • 8bitology
    • Awards
Re: CPChessNet [developing]
« Reply #83 on: 02:55, 23 March 18 »
I wonder if you'd be interested in putting support for 8bitology.net into it?  This includes lobby and achievements (can be number of wins by person, by country, by anything)...


The server parts of 8bitology.net are up and running. (I'm hoping Prodatron will adopt it soon too within Symbos). Only parts of the 8bitology.net GUI are not done, but they aren't required for in-game... only for web, and 8bml.
like
0
No reactions

Offline Takis Kalatzis

  • CPC464
  • **
  • Posts: 37
  • Country: gr
    • Awards
Re: CPChessNet [developing]
« Reply #84 on: 16:17, 23 March 18 »
Hi, I would also like to check this fabulous program! It would be a child dream's come true.


I have started the server, if anyone is available please PM me to send the IP address.


Thanks,


Takis
like
0
No reactions

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 815
  • Country: es
    • Awards
Re: CPChessNet [developing]
« Reply #85 on: 22:22, 23 March 18 »
Hi

just enter to say that there is a big bug in CPChessNET 1.0.b

if you have a chat window open and the other cpc send the move, the move get lost, because in the chat window there isn't any comprobation if a message is received!

happen to Duke and I the other day, we were chatting for  15 minutes thinking that the other didn't do the move  :laugh:

i'm fixing it

Meanwhile, don't chat a lot!!
like
0
No reactions

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 815
  • Country: es
    • Awards
Re: CPChessNet [developing]
« Reply #86 on: 22:34, 23 March 18 »
@Duke

it's safe to use #FF as a byte signal, or the m4 on any error, or on any situation fills the buffer with #FF (or maybe other bytes?)

like
0
No reactions

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.259
  • Country: dk
    • spinpoint.org
    • Awards
Re: CPChessNet [developing]
« Reply #87 on: 22:45, 23 March 18 »
@Duke

it's safe to use #FF as a byte signal, or the m4 on any error, or on any situation fills the buffer with #FF (or maybe other bytes?)
Sure, you can use any value you want. It wont fill the buffer FF's unless its receiving them,
like
0
No reactions

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 815
  • Country: es
    • Awards
Re: CPChessNet [developing]
« Reply #88 on: 22:55, 23 March 18 »
Sure, you can use any value you want. It wont fill the buffer FF's unless its receiving them,
is there any possibilty of corrupted data being received if a packet gets corrupted on its way trought internet?

Enviado desde mi GT-N7100 mediante Tapatalk

like
0
No reactions

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 815
  • Country: es
    • Awards
Re: CPChessNet [developing]
« Reply #89 on: 18:49, 24 March 18 »
Hi @Duke

why if i still call wait_send: until i have a message i'm sending the board, the M4 just hangs after 10-15 calls to wait_send?

when i wait for a board confirmation, if the other cpc has a chat open, it will not send a message to the cpc that is on wait_send bucle, then the cpc that it is in bucle, just  hangs M4 on wait_send
« Last Edit: 19:02, 24 March 18 by Joseman »
like
0
No reactions

Offline Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.259
  • Country: dk
    • spinpoint.org
    • Awards
Re: CPChessNet [developing]
« Reply #90 on: 21:14, 24 March 18 »
why if i still call wait_send: until i have a message i'm sending the board, the M4 just hangs after 10-15 calls to wait_send?

when i wait for a board confirmation, if the other cpc has a chat open, it will not send a message to the cpc that is on wait_send bucle, then the cpc that it is in bucle, just  hangs M4 on wait_send
It should not.
Anyway best practice is to put wait_send before sending, this way you are wasting less cpu time for the actual send.
like
0
No reactions

Offline Kris

  • 6128 Plus
  • ******
  • Posts: 589
  • Country: fr
  • Team Impact
    • Awards
Re: CPChessNet [developing]
« Reply #91 on: 21:30, 24 March 18 »
Congrats for this amazing game: next game should a LAP or similar game like we use to play during meeting :)

like
0
No reactions

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 815
  • Country: es
    • Awards
Re: CPChessNet [developing]
« Reply #92 on: 23:24, 24 March 18 »
Hi

CPChessNET 1.3b uploaded!!

fix:
*added board received check, no more boards lost on the infinite internet
*added chat byte ID, no more rubbish on the chat if someting goes wrong sending chat lines.

features added:
*added sound for move recived, you don't have to check for pal moves looking at the screen, just hear the sound!.
*the chat scan is less precise, so no repat letters are printed.
*added some chars for chat: ?, &, ! are now avaliable on cursors when chat is open.


as i can't prevent the M4 to hang when i do a bucle for receive a message, i added a timer, you have 20 minutes to have the window chat open and send a message. I don' think that anybody is going to spent 20 minutes to send a line chat!!, but if you do, the m4 willl hang! take care of this!

If a chat message is send or received between a board send, the board has priority, the line chats are omitted.

Please update to 1.3b and use the same version on client/server!!
like
0
No reactions

Offline Takis Kalatzis

  • CPC464
  • **
  • Posts: 37
  • Country: gr
    • Awards
Re: CPChessNet [developing]
« Reply #93 on: 13:06, 25 March 18 »
Hi, if anyone is interested in a quick game of chess using latest Joseman's version 1.3b, please PM me.


Thanks,


Takis
like
0
No reactions

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 815
  • Country: es
    • Awards
Re: CPChessNet [developing]
« Reply #94 on: 13:21, 25 March 18 »
Hi, if anyone is interested in a quick game of chess using latest Joseman's version 1.3b, please PM me.


Thanks,


Takis

if you want an easy game, i'm here :)
like
0
No reactions

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 815
  • Country: es
    • Awards
Re: CPChessNet [developing]
« Reply #95 on: 14:29, 25 March 18 »
Good one @Takis Kalatzis !!!

and another game that i lost!

the board now is 100% safe to reach the other cpc and this is the most important.

the chat... mmmm i'll think more on it...

take in mind that there is still not check for connection losts!

if a cpc is turn off or lost the connection the other cpc will wait forever for the board!  :laugh:

@Duke what do you think is the timing to wait and realize that the connection is lost?
 
« Last Edit: 14:31, 25 March 18 by Joseman »
like
0
No reactions

Offline blackdalek

  • Supporter
  • CPC6128
  • *
  • Posts: 232
  • Country: au
  • Fraser
    • Awards
Re: CPChessNet [developing]
« Reply #96 on: 14:35, 25 March 18 »
Should there be a dedicated IRC channel for people to meet on in order to arrange games? Maybe on FEFnet or Freenode or something?
like
0
No reactions
CPC6128 modded with ABBA switch. External 5.25" floppy drive with side switch and Multiface 2. Now also sporting a joystick splitter and M4 WiFi board.

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 815
  • Country: es
    • Awards
Re: CPChessNet [developing]
« Reply #97 on: 14:39, 25 March 18 »
Should there be a dedicated IRC channel for people to meet on in order to arrange games? Maybe on FEFnet or Freenode or something?

or a thread here, the vast number of cpc users are here!  :laugh:

or maybe twitter?

there is a channel on irc that i connected sometime ago from symbos and his irc client too...
like
0
No reactions

Offline blackdalek

  • Supporter
  • CPC6128
  • *
  • Posts: 232
  • Country: au
  • Fraser
    • Awards
Re: CPChessNet [developing]
« Reply #98 on: 14:46, 25 March 18 »
I just thought meeting through an IRC channel could be done more in real time, rather than posting a forum message then waiting for someone to read it (which could potentially happen days later). Having that "live chat" aspect of IRC means you can instantly (usually) see if anyone else is available for a game at that same time.... well, it worked for scrabble players  :-\
like
0
No reactions
CPC6128 modded with ABBA switch. External 5.25" floppy drive with side switch and Multiface 2. Now also sporting a joystick splitter and M4 WiFi board.

Offline Joseman

  • 6128 Plus
  • ******
  • Posts: 815
  • Country: es
    • Awards
Re: CPChessNet [developing]
« Reply #99 on: 14:48, 25 March 18 »
I just thought meeting through an IRC channel could be done more in real time, rather than posting a forum message then waiting for someone to read it (which could potentially happen days later). Having that "live chat" aspect of IRC means you can instantly (usually) see if anyone else is available for a game at that same time.... well, it worked for scrabble players  :-\

trust me that on twitter the people is reading constantly (even at work)  :laugh:

if not, the problem will be the same on IRC, if people is at job or not in home the problem is the same!
like
0
No reactions