Socket login with python?

07/11/2019 20:23 erikassx#1
Hello everyone, I'm trying login to silkroad with python socket. How can i write that ?

I recieved byte data but i cant understand procedure
07/13/2019 13:37 florian0#2
You write that the same as you would do in any other programming language. There's nothing special in implementing the silkroad protocol in python compared to other languages.

Don't get me wrong, but your post doesn't seem like you got much experience in python, or programming in general. Implementing the procotol from scratch might frustrate or even might be too much. If you know enough about python, you could try using this library. You still need to handle most of the communication part, but at least you won't need to implement the session handling by yourself.
[Only registered and activated users can see links. Click Here To Register...]

A good message reference can be found here: [Only registered and activated users can see links. Click Here To Register...]
07/13/2019 21:46 erikassx#3
I didnt know Python can be implement another language library. Thanks for the information i'll check

Btw i never work on network programming. I just experienced data struct.
08/04/2019 04:12 FrictionF0#4
Quote:
Originally Posted by erikassx View Post
I didnt know Python can be implement another language library. Thanks for the information i'll check

Btw i never work on network programming. I just experienced data struct.
That's computer network, it doesn't really matter which prog lang you use. You can even do it with WEB prog langs, like PHP. Python is classic for network programming. But it might take a while to decrease the gaps between C# and CPP which are the common prog langs among psro servers and python, and that's why I wouldn't recommend you to go on this way.
08/07/2019 04:30 B1Q#5
Quote:
Originally Posted by tytopoo View Post
That's computer network, it doesn't really matter which prog lang you use. You can even do it with WEB prog langs, like PHP. Python is classic for network programming. But it might take a while to decrease the gaps between C# and CPP which are the common prog langs among psro servers and python, and that's why I wouldn't recommend you to go on this way.
why you wouldn't recommend him to go this way?
in fact it is VERY easy to implement in python just gotta copy paste good
08/10/2019 16:01 FrictionF0#6
Quote:
Originally Posted by B1Q View Post
why you wouldn't recommend him to go this way?
in fact it is VERY easy to implement in python just gotta copy paste good
As I said before, most of the tools and the examples in the sro developers community he will find are implemented with C#.
I think it would be better if he gets some experience with new common dev lang instead of finding himself recoding C# to python in every little piece of code. There's no great catch in python that requires to reinvent the wheel.