NoName? 191 Posted July 26, 2013 Boas Noites Cybers tou a ter um problema quando eu coloque um NPC no Reino e quando vou tentar abrir ele não abre ???? alguem sabe resolver isso na Navicat agradacia dando o meu http://cyber-gamers.org/public/style_emoticons/default/451960.gif Share this post Link to post Share on other sites
Zeraw 144 Posted July 26, 2013 Vou dar o exemplo do professor de warrior corpo.Prof warrior corpo = 20320Livro de habilidades ataque triplo = 504011º --&--#62; Ligar o servidor, e abrir o navicat.2º --&--#62; Abrir a bd shop e clicar no +.3º --&--#62; Depois na coluna "vnum" por um numero que não esteja a ser utilizado, na coluna "name" eu pus o nome do prof e na coluna "npc_vnum" o id do professor neste caso 20320; vai ficar +/- assim.4º --&--#62; Agora abrem a bd "shop_item" voltam a clicar no +, e agora na coluna "shop_vnum" poem o id que puseram na coluna "vnum" da bd "shop", na coluna "item_vnum" poem o id dos livros ( ou o que que quiserem por no prof).5º --&--#62; Vão a bd "mob_proto" e procuram o id do prof, depois uma das colunas chama-se "on_click" e ai vocês pôem 1.6º --&--#62; Dão reboot no virtual pc e vão confirmar. 3 ShadowKnight, NoName? and cejota1 reacted to this Share this post Link to post Share on other sites
NoName? 191 Posted July 26, 2013 Vou tentar fazer isso Obrigado Share this post Link to post Share on other sites
cejota1 4 Posted July 26, 2013 A LOJA ESTA FUNCIONAL, MAS SOMENTE SE VOCE CHAMAR O NPC EM OUTRO LUGAR, NO LUGAR PADRÃO NÃO ABRE LOJA =( Share this post Link to post Share on other sites
NewWars 875 Posted July 26, 2013 Tentem com uma Quest, poderá dar. Quest shoptest begin state start begin when ID DO NPC.chat."Abrir Loja" begin npc.open_shop(ID DA LOJA) end endend Não testei, fiz de cabeça. Share this post Link to post Share on other sites