Ir para conteúdo

nao esta injetando bless automaticamente funçao e injetar a bless ate para bleck skull

Featured Replies

Postado

elas tem que funcionar em comjuntos esas 2 aki

 

1--login.lua

 

 

dofile("war.lua")
 
local configs = {
        text = "!t 1 - Ankrahmun\n!t 2 - Ab'dendriel\n!t 3 - Svargrond\n!t 4 - Kazzordon\n!t 5 - Wies\n!t 6 - Venore\n!t 7 - Elf Town\n!t 8 - Training Monks",
}
 
local texts = {
"Bem vindo ao WarOT's, segue a lista de todos comandos:",
"!online                -> Ver players online",
"!uptime                -> Ver UPTime do server",
"!frags                 -> Veja seus Frags",
"!deaths                -> Veja suas Mortes",
"!news                  -> Para saber as noticias",
"!t                     -> Digite !t EX: !t 1",
"!rank                  -> Ver os TOPs",
"!tops                  -> Ver os TOPs Fraggers",
"!go                    -> Trocar para a mesma OUTFIT que o lider da party"
}
 
local config = {
loginMessage = getConfigValue('loginMessage'),
useFragHandler = getBooleanFromString(getConfigValue('useFragHandler'))
}
 
function onLogin(cid)
local loss = getConfigValue('deathLostPercent')
if(loss ~= nil) then
doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
end
 
local accountManager = getPlayerAccountManager(cid)
if(accountManager == MANAGER_NONE) then
local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage
if(lastLogin > 0) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "."
else
str = str .. " Please choose your outfit."
end
 
doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
elseif(accountManager == MANAGER_NAMELOCK) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?")
elseif(accountManager == MANAGER_ACCOUNT) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.")
end
 
if(not isPlayerGhost(cid)) then
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
end
 
 
      for t = 1, #texts do
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, texts[t])
end
 
registerCreatureEvent(cid, "StartSkills")
registerCreatureEvent(cid, 'antiloss')
registerCreatureEvent(cid, "Mail")
registerCreatureEvent(cid, "TL")
registerCreatureEvent(cid, "PlayerDeath")
registerCreatureEvent(cid, "GuildMotd")
registerCreatureEvent(cid, "Kill")
registerCreatureEvent(cid, "Kill2")
registerCreatureEvent(cid, "First Items")
registerCreatureEvent(cid, "Skull")
registerCreatureEvent(cid, "Skulll")
                    registerCreatureEvent(cid, 'FLook')
registerCreatureEvent(cid, "Idle")
if(config.useFragHandler) then
registerCreatureEvent(cid, "SkullCheck")
end
 
registerCreatureEvent(cid, "ReportBug")
registerCreatureEvent(cid, "AdvanceSave")
return true
end
 
 
 
--------------------------------------------------------------------------------------------------------------------------------------------

segunda -- war.lua

 

-- Admin Account
-- Change it and restart server!
-- If you change it again, it update after next restart.
-- You have to logout and exit the character window by restart and changing.
admin_account = "759"
admin_password = "155"
admin_name = "[ God ] Warots"
 
-- Settings
enable_Examples = "no"         -- Sorcerer / Druid / Paladin / Knight for 1/1?
allowPartyLeaveCommand = "yes"  -- allow !leave ?
showLoginsAndLogouts = "no"    -- print ...logged in/out in gui/console?
allowSelfLeveling = "no"        -- points / exp / skull by killing chars with same ip?
 
-- Outfit
enable_outfitSave = "yes"
 
--> set outfit
saving_exhaustion_storage = 3000
outfit_saving_exhaustion = 30
 
--> get outfit
saving_exhaustion_storage2 = 3001
outfit_saving_exhaustion2 = 30 
 
-- Highscore
playersMaxAtHightscore = 10
max_GroupID_on_Highscore = 1
dont_showing_names_at_highscore = {
"Account Manager",
"Master Sorcerer",
"Elder Druid",
"Royal Paladin",
"Elite Knight",
"Sorcerer",
"Druid",
"Paladin",
"Knight"
}
 
-- Party Attack
enable_antiPartyAttack = "no" -- anti party damage
anti_party_attack_msg_storage = 2000
anti_party_talkaction_storage = 2001
 
        -- Team Position
world_storage = 1000
start_pos = { -- please don't change the author of the maps they already exist!!
[1] = {
author = "LSDelmondes",
name = "War",
positions = {
{x = 220, y = 219, z = 7},
{x = 168, y = 250, z = 6},
{x = 319, y = 313, z = 7},
{x = 308, y = 395, z = 7},
{x = 301, y = 172, z = 7},
{x = 249, y = 268, z = 7},
{x = 210, y = 321, z = 7}
}}
}
 
 
-- Map change
map_change_config = {
enable_mapChange = "no",
global_timer_storage = 6000,
time = {
1150, -- warning
1170, -- warning
1190, -- warning
1200  -- map change // 30 min (30[min] * 60[sec])
},
access = 3
}
 
-- Broadcast
braodcast_enabled = "no"
broadCastTime = 500 -- seconds
randomBroadcastMessages = {
"Ajude o server,comprando VIP Account.",
"Melhor server de war de todos os tempos."
}
 
      sorcereritems = {
8871, -- blue robe
7730, -- blue legs
2323, -- magician hat
2195
}
druiditems = {
8871, -- blue robe
7730, -- blue legs
2323, -- magician hat
2195 -- boots of haste
}
paladinitems = {
2492, -- golden armor
7730, -- golden legs
2498, -- golden helme
2195 -- boots of haste
}
knightitems = {
2492, -- golden armor
7730, -- golden legs
2498, -- golden helmet
2195, -- boots of haste
2520 -- demon shield
}
 
-- Level can be found in config.lua
 
sorc = {
Leben = 605, -- Hp
Mana = 2555,
MagicLevel = 80,
Cap = 1590,
Fist = 10,
Club = 10,
Sword = 10,
Axe = 10,
Dist = 10,
Shield = 25
}
 
 
druid = {
Leben = 605, -- Hp
Mana = 2555,
MagicLevel = 80,
Cap = 1590,
Fist = 10,
Club = 10,
Sword = 10,
Axe = 10,
Dist = 10,
Shield = 25  
}
 
paladin = {
Leben = 1025, -- Hp
Mana = 1295,
MagicLevel = 25,
Cap = 2710,
Fist = 10,
Club = 10,
Sword = 10,
Axe = 10,
Dist = 85,
Shield = 75
}
 
knight = {
Leben = 1445, -- Hp
Mana = 455,
MagicLevel = 8,
Cap = 3270,
Fist = 10,
Club = 80,
Sword = 80,
Axe = 80,
Dist = 10,
Shield = 80
}
 

 

 

 


auguem conseguir me adicionem skipe :comedor-de-almas

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo