JE
erro

Ajuda arrumar o erro?

Por JeanCristian, 07 de abr. de 2014 em Scripts

resolvido
script
7
1.3k
JeanCristianJ
07 de abril de 2014 às 18:58
[Error - LuaScriptInterface::loadFile] data/lib/banshotenin.lua:3: ')' expected near 'is'
[07/04/2014 18:32:14] [Warning - LuaScriptInterface::initState] Cannot load data/lib/
primeiro erro

 

if isPlayer(close.uid) == TRUE and getTilePzInfo(getCreaturePosition(cid)) == FALSE then

if s1 == FALSE and s2 == FALSE and s3 == FALSE then
doPlayerSendCancel(cid,Something is on the way.)
doSendMagicEffect(ppos,2)
end
if s3 == TRUE then
doDrawCreature(close.uid, checkTile(cid, 3), CONST_ME_GROUNDSHAKER)
end
if s3 == TRUE and s2 == TRUE then
doDrawCreature(close.uid, checkTile(cid, 2), CONST_ME_GROUNDSHAKER)
end
if s3 == TRUE and s2 == TRUE and s1 == TRUE then
doDrawCreature(close.uid, checkTile(cid, 1), CONST_ME_GROUNDSHAKER)
end
else
doPlayerSendCancel(cid,There is no one to draw.)
doSendMagicEffect(ppos,2)
return LUA_ERROR
end
end

 

 

o segundo erro é o seguinte,

 

[07/04/2014 18:57:35] OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such table: z_ots_comunication (SELECT * FROM z_ots_comunication WHERE "type" = 'login';)

[07/04/2014 18:57:36] OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such column: players.onlinetimetoday (UPDATE "players" SET "onlinetimetoday"=players.onlinetimetoday+60, "onlinetimeall"=players.onlinetimeall+60 WHERE "online" = 1;)

se alguem pduer me ajudar eu agradeço

DbkoD
07 de abril de 2014 às 20:10

Sql Coloca outra Sql acho melhor porque e pra nto Por de Site Com Account manager chama mas atenção dos Nuker Jaja Tento Resolver o Primeiro

JeanCristianJ
07 de abril de 2014 às 21:34

a segunda o problema é falta de table só adicionar uma tabela com querry, agora quero saber a primeira mesmo


'


'

OneshotO
07 de abril de 2014 às 21:51

O erro tá no doPlayerSendCancel. Strings tem aspas.

JeanCristianJ
07 de abril de 2014 às 21:56

se alguem puder fechar o topico eu agradeço

09 de abril de 2014 às 12:09

Tópico Fechado.

OmegaO
09 de abril de 2014 às 19:11

Tópico movido para a seção de dúvidas e pedidos resolvidos.