typical error and more > a helping hand

RaGEZONER
Loyal Member
Joined
Sep 29, 2009
Messages
1,567
Reaction score
322
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:
use textpad++ > file > new > input this text > go to encoding > character set > chinese > gb2312
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
    • translated:
      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
wrong server | file path

  • edit " server/gamed/gs.conf | gsalias.conf [ llok at template ] "
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

    343 says
    petyo73 says
 
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


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

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