Ir para conteúdo

[Daily Catch]


Deadpool

Posts Recomendados

if getPlayerStorageValue(cid, objetos.storages.endQuest) >= 1 then		selfSay("Você já completou minha task por hoje.", cid)		talkState[talkUser] = 0		tchau = true		focus = 0		return true		end   

local tchau = true

tchau = true hã?

Link para o comentário
Compartilhar em outros sites

Agora, KarlKalvin disse:
if getPlayerStorageValue(cid, objetos.storages.endQuest) >= 1 then		selfSay("Você já completou minha task por hoje.", cid)		talkState[talkUser] = 0		tchau = true		focus = 0		return true		end   

local tchau = true

tchau = true hã?

corrigi :v KKK alterei pra vê se tava dando um bug que ocorria, mas vlw u.u

Link para o comentário
Compartilhar em outros sites

Spoiler

[28/09/2016 04:59:11] [Error - Npc interface] 
[28/09/2016 04:59:11] data/npc/scripts/Daily Catch.lua:onCreatureSay
[28/09/2016 04:59:11] Description: 
[28/09/2016 04:59:11] data/lib/004-database.lua:76: [Result:getDataString] Result not set!
[28/09/2016 04:59:11] stack traceback:
[28/09/2016 04:59:11]     [C]: in function 'error'
[28/09/2016 04:59:11]     data/lib/004-database.lua:76: in function <data/lib/004-database.lua:74>
[28/09/2016 04:59:11]     (tail call): ?
[28/09/2016 04:59:11]     data/lib/dailyCatch.lua:80: in function 'getListOfObjectsByDifficulty'
[28/09/2016 04:59:11]     data/npc/scripts/Daily Catch.lua:21: in function 'callback'
[28/09/2016 04:59:11]     data/npc/lib/npcsystem/npchandler.lua:391: in function 'onCreatureSay'
[28/09/2016 04:59:11]     data/npc/scripts/Daily Catch.lua:6: in function <data/npc/scripts/Daily Catch.lua:6>

 

hmm tive problemas adicionando a tabela no sql pois nao tava aceitando o codigo como vc postou ali tive q colocar assim

 

Spoiler
CREATE TABLE player_daily_catch (player_name VARCHAR(255),dificuldade VARCHAR(20),opcao_poke1 VARCHAR(30),opcao_poke2 VARCHAR(30),poke_escolhido VARCHAR(30));

 

 

Link para o comentário
Compartilhar em outros sites

2 horas atrás, Josegvb disse:

[28/09/2016 04:59:11] [Error - Npc interface] 

[28/09/2016 04:59:11] data/npc/scripts/Daily Catch.lua:onCreatureSay

[28/09/2016 04:59:11] Description: 

[28/09/2016 04:59:11] data/lib/004-database.lua:76: [Result:getDataString] Result not set!

[28/09/2016 04:59:11] stack traceback:

[28/09/2016 04:59:11]     [C]: in function 'error'

[28/09/2016 04:59:11]     data/lib/004-database.lua:76: in function <data/lib/004-database.lua:74>

[28/09/2016 04:59:11]     (tail call): ?

[28/09/2016 04:59:11]     data/lib/dailyCatch.lua:80: in function 'getListOfObjectsByDifficulty'

[28/09/2016 04:59:11]     data/npc/scripts/Daily Catch.lua:21: in function 'callback'

[28/09/2016 04:59:11]     data/npc/lib/npcsystem/npchandler.lua:391: in function 'onCreatureSay'

[28/09/2016 04:59:11]     data/npc/scripts/Daily Catch.lua:6: in function <data/npc/scripts/Daily Catch.lua:6>

mesmo erro aqui.

 

Link para o comentário
Compartilhar em outros sites

4 minutos atrás, Deadpool disse:
CREATE TABLE player_daily_catch (player_name VARCHAR(255),dificuldade VARCHAR(20),opcao_poke1 VARCHAR(30),opcao_poke2 VARCHAR(30),poke_escolhido VARCHAR(30))

 

 

mesmo erro

Spoiler

 

[28/09/2016 09:00:43] [Error - Npc interface] 

[28/09/2016 09:00:43] data/npc/scripts/Daily Catch.lua:onCreatureSay

[28/09/2016 09:00:43] Description: 

[28/09/2016 09:00:43] data/lib/004-database.lua:76: [Result:getDataString] Result not set!

[28/09/2016 09:00:43] stack traceback:

[28/09/2016 09:00:43]     [C]: in function 'error'

[28/09/2016 09:00:43]     data/lib/004-database.lua:76: in function <data/lib/004-database.lua:74>

[28/09/2016 09:00:43]     (tail call): ?

[28/09/2016 09:00:43]     data/lib/dailyCatch.lua:80: in function 'getListOfObjectsByDifficulty'

[28/09/2016 09:00:43]     data/npc/scripts/Daily Catch.lua:21: in function 'callback'

[28/09/2016 09:00:43]     data/npc/lib/npcsystem/npchandler.lua:391: in function 'onCreatureSay'

[28/09/2016 09:00:43]     data/npc/scripts/Daily Catch.lua:6: in function <data/npc/scripts/Daily Catch.lua:6>

 

 

Link para o comentário
Compartilhar em outros sites

achei q era erro nas sources mas testei nas 3 sources e nao, mesmo erro, ajuda? @Deadpool 

Spoiler


[28/09/2016 11:41:43] [Error - Npc interface] 
[28/09/2016 11:41:43] data/npc/scripts/Daily Catch.lua:onCreatureSay
[28/09/2016 11:41:43] Description: 
[28/09/2016 11:41:43] data/lib/004-database.lua:76: [Result:getDataString] Result not set!
[28/09/2016 11:41:43] stack traceback:
[28/09/2016 11:41:43]     [C]: in function 'error'
[28/09/2016 11:41:43]     data/lib/004-database.lua:76: in function <data/lib/004-database.lua:74>
[28/09/2016 11:41:43]     (tail call): ?
[28/09/2016 11:41:43]     data/lib/dailyCatch.lua:80: in function 'getListOfObjectsByDifficulty'
[28/09/2016 11:41:43]     data/npc/scripts/Daily Catch.lua:21: in function 'callback'
[28/09/2016 11:41:43]     data/npc/lib/npcsystem/npchandler.lua:391: in function 'onCreatureSay'
[28/09/2016 11:41:43]     data/npc/scripts/Daily Catch.lua:6: in function <data/npc/scripts/Daily Catch.lua:6>
 

 

2 horas atrás, Deadpool disse:

CREATE TABLE player_daily_catch (
player_name VARCHAR(255),
dificuldade VARCHAR(20),
opcao_poke1 VARCHAR(30),
opcao_poke2 VARCHAR(30),
poke_escolhido VARCHAR(30)
)

 

Editado por Josegvb
Link para o comentário
Compartilhar em outros sites

alguem consegueu usar o sistema sem esse erro? 

 

[28/09/2016 11:41:43] [Error - Npc interface] 
[28/09/2016 11:41:43] data/npc/scripts/Daily Catch.lua:onCreatureSay
[28/09/2016 11:41:43] Description: 
[28/09/2016 11:41:43] data/lib/004-database.lua:76: [Result:getDataString] Result not set!
[28/09/2016 11:41:43] stack traceback:
[28/09/2016 11:41:43]     [C]: in function 'error'
[28/09/2016 11:41:43]     data/lib/004-database.lua:76: in function <data/lib/004-database.lua:74>
[28/09/2016 11:41:43]     (tail call): ?
[28/09/2016 11:41:43]     data/lib/dailyCatch.lua:80: in function 'getListOfObjectsByDifficulty'
[28/09/2016 11:41:43]     data/npc/scripts/Daily Catch.lua:21: in function 'callback'
[28/09/2016 11:41:43]     data/npc/lib/npcsystem/npchandler.lua:391: in function 'onCreatureSay'
[28/09/2016 11:41:43]     data/npc/scripts/Daily Catch.lua:6: in function <data/npc/scripts/Daily Catch.lua:6>

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...