friend 254 Posted June 20, 2014 Boas pessoal, tenho aqui uma Quest que anda por ai na CG, configurei tudo mas está me a dar erro ao Compilar.. O Erro é o Seguinte: A Quest é a Seguinte: quest drop_item beginstate start beginwhen kill with not npc.is_pc() beginlocal item_list = {--mob_vnum, item_vnum, item_count, rate, min_level, max_level{ 601, 11299, 1, 2, 1, 99 },{ 601, 11499, 1, 2, 1, 99 },{ 601, 11699, 1, 2, 1, 99 }}for i = 1, table.getn(item_list), 1 dolocal mobVnum, itemVnum, itemCount, getRate, minLevel, maxLevel = tonumber(item_list[i][1]), (item_list[i][2]), (item_list[i][3]), (item_list[i][4]), (item_list[i][5]), (item_list[i][6])if npc.get_race() == mobVnum and pc.get_level() >= minLevel and pc.get_level() <= maxLevel and getRate >= number(0, 10000) / 100 thenpc.give_item2(itemVnum, itemCount)endendendendend Se Alguém Conseguir Ajudar, Agradecia :D Striker, Let the game begin! Share this post Link to post Share on other sites
0 friend 254 Posted June 20, 2014 quest drop_item beginstate start beginwhen kill with not npc.is_pc() begin Sim mas isso é ao colocar o texto em Code ele faz isso sozinho. A quest original está como tu colocas-te. #EDIT Acho que descobri... OMG! #EDIT2 Yup Descobri... O problema é que usei ( em vez de { ... Nice Try My Friend. Share this post Link to post Share on other sites
0 .тιαgσ 624 Posted June 20, 2014 quest drop_item beginstate start beginwhen kill with not npc.is_pc() begin Tenta assim Share this post Link to post Share on other sites
0 friend 254 Posted June 20, 2014 quest drop_item beginstate start beginwhen kill with not npc.is_pc() begin Tenta assim Mas isso é o que eu tenho ._. Share this post Link to post Share on other sites
0 .тιαgσ 624 Posted June 20, 2014 quest drop_item beginstate start beginwhen kill with not npc.is_pc() begin Share this post Link to post Share on other sites
0 .тιαgσ 624 Posted June 20, 2014 Eu acho que é isto então when kill with not npc.is_pc() begin Tira o not e testa, se eu percebi o que queres é que o jogador quando mate um mob ele drope qualquer coisa, logo o o jogador tem de ser o pc Share this post Link to post Share on other sites
0 friend 254 Posted June 20, 2014 Eu acho que é isto então when kill with not npc.is_pc() begin Tira o not e testa, se eu percebi o que queres é que o jogador quando mate um mob ele drope qualquer coisa, logo o o jogador tem de ser o pc Mas já está resolvido ._. Não inventes xD O Master (eu) já descobriu o erro e já corrigiu. Prova: Vês.. sem erros :D Share this post Link to post Share on other sites
0 .тιαgσ 624 Posted June 20, 2014 Mas já está resolvido ._. Não inventes xD O Master (eu) já descobriu o erro e já corrigiu. Prova: Vês.. sem erros :D xD, eu que parte da quest é que tinha ( em vez de { ? Share this post Link to post Share on other sites
0 friend 254 Posted June 20, 2014 xD, eu que parte da quest é que tinha ( em vez de { ? Onde eu definia os Drops. Tinha: ( 601 , 19 , ... , ... , .... , 1 , 99 ), ( = Erro { = Não Erro Share this post Link to post Share on other sites
0 .тιαgσ 624 Posted June 20, 2014 Onde eu definia os Drops. Tinha: ( 601 , 19 , ... , ... , .... , 1 , 99 ), ( = Erro { = Não Erro Só se for no teu no meu está direito kkkk Mastermind causa o seu próprio erro kkkk Share this post Link to post Share on other sites
0 friend 254 Posted June 20, 2014 Só se for no teu no meu está direito kkkk Mastermind causa o seu próprio erro kkkk Hooo Bambi Aka Master Chef. Isso está assim, porque a Original tem 500 linhas de Código. Apenas coloquei esses exemplos de Drops xD Mas a original tem xD Share this post Link to post Share on other sites
0 .тιαgσ 624 Posted June 20, 2014 Hooo Bambi Aka Master Chef. Isso está assim, porque a Original tem 500 linhas de Código. Apenas coloquei esses exemplos de Drops xD Mas a original tem xD Eu não tenho culpa da sua burrice se tivesse posto as 500 eu diria logo qual era o erro Share this post Link to post Share on other sites
0 friend 254 Posted June 20, 2014 Eu não tenho culpa da sua burrice se tivesse posto as 500 eu diria logo qual era o erro A minha RAM não aguenta com tanto Código. O meu pc iria se desligar. Share this post Link to post Share on other sites
0 .тιαgσ 624 Posted June 20, 2014 A minha RAM não aguenta com tanto Código. O meu pc iria se desligar. Share this post Link to post Share on other sites
0 friend 254 Posted June 20, 2014 kkkkkkkkkkkkkkk hahahahahahhaha Share this post Link to post Share on other sites
0 .тιαgσ 624 Posted June 20, 2014 kkkkkkkkkkkkkkk hahahahahahhaha :ass: Share this post Link to post Share on other sites
Boas pessoal, tenho aqui uma Quest que anda por ai na CG, configurei tudo mas está me a dar erro ao Compilar..
O Erro é o Seguinte:
A Quest é a Seguinte:
Se Alguém Conseguir Ajudar, Agradecia :D
Striker, Let the game begin!
Share this post
Link to post
Share on other sites