Jump to content

[C++]6 Slots Pedras Armas/armaduras


Karbust
 Share

Recommended Posts

Boas pessoal

 

Venho aqui partilhar um tutorial que encontrei de como adicionar 6 pedras nas armas ou armaduras...

 

Vamos começar...

 

 

 

Abrir o ficheiro "db/src/AuctionManager.cpp"

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Adicionar:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

 

Abrir o ficheiro "db/src/Cache.cpp"

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir a função toda por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

 

Abrir o ficheiro "db/src/ClientManager.cpp"

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir todos por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Adicionar a seguir:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Adicionar a seguir:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

 

Abrir o ficheiro "db/src/ClientManagerPlayer.cpp"

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Adicionar a seguir:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Procurar por (x2):

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Adicionar a seguir:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

 

Abrir o ficheiro "db/src/ItemAwardManager.cpp"

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Adicionar a seguir:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Adicionar a seguir:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

 

Abrir o ficheiro "db/src/ItemAwardManager.h"

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Adicionar a seguir:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

 

Abrir o ficheiro "commom/item_lenght.h"

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

 

Abrir o ficheiro "game/src/constants.cpp"

 

Substituir 3 por 6 em:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

 

Source Cliente:

 

Abrir o ficheiro "UserInterface/GameType.h"

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Abrir o ficheiro "UserInterface/PythonChatModule.cpp"

 

Procurar pela função:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir toda por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

 

Abrir o ficheiro "UserInterface/PythonPlayerModule.cpp"

 

Procurar pela função:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir toda por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

 

Cliente (python):

 

Abrir o ficheiro "root/uitooltip.py"

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Base de Dados:

 

Na tabela "player/item_proto"

 

Em socket_pct alterar para o 3 para 4, 5 ou 6 .

 

 

Dump Proto (para quem usa):

 

No ficheiro "dump_proto.cpp"

 

Procurar por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Substituir por:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

 

 

Resultado:

Hidden Content

    Give reaction to this post to see the hidden content.

 

Espero que gostem

 

Fonte:

Hidden Content

    Give reaction to this post to see the hidden content.

Link to comment
Share on other sites

  • 8 months later...

Bom dia ...

Eu estou tentand adicionar as 6 pedras, mais ao tentar ligar sae o seguinte erro:

Syserr:

SYSERR: Jun 6 10:02:58.619833 :: Load: DirectQuery failed(SELECT IP_FROM, IP_TO, COUNTRY_NAME FROM iptocountry)

SYSERR: Jun 6 10:03:02.920903 :: ChildLoop: AsyncSQL: query failed: Unknown column 'socket3' in 'field list' (query: SELECT id,login,vnum,count,socket0,socket1,socket2,socket3,socket4,socket5,mall,why FROM item_award WHERE taken_time IS NULL and id > 0 errno: 1054)

SYSERR: Jun 6 10:03:02.930875 :: ChildLoop: AsyncSQL: query failed: Unknown column 'socket3' in 'field list' (query: SELECT id,login,vnum,count,socket0,socket1,socket2,socket3,socket4,socket5,mall,why FROM item_award WHERE taken_time IS NULL and id > 0 errno: 1054)

SYSERR: Jun 6 10:03:02.949201 :: ChildLoop: AsyncSQL: query failed: Unknown column 'socket3' in 'field list' (query: SELECT id,login,vnum,count,socket0,socket1,socket2,socket3,socket4,socket5,mall,why FROM item_award WHERE taken_time IS NULL and id > 0 errno: 1054)

SYSERR: Jun 6 10:03:02.954047 :: ChildLoop: AsyncSQL: query failed: Unknown column 'socket3' in 'field list' (query: SELECT id,login,vnum,count,socket0,socket1,socket2,socket3,socket4,socket5,mall,why FROM item_award WHERE taken_time IS NULL and id > 0 errno: 1054)

SYSERR: Jun 6 10:03:02.955824 :: ChildLoop: AsyncSQL: query failed: Unknown column 'socket3' in 'field list' (query: SELECT id,login,vnum,count,socket0,socket1,socket2,socket3,socket4,socket5,mall,why FROM item_award WHERE taken_time IS NULL and id > 0 errno: 1054)

SYSERR: Jun 6 10:03:05.964329 :: ChildLoop: AsyncSQL: query failed: Unknown column 'socket3' in 'field list' (query: SELECT id,login,vnum,count,socket0,socket1,socket2,socket3,socket4,socket5,mall,why FROM item_award WHERE taken_time IS NULL and id > 0 errno: 1054)

SYSERR: Jun 6 10:03:10.127344 :: ChildLoop: AsyncSQL: query failed: Unknown column 'socket3' in 'field list' (query: SELECT id,login,vnum,count,socket0,socket1,socket2,socket3,socket4,socket5,mall,why FROM item_award WHERE taken_time IS NULL and id > 0 errno: 1054)

SYSERR: Jun 6 10:03:15.62724 :: ChildLoop: AsyncSQL: query failed: Unknown column 'socket3' in 'field list' (query: SELECT id,login,vnum,count,socket0,socket1,socket2,socket3,socket4,socket5,mall,why FROM item_award WHERE taken_time IS NULL and id > 0 errno: 1054)

SYSERR: Jun 6 10:03:20.62363 :: ChildLoop: AsyncSQL: query failed: Unknown column 'socket3' in 'field list' (query: SELECT id,login,vnum,count,socket0,socket1,socket2,socket3,socket4,socket5,mall,why FROM item_award WHERE taken_time IS NULL and id > 0 errno: 1054)

SYSERR: Jun 6 10:03:22.967548 :: Process: FDWATCH: peer null in event: ident 22

 

Alguém saberia o porque desse erro?

 

Desde já agradeço a ajuda, bom dia a todos...

Link to comment
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
 Share

×
×
  • Create New...