Marcos Posted July 16, 2018 at 09:25 PM Share Posted July 16, 2018 at 09:25 PM Download: Sistema Eleições Para Imperador.rar Scan: https://www.virustotal.com/pt/file/19790a97680a6eb2927495a7a3469b80f778c10b8e783452fa1ecae65517c860/analysis/1531776186/ Créditos: Shogun Source da DB: Monarch.cpp UPDATE monarch set money=%lld; where empire=%d To this: UPDATE monarch set money=%lld where empire=%d 1 Link to comment Share on other sites More sharing options...
LuizFernando Posted July 16, 2018 at 10:40 PM Share Posted July 16, 2018 at 10:40 PM Vai automaticamente, ou eu devo mexer na tabela pra colocar o imperador? Ou ao finalizar a quest o imperador vai automaticamente? Link to comment Share on other sites More sharing options...
Marcos Posted July 16, 2018 at 11:45 PM Author Share Posted July 16, 2018 at 11:45 PM (edited) 1 hora atrás, LuizFernando disse: Vai automaticamente, ou eu devo mexer na tabela pra colocar o imperador? Ou ao finalizar a quest o imperador vai automaticamente? Assim que você encerra a votação, é anunciado no chat os ganhador de cada reino e entregue automaticamente a Armadura imperisl e a benção angelical. Edited July 16, 2018 at 11:46 PM by Marcos Link to comment Share on other sites More sharing options...
igoriap Posted July 17, 2018 at 12:01 PM Share Posted July 17, 2018 at 12:01 PM como faz a remoção do imperador? so com nova eleição? Link to comment Share on other sites More sharing options...
LuizFernando Posted July 17, 2018 at 12:49 PM Share Posted July 17, 2018 at 12:49 PM Ah, obrigado! 13 horas atrás, Marcos disse: Assim que você encerra a votação, é anunciado no chat os ganhador de cada reino e entregue automaticamente a Armadura imperisl e a benção angelical. Mas não é preciso inserir os imperadores na tabela manualmente não?: Link to comment Share on other sites More sharing options...
igoriap Posted July 17, 2018 at 01:34 PM Share Posted July 17, 2018 at 01:34 PM 45 minutos atrás, LuizFernando disse: Ah, obrigado! Mas não é preciso inserir os imperadores na tabela manualmente não?: Não, ele faz a inserção automaticamente, depois de encerrado so teleportar o char que a quest aparece automaticamente. Link to comment Share on other sites More sharing options...
LuizFernando Posted July 17, 2018 at 02:42 PM Share Posted July 17, 2018 at 02:42 PM Perfeito, e como é inserido o valor de gold pro banco do reino? Pra que o imperador utilize? É manualmente né? Link to comment Share on other sites More sharing options...
igoriap Posted July 17, 2018 at 03:21 PM Share Posted July 17, 2018 at 03:21 PM Sim, player > monarch. Ou metes tudo a 0 no benção agelical xD Link to comment Share on other sites More sharing options...
LuizFernando Posted July 17, 2018 at 03:46 PM Share Posted July 17, 2018 at 03:46 PM Então está da mesma forma da minha quest, obrigado! Link to comment Share on other sites More sharing options...
Marcos Posted July 17, 2018 at 04:11 PM Author Share Posted July 17, 2018 at 04:11 PM 4 horas atrás, igoriap disse: como faz a remoção do imperador? so com nova eleição? Com novas eleições ou caso queira destituir um imperador porque fez algo de errado, basta excluir manualmente na tabela monarch em player. Link to comment Share on other sites More sharing options...
Defeituoso Posted July 18, 2018 at 11:00 PM Share Posted July 18, 2018 at 11:00 PM Muito bom, testado e aprovado Link to comment Share on other sites More sharing options...
WLN Posted July 18, 2018 at 11:03 PM Share Posted July 18, 2018 at 11:03 PM uma duvida, como funciona o gold do reino?ja que eu nunca fui muito a fundo com esse sistema Link to comment Share on other sites More sharing options...
Marcos Posted July 19, 2018 at 12:03 AM Author Share Posted July 19, 2018 at 12:03 AM 48 minutos atrás, wery disse: uma duvida, como funciona o gold do reino?ja que eu nunca fui muito a fundo com esse sistema Ai vai depender se você tem os 3% das lojas ativos que vão para os imperadores. Caso tenha removido basta adiconar gold manualmente ou retirar os valores na quest da Benção do imperador. Link to comment Share on other sites More sharing options...
igoriap Posted July 23, 2018 at 12:36 PM Share Posted July 23, 2018 at 12:36 PM Levantei uma dúvida aqui .. Quando o player for eleito no seu reino, e possivel ja inserir na tabela automaticamente o gold do reino? por exemplo quero que inicie com 99999999 ? Link to comment Share on other sites More sharing options...
Marcos Posted July 23, 2018 at 06:35 PM Author Share Posted July 23, 2018 at 06:35 PM Sim, basta inserir uma query na quest. Link to comment Share on other sites More sharing options...
igoriap Posted July 23, 2018 at 06:48 PM Share Posted July 23, 2018 at 06:48 PM pode me indicar o local correto para inserir? pois as bençãos não da para usar sem gold Link to comment Share on other sites More sharing options...
WLN Posted July 23, 2018 at 08:12 PM Share Posted July 23, 2018 at 08:12 PM o sistema está 100% funcional, tanto o gold ir para a tabela money do monarch quanto evocar boss, etc, tudo está como os conformes talvez caso não vá o gold fazendo essa alteração do Sanchez resolva. um ótimo sistema alias. You have to change this query, its just a typo or something. UPDATE monarch set money=%lld; where empire=%d To this: UPDATE monarch set money=%lld where empire=%d Link to comment Share on other sites More sharing options...
Marcos Posted July 23, 2018 at 10:01 PM Author Share Posted July 23, 2018 at 10:01 PM 1 hora atrás, wery disse: o sistema está 100% funcional, tanto o gold ir para a tabela money do monarch quanto evocar boss, etc, tudo está como os conformes talvez caso não vá o gold fazendo essa alteração do Sanchez resolva. um ótimo sistema alias. You have to change this query, its just a typo or something. UPDATE monarch set money=%lld; where empire=%d To this: UPDATE monarch set money=%lld where empire=%d Antes que perguntem onde encontrar: UPDATE monarch set money=%lld; where empire=%d Fica na Source da DB: Monarch.cpp Link to comment Share on other sites More sharing options...
CAMBOJA Posted June 9, 2019 at 12:16 PM Share Posted June 9, 2019 at 12:16 PM Vou testar para ver como funciona! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now