Author Topic: About Developer´s Corner  (Read 2567 times)

0 Members and 1 Guest are viewing this topic.

Offline vEsP@

  • Major(1)
  • Posts: 14
About Developer´s Corner
« on: August 28, 2008, 11:26:12 am »
I really think that the first step a bulletin board is up to is to provide communication with members....

So then i made my account and tried to get a feedback from people here...

A great reception i´ve had, with replies that simply doesn´t make sense
So please if anyone here is a "true" developer with knoledge about networking and protocols and etc...

Connect to rr.soldat.pl on port 13073 thought both TCP/UDP protocols
and give me a printscreen of a server´s reply from lobby...

I getting sick of receiving link´s for php codes and etc...

My english is not very nice, but i think anyone´s really interested in helping me will understanding this...

This is my last S.o.S request... and doubt if someone will be in my favor


Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: About Developer´s Corner
« Reply #1 on: August 28, 2008, 11:35:00 am »
you cannot "connect" to rr.soldat.pl on 13073/UDP.  The UDP protocol for the lobby is only for the old lobby server which is no longer supported.

You are incorrect.  The responses have been helpful, and the wiki article people have linked you to for this question fully documents the protocol used.  You have not posted any code for us to look at to help you troubleshoot this. 

Connecting to the lobby manually using telnet will most likely not work.   I will try to provide a more clear example of how to connect to the lobby and request the server list, but I do not know when I will have time to prepare such an example for you.

Offline KeFear

  • Soldier
  • **
  • Posts: 181
  • ARSSE Creator
Re: About Developer´s Corner
« Reply #2 on: August 28, 2008, 11:44:46 am »
I tried it with TCP and it failed to get any data if that helps you, so don't worry, you are not the only one with this problem.
The fact is that i tried this for 5 minutes.

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: About Developer´s Corner
« Reply #3 on: August 28, 2008, 01:59:53 pm »
Code: [Select]
IDTCPClient1.Host := 'rr.soldat.pl';
IDTCPClient1.Port := 13073;
IDTCPClient1.Connect;
IDTCPClient1.Write('e©42©0©0©0©0©0©0©0©0©0©0©-1©0'#10);

while true do begin
  line := IDTCPClient1.ReadLn();
  memo1.Lines.Add(line);
  if line = 'h©©©©©' then break;
end;

Works just fine
« Last Edit: August 30, 2008, 09:08:49 am by chrisgbk »

Offline vEsP@

  • Major(1)
  • Posts: 14
Re: About Developer´s Corner
« Reply #4 on: August 29, 2008, 10:26:54 am »
so... something´s wrong here...

1st flies -> i DO have posted a java code of my TCP connection throught...
but it not worked... and then no one´s replied, no one´s but chrisgbk

i don´t have much time too, so i will compile this pascal code he sent me and test...

but i have seem something like

I tried it with TCP and it failed to get any data if that helps you, so don't worry, you are not the only one with this problem.
The fact is that i tried this for 5 minutes.
you cannot "connect" to rr.soldat.pl on 13073/UDP.  The UDP protocol for the lobby is only for the old lobby server which is no longer supported.

You are incorrect.  The responses have been helpful, and the wiki article people have linked you to for this question fully documents the protocol used.  You have not posted any code for us to look at to help you troubleshoot this. 

Connecting to the lobby manually using telnet will most likely not work.   I will try to provide a more clear example of how to connect to the lobby and request the server list, but I do not know when I will have time to prepare such an example for you.
?!?!?! so ... it´s working? or not working???

the link i have "followed" soldat.devs/wiki
show a protocol that now u say is deprecated?????

man i trying to get a serious thing here...

i´ll bet on chrisgbk code, example
it´s beter than nothing

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: About Developer´s Corner
« Reply #5 on: August 30, 2008, 09:13:13 am »
so... something´s wrong here...

1st flies -> i DO have posted a java code of my TCP connection throught...
but it not worked... and then no one´s replied, no one´s but chrisgbk

i don´t have much time too, so i will compile this pascal code he sent me and test...

but i have seem something like

I tried it with TCP and it failed to get any data if that helps you, so don't worry, you are not the only one with this problem.
The fact is that i tried this for 5 minutes.
you cannot "connect" to rr.soldat.pl on 13073/UDP. The UDP protocol for the lobby is only for the old lobby server which is no longer supported.

You are incorrect. The responses have been helpful, and the wiki article people have linked you to for this question fully documents the protocol used. You have not posted any code for us to look at to help you troubleshoot this.

Connecting to the lobby manually using telnet will most likely not work. I will try to provide a more clear example of how to connect to the lobby and request the server list, but I do not know when I will have time to prepare such an example for you.
?!?!?! so ... it´s working? or not working???

the link i have "followed" soldat.devs/wiki
show a protocol that now u say is deprecated?????

man i trying to get a serious thing here...

i´ll bet on chrisgbk code, example
it´s beter than nothing

It's working; the lobby protocol that is linked to/documented is the TCP lobby protocol, not UDP, FLAB was just specifying that only TCP connections will work. It works exactly as documented; issues with a specific language aside.

http://devs.soldat.pl/wiki/index.php/Client-Lobby_Protocol

(I updated my code in my posts, as well as the wiki, to fix a slight error in the documentation with the last packet)

Offline vEsP@

  • Major(1)
  • Posts: 14
Re: About Developer´s Corner
« Reply #6 on: August 31, 2008, 10:10:19 pm »
already done...

with your help i could get from tcp on port 13073...

the server´s string starts with g©...etc
thank u very much

soon as i get the parser working i´ll post here