[8.20] OT Server (SQL)
2 participantes
Página 1 de 1
[8.20] OT Server (SQL)
OTServer 8.2 [SQL]
Download
Ainda o Server está em Test
server retirado do otfans
Itens novos. monstros novos
NPC Novo [ QUE ESTÁ NO OT]
Imagem reduzida 50% do seu tamanho original [ 1024 x 768 ]
NPC Trade [SCRIPIT E FOTO DO NPC TRADE]
Imagem reduzida 50% do seu tamanho original [ 1024 x 768 ]
CODE
local focus = 0
local itemWindow = {
{id=2160, charges=1, buy=10000, sell=10000},
{id=2152, charges=1, buy=100, sell=100},
{id=2148, charges=1, buy=1, sell=1}
}
local items = {}
for _, item in ipairs(itemWindow) do
items[item.id] = {buyPrice = item.buy, sellPrice = item.sell, charges = item.charges}
end
local onBuy = function(cid, item, count, amount)
if(items[item] == nil) then
selfSay("Ehm.. sorry... this shouldn't be there, I'm not selling it.", cid)
return
end
if(doPlayerRemoveMoney(cid, amount*items[item].buyPrice) == TRUE) then
doPlayerAddItem(cid, item, amount)
selfSay("Thanks for the money!", cid)
else
selfSay("Stfu noob, you don't have money.", cid)
end
end
local onSell = function(cid, item, count, amount)
selfSay("You want to sell me this trash? No way!", cid)
end
function onCreatureAppear(cid)
end
function onCreatureDisappear(cid)
end
function onCreatureSay(cid, type, msg)
if((msg == "hi") and (focus == 0))then
selfSay("Welcome, ".. getCreatureName(cid) ..".", cid, TRUE)
selfSay("Do you want to see my {wares}?", cid)
focus = cid
elseif((focus == cid) and (msg == "wares" or msg == "trade"))then
selfSay("Pretty nice, right?", cid)
sendShopWindow(cid, itemWindow, onBuy, onSell)
elseif((focus == cid) and (msg == "bye" or msg == "goodbye" or msg == "cya"))then
selfSay("Goodbye!", cid, TRUE)
closeShopWindow(cid)
focus = 0
end
end
function onPlayerCloseChannel(cid)
if(focus == cid)then
selfSay("Hmph!")
closeShopWindow(cid)
focus = 0
end
end
function onPlayerEndTrade(cid)
selfSay("It was a pleasure doing business with you.", cid)
end
function onThink()
if(focus ~= 0)then
if(isCreature(focus) == FALSE) then
focus = 0
return
end
local distance = getDistanceTo(focus) or -1
if((distance > 4) or (distance == -1))then
selfSay("Hmph!")
closeShopWindow(cid)
focus = 0
end
end
end
Itens.Otb e xml 8.2
Update Itens.xml retirado do OTFans: Clique aqui
Update Item.Otb retirado do OTFans: Clique Aqui
[b]quem sober fazer npc novos bota no comentario para eu passar para OTFANS para os cara de lá acabarem OT mais rapido
CODE
Arquivo otserv.rar recebido em 2008.06.29 18:33:43 (CET)
Andamento: terminado
Resultado: 1/33 (3.03%)
CODE
Antivírus Versão Última Atualização Resultado
AhnLab-V3 2008.6.27.1 2008.06.29 -
AntiVir 7.8.0.59 2008.06.28 -
Authentium 5.1.0.4 2008.06.29 -
Avast 4.8.1195.0 2008.06.28 -
AVG 7.5.0.516 2008.06.29 -
BitDefender 7.2 2008.06.29 -
CAT-QuickHeal 9.50 2008.06.28 -
ClamAV 0.93.1 2008.06.28 -
DrWeb 4.44.0.09170 2008.06.29 -
eSafe 7.0.17.0 2008.06.29 -
eTrust-Vet 31.6.5911 2008.06.27 -
Ewido 4.0 2008.06.27 -
F-Prot 4.4.4.56 2008.06.29 -
F-Secure 7.60.13501.0 2008.06.26
Fortinet 3.14.0.0 2008.06.29 -
GData 2.0.7306.1023 2008.06.29 -
Ikarus T3.1.1.26.0 2008.06.29 -
Kaspersky 7.0.0.125 2008.06.29 -
McAfee 5327 2008.06.27 -
Microsoft 1.3704 2008.06.29 -
NOD32v2 3225 2008.06.29 -
Norman 5.80.02 2008.06.27 -
Panda 9.0.0.4 2008.06.29 -
Prevx1 V2 2008.06.29 -
Rising 20.50.62.00 2008.06.29 -
Sophos 4.30.0 2008.06.29 -
Sunbelt 3.0.1176.1 2008.06.26 -
Symantec 10 2008.06.29 -
TheHacker 6.2.96.364 2008.06.28 -
TrendMicro 8.700.0.1004 2008.06.27 -
VBA32 3.12.6.8 2008.06.29 -
VirusBuster 4.5.11.0 2008.06.23 -
Webwasher-Gateway 6.6.2 2008.06.29 -
no virus
Download do Mapa editor 8.2 (tipo tem coisa que to tentado arruma)
DOWNLOAD AQUI
Download
Ainda o Server está em Test
server retirado do otfans
Itens novos. monstros novos
NPC Novo [ QUE ESTÁ NO OT]
Imagem reduzida 50% do seu tamanho original [ 1024 x 768 ]
NPC Trade [SCRIPIT E FOTO DO NPC TRADE]
Imagem reduzida 50% do seu tamanho original [ 1024 x 768 ]
CODE
local focus = 0
local itemWindow = {
{id=2160, charges=1, buy=10000, sell=10000},
{id=2152, charges=1, buy=100, sell=100},
{id=2148, charges=1, buy=1, sell=1}
}
local items = {}
for _, item in ipairs(itemWindow) do
items[item.id] = {buyPrice = item.buy, sellPrice = item.sell, charges = item.charges}
end
local onBuy = function(cid, item, count, amount)
if(items[item] == nil) then
selfSay("Ehm.. sorry... this shouldn't be there, I'm not selling it.", cid)
return
end
if(doPlayerRemoveMoney(cid, amount*items[item].buyPrice) == TRUE) then
doPlayerAddItem(cid, item, amount)
selfSay("Thanks for the money!", cid)
else
selfSay("Stfu noob, you don't have money.", cid)
end
end
local onSell = function(cid, item, count, amount)
selfSay("You want to sell me this trash? No way!", cid)
end
function onCreatureAppear(cid)
end
function onCreatureDisappear(cid)
end
function onCreatureSay(cid, type, msg)
if((msg == "hi") and (focus == 0))then
selfSay("Welcome, ".. getCreatureName(cid) ..".", cid, TRUE)
selfSay("Do you want to see my {wares}?", cid)
focus = cid
elseif((focus == cid) and (msg == "wares" or msg == "trade"))then
selfSay("Pretty nice, right?", cid)
sendShopWindow(cid, itemWindow, onBuy, onSell)
elseif((focus == cid) and (msg == "bye" or msg == "goodbye" or msg == "cya"))then
selfSay("Goodbye!", cid, TRUE)
closeShopWindow(cid)
focus = 0
end
end
function onPlayerCloseChannel(cid)
if(focus == cid)then
selfSay("Hmph!")
closeShopWindow(cid)
focus = 0
end
end
function onPlayerEndTrade(cid)
selfSay("It was a pleasure doing business with you.", cid)
end
function onThink()
if(focus ~= 0)then
if(isCreature(focus) == FALSE) then
focus = 0
return
end
local distance = getDistanceTo(focus) or -1
if((distance > 4) or (distance == -1))then
selfSay("Hmph!")
closeShopWindow(cid)
focus = 0
end
end
end
Itens.Otb e xml 8.2
Update Itens.xml retirado do OTFans: Clique aqui
Update Item.Otb retirado do OTFans: Clique Aqui
[b]quem sober fazer npc novos bota no comentario para eu passar para OTFANS para os cara de lá acabarem OT mais rapido
CODE
Arquivo otserv.rar recebido em 2008.06.29 18:33:43 (CET)
Andamento: terminado
Resultado: 1/33 (3.03%)
CODE
Antivírus Versão Última Atualização Resultado
AhnLab-V3 2008.6.27.1 2008.06.29 -
AntiVir 7.8.0.59 2008.06.28 -
Authentium 5.1.0.4 2008.06.29 -
Avast 4.8.1195.0 2008.06.28 -
AVG 7.5.0.516 2008.06.29 -
BitDefender 7.2 2008.06.29 -
CAT-QuickHeal 9.50 2008.06.28 -
ClamAV 0.93.1 2008.06.28 -
DrWeb 4.44.0.09170 2008.06.29 -
eSafe 7.0.17.0 2008.06.29 -
eTrust-Vet 31.6.5911 2008.06.27 -
Ewido 4.0 2008.06.27 -
F-Prot 4.4.4.56 2008.06.29 -
F-Secure 7.60.13501.0 2008.06.26
Fortinet 3.14.0.0 2008.06.29 -
GData 2.0.7306.1023 2008.06.29 -
Ikarus T3.1.1.26.0 2008.06.29 -
Kaspersky 7.0.0.125 2008.06.29 -
McAfee 5327 2008.06.27 -
Microsoft 1.3704 2008.06.29 -
NOD32v2 3225 2008.06.29 -
Norman 5.80.02 2008.06.27 -
Panda 9.0.0.4 2008.06.29 -
Prevx1 V2 2008.06.29 -
Rising 20.50.62.00 2008.06.29 -
Sophos 4.30.0 2008.06.29 -
Sunbelt 3.0.1176.1 2008.06.26 -
Symantec 10 2008.06.29 -
TheHacker 6.2.96.364 2008.06.28 -
TrendMicro 8.700.0.1004 2008.06.27 -
VBA32 3.12.6.8 2008.06.29 -
VirusBuster 4.5.11.0 2008.06.23 -
Webwasher-Gateway 6.6.2 2008.06.29 -
no virus
Download do Mapa editor 8.2 (tipo tem coisa que to tentado arruma)
DOWNLOAD AQUI
Tópicos semelhantes
» [8.5] XxT OT Server 24hrs ~ Seu Ot Server!
» [9.1] The Fight Server 1.0.5
» Ot Server
» meu ot server
» Meu ot server 8.54
» [9.1] The Fight Server 1.0.5
» Ot Server
» meu ot server
» Meu ot server 8.54
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|