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!

typical error and more > a helping hand

RaGEZONER
Loyal Member
Joined
Sep 29, 2009
Messages
1,563
Reaction score
321
here i will give you a helping hand for this typical errors and more > my default language is german - please forgive me linguistic or grammatical errors

... if someone knows more typical error please send me and I will expand this thread ...

the most of typical error is wrong of the server files [ 0755 ] ...

#####################################################################

SERVER
[ required specs @ 1.3.x ||| required specs @ 1.4.x / 1.5.x ]

#####################################################################


gs offline [ gshop item with more stacked than the upper limit in elements.data ]

  • first time u need to read the error log in server/logs/gs01.log
  • second time u need to encoding by gb2312
  • third time you need to translate like google tranlate
example:
ÅäÖÃÎļþ:'gs.conf' ÅäÖÃÔö²¹Îļþ:'gsalias.conf'
×°±¸ºó°ó¶¨¹¦ÄÜ´ò¿ª
°Ù±¦¸óÖÐÎïÆ·27728(1¸ö)³¬¹ýÁ˶ѵþÉÏÏÞ0
³õʼ»¯°Ù±¦¸óÊý¾Ýʧ°Ü
µÚÒ»²½³õʼ»¯Ê§°Ü£¬´íÎóºÅ:-31
use textpad++ > file > new > input this text > go to encoding > character set > chinese > gb2312
配置增补文件:'gsalias.conf'
装备后绑定功能打开
百宝阁中物品27728(1个)超过了堆叠上限0
初始化百宝阁数据失败
第一步初始化失败,错误号:-31
now we translate it by google translate > chinese | english [ self detecting ]
The configuration addendum: 'gsalias.conf'
Binds when equipped function open
The Babolat Court items 27728 (a) more than the stack upper limit
Failed to initialize the data of 100 Treasure House
The first step is initialization failed, error: -31
gs offline

  • gshop.data and gshopsev.data have an item it is not in lements.data [ gs01.log ]
  • gshop.data and gshopsev.data have wrong timestamp
  • gshop has more than 2500 items

gs error
  • v80 @Hycker´s post
    • [root@localhost gamed]# ./gs > kurva_anyad
      [root@localhost gamed]#kurva_anyad [----] 0 L:[1083+48 1131/1131] *(44908/44908b) <EOF>...blablabla...×ÔśŻĆĽĹäÁË2975˛đ˝âĹ䡽,ÁíÓĐ267¸ö×°ą¸ĂťÓĐżÉŇÔĆĽĹäľÄĹ䡽´íÎóľÄłčÎďĘýžÝŁŹłčÎďid:10584´íÎóľÄłčÎďĘýžÝŁŹłčÎďid:32103´íÎóľÄłčÎďĘýžÝŁŹłčÎďid:32104´íÎóľÄłčÎďĘýžÝŁŹłčÎďid:32105×Üš˛źÓČëÁË80¸öĎĄÓĐÎďơ×Üš˛´ćÔÚ1850¸öČËĂńąŇÎďơLUAÄ_ąž°ćąž102łőĘźťŻĆÁąÎ×Öˇűʧ°Ü ľÚŇť˛˝łőĘźťŻĘ§°ÜŁŹ´íÎóşĹ:-34
      translated:
      Ping from Nandi dismantling equipped with a 2975〗, and another 267 can be fitted with dirt Jie Ping〗 equipped with moxibustion
      Error number Zhao  moxibustion pet pet id: 10584Error number Zhao  moxibustion pet pet id: 32103Error number Zhao  moxibustion pet pet id: 32104Error number Zhao  moxibustion pet pet id: 32105Total Jie Lou into the 80 knees with substance beerThere is 1850 people total Jie hanging beerLUA Jiaoxingbanxing 102Cheng screen scraping word beginning mares-tail ← failure Ju Yao Cheng mares-tail early step failed  Error Number: -34
      solution if u run to this trouble
      -go to pwroot/gamed/config
      -open filters and delete all crap inside, then put this line to top:
      Code:
      [COLOR=#333333][^-0-9a-zA-Zа-яА-Яё Ё][/COLOR]
      -go to pwroot/gamed open file gs.conf and find lines
      Code:
      [COLOR=#333333]table_name        = *something here*[/COLOR]
      name_charset     = *something here*
      [COLOR=#333333]table_charset    = *something here*[/COLOR]
      and change to this:
      Code:
      [COLOR=#333333]
      [/COLOR][COLOR=#333333]table_name        = filters [/COLOR]
      name_charset     = UTF-8
      table_charset    = UTF-8
      then start gs and profit

gfactiond offline

  • wrong or missed libraries
example
  • Java Runtime Environment is required for the PW Java API (used by authd and pwAdmin)
    COMMAND~: apt-get install openjdk-6-jre
  • For 64 Bit Debian
    Install ia32 libs and copy some required libraries not contained in ia32
    COMMAND~: apt-get install ia32-libs
    COMMAND~: cp -f /root/pwserver/.setup/lib/libstdc++.so.5.0.7 /lib32/libstdc++.so.5
    COMMAND~: cp -f /root/pwserver/.setup/lib/libpcre.so.3.12.1 /lib32/libpcre.so.0
    COMMAND~: cp -f /root/pwserver/.setup/lib/libtask.so /lib32/libtask.so
  • For 32 Bit Debian [ /lib/libpcre.so.0 is needed for ubuntu-11.10-server-amd64 ]
    Copy some required libraries
    COMMAND~: cp -f /root/pwserver/.setup/lib/libstdc++.so.5.0.7 /usr/lib/libstdc++.so.5
    COMMAND~: cp -f /root/pwserver/.setup/lib/libpcre.so.3.12.1 /usr/lib/libpcre.so.0
    COMMAND~: cp -f /root/pwserver/.setup/lib/libtask.so /usr/lib/libtask.so
wrong server | file path

  • edit " server/gamed/gs.conf | gsalias.conf [ llok at template ] "
配置文件:'gs.conf' 配置增补文件:'gsalias.conf'
装备后绑定功能打开
读取任务系统失败:'/root/PWServer/gamed/config/tasks.data','/root/PWServer/gamed/config/dyn_tasks.data'
第一步初始化失败,错误号:-4
Server files must be located on / folder and not on /root
#####################################################################

CLIENT
[ @ 1.3.x available clients are in the releases [ own customized ] ||| @ 1.4.x available clients are v580+ [ v580 / 606 / 612 / 621 / 670 [ restricted ] ]

#####################################################################

server network error

  • mysql error [ ip | db | name | passwd ]
  • AUTH problem [ wrong java path | wrong lib ]
  • wrong hosts file [ wrong ip | missing services ]
  • 343 says
    server network error is ALWAYS a problem with AUTHD being able to 'talk' to MySQL...
version low

  • wrong gshop.data or gshop1.data [ client ]
  • wrong gshopsev.data or gshopsev1.data [ sever ]
    • gshop = normal boutique | gshop1 = event boutique
    • gshop.data | 1 and gshopsev.data | 1 need same timetamp
    • Price ( value 0 : crash server) [ thx @ NoSlave ]
    • stack > max stack causes this too [ thx @ Psytrac ] > 343 says
    • ... glinkd/gamesys.conf the version= may be set to the wrong number. [ thx @qwename ]
    • ... little guide by Timma Roughton about timestamp of gshop*
Map data out of phase with the server´s

  • wrong region / precinct
    region.clt (client side) => region.sev (server side)
    precinct.clt (client side) => precinct.sev (server side)
Perfect World Boutique out of phase with server

  • wrong or empty gshop | 1.data / ghopsev | 1.data > edit with sgshopedit ...

Server error 255

  • i think its a missing service at /etc/hosts [ 127.0.0.1 manager ] but not sure ...
    more info > follow me
Unknown error 255

  • this is missing ips or wrong hosts file
models.pck / pkx

  • cmd: copy /b models.pck + models.pkx tempmodels.pck

    GiantAxe says

    cmd: copy /b models.pck + models.pkx tempmodels.pck
    drag tempmodels.pck to your spck folder and extract it, how to repack it and split it back to 2gb file is up to you.

    but for god sakes man this has been asked over 100x before, so requesting this thread to be closed. (I can make requests right? lol)
    343 says
    but btw, if you take the last client v80 merge the PCK and PKX and re-compress them it will be under 2GB, so no need to re-split. You can actually get it the smallest by using pwpack '08 and using the 'level 9 compression' ("PWPack.exe -z 9 -c models.pck.files models.pck").. If you do that your new models.pck should be exactly 1,701,129,352 bytes, or 1.58GB (if you're using a virgin models from the last v80 client)...

    Now also, admittedly, I'm not sure exactly how you would split once over 2GB because I ran -z 0 (for least compression) and the file was huge. So I split it at exactly 2GB and the client would not start. So I don't think splitting it at exactly 2GB will work and I couldn't really be bothered to figure it out...
    petyo73 says
    Decision to unpack and re-pack models archives new version PWI.
    We offer you a way step by step, testing and working 100%:

    All procedures done in the game/element directory itself.
    1) open note pad and paste:
    copy /B models.pck +models.pkx tempmodels.pck
    save it as merge.bat
    (This step will merge 2 files pck + pkx into one new file tempmodels.pck)

    2) open note pad again and paste:
    spck.exe -pw -x "tempmodels.pck"
    save it as extract.bat
    (This procedure unpack a new file to folder ''tempmodels.pck.files''. After unpack files to folder, delete tempmodels.pck.)

    3) open note pad a third time and paste:
    spck.exe -pw -c "tempmodels.pck.files" 9
    save it as compress.bat
    (This procedure re-pack folder to a new final file ''tempmodels.pck''. Archive pck working correctly only with compression level 9 )

    4) Rename old archive models.pck original game file to old_models.pck. Rename new files tempmodels.pck to models.pck.

    5) run each batch file in order. it will take quite a while. just be patient and wait for it to shut off the command line from each .bat file (models.pck contain 104300 files and above), before you start a new one.

    As a reminder:
    ALWAYS BACK UP YOUR MODELS.PCK

    Also will offer you a special tools ski files viewer for 32 bit windows system.


    Unpack the viewer to folder. Copy any ski files + textures folder and paste into folder viewer.
    Simple drag ski file to ModelViewer.exe
 
Last edited:
Joined
Oct 14, 2009
Messages
5,493
Reaction score
2,299
That is true, even if you could/did 'convert' a SEV to a CLT there would be a bunch of 'missing' info, because the client side contains stuff that the client needs and the server does not... So of course therefore the server side SEV does not contain a bunch of 'stuff' that the CLT will...

Thanks for pointing that out [D@nte], I almost totally forgot about that...
 
Upvote 0
Newbie Spellweaver
Joined
Dec 3, 2012
Messages
64
Reaction score
9
I hope you don't mind but I just wanted to add in the section where you wrote

Java Runtime Environment is required for the PW Java API (used by authd and pwAdmin)
COMMAND~: apt-get install openjdk-6-jre
For 64 Bit Debian
Install ia32 libs and copy some required libraries not contained in ia32
COMMAND~: apt-get install ia32-libs
COMMAND~: cp -f /root/pwserver/.setup/lib/libstdc++.so.5.0.7 /lib32/libstdc++.so.5
COMMAND~: cp -f /root/pwserver/.setup/lib/libpcre.so.3.12.1 /lib32/libpcre.so.0
COMMAND~: cp -f /root/pwserver/.setup/lib/libtask.so /lib32/libtask.so
For 32 Bit Debian [ /lib/libpcre.so.0 is needed for ubuntu-11.10-server-amd64 ]
Copy some required libraries
COMMAND~: cp -f /root/pwserver/.setup/lib/libstdc++.so.5.0.7 /usr/lib/libstdc++.so.5
COMMAND~: cp -f /root/pwserver/.setup/lib/libpcre.so.3.12.1 /usr/lib/libpcre.so.0
COMMAND~: cp -f /root/pwserver/.setup/lib/libtask.so /usr/lib/libtask.so

This is not specific to Debian, it can be used with any version of Linux that has Apt installed. Apt is an installer for Debian based or .deb files. In RedHat / Fedora it would be Yum, Yum is an RPM based package installer.

Again I'm not trying to necro this thread I just wanted to add something I noticed in hopes it would help others. I'd also like to add that this thread is very helpful, good job!
 
Upvote 0
Newbie Spellweaver
Joined
May 1, 2005
Messages
23
Reaction score
2
配置文件:'gs.conf' 配置增补文件:'gsalias.conf'
装备后绑定功能打开
读取任务系统失败:'/PWServer/gamed/config/tasks.data','/PWServer/gamed/config/dyn_tasks.data'
第一步初始化失败,错误号:-4

still got that file path error even though the folder is correct and chmod 755

SOLVED
it looks like the library needs to be updated
 
Last edited:
Upvote 0
Junior Spellweaver
Joined
Nov 7, 2011
Messages
111
Reaction score
10
Version low can also be caused through sELedit. If for example you change price buy to 100, you'll get version low. Changing it to say..123 will fix it. Basically seems as though a value cant end in zero. Like the above post except with Gshop it cant be 0 as the absolute value.
 
Upvote 0
Newbie Spellweaver
Joined
Feb 23, 2010
Messages
48
Reaction score
2
Re: GS CrASHING

can you please add version too low error is caused when:
you make a new item in elements.data and set the sell price to be more than the buy price. sell price must always be < buy price
 
Upvote 0
Joined
Oct 14, 2009
Messages
5,493
Reaction score
2,299
Actually that doesn't sound right either (it's the same thing reversed) sell < buy == buy > sell

It would be, it HAS to be:

sell > buy
or
buy < sell

Because furthermore if I recall NPCs (and how they work) correctly, you have to think of it in terms of, IF YOU WERE THE NPC. IE. an NPC buying is actually you selling -- to the NPC. or. an NPC selling is actually you buying... (you have to think of it / say it / as if YOU were the NPC)...

So yea,

you wouldn't sell something for less than you'd buy it (sell < buy)(buy > sell) - X
you WOULD sell something for more than you'd buy it (sell > buy)(buy < sell) - O

Lets say I was an NPC vendor, and I sold PC's
-I sold them for 1,000,000 coins (you buy)
-I buy them for 2,000,000 coins (you sell)
that == sell < buy == buy > sell

That makes no sense anyway as you could buy one from me for 1,000,000 coins, even if you don't want one, to immediately turn around and sell it back to me for a 1,000,000 coin profit... This is why it CANNOT BE sell < buy or buy > sell

~~--~~
Lets say I was an NPC vendor, and I sold PC's
-I sold them for 2,000,000 coins (you buy)
-I buy them for 1,000,000 coins (you sell)
that == sell > buy == buy < sell

That makes perfect sense! You come to me to buy a pc for 2,000,000 coins. If for any reason you decide you don't want it or you are done with it (at any point in time), you can only get 1,000,000 coins back for it (1/2 your investment)

So there you have it. For vending NPC's:
[strike]sell < buy (or) buy > sell[/strike]
buy < sell (or) sell > buy
 
Upvote 0
Junior Spellweaver
Joined
Mar 26, 2004
Messages
153
Reaction score
11
Code:
gamed: err : 从数据库取得server data超时,worldtag=1
This error comes out rarely.
And Gamedbd is downed.

Code:
gdeliveryd: err : gdelivery:: connect GameDB failed
This error comes out every day.
However, a game can be played satisfactorily.
How is it solved if it carries out?
 
Upvote 0
Back
Top