
Tudo que Summ postou
-
Português
sei-lâ nâõ emtemde u qui voçê dis
- ntofirewar procurado staff pra edisao de ot como scripter map e sprinter ^^
-
Thornia RPG!
* Nenhum tratamento VIP/ Shop Offer ué fui na loja só faltou a opção de comprar o servidor, rsrsrs brincadeiras a parte acho que você quis dizer que é free PA néh (se sim acho que poderia mudar essa opção, pq da a entender que não vende items)? Servidor parece ser bom, talvez eu dê uma passada lá
-
[AJUDA] NAO CONSIGO CONECTAR MINHA DATABASE
Eu apenas fiz uma pergunta seu otário... sqlType = "mysql" sqlHost = "127.0.0.1" -- TEM QUE TROCAR PRA ESSE 127.0.0.1 SEU FILHO DA PUTA sqlPort = 3306 sqlUser = "root" sqlPass = "*****" -- COLOCA A MERDA DA SENHA DO PHPMYADMIN AQUI SEU CEGO QUE NÃO SABE LER sqlDatabase = "styller" -- COLOCA O NOME DA PORRA DA DATABASE QUE TU CRIOU NO PHPMYADMIN AQUI SEU ZÉ RUELA sqlFile = "styller" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "sha1" Ps : Trato com respeito quem merece, já quem não merece chamo de otário mesmo. Abrçs
-
[AJUDA] NAO CONSIGO CONECTAR MINHA DATABASE
Como tu sabe que todas as informações estão na foto da distro, sendo que tu mesmo não sabe o que ta acontecendo ? eu ia te ajudar mas como é ignorante tem que se fuder mesmo otário... Abrçs
-
[AJUDA] NAO CONSIGO CONECTAR MINHA DATABASE
Você instalou algum banco de dados (xammp) no seu pc ?
-
[TFS 1.x] Talkactions: !aol / !bless
doSendMagicEffect(getPlayerPosition(cid), 49) Nessa linha muda o efeito, bom eu coloquei um random, basta ir testando e ver qual mais te agrada.
-
[TFS 1.x] Talkactions: !aol / !bless
Pronto local bless = {1, 2, 3, 4, 5} local itemid = xxxx -- ID diamonds local count = xx -- Quantidade de diamonds function onSay(cid, words, param) for i = 1, table.maxn(bless) do if getPlayerBlessing(cid, bless[i]) then return doPlayerSendCancel(cid, "You are full bless.") end end if doPlayerRemoveItem(cid, itemid, count) == true then for i = 1, table.maxn(bless) do doPlayerAddBlessing(cid, bless[i]) end doCreatureSay(cid, "You are now blessed by the Server!" ,19) doSendMagicEffect(getPlayerPosition(cid), 49) else return doPlayerSendCancel(cid, "You no have diamonds") end return true end
-
[TFS 1.x] Talkactions: !aol / !bless
Não testei ... local bless = {1, 2, 3, 4, 5} local itemid = xxxx -- ID diamonds local count = xx -- Quantidade de diamonds function onSay(cid, words, param) for i = 1, table.maxn(bless) do if getPlayerBlessing(cid, bless[i]) then return doPlayerSendCancel(cid, "You are full bless.") end end if doPlayerRemoveItem(cid, itemid, count) == true then for i = 1, table.maxn(bless) do doPlayerAddBlessing(cid, bless[i]) end doCreatureSay(cid, "You are now blessed by the Server!" ,19) doSendMagicEffect(cid, 49) else return doPlayerSendCancel(cid, "You no have diamonds") end return true end
-
[TFS 1.x] Talkactions: !aol / !bless
se tu já tiver um item que da bless, posta ele ae, se não tiver pode deixar que eu faço um.
-
[TFS 1.x] Talkactions: !aol / !bless
sim só falar pra que versão do TFS, quando o cara usar o comando bless você quer que ele remova tal diamonds ... ?
- XÍZUM
-
(Resolvido)[PEDIDO] - Action que adciona storage
Os scripters de plantão poderia me dizer se meu script está correto ? function (cid, item, onUse) local storages = {xxxxx, xxxxx, xxxxx} -- Use storages que não existem no seu servidor local item = xxxxx -- ID do item if getPlayerStorageValue(cid, #storages) == #storages then doPlayerSendCancel(cid, "You have all storages" ) else doPlayerRemoveItem(cid, item, 1) setPlayerStorages (cid, #storages) end return true end
-
01101001 01101110 01110101 01110100 01101001 01101100
01010000 01000101 01010010 01000100 01000101 01010101 00100000 01010011 01000101 01010101 00100000 01010100 01000101 01001101 01010000 01001111 00100000 01010100 01000101 01001110 01010100 01000001 01001110 01000100 01001111 00100000 01000100 01000101 01010011 01000011 01001111 01000010 01010010 01001001 01010010 00100000 01001111 00100000 01010001 01010101 01000101 00100000 01000101 01010101 00100000 01000101 01010011 01000011 01010010 01000101 01010110 01001001 00101110 00101110 00101110 00001101 00001010 00001101 00001010 00001101 00001010 01010110 01001100 01010111 01010011 00100000 01000110 01001100 01010111 01010011
-
Dicas para uma linguagem mais correta na Internet
O jeito não é nem escrever o português corretamente é aprender inglês e mandar se fuder essa língua portuguesa de merda, eita idioma escroto do krl pqp
-
(AJUDA) Erro DATABASE Gesior ACC 2012
CREATE TABLE `killers` ( `id` INT NOT NULL AUTO_INCREMENT, `death_id` INT NOT NULL, `final_hit` TINYINT(1) UNSIGNED NOT NULL DEFAULT FALSE, `unjustified` TINYINT(1) UNSIGNED NOT NULL DEFAULT FALSE, PRIMARY KEY (`id`), FOREIGN KEY (`death_id`) REFERENCES `player_deaths`(`id`) ON DELETE CASCADE ) ENGINE = InnoDB;
-
Me Expliquem Por Favor
Source nada mais é do que o seu executável (programa que clica pro servidor abrir) normalmente se chama theforgottenserver. Ele é uma junção de vários arquivos, no caso, vários códigos que quando compilados (transformados em um só) vira esse executável. Nesses códigos é onde estão as funções dos scripts do seu servidor, por exemplo: doBroadcastMessage esse doBroadcastMessage não vem do além, é uma função escrita na source e também pode ser editado por lá. Há algumas modificações que você pode fazer mexendo na source, por exemplo, trocar a linguagem do seu servidor (pode ser possível em lua também).
-
Server fica Online, porém nem eu e ninguém consegue entrar.
Creio que sua net seja via radio, se for msm, a única maneira de deixar on é por hamachi ...
-
TK OFF ?
é o absolute que tá derubando o tk ?
- TK OFF ?
- OS PLAYERS DO MEU SERVER WAR COMEÇAM SEM NENHUM ITEM ! O QUE FAZER?
-
Distro + .exe Adaptação Como fazer? Passo a passo por favor
Cara não é tão simples ajudar como parece não, primeiramente não sabemos como são os scripts do seu seu servidor, fora que dps se fala que é TFS 0.4 mas existes tantas revs, com funções diferentes uma da outra que eu poderia citar umas 10 aqui pra você. Aqui no fórum ninguém é obrigado a responder a todos os tópicos de ajudas,pedidos, etc... até porque creio que ninguém tirando o Matheus(PRA SUSTENTAR) ganhe dinheiro com o fórum, querer tudo na mão vc quer mais dar um vasculhada na net atrás do que vc precisa, acho que tu quer não néh ? hahahaha att
-
Hail TK ~~
Depois de um longo tempo afastado de otservs, estou voltando a ativa com a intenção de aprender as mais diversas linguagem de programação possíveis por aew
-
(Resolvido)[AJUDA] Modificar potions.lua
local config = { removeOnUse = "yes", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "yes", range = -1, area = {1, 1} -- if not set correctly, the message will be sent only to user of the item } local multiplier = { health = 1.0, mana = 1.0 } local POTIONS = { [8704] = {empty = 7636, splash = 42, health = {50, 100}}, -- small health potion [7618] = {empty = 7636, splash = 42, health = {100, 200}}, -- health potion [7588] = {empty = 7634, splash = 42, health = {200, 350}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 42, health = {400, 600}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 42, health = {650, 800}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 47, mana = {100, 150}}, -- mana potion [7589] = {empty = 7634, splash = 47, mana = {210, 290}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 47, mana = {350, 450}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 43, health = {300, 450}, mana = {110, 190}, level = 80, vocations = {3, 7}, vocStr = "paladins"} -- great spirit potion } for index, potion in pairs(POTIONS) do if(type(index) == 'number')then for k, v in pairs(config) do if(not potion[k]) then potion[k] = v end end if(potion.removeOnUse) then potion.removeOnUse = getBooleanFromString(potion.removeOnUse) end if(potion.usableOnTarget) then potion.usableOnTarget = getBooleanFromString(potion.usableOnTarget) end if(potion.splashable) then potion.splashable = getBooleanFromString(potion.splashable) end if(type(potion.health) == 'table' and table.maxn(potion.health) > 1) then potion.health[1] = math.ceil(potion.health[1] * multiplier.health) potion.health[2] = math.ceil(potion.health[2] * multiplier.health) else potion.health = nil end if(type(potion.mana) == 'table' and table.maxn(potion.mana) > 1) then potion.mana[1] = math.ceil(potion.mana[1] * multiplier.mana) potion.mana[2] = math.ceil(potion.mana[2] * multiplier.mana) else potion.mana = nil end POTIONS[index] = potion end end function onUse(cid, item, fromPosition, itemEx, toPosition) local potion = POTIONS[item.itemid] if(not potion) then return false end if(not isPlayer(itemEx.uid) or (not potion.usableOnTarget and cid ~= itemEx.uid)) then if(not potion.splashable or not potion.splash) then return false end if(toPosition.x == CONTAINER_POSITION) then toPosition = getThingPosition(item.uid) end doDecayItem(doCreateItem(POOL, potion.splash, toPosition)) doRemoveItem(item.uid, 1) if(not potion.empty or potion.removeOnUse) then return true end if(fromPosition.x ~= CONTAINER_POSITION) then doCreateItem(potion.empty, fromPosition) else doPlayerAddItem(cid, potion.empty, 1) end return true end if(((potion.level and getPlayerLevel(itemEx.uid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(itemEx.uid)))) and not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) then doCreatureSay(itemEx.uid, "Only " .. potion.vocStr .. (potion.level and (" of level " .. potion.level) or "") .. " or above may drink this fluid.", TALKTYPE_MONSTER, false, cid) return true end if(potion.range > 0 and cid ~= itemEx.uid and getDistanceBetween(getThingPosition(cid), getThingPosition(itemEx.uid)) > potion.range and not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_CANUSEFAR)) then doPlayerSendDefaultCancel(cid, RETURNVALUE_TOOFARAWAY) return true end if(potion.health and not doTargetCombatHealth(cid, itemEx.uid, COMBAT_HEALING, potion.health[1], potion.health[2], CONST_ME_MAGIC_BLUE, false)) then return false end if(potion.mana and not doTargetCombatMana(cid, itemEx.uid, potion.mana[1], potion.mana[2], CONST_ME_MAGIC_BLUE, false)) then return false end if(type(potion.area) == 'table' and table.maxn(potion.area) > 1) then for i, tid in ipairs(getSpectators(getThingPosition(itemEx.uid), potion.area[1], potion.area[2])) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_MONSTER, false, tid) end end else doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_MONSTER, false, itemEx.uid) if(itemEx.uid ~= cid) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_MONSTER, false, cid) end end doRemoveItem(item.uid, 1) if(not potion.empty or potion.removeOnUse) then return true end if(fromPosition.x ~= CONTAINER_POSITION) then doCreateItem(potion.empty, fromPosition) else doPlayerAddItem(cid, potion.empty, 1) end return true end