Tudo que Pedro. postou
-
(Resolvido)Adicionar Hot Site
- (Resolvido)Site Bugado 3.0
no index, vai ficar assim <?php error_reporting(E_ALL || ~E_WARNING); ?> <?PHP session_start(); date_default_timezone_set("America/Sao_Paulo"); ob_start("ob_gzhandler"); function microtime_float() { list($usec, $sec) = explode(" ", microtime()); return ((float)$usec + (float)$sec); } $time_start = microtime_float();- (Resolvido)Site Bugado 3.0
Ah, gesior 0.3x é diferente, cara isso é um warning acho que não faz muita diferença. Apenas oculte. vai até o index e adiciona <?php error_reporting(E_ALL || ~E_WARNING); ?> igual você fez com o timer zones vai ficar assim <?php error_reporting(E_ALL || ~E_WARNING); ?> <?php- (Resolvido)Site Bugado 3.0
cola teu index aqui, ele fica na pasta principal do site.- Site Bugado 4.0
cara, aconselho você trocar de site, vários erros. isso acontece quando a imagem ta fora, esse botão não é desse site.- (Resolvido)Site Bugado 3.0
vai em index.php e em define('DEBUG_DATABASE', false); coloca true aperta f5 e vê qual erro vai acusar, tira print ou cola aqui. só uma dica, quando for postar codigo grande assim, coloca em spoiler [.spoiler] [./spoiler] sem os pontos.- (Resolvido)Site Bugado 3.0
poste seu shopsystem aqui;- (Resolvido)TIRar nome
aqui nessa parte $main_content .= '<center><h2>Welcome to '.$config['server']['serverName'].' Shopping</h2> ele ta puxando o nome que ta na config, configura seu servidor corretamente. Edite teu config.lua- (Resolvido)TIRar nome
tem que ver, ve se tem algum echo puxando o nome de algum lugar, exemplo <title><?PHP echo $title ?> Alternative Tibia Server</title>- (Resolvido)TIRar nome
me mada seu site ai, pra eu ver.- (Resolvido)TIRar nome
em pages, procure em shop.php ou em buypoints.php- NPC Fazendo 2x a ação!
verefica se no NPC.XML também tem algo de BUY/SELL isso acontecia comigo, eu comprava 1 wand vinha duas, ou então troca todo LUA; <?xml version="1.0" encoding="UTF-8"?> <npc name="Eryn" script="runes.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100" /> <look type="136" head="58" body="84" legs="86" feet="114" addons="0" /> <parameters> <parameter key="module_shop" value="1" /> <parameter key="shop_buyable" value=" avalanche rune,2274,25; blank rune,2260,10; chameleon rune,2291,210; convince creature rune,2290,80; cure poison rune,2266,65; destroy field rune,2261,15; energy field rune,2277,38; energy wall rune,2279,85; explosion rune,2313,31; fire bomb rune,2305,55; fire field rune,2301,28; fire wall rune,2303,61; great fireball rune,2304,45; great health potion,7591,190; great mana potion,7590,120; great spirit potion,8472,190; health potion,7618,45; heavy magic missile rune,2311,12; intense healing rune,2265,95; light magic missile rune,2287,4; mana potion,7620,50; moonlight rod,2186,1000; necrotic rod,2185,5000; poison field rune,2285,21; poison wall rune,2289,52; snakebite rod,2182,500; spellbook,2175,150; stalagmite rune,2292,12; strong health potion,7588,100; strong mana potion,7589,80; sudden death rune,2268,50; terra rod,2181,10000; Hailstorm Rod,2183,15000; Wand of Voodoo,8922,22000; ultimate healing rune,2273,175; ultimate health potion,8473,310; wand of cosmic energy,2189,10000; wand of decay,2188,5000; wand of dragonbreath,2191,1000; wand of vortex,2190,500;" /> <parameter key="shop_sellable" value=" ankh, 2193, 100; hailstorm rod, 2183, 3000; moonlight rod, 2186, 200; mysterious fetish, 2194, 50; necrotic rod, 2185, 1000; northwind rod, 8911, 1500; snakebite rod, 2182, 100; springsprout rod, 8912, 3600; terra rod, 2181, 2000; underworld rod, 8910, 4400; stone skin amulet, 2197, 500; wand of cosmic energy, 2189, 2000; wand of decay, 2188, 1000; wand of dragonbreath, 2191, 200; wand of inferno, 2187, 3000; wand of vortex, 2190, 100; wand of draconia, 8921, 1500; wand of starstorm, 8920, 3600; wand of voodoo, 8922, 4400; magic light wand, 2162, 35; life crystal, 4851, 50; mind stone, 2178, 100" /> </parameters> </npc> 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 keywordHandler:addKeyword({'magic'}, StdModule.say, {npcHandler = npcHandler, text = "Okay, then just browse through all of my wares."}) local function creatureSayCallback(cid, type, msg) if not npcHandler:isFocused(cid) then return false end local player = Player(cid) local items = {[1] = 2190, [2] = 2182} local itemId = items[player:getVocation():getBase():getId()] if msgcontains(msg, 'first rod') or msgcontains(msg, 'first wand') then if player:isMage() then if player:getStorageValue(Storage.firstMageWeapon) == -1 then npcHandler:say('So you ask me for a {' .. ItemType(itemId):getName() .. '} to begin your adventure?', cid) npcHandler.topic[cid] = 1 else npcHandler:say('What? I have already gave you one {' .. ItemType(itemId):getName() .. '}!', cid) end else npcHandler:say('Sorry, you aren\'t a druid either a sorcerer.', cid) end elseif msgcontains(msg, 'yes') then if npcHandler.topic[cid] == 1 then player:addItem(itemId, 1) npcHandler:say('Here you are young adept, take care yourself.', cid) player:setStorageValue(Storage.firstMageWeapon, 1) end npcHandler.topic[cid] = 0 elseif msgcontains(msg, 'no') and npcHandler.topic[cid] == 1 then npcHandler:say('Ok then.', cid) npcHandler.topic[cid] = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:setMessage(MESSAGE_GREET, "Welcome |PLAYERNAME|! Whats your need?") npcHandler:setMessage(MESSAGE_FAREWELL, "Good bye, |PLAYERNAME|.") npcHandler:setMessage(MESSAGE_WALKAWAY, "Good bye, |PLAYERNAME|.") npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at {potions}, {wands} or {runes}?") npcHandler:addModule(FocusModule:new())- Bug skill pulando do 10 para 70+
a unica source que funciona imbui 100% é a do maluco. Já o lance do skill, não tenho minima ideia de como solucionar.- (Resolvido)TIRar nome
/var/www/html/layouts/tibiarl/layout.php da um ctrl + f e procure pelo nome ou então procure <title><Tibia Alternative Tibia Server</title>- Bug Top Frag no site
qual a versão do seu servidor e site?- Site Bugado 2.0
vá até sua database, IP/phpmyadmin seleciona a database, vai em SQL e adiciona CREATE TABLE `reports` ( `id` INT NOT NULL AUTO_INCREMENT, `world_id` TINYINT(4) UNSIGNED NOT NULL DEFAULT 0, `player_id` INT NOT NULL DEFAULT 1, `posx` INT NOT NULL DEFAULT 0, `posy` INT NOT NULL DEFAULT 0, `posz` INT NOT NULL DEFAULT 0, `timestamp` BIGINT NOT NULL DEFAULT 0, `report` TEXT NOT NULL, `reads` INT NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY (`world_id`), KEY (`reads`), FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE ) ENGINE = InnoDB;- ajuda a cria um client 8.6
Não entendi, no que você precisa de ajuda?- Problema Autoloot
Cara, tentei reproduzir aqui no meu servidor com player normal e com GOD, funcionando normalmente. Por favor, poste a versão do seu TFS, o script de autoloot se puder, especifique ai.- SadSoul - OLD Karmia 7.72 | Mysql | OTHIRE | Client | Website
To trazendo para vocês um servidor bem antigo, que eu gostava muito na época dos 7.6, hoje em dia não se vê mais, depois do LucianoOT que era um mapa próprio, foi o segundo servidor que eu joguei e me apaixonei, o dono me passou o servidor porém antigamente tinha um bug da party, eu nao sabia arrumar e esqueci o server, hoje em dia tem milhares de sources, e afins, ajeitei o servidor, mexi em todo o MAPA, adicionei quests, fixei algumas, tirei bugs, acrescentei mais coisas, hunts, mapa tá maneirinho. Eu ia trazer quests, mais detalhes sobre o servidor, porém formatei o PC, e to sem as coisas aqui. Servidor tem as principais quests; Annilhator Demon Helmet Behemoth Quest Desert Quest (10k) entre outras, que você pode ver em action/chest.lua há umas 50 quests. Foram refeitos todos os npcs do servidor, adicionado runas 100x, bless, funitures, bp mf, rings etc. Sources Estamos usando OTHire 0.0.3, repositório OTHire. Servidor http://www.mediafire.com/file/4s88718vcbqvkwy/SadSoul.rar https://www.virustotal.com/#/file/a458e0fcc0fa9e13dfd88c62e963519e54a1b34f2be1f7c30555c865953f4b99/detection Website ZnoteAAC http://www.mediafire.com/file/jgt5hadp07it1g2/Website.rar https://www.virustotal.com/#/file/7e79516f6b805b25ad46f4a67fcb955ffad3b0d9c650c6e125f0d2731b6de1a7/detection Cliente 7.72 http://www.mediafire.com/file/ydlygu6x28y2p36/BHminas_Client.rar https://www.virustotal.com/#/url/bbff7de641f30479d8e7a5a638102d1723ea1dcb943155307c02ff6bd9679362/detection Para trocar o IP pelo da sua maquina só editar o cliente com Notepadd C++ ou sublime, da ctrl + f e procurar por -> gd.ddns.net Database http://www.mediafire.com/file/eusflcfyj2fx23w/otserv.sql Creditos: Peonso pela src.- [TFS 1.2] Clonando a cor do outfit membros em party
Vi um script bem legalzinho, na maioria das vezes grupos caçando em party, de 3~4 avalanche, fica meio dificil de entender qm é qm, ou até mesmo em wars, peleguinho.. Basicamente ele altera a cor do outfit para a igual do leader, mantendo o outfit. <talkaction words="!poutfit" script="party_outfit.lua"/> party_outfit.lua function onSay(player, words, param) local party = player:getParty() if not party then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You are not in a party.") return false end if not (party:getLeader() == player) then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You are not the leader of the party.") return false end local outfit = player:getOutfit() local members = party:getMembers() for i = 1, #members do local newOutfit = members[i]:getOutfit() newOutfit.lookHead = outfit.lookHead newOutfit.lookBody = outfit.lookBody newOutfit.lookLegs = outfit.lookLegs newOutfit.lookFeet = outfit.lookFeet members[i]:setOutfit(newOutfit) members[i]:getPosition():sendMagicEffect(CONST_ME_MAGIC_BLUE) end return false end créditos ao Static_ criador do script.- [PEDIDO] Script Sumonar Monstro
não entendo nada de script, vê se isso pode te ajudar. <globalevent name="monsterRaid" time="00:54:00" script="monsterRaid.lua"/> local cfg = { monsters = {'Wolf'}, centerPos = Position(1022, 1001, 7) } function onTime(interval) Game.broadcastMessage('[RAID] A raid has started', MESSAGE_STATUS_CONSOLE_BLUE) local pos = cfg.centerPos local monsterCount = math.random(20) -- How many monsters will spawn? local spawned = 0 while spawned < monsterCount do local randX, randY = math.random(-13, 13), math.random(-13, 13) local spawnPosition = Position(pos.x + randX, pos.y + randY, pos.z) local tile = Tile(spawnPosition) if tile and (not tile:getHouse()) and (not (tile:getCreatureCount() > 0)) and (not tile:hasFlag(TILESTATE_PROTECTIONZONE)) then Game.createMonster(cfg.monsters[math.random(#cfg.monsters)], spawnPosition, true) spawned = spawned + 1 end end return true end créditos Static_- Problemas de conexão com o servidor.
7171/7172 se tiver cast 7173- (Resolvido)Site Bugado
no coração, e perto do meu nick aonde fica a foto, tem SELECIONAR MELHOR RESPOSTA.- (Resolvido)Adicionar Hot Site
vai até layout do seu site, exemplo: /var/www/html/layouts/tibiarl ou c: htdocs/layout/tibiarl, abre o layout.php <div id="ActiveSubmenuItemLabel_powergamers" class="SubmenuitemLabel"><font color="#ff0000">Powergamers </font><img src="./layouts/tibiarl/images/hot2-fix.gif"></div> o meu exemplo, tá com a cor vermelha e a imagem, que está no site em images. http://alvoria-ats.com/layouts/tibiarl/images/hot2-fix.gif- (Resolvido)Site Bugado
reputa pra adicionar melhor resposta e sinalizar o tópico. - (Resolvido)Site Bugado 3.0
Informação Importante
Confirmação de Termo