BR
otserv 10.x

Vanaheim global open source

Por Bruno, 16 de abr. de 2015 em OTServ Comum

otserv
tibia
script
opensource
293
89.4k
BrunoB
08 de junho de 2015 às 21:14

Adicionado os novos outfits e mounts.

Editado Junho 8 por Bruno Minervino

ferreira998F
09 de junho de 2015 às 12:19

se tentar abrir com a versão 10.77 da debug.

BrunoB
09 de junho de 2015 às 13:12

se tentar abrir com a versão 10.77 da debug.

Qual debug?

ferreira998F
09 de junho de 2015 às 13:16

Qual debug?

Quando abri pra muda o addon deu, e quando eu estava com o addon novo deu também.

BrunoB
09 de junho de 2015 às 16:51

Quando abri pra muda o addon deu, e quando eu estava com o addon novo deu também.

A versão 10.77 não tem suporte às novas mounts e outfits.

Projeto foi atualizado somente para versão 10.78.

ScizorgameS
13 de junho de 2015 às 03:51

aqui ta aparecendo isso

 

Error 1 error MSB8020: The build tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install v140 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Upgrade Solution...". C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets 64 5 theforgottenserver
to com um MVS 2013 com Update 4, e com windows7 64bits tentando compilar o tfs 1.2 :x
instalei tudo certinho como diz no outro topico.

Editado Junho 13 por Scizorgame

BrunoB
13 de junho de 2015 às 13:22

Fix #10

- Corrigido problema de variáveis nulas após serem deletadas.

2 semanas depois...
TioJapaT
20 de junho de 2015 às 22:47

Poderia disponibilizar a Datapack ?

BrunoB
21 de junho de 2015 às 01:33

Poderia disponibilizar a Datapack ?

A datapack encontra-se no download man...

maper1M
21 de junho de 2015 às 11:42

Bruno pq eu n consigo falar com os npcs q eu ponho no servidor ??? eles so falam isso Of course, just browse through my wares. e só... n da pra dar trade nem nada..

BrunoB
22 de junho de 2015 às 13:27

Bruno pq eu n consigo falar com os npcs q eu ponho no servidor ??? eles so falam isso Of course, just browse through my wares. e só... n da pra dar trade nem nada..

Vou verificar amigo,

Mas a base é a mesma da TFS global e até então não tive esse tipo de reclamação.

maper1M
22 de junho de 2015 às 16:36

Vou verificar amigo,

Mas a base é a mesma da TFS global e até então não tive esse tipo de reclamação.

ok, fico no aguardo estou postando o npc e o script de um npc

 

Aldo.xml

 

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Aldo" script="Aldo.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100" />
<look type="128" head="40" body="37" legs="116" feet="95" addons="0" />
<parameters>
<parameter key="message_greet" value="Just great, another ... 'customer'. Hello, |PLAYERNAME|. If you want to trade, let's get it over with." />
<parameter key="message_farewell" value="That's music in my ears." />
<parameter key="message_walkaway" value="Yeah, get lost." />
<parameter key="message_onsendtrade" value="Yeah, buy something." />
<parameter key="module_shop" value="1" />
<parameter key="shop_buyable" value=" Brass Helmet,2460,120; Brass Legs,2478,195; Chain Helmet,2458,52; Chain Legs,2648,80; Iron Helmet,2459,390; Leather Boots,2643,10; Leather Helmet,2461,12; Leather Legs,2649,10; Sandals,2642,2; Soldier Helmet,2481,110; Steel Helmet,2457,580; Studded Helmet,2482,63; Studded Legs,2468,50; Viking Helmet,2473,265 " />
<parameter key="shop_sellable" value=" Brass Helmet,2460,30; Brass Legs,2478,49; Chain Helmet,2458,17; Chain Legs,2648,25; Iron Helmet,2459,150; Leather Boots,2643,2; Leather Helmet,2461,4; Leather Legs,2649,9; Legion Helmet,2480,22; Plate Legs,2647,115; Small Axe,2559,5; Soldier Helmet,2481,16; Steel Helmet,2457,293; Studded Helmet,2482,20; Studded Legs,2468,15; Viking Helmet,2473,66 " />
</parameters>
</npc>

Aldo.lua

local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end
local function creatureSayCallback(cid, type, msg)
if not npcHandler:isFocused(cid) then
return false
end
local player = Player(cid)
if isInArray({"soft", "boots"}, msg) then
npcHandler:say("Do you want to repair your worn soft boots for 10000 gold coins?", cid)
npcHandler.topic[cid] = 1
elseif msgcontains(msg, 'yes') and npcHandler.topic[cid] == 1 then
npcHandler.topic[cid] = 0
if player:getItemCount(10021) == 0 then
npcHandler:say("Sorry, you don't have the item.", cid)
return true
end
if not player:removeMoney(10000) then
npcHandler:say("Sorry, you don't have enough gold.", cid)
return true
end
player:removeItem(10021, 1)
player:addItem(6132, 1)
npcHandler:say("Here you are.", cid)
elseif msgcontains(msg, 'no') and npcHandler.topic[cid] == 1 then
npcHandler.topic[cid] = 0
npcHandler:say("Ok then.", cid)
end
return true
end
npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new())

SkyDangerousS
26 de junho de 2015 às 18:20

bruno tem como compilar pra 64 bits por favor?

aqui ta dando erro

 

--

 

consegui eu que pulei o passo do tutorial .. foi erro meu

Editado Junho 26 por SkyDangerous

BrunoB
26 de junho de 2015 às 20:03

bruno tem como compilar pra 64 bits por favor?

 

aqui ta dando erro

 

--

 

consegui eu que pulei o passo do tutorial .. foi erro meu

HAHAHA sem problemas

Qualquer coisa dá um grito!

1 mês depois...
ferreira998F
12 de julho de 2015 às 00:32

Vai sair a versão 10.79?