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!

[Guide] Jade Dynasty - Ubuntu, MySQL - On a Remote Server

Newbie Spellweaver
Joined
Jul 27, 2005
Messages
75
Reaction score
4
web is a wonderful place .. I got the RedHat file and CG tutorial as well. now only need some free time after my work to work on server :)

Atticus I need to clear some thoughts, mind if I pm you for some information? It seems like you are the only nice person with good knowledge and still active here
 
Newbie Spellweaver
Joined
Jul 18, 2010
Messages
7
Reaction score
0
I got question here, i'm trying to run/edit server before transfering it.
Running it on VMWare Ubuntu Desktop 10.10 and it won't let me start server.
Unrared server files in File system -> root -> JD but can't change permisions, used sudo, and it just says that folder doesn't exist [chmod part].
When trying to run server it says that i have no permission to cd to /authid, after that getting errors that folders don't exist, even accessed root account to access server files without sudo, still nothing.

Just in case, can anyone share with Redhat files? That would really help, thanks.
 
Junior Spellweaver
Joined
Nov 20, 2010
Messages
100
Reaction score
2
try this chmod -R 777 or chmod 777 -R Location of the Source
 
Newbie Spellweaver
Joined
Jul 18, 2010
Messages
7
Reaction score
0
Well i was looking up in Google for permission commands, found and tried typing chmod -R 777 Location, still failed, is there any difference in putting -R after 777?
Gonna try that later, but probably won't do any good.


Edit: decided to use root account and get chmod to work.
My JD folder has all permissions rwxrwxrwxrwx [chmod 777] for root root and same for subfolders, but it still says can't cd, permission denied, it's so annoying, running Ubuntu 10.10 on Windows 7 with VmWare.
 
Last edited:
Junior Spellweaver
Joined
Nov 20, 2010
Messages
100
Reaction score
2
strange are you using desktop type of ubuntu?
Also did you install java?
 
Newbie Spellweaver
Joined
Jul 18, 2010
Messages
7
Reaction score
0
Ok i got rid of Permission errors.
My server files were located in JD folder, so i had to edit "qd" file so it finds files needed.
But i ran into new error.
First thing i get is
./gacd: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory.
And after a while gdelivery to GAuth and gdelivery to GACD connection errors.


Are there any other files that need to be edited?
 
Last edited:
Genesis?Is it a new drug?
Joined
Apr 8, 2010
Messages
512
Reaction score
96
Ok i got rid of Permission errors.
My server files were located in JD folder, so i had to edit "qd" file so it finds files needed.
But i ran into new error.
First thing i get is
./gacd: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory.
And after a while gdelivery to GAuth and gdelivery to GACD connection errors.


Are there any other files that need to be edited?


If your Linux is 64 bits, do this:

aptitude install ia32-libs

Wait the download finish

And put the libs from your serverfiles inside the libs32 in your Linux.
 
Newbie Spellweaver
Joined
Dec 8, 2010
Messages
36
Reaction score
1
why when I change from gamesys.conf
[LogclientClient]
type = udp
port = 11100
address = 127.0.0.1
so_sndbuf = 16777216
so_rcvbuf = 16384
accumulate = 16777216

[LogclientTcpClient]
type = tcp
port = 11101
address = 127.0.0.1
so_sndbuf = 16777216
so_rcvbuf = 16384
accumulate = 16777216

[ProviderServerID]
192.168.1.102 = 0
192.168.1.102 = 1
192.168.1.102 = 2
192.168.1.102 = 3
192.168.1.102 = 4
192.168.1.102 = 5
192.168.1.102 = 6
192.168.1.102 = 7
192.168.1.102 = 8
192.168.1.102 = 9
192.168.1.102 = 10
192.168.1.102 = 11

GTEST = 1
gs01 = 2
gs02 = 3
gs03 = 4
gs04 = 5
gs05 = 6
gs06 = 7
gs07 = 8
gs08 = 9
gs09 = 10
gs10 = 11

[GLinkServer1]
type = tcp
port = 29000
address = 0.0.0.0
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 16384
obuffermax = 65535
tcp_nodelay = 0
listen_backlog = 10
accumulate = 131072
max_users = 3000
max_conns = 3192
halflogin_users = 6000
sender_interval = 200000
accumu_packets = 32768
mtrace = /tmp/m_trace.link
close_discard = 1
urgency_support = 1
;isec = 2
;iseckey = 123
;osec = 2
;oseckey = 456
compress = 0
version = 10205

[GLinkServer2]
type = tcp
port = 29001
address = 0.0.0.0
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 16384
obuffermax = 65535
tcp_nodelay = 0
listen_backlog = 10
accumulate = 131072
max_users = 3000
max_conns = 3192
halflogin_users = 6000
sender_interval = 200000
accumu_packets = 32768
mtrace = /tmp/m_trace.link
close_discard = 1
urgency_support = 1
;isec = 2
;iseckey = 123
;osec = 2
;oseckey = 456
compress = 0
version = 10204

[GDeliveryClient]
type = tcp
port = 29100
address = 192.168.1.102
so_sndbuf = 16384
so_rcvbuf = 16384
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
;isec = 2
;iseckey = 123
;osec = 2
;oseckey = 456

[GProviderServer1]
type = tcp
port = 29301
address = 0.0.0.0
so_sndbuf = 16384
so_rcvbuf = 16384
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456

[GFactionClient]
type = tcp
port = 29500
address = 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 1638400
obuffermax = 1638400
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456

[GAntiCheatClient]
type = tcp
port = 29701
address = 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 1638400
obuffermax = 1638400
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456

[storage]
homedir = ./dbhome
datadir = dbdata
logdir = dblogs
backupdir = ./backup
cachesize = 16777216
errpfx = Storage
checkpoint_interval = 5
backup_interval = 60

[ThreadPool]
threads = (1,3)(100,1)(101,1)(0,1)
max_queuesize = 1048576
prior_strict = 1
on
;Mcncc.com
[LogclientClient]
type = udp
port = 11100
address = 91.213.8.89
so_sndbuf = 16777216
so_rcvbuf = 16384
accumulate = 16777216

[LogclientTcpClient]
type = tcp
port = 11101
address = 91.213.8.89
so_sndbuf = 16777216
so_rcvbuf = 16384
accumulate = 16777216

[ProviderServerID]
127.0.0.1 = 0
127.0.0.1 = 1
127.0.0.1 = 2
127.0.0.1 = 3
127.0.0.1 = 4
127.0.0.1 = 5
127.0.0.1 = 6
127.0.0.1 = 7
127.0.0.1 = 8
127.0.0.1 = 9
127.0.0.1 = 10
127.0.0.1 = 11

GTEST = 1
gs01 = 2
gs02 = 3
gs03 = 4
gs04 = 5
gs05 = 6
gs06 = 7
gs07 = 8
gs08 = 9
gs09 = 10
gs10 = 11

[GLinkServer1]
type = tcp
port = 29000
address = 0.0.0.0
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 16384
obuffermax = 65535
tcp_nodelay = 0
listen_backlog = 10
accumulate = 131072
max_users = 3000
max_conns = 3192
halflogin_users = 6000
sender_interval = 200000
accumu_packets = 32768
mtrace = /tmp/m_trace.link
close_discard = 1
urgency_support = 1
;isec = 2
;iseckey = 123
;osec = 2
;oseckey = 456
compress = 0
version = 10306

[GDeliveryClient]
type = tcp
port = 29100
address = 91.213.8.89
so_sndbuf = 16384
so_rcvbuf = 16384
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
;isec = 2
;iseckey = 123
;osec = 2
;oseckey = 456

[GProviderServer1]
type = tcp
port = 29301
address = 0.0.0.0
so_sndbuf = 16384
so_rcvbuf = 16384
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456

[GFactionClient]
type = tcp
port = 29500
address = 91.213.8.89
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 1638400
obuffermax = 1638400
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456

[GAntiCheatClient]
type = tcp
port = 29701
address = 91.213.8.89
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 1638400
obuffermax = 1638400
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456

[storage]
homedir = ./dbhome
datadir = dbdata
logdir = dblogs
backupdir = ./backup
cachesize = 16777216
errpfx = Storage
checkpoint_interval = 5
backup_interval = 60

[ThreadPool]
threads = (1,3)(100,1)(101,1)(0,1)
max_queuesize = 1048576
prior_strict = 1
error - err: glinkd:: Connect to delivery failed.
 
Skilled Illusionist
Joined
May 9, 2010
Messages
307
Reaction score
82
It's meant to be:

[LogclientClient]
type = udp
port = 11100
address = 127.0.0.1
so_sndbuf = 16777216
so_rcvbuf = 16384
accumulate = 16777216

[LogclientTcpClient]
type = tcp
port = 11101
address = 127.0.0.1
so_sndbuf = 16777216
so_rcvbuf = 16384
accumulate = 16777216

[ProviderServerID]
91.213.8.89 = 0
91.213.8.89 = 1
91.213.8.89 = 2
91.213.8.89 = 3
91.213.8.89 = 4
91.213.8.89 = 5
91.213.8.89 = 6
91.213.8.89 = 7
91.213.8.89 = 8
91.213.8.89 = 9
91.213.8.89 = 10
91.213.8.89 = 11

GTEST = 1
gs01 = 2
gs02 = 3
gs03 = 4
gs04 = 5
gs05 = 6
gs06 = 7
gs07 = 8
gs08 = 9
gs09 = 10
gs10 = 11

[GLinkServer1]
type = tcp
port = 29000
address = 0.0.0.0
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 16384
obuffermax = 65535
tcp_nodelay = 0
listen_backlog = 10
accumulate = 131072
max_users = 3000
max_conns = 3192
halflogin_users = 6000
sender_interval = 200000
accumu_packets = 32768
mtrace = /tmp/m_trace.link
close_discard = 1
urgency_support = 1
;isec = 2
;iseckey = 123
;osec = 2
;oseckey = 456
compress = 0
version = 10205

[GLinkServer2]
type = tcp
port = 29001
address = 0.0.0.0
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 16384
obuffermax = 65535
tcp_nodelay = 0
listen_backlog = 10
accumulate = 131072
max_users = 3000
max_conns = 3192
halflogin_users = 6000
sender_interval = 200000
accumu_packets = 32768
mtrace = /tmp/m_trace.link
close_discard = 1
urgency_support = 1
;isec = 2
;iseckey = 123
;osec = 2
;oseckey = 456
compress = 0
version = 10204

[GDeliveryClient]
type = tcp
port = 29100
address = 192.168.1.102
so_sndbuf = 16384
so_rcvbuf = 16384
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
;isec = 2
;iseckey = 123
;osec = 2
;oseckey = 456

[GProviderServer1]
type = tcp
port = 29301
address = 0.0.0.0
so_sndbuf = 16384
so_rcvbuf = 16384
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456

[GFactionClient]
type = tcp
port = 29500
address = 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 1638400
obuffermax = 1638400
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456

[GAntiCheatClient]
type = tcp
port = 29701
address = 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 1638400
obuffermax = 1638400
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456

[storage]
homedir = ./dbhome
datadir = dbdata
logdir = dblogs
backupdir = ./backup
cachesize = 16777216
errpfx = Storage
checkpoint_interval = 5
backup_interval = 60

[ThreadPool]
threads = (1,3)(100,1)(101,1)(0,1)
max_queuesize = 1048576
prior_strict = 1
 
Newbie Spellweaver
Joined
Dec 8, 2010
Messages
36
Reaction score
1
did exactly the same but still the error climbs, the main ping seen, but the database does not connect batgm. and another question - how to register an account? Maybe the error due to the fact that I have a database he prescribed through the console?
 
Newbie Spellweaver
Joined
Dec 8, 2010
Messages
36
Reaction score
1
authd:: add PollIO task.
Cannot load common data automation crontab. check file commondataauto.txt.
District id is 0
TRACE : gdeliveryd::Max player allowed is 10000
zoneid=1 aid=11
TRACE : ContestManager initialized
info : logclienttcp: OnAbortSession
TRACE : gdelivery::connect to gauthd successfully.
TRACE : ganticheatclient:: connect gacd successfully!
info : logclient: OnAddSession
GAuthServer::OnAddSession com.goldhuman.IO.Protocol.Session@7a1576
TRACE : dbgettoptable: received, tableid=1, retcode=0
TRACE : DBStockLoad: retcode=0, size=0, handle=0
TRACE : DBSiegeLoad client: retcode=0, cities=1
TRACE : CityDetail Init: battle_id=1,owner=0, challengers.size=0
TRACE : DBCommonDataLoad: retcode=0, size=0, handle=0
TRACE : dbgettoptable: received, tableid=2, retcode=0
TRACE : dbgettoptable: received, tableid=3, retcode=0
TRACE : dbgettoptable: received, tableid=10, retcode=0
TRACE : dbgettoptable: received, tableid=11, retcode=0
TRACE : dbgettoptable: received, tableid=12, retcode=0
TRACE : dbgettoptable: received, tableid=13, retcode=0
TRACE : dbgettoptable: received, tableid=14, retcode=0
TRACE : dbgettoptable: received, tableid=15, retcode=0
TRACE : dbgettoptable: received, tableid=16, retcode=0
TRACE : dbgettoptable: received, tableid=17, retcode=0
TRACE : dbgettoptable: received, tableid=18, retcode=0
TRACE : dbgettoptable: received, tableid=19, retcode=0
TRACE : dbgettoptable: received, tableid=20, retcode=0
TRACE : dbgettoptable: received, tableid=21, retcode=0
TRACE : dbgettoptable: received, tableid=31, retcode=0
TRACE : dbgettoptable: received, tableid=32, retcode=0
TRACE : dbgettoptable: received, tableid=33, retcode=0
TRACE : dbgettoptable: received, tableid=34, retcode=0
TRACE : dbgettoptable: received, tableid=35, retcode=0
TRACE : dbgettoptable: received, tableid=40, retcode=0
TRACE : dbgettoptable: received, tableid=41, retcode=0
TRACE : dbgettoptable: received, tableid=42, retcode=0
TRACE : dbgettoptable: received, tableid=43, retcode=0
TRACE : dbgettoptable: received, tableid=44, retcode=0
TRACE : dbgettoptable: received, tableid=45, retcode=0
TRACE : dbgettoptable: received, tableid=46, retcode=0
TRACE : dbgettoptable: received, tableid=47, retcode=0
TRACE : dbgettoptable: received, tableid=48, retcode=0
TRACE : dbgettoptable: received, tableid=49, retcode=0
gauthd: 28 Mar 2011 21:05:05,321 INFO GAuthServer:? - AnnounceZoneid2, clear all online records on zone 1
TRACE : dbgettoptable: received, tableid=50, retcode=0
TRACE : dbgettoptable: received, tableid=51, retcode=0
TRACE : dbgettoptable: received, tableid=60, retcode=0
TRACE : dbgettoptable: received, tableid=61, retcode=0
TRACE : dbgettoptable: received, tableid=62, retcode=0
Prepare procedure call:{call clearonlinerecords(?,?)}
TRACE : dbgettoptable: received, tableid=63, retcode=0
TRACE : dbgettoptable: received, tableid=64, retcode=0
TRACE : dbgettoptable: received, tableid=65, retcode=0
TRACE : dbgettoptable: received, tableid=66, retcode=0
TRACE : dbgettoptable: received, tableid=67, retcode=0
TRACE : dbgettoptable: received, tableid=68, retcode=0
TRACE : dbgettoptable: received, tableid=80, retcode=0
TRACE : dbgettoptable: received, tableid=81, retcode=0
TRACE : dbgettoptable: received, tableid=82, retcode=0
TRACE : dbgettoptable: received, tableid=83, retcode=0
gauthd: 28 Mar 2011 21:05:05,360 INFO GAuthServer:? - AnnounceZoneid2, zone 1 aid 11 announced.
TRACE : StockStatus:: uptime=0,trade_price=0,order_volume=0,trade_volume=0,trade_amount=0,idpool=2
info : logclienttcp: OnAbortSession
info : logclienttcp: OnAbortSession
info : logclient: OnAddSession
info : logclienttcp: OnAbortSession
info : logclienttcp: OnAbortSession
err : Initialize storage environment failed.
info : logclienttcp: OnAbortSession
info : logclient: OnAddSession
info : logclienttcp: OnAbortSession
info : logclienttcp: OnAbortSession
info : logclienttcp: OnAbortSession
TRACE : OnAddSession sid=9
ping can be seen, but when you connect the server wrote on the service and batgm not connect to the database. on this server is not registered?

---------- Post added at 06:34 PM ---------- Previous post was at 06:22 PM ----------

even if we leave all ip 127.0.0.1 ping can be seen:scared:

---------- Post added at 06:38 PM ---------- Previous post was at 06:34 PM ----------

[GDeliveryClient]
type = tcp
port = 29100
address = 192.168.1.102 - there are no mistakes? ip 91.213.8.89
so_sndbuf = 16384
so_rcvbuf = 16384
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
;isec = 2
;iseckey = 123
;osec = 2
;oseckey = 456
:?::?::?:

---------- Post added at 07:09 PM ---------- Previous post was at 06:38 PM ----------

and the hosts file does not need to change?

---------- Post added at 07:27 PM ---------- Previous post was at 07:09 PM ----------

Seems figured in to the server, is now a problem - registration

---------- Post added at 07:28 PM ---------- Previous post was at 07:27 PM ----------

and yet - how to connect batgm not understand ...
 
Junior Spellweaver
Joined
Jan 28, 2010
Messages
168
Reaction score
33
I get this error every time all my services but the gs are started and running right
Code:
./gs: symbol lookup error: ./gs: undefined symbol: _Z17LoadTasksFromPackP14elementdatamanPKcS2_S2_

not sure if its task related elements or something other then that.


Edit: z17 is a map so its a map control or something that crashing my gs but im still a little lost on this if someone has seen or knows whats up with my gamed folder
 
Last edited:
Initiate Mage
Joined
Feb 24, 2011
Messages
2
Reaction score
0
I been trying to make my own JD server and would like someone to guide me through some parts I am stuck, I have all the files but there is no way I can figure some out if someone is willing to help me plz message me and tyvm ahead of time.
 
Back
Top