antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More
Sign in to follow this  
-Dash_

[Source]Vm - Game E Db

51 posts in this topic

Server Files nao arranja amigo?

Prometo que postarei essa semana, Files + Cliente.

Share this post


Link to post
Share on other sites
antiblock
Elveron

Boot: shop table size error

 

Quando tento ligar o servidor da erro, alguém ajuda ?

Share this post


Link to post
Share on other sites

Taipan, 

 

Envia o syserr da db, do ch99, ch1 e auth.

Share this post


Link to post
Share on other sites

DB:

 

SYSERR: Oct 19 16:40:33.994390 :: pid_init: 
Start of pid: 91398
 
SYSERR: Oct 19 16:40:33.994453 :: Start: TABLE_POSTFIX not configured use default
SYSERR: Oct 19 16:40:42 :: Process: FDWATCH: peer null in event: ident 21
SYSERR: Oct 19 16:40:44 :: Process: FDWATCH: peer null in event: ident 21
 
AUTH:
 
SYSERR: Oct 19 16:40:39.14439 :: pid_init: 
Start of pid: 91400
 
SYSERR: Oct 19 16:40:39.14780 :: socket_bind: bind: Address already in use
SYSERR: Oct 19 16:40:39.16441 :: ChildLoop: AsyncSQL::ChildLoop : mysql_query error: Duplicate entry '2015' for key 'PRIMARY':
query: INSERT INTO bootlog (time, hostname, channel) VALUES(NOW(), 'auth', 6)
 
CH1:
 
SYSERR: Oct 19 16:40:41.25383 :: pid_init: 
Start of pid: 91402
 
SYSERR: Oct 19 16:40:41.29663 :: ChildLoop: AsyncSQL: query failed: Table 'player.string' doesn't exist (query: SELECT name, text FROM string errno: 1146)
SYSERR: Oct 19 16:40:41.30131 :: ChildLoop: AsyncSQL: query failed: Duplicate entry '2015' for key 'PRIMARY' (query: INSERT INTO bootlog (time, hostname, channel) VALUES(NOW(), 'channel1_core1', 1) errno: 1062)
SYSERR: Oct 19 16:40:42.27489 :: Boot: shop table size error
SYSERR: Oct 19 16:40:42.27995 :: SpawnEventHelper: cannot get map base position 1
SYSERR: Oct 19 16:40:42.28002 :: SpawnEventHelper: cannot get map base position 3
SYSERR: Oct 19 16:40:42.28008 :: SpawnEventHelper: cannot get map base position 21
SYSERR: Oct 19 16:40:42.28013 :: SpawnEventHelper: cannot get map base position 23
SYSERR: Oct 19 16:40:42.28018 :: SpawnEventHelper: cannot get map base position 41
SYSERR: Oct 19 16:40:42.28024 :: SpawnEventHelper: cannot get map base position 43
SYSERR: Oct 19 16:40:42.285762 :: pid_deinit: 
End of pid
 
CH99:
 
SYSERR: Oct 19 16:40:43.46121 :: pid_init: 
Start of pid: 91404
 
SYSERR: Oct 19 16:40:44.16010 :: Boot: shop table size error
SYSERR: Oct 19 16:40:44.275850 :: pid_deinit: 
End of pid

Share this post


Link to post
Share on other sites

Suas files o Shop são quantos slots ? 80 ? 

Share this post


Link to post
Share on other sites

Olha eu estou utilizando game e db compilado com a source que você postou. Acho que são 40 slots como vejo ?

Share this post


Link to post
Share on other sites

Olha eu estou utilizando game e db compilado com a source que você postou. Acho que são 40 slots como vejo ?

Sim, são apenas 40 slots. Vou postar umas files no máximo até quinta-feira

Share this post


Link to post
Share on other sites

TaipanServiços faz uma reparação na tabela "Shop" no navicat talvez resolva ;)

Share this post


Link to post
Share on other sites

Sua Game anterior é de 80 slots ? 

Share this post


Link to post
Share on other sites

É por isso. Porque os itens dos seus NPC's Shop's está ultrapassando os 40 slots do meu game. Sacou ? 

Share this post


Link to post
Share on other sites

Vamos adicionar então os 80 Slot's.

 

Abra length.h(/common)

 

Localize:

SHOP_HOST_ITEM_MAX_NUM = 40

Altere para:

SHOP_HOST_ITEM_MAX_NUM = 80

Localize:

SHOP_PRICELIST_MAX_NUM = 40

Altere para:

SHOP_PRICELIST_MAX_NUM = 80

Abra shop.cppshop_manager.cpp (game/src)

 

Localize:

m_pGrid = M2_NEW CGrid(5, 9)

Altere para:

m_pGrid = M2_NEW CGrid(10, 9)

Após isso, é só compilar! :D

Share this post


Link to post
Share on other sites

Mais amigo , eu limpei a tabela shop coloquei apenas um item.

 

Tipo, você sabe como faz pra game e db ficar com menos peso? pois elas são de 64mb!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this