Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

JDDC Common JD server errors

Experienced Elementalist
Joined
Aug 16, 2010
Messages
240
Reaction score
22
Here we can all post errors we have had in the past and what we did to fix them, that way new devs can come on have a documentation to work with :)
Level 1 (Errors that require 2 or less steps)
=====================================
Network Error(Permissions to db and other files.)
Step 1: Execute SSH command: chmod 777 /root -R

unknown error 255
Step 1: Reboot server.

Server Update
Step 1: make sure gshop matches client and server.
Step 1-A: make sure gs is running.

err : Identical game server id(#) exist. Check gameserver's ".conf" file.
Step 1: read your logs, and check which two instances have the same "gamed(#)"
Step 2: Go to one of their .conf file Example: gamed/emperor.conf
Step 3: Replace ServerID=# with a number that isnt used for anything else.

Level 2
=====================================
* = if you did not do yet.

network error (Rocklee files)
Why: lampp is not installed.
Step 1: edit config.php (Change passwords).
Step 2: Go to server/build/authd/table.xml
Step 3: Find: <connection name="auth0" poolsize="3" url="jdbc:mysql://localhost:3306/dynasty?useUnicode=true&characterEncoding=utf8" username="root" password="CHANGEME"/>
*Step 1-A: Install lampp
*Step 2-A: run /opt/lampp/lampp security.
*Step 3-A: Set mysql password to the one in Step 2 & 3
Step 4: Reboot server.

Network Error(Advanced - Mysql wont start.)
Why: your Innodb has crashed or failed.
Fix
Step 1: go to opt/lampp/etc/my.conf
Step 2: Go To [msqld]
Step 2-Bfind: myisam_sort_buffer_size = 8M
Step 2-C: Add innodb_force_recovery = 4 under Step 2-B
Step 2-D: save
Step 3: SSH execute command => ( sudo opt/lampp/lampp restart )
Step 3-B: Remove innodb_force_recovery = 4 from Step 3
Step 4: save
Step 5: Step 3.

Level 2-A (Tools)
=======================================
XXX.XX.XX.XXX IP not allowed to connect to mysql.
Why: the username your using / IP isnt allowed to connect to mysql port.
Fix: Create non root user.
Option 1

hack MySQL: edit my.cnf and put skip-grant-tables in the mysqld section, and restart the server. You can then get in as root and change the password, flush privileges, then remove the dodgy line from my.cnf and restart again

Option 2

#
# Connect to the local database server as user root
# You will be prompted for a password.
#
mysql -h localhost -u root -p

#
# Now we see the 'mysql>' prompt and we can run
# the following to create a new database for Paul.
#
mysql> create database pauldb;
Query OK, 1 row affected (0.00 sec)

#
# Now we create the user paul and give him full
# permissions on the new database
mysql> grant CREATE,INSERT,DELETE,UPDATE,SELECT on pauldb.* to paul@localhost;
Query OK, 0 rows affected (0.00 sec)

#
# Next we set a password for this new user
#
mysql> set password for paul = password('mysecretpassword');
Query OK, 0 rows affected (0.00 sec)

#
# Cleanup and ext
mysql> flush privileges;
mysql> exit;


Level 3(Weird but works)
=======================================
Invalid induction ID
Why game DB cannot read account info(AKA induction ID) from newly created log, in /root/server/db/uniquewd/dblogs & OR /root/server/db/gdbwdb/dblogs
Tried(But did not work)
Trial 1: CD sever/gamed => RAN command: ./fix.sh
Trail 2: Change the iseckey from (long number) => 456 and oseckey from(long number) => 123 in server/uniquenamed
[UniqueNameServer]
type = tcp
port = 29401
address = 0.0.0.0
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
accumulate = 268435456
tcp_nodelay = 0
listen_backlog = 10
isec = 2
iseckey = 16899168 (change) => 456
osec = 2
oseckey = 16899168 (change) => 123
case_insensitive = 1
Trail 3: moved the old log.###### from old/server/db/uniquewd/dblogs TO new/server/db/uniquewd/dblogs
Fix:
Step 1: Move the old log.###### from (old root)/server/db/uniquewd/dblogs TO (new root)/server/db/uniquewd/dblogs
Step 2: Copy the new log.##### that we just moved to (new root)/server/db/uniquewd/dblogs, To your desktop.
Note 1: You will see that there is a new log.1234 in (new root)/server/db/uniquewd/dblogs folder, that is 0B big, which will never get bigger.
Step 3: Copy the extension of that log file, and replace the extension of the one you moved to your desktop, to it.
Example.
(Desktop) log.#####
(Server) log.1234
==========
(Desktop) log.1234
(Server) log.1234
Step 4: delete the log.1234 from the server, and move the one from your desktop to its place.
Step 5: reboot server.
Step 6: create character to see if error gone.



Credits: JDDC,ragezone.com,teamremod.com
 
Last edited:
Experienced Elementalist
Joined
Aug 16, 2010
Messages
240
Reaction score
22
In Teamremod.com we try to find all Common JD server errors and we will continue posting as son we found the solution
We certainly do... as we are tired of everyone holding precious knowlage to them self's when it comes to an either; too lil if an error or too big of an error, so from now on we will post all the errors we got, and how / what we tried to fix them. Cause at the end of the day this is open source for all of us who wants to spend the time, to reach a goal we wanna reach with these files.

Thats why we wanna say thank you to the select few who actually do understand that even new to the field... are entitled to some form of documentation.
 
Initiate Mage
Joined
Sep 8, 2013
Messages
9
Reaction score
0
Thank you James! Will be very useful to anyone new. I will surely post an errors I get and find a solution to. Much appreciated and thank you Detox for making this a sticky for anyone who needs help when people arent will anymore, or want to be paid for just a little insight.
 
Back
Top