Indy - Making a game Protoptic
Posted on 2004-03-29
Okie, I have a lil Web Game. It is a Flash - ASP - SQL game and now i want to migrate it to a Client - server - SQL game. All doing "fine" till now but... i have some questions and i will be glad if u guys help me a bit.
Delphi 7 Indy 9
since its a game protoptic with losts of variables:
1) Is WriteLn / ReadLn the best way to make my communications ? If not please give me a hint in what I should use :)
2) how I should handle like 30 variables received in my Client main command ? ReadLn gives me a String and .... omg this cant be the right way :)
3) IF ReadLn is the right way, how to verify if the server sent me anything without the Client needs to send a command ? ( like a message to all users Online or to a particular ID ). I cant try except it cuz the game freeze till timeout.
4) some commands are real text like on my chat but the server handle them as params and AHHHH ! :(
Well... I hope u guys can undertand me ( im Brazilian and my english is very poor ).
thx in advance.