Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 02:51

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



C# tcp client dont work with GF login packet

Discussion on C# tcp client dont work with GF login packet within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2020
Posts: 3
Received Thanks: 0
C# tcp client dont work with GF login packet

Hello, I want make login script with C#, but when I send login packet with tcp client i get "failc 1". probably there is something wrong with my login packet, but it is fine because I generated new login packet in C# and it works perfectly fine with QtTcpSocket. I dont know what to do, i tried few different tcp clients library and always i get failc 1. I don't know maybe it's this char between random hex number and nostale version, but i tried everything(\v; (char)0xB; tab; space) and nothing worked. Is there anyone here who wrote a working C# login to GF nostale and want to share knowledge?
DonkeyKong69XD is offline  
Old 03/13/2020, 15:47   #2
 
Roxeez's Avatar
 
elite*gold: 0
Join Date: Jun 2019
Posts: 102
Received Thanks: 228
Here is the code i'm using for a personal project and it work just fine.
Ofc you will need to modify it to make it work for you


Btw you're receiving failc1 if your client is outdated so it's probably coming from your hashes
Roxeez is offline  
Thanks
1 User
Old 03/13/2020, 16:07   #3
 
elite*gold: 0
Join Date: Mar 2020
Posts: 3
Received Thanks: 0
Quote:
Originally Posted by Roxeez View Post
Btw you're receiving failc1 if your client is outdated so it's probably coming from your hashes
Thanks, but my hashes are just fine. My code works, but there is something wrong with tcp client. I generated login packet in C# and then I tested it with C++ QtTcpSocket and I get list of servers. So idk. Can you share with me the LoginClient class?
DonkeyKong69XD is offline  
Old 03/13/2020, 16:50   #4
 
Roxeez's Avatar
 
elite*gold: 0
Join Date: Jun 2019
Posts: 102
Received Thanks: 228
Quote:
Originally Posted by DonkeyKong69XD View Post
Thanks, but my hashes are just fine. My code works, but there is something wrong with tcp client. I generated login packet in C# and then I tested it with C++ QtTcpSocket and I get list of servers. So idk. Can you share with me the LoginClient class?
It's just a wrapper around a System.Net.Sockets.Socket who encrypt/decrypt packets send/received
Roxeez is offline  
Thanks
1 User
Old 03/14/2020, 14:56   #5
 
elite*gold: 0
Join Date: Mar 2020
Posts: 3
Received Thanks: 0
Quote:
Originally Posted by Roxeez View Post
It's just a wrapper around a System.Net.Sockets.Socket who encrypt/decrypt packets send/received
I don't know how, but somehow I fixed it
Thanks for help.
Maybe you could help me with one more problem? How to detect GF staff?
DonkeyKong69XD is offline  
Old 03/14/2020, 15:44   #6
 
elite*gold: 0
Join Date: Oct 2018
Posts: 257
Received Thanks: 207
Check the in packet :
Code:
Authority PacketIn1::getAuthority()
{
    return static_cast<Authority>(packet[8].toShort());
}
Apourtartt is offline  
Reply


Similar Threads Similar Threads
Handling TCP Packet Fragmentation.
03/14/2014 - CO2 Programming - 15 Replies
Well after long time digging Network programming, one topic remains ambiguous to me. Packet Fragmentation, as far as i know TCP may not give you the message you sent as a whole but might fragment or rebuild it. So there is no guarantee that when i receive for example the Client's Login packet that it would be Full so how in all the source around here From Albetros to Pheonix i can't see any sort of Fragmentation Handling ? does it exists some how and i don't know/understand ?. Please i need a...
tcp packet spam | schnellste variante?
11/21/2011 - General Coding - 13 Replies
hallo ich möchte auf einen host in einer Sekunde soviele Packete verschicken wie es nur möglich ist von meiner Verbindung her. Deswegen wollte ich hier nachforschen, wie man dies am besten erreichen soll. Die programmier Sprache ist mir eigentlich egal, ich bin meist schnell im Verstand. Hatte mal mit Autoit versuch das ganze zu schreiben. Zuerst einen script mit einer schleife und in der schleife VERBINDUNG aufbau danach sofort packet senden.
[C++] TCP Packet senden
05/28/2011 - C/C++ - 1 Replies
Kann mit jemand erklären, wie ich in C++ TCP Packets senden kann? Ich will damit einfach nur meine FritzBox zum reconnecten bringen...
DarkOrbit TCP Packet Firma
01/06/2011 - DarkOrbit - 3 Replies
Hallo In welchem Packet wird den angegeben von welcher Firma(MArs, Venus,..) Schiff ist. Danke



All times are GMT +1. The time now is 02:51.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.