Jump to content

Saita

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Saita

  1. @sader1992 what should I put in "your_ip" for a local only server? I put 127.0.0.1 but still got the same problem.
  2. I know this is a very common issue but I can't figured it out. I am running rAthena on linux and trying to login through LAN from Virtual Box with windows. I managed to login, but after a few seconds I get the message in the client: Failed to connect to server Linux log: [Info]: Loaded guild castle (42 - guild 0) [Info]: Loaded guild castle (43 - guild 0) [Status]: Map-server connected to char-server 'Server'. [Status]: Map Server is now online. [Info]: Received Fame List of '0' characters. [Status]: Received '44' guild castles from char-server. [Status]: Received '4' clans from char-server. [Status]: Request for connection of teste (ip: 127.0.0.1) [Notice]: Authentication accepted (account: teste, id: 1, ip: 127.0.0.1) [Status]: Connection of the account 'teste' accepted. [Info]: Closed connection from '127.0.0.1'. Server changes: diff --git a/conf/char_athena.conf b/conf/char_athena.conf index d448d5fb6..066f48552 100644 --- a/conf/char_athena.conf +++ b/conf/char_athena.conf @@ -5,8 +5,8 @@ // only as information/reference. // Server Communication username and password. -userid: s1 -passwd: p1 +userid: teste +passwd: teste // Server name, use alternative character such as ASCII 160 for spaces. // NOTE: Do not use spaces or any of these characters which are not allowed in diff --git a/conf/inter_athena.conf b/conf/inter_athena.conf index e60be22ef..f70d26cef 100644 --- a/conf/inter_athena.conf +++ b/conf/inter_athena.conf @@ -28,39 +28,39 @@ party_share_level: 15 // MySQL Login server login_server_ip: 127.0.0.1 login_server_port: 3306 -login_server_id: ragnarok -login_server_pw: ragnarok -login_server_db: ragnarok +login_server_id: rathena +login_server_pw: changeme +login_server_db: rathena login_codepage: login_case_sensitive: no ipban_db_ip: 127.0.0.1 ipban_db_port: 3306 -ipban_db_id: ragnarok -ipban_db_pw: ragnarok -ipban_db_db: ragnarok +ipban_db_id: rathena +ipban_db_pw: changeme +ipban_db_db: rathena ipban_codepage: // MySQL Character server char_server_ip: 127.0.0.1 char_server_port: 3306 -char_server_id: ragnarok -char_server_pw: ragnarok -char_server_db: ragnarok +char_server_id: rathena +char_server_pw: changeme +char_server_db: rathena // MySQL Map Server map_server_ip: 127.0.0.1 map_server_port: 3306 -map_server_id: ragnarok -map_server_pw: ragnarok -map_server_db: ragnarok +map_server_id: rathena +map_server_pw: changeme +map_server_db: rathena // MySQL Log Database log_db_ip: 127.0.0.1 log_db_port: 3306 -log_db_id: ragnarok -log_db_pw: ragnarok -log_db_db: ragnarok +log_db_id: rathena +log_db_pw: changeme +log_db_db: rathena log_codepage: log_login_db: loginlog diff --git a/conf/login_athena.conf b/conf/login_athena.conf index 719d366ea..d87dea0d3 100644 --- a/conf/login_athena.conf +++ b/conf/login_athena.conf @@ -53,7 +53,7 @@ console: off // Can you use _M/_F to make new accounts on the server? // Note: This only works if client side password encryption is not enabled. -new_account: no +new_account: yes //If new_account is enabled, minimum length to userid and passwords should be 4? //Must be 'Yes' unless your client uses both 'Disable 4 LetterUserID/Password' Diffs diff --git a/conf/map_athena.conf b/conf/map_athena.conf index 092e9a7d2..e8dd166ea 100644 --- a/conf/map_athena.conf +++ b/conf/map_athena.conf @@ -10,8 +10,8 @@ // Configuration Info //-------------------------------------------------------------- // Interserver communication passwords, set in account.txt (or equiv.) -userid: s1 -passwd: p1 +userid: teste +passwd: teste // Character Server IP // The map server connects to the character server using this IP address. diff --git a/src/config/packets.hpp b/src/config/packets.hpp index 91e6d37ee..dca68f612 100644 --- a/src/config/packets.hpp +++ b/src/config/packets.hpp @@ -45,7 +45,7 @@ /// Comment to disable the official packet obfuscation support. /// This requires PACKETVER 2011-08-17 or newer. #ifndef PACKET_OBFUSCATION - #define PACKET_OBFUSCATION + //#define PACKET_OBFUSCATION // Define these inside src/custom/defines_pre.hpp or src/custom/defines_post.hpp //#define PACKET_OBFUSCATION_KEY1 <key1> diff --git a/src/custom/defines_pre.hpp b/src/custom/defines_pre.hpp index 93b1780dc..6316d2023 100644 --- a/src/custom/defines_pre.hpp +++ b/src/custom/defines_pre.hpp @@ -3,7 +3,7 @@ #ifndef CONFIG_CUSTOM_DEFINES_PRE_HPP #define CONFIG_CUSTOM_DEFINES_PRE_HPP - +#define PACKETVER 20180621 /** * rAthena configuration file (http://rathena.org) * For detailed guidance on these check http://rathena.org/wiki/SRC/config/ clientinfo.xml: <?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <desc>Ragnarok Client Information</desc> <servicetype>korea</servicetype> <servertype>primary</servertype> <connection> <display>Local</display> <address>10.0.2.2</address> <port>6900</port> <version>55</version> <langtype>1</langtype> <registrationweb>www.ragnarok.com</registrationweb> <loading> <image>loading00.jpg</image> <image>loading01.jpg</image> <image>loading02.jpg</image> <image>loading03.jpg</image> <image>loading04.jpg</image> <image>loading05.jpg</image> <image>loading06.jpg</image> </loading> </connection> </clientinfo> IMPORTANT: I am running RO from a guest VM and that 10.0.2.2 ip hits the host's localhost. I validate that by using telnet from guest to host and I can connect to the login-server port (6900) and char-server port (6121). Client executable: 2018-06-21aRagexe_patched.exe (I pached with NEMO): 9 Disable 1rag1 type parameters (Recommended) 13 Disable Ragexe Filename Check (Recommended) 23 Enable /who command (Recommended) 24 Fix Camera Angles (Recommended) 290 Hide build info in client (Recommended) 34 Enable /showname (Recommended) 291 Hide packets from peek (Recommended) 35 Read Data Folder First 36 Read msgstringtable.txt (Recommended) 38 Remove Gravity Ads (Recommended) 39 Remove Gravity Logo (Recommended) 41 Disable Nagle Algorithm (Recommended) 44 Translate Client (Recommended) 46 Use Normal Guild Brackets (Recommended) 48 Use Plain Text Descriptions (Recommended) 49 Enable Multiple GRFs (Recommended) 53 Use Ascii on All LangTypes (Recommended) 64 @ Bug Fix (Recommended) 65 Load Custom lua file instead of iteminfo*.lub (Recommended) 71 Ignore Resource Errors 72 Ignore Missing Palette Error 73 Remove Hourly Announce (Recommended) 338 Additional client validation (Recommended) 84 Remove Serial Display (Recommended) 90 Enable DNS Support (Recommended) 213 Disable Help Message on Login (Recommended) 231 Remove hardcoded address/port (Recommended) 232 Restore old login packet (Recommended)
  3. I tried messaging him but it said he can't receive messages =\ The database approach would be perfect, by it seems rAthena does not store vends in the database without some sort of plugin. At least I couldn't find it by looking at the official git repository.
  4. Is it possible to enable botting for specific accounts? I want to be able to bot for a feature I am developing, mainly to fetch all the shops in town for an app I am making. I don't own a server, but some server admins I am contacting would let me bot but they don't know how to allow it with gepard.
  5. Actually my problem is somewhat different. I wanted to do this in a less invasive manner. I am making a website where I want to list the shops from multiple private servers. I am reaching out to server admins and pitching the idea. Right now, players have to open up their shops manually so it's really difficult to get people to use it. If I could come up with some sort of integration that I could send to the server admins and easily fetch the information for my website. I thought about making a docker container with a simple app that they could run. I imagined the shop information was in the database so the app would connect to the database and send the info to my website via rest api. I believe making a plug-in like suggested would make server owners harder to convince. Another idea I had was using a bot to walk around and fetch the shops, but some servers have guard, and this solution kind of sucks. I am not sure but maybe it's just not meant to be.
  6. Hi. I want to create a rest service where I can fetch information of every user opened shop in the server. I thought that this information might be stored in the database but I can't seem to find the relevant information. Now I am assuming this information is kept in memory. Is it possible to access this information from outside rAthena? How would you suggest I tackle this?
×
×
  • Create New...