Ir para conteúdo
  • 0

Por Favor Ajudae... War System Com Escudos


180209

Pergunta

Fiz tudo que estava no topico, mas quando vou abrir meu server da esses erros..

 

[18/08/2012 12:22:56] [Error - LuaScriptInterface::loadFile] data/talkactions/scripts/war.lua:1: 'end' expected near '<eof>'
[18/08/2012 12:22:56] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/war.lua)
[18/08/2012 12:22:56] data/talkactions/scripts/war.lua:1: 'end' expected near '<eof>'
[18/08/2012 12:22:56] [Error - LuaScriptInterface::loadFile] data/talkactions/scripts/balance.lua:1: 'end' expected near '<eof>'
[18/08/2012 12:22:56] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/balance.lua)
[18/08/2012 12:22:56] data/talkactions/scripts/balance.lua:1: 'end' expected near '<eof>'
[18/08/2012 12:22:56] [Error - LuaScriptInterface::loadFile] data/globalevents/scripts/start.lua:6: ')' expected (to close '(' at line 5) near 'return'
[18/08/2012 12:22:56] [Warning - Event::loadScript] Cannot load script (data/globalevents/scripts/start.lua)
[18/08/2012 12:22:56] data/globalevents/scripts/start.lua:6: ')' expected (to close '(' at line 5) near 'return'

 

 

 

Por Favor Alguem me Ajuda?

Link para o comentário
Compartilhar em outros sites

3 respostass a esta questão

Posts Recomendados

  • 0

tente usar esse

 

 

(data/globalevents/scripts/start.lua) troca o que tem nele por esse que te mandei

 

function onStartup()

db.executeQuery("UPDATE `players` SET `online` = 0 WHERE `world_id` = " .. getConfigValue('worldId') .. ";")

db.executeQuery("DELETE FROM `guild_wars` WHERE `status` = 0 AND `begin` < " .. (os.time() - 2 * 86400) .. ";")

db.executeQuery("UPDATE `guild_wars` SET `status` = 5, `end` = " .. os.time() .. " WHERE `status` = 1 AND `end` > 0 AND `end` < " .. os.time() .. ";")

end

 

se ajudei da rep+

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

  • 0

A questão do Start Deu Certo.. Agora do War e balance.. Ainda falta... tem como ajudar?

 

 

[18/08/2012 13:01:01] [Error - LuaScriptInterface::loadFile] data/talkactions/scripts/war.lua:1: 'end' expected near '<eof>'

[18/08/2012 13:01:01] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/war.lua)

[18/08/2012 13:01:01] data/talkactions/scripts/war.lua:1: 'end' expected near '<eof>'

[18/08/2012 13:01:01] [Error - LuaScriptInterface::loadFile] data/talkactions/scripts/balance.lua:1: 'end' expected near '<eof>'

[18/08/2012 13:01:01] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/balance.lua)

[18/08/2012 13:01:01] data/talkactions/scripts/balance.lua:1: 'end' expected near '<eof>'

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...