Jump to content
Dynamic Things

Como Alterar Nível Máximo [Src]

Recommended Posts

Game/src

Abrir char.cpp

Procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Abrir char.h

Procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

No mesmo ficheiro procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Abrir party.cpp

procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

no mesmo ficheiro procurar por:

Please login or register to see this code.

alterar por :

Please login or register to see this code.

E ainda no mesmo ficheiro procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

No mesmo ficheiro procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Abrir ficheiro party.h

procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Também procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Procurar também por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Abrir char_battle.cpp

Procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Procurar também por:

Please login or register to see this code.

Por isto:

Please login or register to see this code.

Abrir config.h

procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Abrir locale_service.cpp

Alterar isso:

Please login or register to see this code.

Por isso:

Please login or register to see this code.

Abrir constants.cpp

Aqui é o local, onde decides o nível máximo que queres adicionar, Se quiseres adicionar nível máximo 400 ou mais, então tens que adicionar 400 ou mais tabelas.

Please login or register to see this code.

Abrir log.h

procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Abrir log.cpp

procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Abrir guild.h

Procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Procurar também por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Procurar:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Procurar também por:

Please login or register to see this code.

e alterar por:

Please login or register to see this code.

Depois ainda no mesmo ficheiro procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Abrir guild.cpp

Procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

No mesmo ficheiro procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Procurar por:

Please login or register to see this code.

Alterar a função por:

Please login or register to see this code.

Procurar por:

Please login or register to see this code.

Alterar a função por:

Please login or register to see this code.

Procurar por:

Please login or register to see this code.

Alterar função por:

Please login or register to see this code.

Procurar por:

Please login or register to see this code.

Alterar a função por:

Please login or register to see this code.

Procurar por:

Please login or register to see this code.

Alterar a função por:

Please login or register to see this code.

Procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

common/

Abrir tables.h

Procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Procurar por:

(depois de typedef struct SPacketPartySetMemberLevel)

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Procurar por isso:

(depois de typedef struct SPacketDGGuildMember)

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Abrir lenght.h

Aqui adicionamos o nível máximo que queremos.

Please login or register to see this code.

db/src

Abrir ClientManager.h

Procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Abrir ClientManagerPlayer.cpp

Procurar:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

cliente/src

Abrir packet.h

Procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

Abrir PythonGuild.h

Procurar por:

Please login or register to see this code.

Alterar por:

Please login or register to see this code.

E finalmente, edita a coluna level na tabela player da base de dados player. Define o tipo de tinyint para smallint ( ou int, depende do valor do nível máximo) e aumenta o tamanho para 3 ( ou maior ).

Como fazer em video.

Please login or register to see this spoiler.

  • Upvote 3

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

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.