Sign in to follow this  
Equi

Hilfe mit Server

Recommended Posts

Posted (edited)

Moin all,

ich versuch seit Tagen meinen Ro-Server + Client zum laufen zu bekommen, durch diesen Link

https://rathena.org/board/topic/111830-tutorial-video-edition-how-to-setup-rathena-and-run-ragnarok-updated-2018-7-28/

hatte ich eine gute Anleitung und hab damit auch den Server online bekommen, nun scheitert es leider am Client glaube ich?! 😕

egal was ich an Hilfe aus dem Forum versucht habe, ich finde meinen Fehler einfach nicht und hoffe nun einer kann mir helfen.

Es scheint wohl ein typischer "closed connection from"  Fehler zu sein, getestet hab ich die Verbindung mit der Client Anleitungs aus dem Link, die ging nicht.Server.PNG.080f05a84187ad9de1c1a97d7b3706a8.PNG

3 neue Client Versionen 20180530b, 20151104a, 20170614b auch das brachte nichts 😕 soweit die Charakterauswahl kommen soll bekomm ich einen DC.

Char_conf
login_ip: 127.0.0.1
char_ip: public ip
server_name: Loki

Map_conf
char_ip: 127.0.0.1
map_ip: public ip

src/config/packets.hpp

Spoiler

ifndef CONFIG_PACKETS_HPP
#define CONFIG_PACKETS_HPP

/**
 * rAthena configuration file (http://rathena.org)
 * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
 **/

#ifndef PACKETVER
    /// Do NOT edit this line! To set your client version, please do this instead:
    /// In Windows: Add this line in your src\custom\defines_pre.hpp file: #define PACKETVER YYYYMMDD
    /// In Linux: The same as above or run the following command: ./configure --enable-packetver=YYYYMMDD
    #define PACKETVER 20151104
#endif

#ifndef PACKETVER_RE
    /// From November 2015 only RagexeRE are supported.
    /// After July 2018 only Ragexe are supported.
    #if PACKETVER > 20151104
        #define PACKETVER_RE
    #endif
#endif

#if PACKETVER >= 20110817
    /// Comment to disable the official packet obfuscation support.
    /// This requires PACKETVER 2011-08-17 or newer.
    #ifndef PACKET_OBFUSCATION
        #define PACKET_OBFUSCATION

        // Define these inside src/custom/defines_pre.hpp or src/custom/defines_post.hpp
        //#define PACKET_OBFUSCATION_KEY1 <key1>
        //#define PACKET_OBFUSCATION_KEY2 <key2>
        //#define PACKET_OBFUSCATION_KEY3 <key3>

        /// Comment this to disable warnings for missing client side encryption
        #define PACKET_OBFUSCATION_WARN
    #endif
#else
    #if defined(PACKET_OBFUSCATION)
        #error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17.
    #endif
#endif

/// Comment to disable the official Guild Storage skill.
/// When enabled, this will set the guild storage size to the level of the skill * 100.
#if PACKETVER >= 20131223
    #define OFFICIAL_GUILD_STORAGE
#endif

#ifndef DUMP_UNKNOWN_PACKET
    //#define DUMP_UNKNOWN_PACKET
#endif

#ifndef DUMP_INVALID_PACKET
    //#define DUMP_INVALID_PACKET
#endif

/**
 * No settings past this point
 **/

/// Check if the specified packetversion supports the pincode system
#define PACKETVER_SUPPORTS_PINCODE PACKETVER >= 20110309

/// Check if the client needs delete_date as remaining time and not the actual delete_date (actually it was tested for clients since 2013)
#define PACKETVER_CHAR_DELETEDATE (PACKETVER > 20130000 && PACKETVER <= 20141022) || PACKETVER >= 20150513

/// Check if the specified packetvresion supports the cashshop sale system
#define PACKETVER_SUPPORTS_SALES PACKETVER >= 20131223

#endif /* CONFIG_PACKETS_HPP */

Bin für jeden Vorschlag offen. Schonmal vielen Dank an euch alle.

@edit: Sorry fall es unter Server geladet ist aber ich weis nicht ob es nun wirklich nur der Client ist oder vielleicht doch ein Fehler beim Server aufsetzen.
Jede Änderung am Server wurde mit MVS17 gemacht also gesäubert und neu erstellt bei jedem Versuch.

 

Edited by Equi

Share this post


Link to post
Share on other sites

Was sagt der Char-Server? 

Glaub closed connection ist normal nachdem der Client an den char-Server weiter geleitet wurde (nicht 100% sicher aber glaub das war so) 

Share this post


Link to post
Share on other sites

Hi, habe exakt das selbe Problem.

 

Der Char Server startet normal und sagt garnichts.

Ports sind aufjedenfall offen.

 

Frohes neues

Share this post


Link to post
Share on other sites

@Shyl
Irgendwas müsste der Char-Server eigentlich ausspucken, ansonsten könnte es sein, dass deine configs falsch sind.
Der Client connectet über die IP, die er in der Clientinfo findet zum Login-Server. Der Login server macht dann sein Ding und sagt dem Client anschließend über welche IP( und Port) er den Char-Server erreichen kann.

Wenn der Client vom Login server nun falsche informationen bekommt, connectet niemand zum Char-Server und deswegen wsl auch kein Output beim char-server.

Nur `ne Idee, könnte auch was anderes sein, aber guck am besten nochmal über deine Config rüber. Mit wireshark (https://www.wireshark.org/) kannst du auch mal checken wohin der client tatsächlich connectet, dann kannst du ausschließen, dass es ein problem mit flaschen Konfig-Einstellung ist.

Share this post


Link to post
Share on other sites
Spoiler

[Status]: Memory manager initialised: log/char-server.exe.leaks

                                                                      
                   rAthena Development Team presents                  
                      ___   __  __                                    
                _____/   | / /_/ /_  ___  ____  ____ _                
               / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/                
              / /  / ___ / /_/ / / /  __/ / / / /_/ /                 
             /_/  /_/  |_\__/_/ /_/\___/_/ /_/\__,_/                  
                                                                      
                     http://rathena.org/board/  
                                                                      
[Info]: Git Hash: '46138645f66d6c3d4f04e2677f0fc4434600252f'
[Info]: Server uses 'select' as event dispatcher
[Info]: Server supports up to '4096' concurrent connections.
[Status]: Login server IP address :  ->
[Status]: Character server IP address :  ->
[Info]: Done reading conf/import/char_conf.txt.
[Info]: Done reading conf/char_athena.conf.
[Info]: Done reading conf/import/inter_conf.txt.
[Info]: Done reading conf/inter_athena.conf.
[Info]: Done reading '149' messages in 'conf/msg_conf/char_msg.conf'.
[Info]: Done reading conf/import/inter_conf.txt.
[Info]: Done reading conf/inter_athena.conf.
[Info]: Connect Character DB server.... (Character Server)
[Status]: Done reading '1' storage information in 'conf/inter_server.yml'
[Status]: Done reading '0' storage information in 'conf/import/inter_server.yml'
[Status]: Done reading '50' entries in 'db/re/exp_guild.txt'.
[Status]: Done reading '0' entries in 'db/import/exp_guild.txt'.
[Info]: Clan loaded (1 - Swordman Clan)
[Info]: Clan loaded (2 - Arcwand Clan)
[Info]: Clan loaded (3 - Golden Mace Clan)
[Info]: Clan loaded (4 - Crossbow Clan)
[Status]: Finished Reading GeoIP Database.
[Status]: Characters per Account: '0'.
[Info]: Start checking DB integrity
[Info]: DB integrity check finished with success
[Info]: Default map: 'prontera 156,191'
[Status]: The char-server is ready (Server is listening on the port 6121).

[Info]: Attempt to connect to login-server...
[Status]: Connecting to
[Status]: Connected to login-server (connection #2).
[Status]: Awaiting maps from map-server.
[Status]: Map-Server 0 connected: 995 maps, from IP  port 5121.
[Status]: Map-server 0 loading complete.
[Info]: Loaded guild castle (0 - guild 0)
[Info]: Loaded guild castle (1 - guild 0)
[Info]: Loaded guild castle (2 - guild 0)
[Info]: Loaded guild castle (3 - guild 0)
[Info]: Loaded guild castle (4 - guild 0)
[Info]: Loaded guild castle (5 - guild 0)
[Info]: Loaded guild castle (6 - guild 0)
[Info]: Loaded guild castle (7 - guild 0)
[Info]: Loaded guild castle (8 - guild 0)
[Info]: Loaded guild castle (9 - guild 0)
[Info]: Loaded guild castle (10 - guild 0)
[Info]: Loaded guild castle (11 - guild 0)
[Info]: Loaded guild castle (12 - guild 0)
[Info]: Loaded guild castle (13 - guild 0)
[Info]: Loaded guild castle (14 - guild 0)
[Info]: Loaded guild castle (15 - guild 0)
[Info]: Loaded guild castle (16 - guild 0)
[Info]: Loaded guild castle (17 - guild 0)
[Info]: Loaded guild castle (18 - guild 0)
[Info]: Loaded guild castle (19 - guild 0)
[Info]: Loaded guild castle (20 - guild 0)
[Info]: Loaded guild castle (21 - guild 0)
[Info]: Loaded guild castle (22 - guild 0)
[Info]: Loaded guild castle (23 - guild 0)
[Info]: Loaded guild castle (24 - guild 0)
[Info]: Loaded guild castle (25 - guild 0)
[Info]: Loaded guild castle (26 - guild 0)
[Info]: Loaded guild castle (27 - guild 0)
[Info]: Loaded guild castle (28 - guild 0)
[Info]: Loaded guild castle (29 - guild 0)
[Info]: Loaded guild castle (30 - guild 0)
[Info]: Loaded guild castle (31 - guild 0)
[Info]: Loaded guild castle (32 - guild 0)
[Info]: Loaded guild castle (33 - guild 0)
[Info]: Loaded guild castle (34 - guild 0)
[Info]: Loaded guild castle (35 - guild 0)
[Info]: Loaded guild castle (36 - guild 0)
[Info]: Loaded guild castle (37 - guild 0)
[Info]: Loaded guild castle (38 - guild 0)
[Info]: Loaded guild castle (39 - guild 0)
[Info]: Loaded guild castle (40 - guild 0)
[Info]: Loaded guild castle (41 - guild 0)
[Info]: Loaded guild castle (42 - guild 0)
[Info]: Loaded guild castle (43 - guild 0)

Spoiler

[Status]: Memory manager initialised: log/login-server.exe.leaks

                                                                      
                   rAthena Development Team presents                  
                      ___   __  __                                    
                _____/   | / /_/ /_  ___  ____  ____ _                
               / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/                
              / /  / ___ / /_/ / / /  __/ / / / /_/ /                 
             /_/  /_/  |_\__/_/ /_/\___/_/ /_/\__,_/                  
                                                                      
                     http://rathena.org/board/  
                                                                      
[Info]: Git Hash: '46138645f66d6c3d4f04e2677f0fc4434600252f'
[Info]: Server uses 'select' as event dispatcher
[Info]: Server supports up to '4096' concurrent connections.
[Info]: Finished reading conf/import/inter_conf.txt.
[Info]: Finished reading conf/inter_athena.conf.
[Info]: Finished reading conf/import/login_conf.txt.
[Info]: Finished reading conf/login_athena.conf.
[Info]: Done reading '23' messages in 'conf/msg_conf/login_msg.conf'.
[Info]: Ipban connection made.
[Status]: The login-server is ready (Server is listening on the port 6900).

[Info]: Connection request of the char-server 'rAthena' @ ^:6121 (account: 'username', ip: '')
[Notice]: Authentication accepted (account: username, id: 1, ip: )
[Status]: Connection of the char-server 'rAthena' accepted.
[Status]: Request for connection of Testitest (ip: )
[Notice]: Authentication accepted (account: Testitest, id: 2000000, ip: )
[Status]: Connection of the account 'Testitest' accepted.
[Info]: Closed connection from ''.
[Status]: Request for connection of Testitest (ip: )
[Notice]: Authentication accepted (account: Testitest, id: 2000000, ip: )
[Status]: Connection of the account Testitest' accepted.
[Info]: Closed connection from ''.
[Status]: Request for connection of Testitest (ip: )
[Notice]: Authentication accepted (account: Testitest, id: 2000000, ip: )
[Status]: Connection of the account 'Testitest' accepted.
[Info]: Closed connection from ''.
[Status]: Request for connection of Testitest (ip: )
[Notice]: Authentication accepted (account:Testitest, id: 2000000, ip: )
[Status]: Connection of the account 'Testitest' accepted.
[Info]: Closed connection from ''.
[Status]: Request for connection of Testitest (ip: )
[Notice]: Authentication accepted (account: Testitest, id: 2000000, ip: )
[Status]: Connection of the account 'Testitest' accepted.
[Info]: Closed connection from ''.

 

So hier mal die Logs, die Verbindung zum Login Server wird aufgebaut aber keine zum Char Server.

Wireshark spuckt selbes aus.

Ich lege mich nun ins Bettchen wenn ich ausgeschlafen bin schaue ich mir nochmal alles genauer an.

Share this post


Link to post
Share on other sites

Habe das Problem gelöst,

Es lag an der falschen Packetver.

Der Client sollte PACKETVER 20151104 haben hat aber PACKETVER 20151102,

so sieht es nun bei mir aus.

Spoiler

#ifndef PACKETVER
    /// Do NOT edit this line! To set your client version, please do this instead:
    /// In Windows: Add this line in your src\custom\defines_pre.hpp file: #define PACKETVER YYYYMMDD
    /// In Linux: The same as above or run the following command: ./configure --enable-packetver=YYYYMMDD
    #define PACKETVER 20180620
    #define PACKETVER 20151102
    #define PACKETVER 20151104
#endif

Dann habe ich nurnoch die Projektmappe neu erstellt und Viola.

So nun kann ich glücklich einschlafen :).

Share this post


Link to post
Share on other sites
Posted (edited)

Also die ersten 2 könntest du commenten.
Weil du überschreibst die Einstellung momentan einfach 2 mal hintereinander.

#ifndef PACKETVER
    /// Do NOT edit this line! To set your client version, please do this instead:
    /// In Windows: Add this line in your src\custom\defines_pre.hpp file: #define PACKETVER YYYYMMDD
    /// In Linux: The same as above or run the following command: ./configure --enable-packetver=YYYYMMDD
    //#define PACKETVER 20180620
    //#define PACKETVER 20151102
    #define PACKETVER 20151104
#endif

 

Edited by Everade

Share this post


Link to post
Share on other sites
Posted (edited)
3 hours ago, Everade said:

Also die ersten 2 könntest du commenten.
Weil du überschreibst die Einstellung momentan einfach 2 mal hintereinander.

#ifndef PACKETVER
    /// Do NOT edit this line! To set your client version, please do this instead:
    /// In Windows: Add this line in your src\custom\defines_pre.hpp file: #define PACKETVER YYYYMMDD
    /// In Linux: The same as above or run the following command: ./configure --enable-packetver=YYYYMMDD
    //#define PACKETVER 20180620
    //#define PACKETVER 20151102
    #define PACKETVER 20151104
#endif

 

Eig wäre es am aller besten, es so zu machen wie es im Kommentar steht und das file gar nicht zu editieren.

Edited by Normynator
  • Upvote 1

Share this post


Link to post
Share on other sites

Ja lesen können ist meistens hilfreich 😛

  • Love 1

Share this post


Link to post
Share on other sites
Posted (edited)
12 hours ago, Shyl said:

Habe das Problem gelöst,

Es lag an der falschen Packetver.

Der Client sollte PACKETVER 20151104 haben hat aber PACKETVER 20151102,

so sieht es nun bei mir aus.

  Hide contents

#ifndef PACKETVER
    /// Do NOT edit this line! To set your client version, please do this instead:
    /// In Windows: Add this line in your src\custom\defines_pre.hpp file: #define PACKETVER YYYYMMDD
    /// In Linux: The same as above or run the following command: ./configure --enable-packetver=YYYYMMDD
    #define PACKETVER 20180620
    #define PACKETVER 20151102
    #define PACKETVER 20151104
#endif

Dann habe ich nurnoch die Projektmappe neu erstellt und Viola.

So nun kann ich glücklich einschlafen :).

Moin,

das mit dem Unterschied wenn man die exe in Nemo läd ist wohl bei allen exen so, zumindest alle die ich geladen haben sind abweichend, hast du jetzt eine unpatch 20151102 exe?

hab es gemacht wie es da steht also src\custom\defines_pre.hpp und dort #define PACKETVER 20151104 = keine Verbesserung

Charserver

Spoiler


                   rAthena Development Team presents
                      ___   __  __
                _____/   | / /_/ /_  ___  ____  ____ _
               / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
              / /  / ___ / /_/ / / /  __/ / / / /_/ /
             /_/  /_/  |_\__/_/ /_/\___/_/ /_/\__,_/

                     http://rathena.org/board/

[Info]: Git Hash:
[Warning]: You are running rAthena with admin privileges, it is not necessary.
[Info]: Server uses 'select' as event dispatcher
[Info]: Server supports up to '4096' concurrent connections.
[Status]: Character server IP address : 78.xx.xx.xx -> 78.xx.xx.xx
[Status]: Login server IP address : 127.0.0.1 -> 127.0.0.1
[Info]: Done reading conf/import/char_conf.txt.
[Info]: Done reading conf/char_athena.conf.
[Info]: Done reading conf/import/inter_conf.txt.
[Info]: Done reading conf/inter_athena.conf.
[Info]: Done reading '149' messages in 'conf/msg_conf/char_msg.conf'.
[Info]: Done reading conf/import/inter_conf.txt.
[Info]: Done reading conf/inter_athena.conf.
[Info]: Connect Character DB server.... (Character Server)
[Status]: Done reading '1' storage information in 'conf/inter_server.yml'
[Status]: Done reading '0' storage information in 'conf/import/inter_server.yml'
[Status]: Done reading '49' entries in 'db/pre-re/exp_guild.txt'.
[Status]: Done reading '0' entries in 'db/import/exp_guild.txt'.
[Info]: Clan loaded (1 - Swordman Clan)
[Info]: Clan loaded (2 - Arcwand Clan)
[Info]: Clan loaded (3 - Golden Mace Clan)
[Info]: Clan loaded (4 - Crossbow Clan)
[Status]: Finished Reading GeoIP Database.
[Status]: Characters per Account: '0'.
[Info]: Start checking DB integrity
[Info]: DB integrity check finished with success
[Info]: Default map: 'prontera 156,191'
[Status]: The char-server is ready (Server is listening on the port 6121).

[Info]: Attempt to connect to login-server...
[Status]: Connecting to 127.0.0.1:6900
[Status]: Connected to login-server (connection #2).
[Status]: Awaiting maps from map-server.
[Status]: Map-Server 0 connected: 919 maps, from IP 78.xx.xx.xx port 5121.
[Status]: Map-server 0 loading complete.
[Info]: Loaded guild castle (0 - guild 0)
[Info]: Loaded guild castle (1 - guild 0)
[Info]: Loaded guild castle (2 - guild 0)
[Info]: Loaded guild castle (3 - guild 0)
[Info]: Loaded guild castle (4 - guild 0)
[Info]: Loaded guild castle (5 - guild 0)
[Info]: Loaded guild castle (6 - guild 0)
[Info]: Loaded guild castle (7 - guild 0)
[Info]: Loaded guild castle (8 - guild 0)
[Info]: Loaded guild castle (9 - guild 0)
[Info]: Loaded guild castle (10 - guild 0)
[Info]: Loaded guild castle (11 - guild 0)
[Info]: Loaded guild castle (12 - guild 0)
[Info]: Loaded guild castle (13 - guild 0)
[Info]: Loaded guild castle (14 - guild 0)
[Info]: Loaded guild castle (15 - guild 0)
[Info]: Loaded guild castle (16 - guild 0)
[Info]: Loaded guild castle (17 - guild 0)
[Info]: Loaded guild castle (18 - guild 0)
[Info]: Loaded guild castle (19 - guild 0)
[Info]: Loaded guild castle (20 - guild 0)
[Info]: Loaded guild castle (21 - guild 0)
[Info]: Loaded guild castle (22 - guild 0)
[Info]: Loaded guild castle (23 - guild 0)
[Info]: Loaded guild castle (24 - guild 0)
[Info]: Loaded guild castle (25 - guild 0)
[Info]: Loaded guild castle (26 - guild 0)
[Info]: Loaded guild castle (27 - guild 0)
[Info]: Loaded guild castle (28 - guild 0)
[Info]: Loaded guild castle (29 - guild 0)
[Info]: Loaded guild castle (30 - guild 0)
[Info]: Loaded guild castle (31 - guild 0)
[Info]: Loaded guild castle (32 - guild 0)
[Info]: Loaded guild castle (33 - guild 0)
[Info]: Loaded guild castle (34 - guild 0)
[Info]: Loaded guild castle (35 - guild 0)
[Info]: Loaded guild castle (36 - guild 0)
[Info]: Loaded guild castle (37 - guild 0)
[Info]: Loaded guild castle (38 - guild 0)
[Info]: Loaded guild castle (39 - guild 0)
[Info]: Loaded guild castle (40 - guild 0)
[Info]: Loaded guild castle (41 - guild 0)
[Info]: Loaded guild castle (42 - guild 0)
[Info]: Loaded guild castle (43 - guild 0)

wireshark muss ich noch raffen dann gibt es auch da info ^^

pre.hpp.PNG

Edited by Equi

Share this post


Link to post
Share on other sites

Ne meine Exe ist Patched, hast du auch neu Compilert?

https://rathena.org/board/topic/111830-tutorial-video-edition-how-to-setup-rathena-and-run-ragnarok-updated-2018-7-28/

Hab die Exe aus diesen tut genommen.

Share this post


Link to post
Share on other sites
Posted (edited)
On 1/3/2019 at 2:12 PM, Equi said:

Jede Änderung am Server wurde mit MVS17 gemacht also gesäubert und neu erstellt bei jedem Versuch.

must have 🙂

die exe hab ich auch und läuft nicht 😕, eben nochmal genau gemacht wie im Video mit der 13.08.18 kRO und die 20151104, läuft immer noch nicht,

nemo4144/2.6 und die diff Auswahl wie am Ende.

Hast du PACKET_OBFUSCATION  aktiv?

Edited by Equi

Share this post


Link to post
Share on other sites

Wenn du packet_obfuscation im Server nicht an hast brauchst du es im Client nicht. 

Bekommst eig auch immer angezeigt, falls was mit packet_obf nicht stimmt.

Share this post


Link to post
Share on other sites
Posted (edited)

Bei mir ist es an und Client hab ich es auch nicht raus genommen. Server compiling war ja bis jetzt auch ohne Fehler, es muss echt am Client liegen nur keine Ahnung warum.

Konnte auch nichts finden das der Rootserver noch Extras brauch ausser Mysql, Github und Ports.

 

Hab mich sogar schon an Sader gewand für seinen Service aber leider keine Antwort von ihm.

Edited by Equi

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this