Ir para conteúdo

Emanueldk

Campones
  • Total de itens

    98
  • Registro em

  • Última visita

Tudo que Emanueldk postou

  1. meu comando de !bless esta +/- bugado tipo, ele compra as 5 bless certinho, o servidor fala que eu estou com as 5 blessings mais quando eu morro perco a bp e 5, 6 level, meu servidor é de dbo 8.6 eu queria que a bless também funcionasse como aol, nao deixava dropar nada se voce tivesse de bless sem aol e também diminuir a perda de level, pq de bless ta perdendo os mesmo level que sem a bless, alguem poderia me ajudar?? esse é meu script local bless = {1, 2, 3, 4, 5} local cost = 500000 function onSay(cid, words, param) for i = 1, table.maxn(bless) do if(getPlayerBlessing(cid, bless)) then doPlayerSendCancel(cid, "Voce Ja Tem Todas As Bless.") return TRUE end end if(doPlayerRemoveMoney(cid, cost) == TRUE) then for i = 1, table.maxn(bless) do doPlayerAddBlessing(cid, bless) end doCreatureSay(cid, "Voce Agora Esta Abençoado!" ,19) doSendMagicEffect(getPlayerPosition(cid), 49) else doPlayerSendCancel(cid, "Voce Precisa De 50Gold Para Comprar A Bless.") end return TRUE end
  2. alguem me explixa pq eu nao consigo fazer uma quest em meu dbo, eu faço tudo certinho mais quando eu clico no bau, eu abro ele como se fosse uma backpack e eu posso pegar o item de dentro, dae quando outra pessoa vai la, o item nao esta mais la dentro..... em Actiond Id eu boto 2000 ou 2002 nao lembro qual e em Unique Id boto 5999 e nao da certo....
  3. eu queria um script que bloqueasse a magia "Shunkanido Blasting" ate a pessoa usar x item, quem tentasse usar a magia sem ter usado o x item aparecerá uma mensagem dizendo o seguinte: para usar está magia voce precisa fazer a quest. script da magia "Shunkanido Blasting" local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 10) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -135.0, 0, -150.0, 0) local function onCastSpell1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end function ms1(cid) local postarget = {x=getThingPosition(getCreatureTarget(cid)).x+1, y=getThingPosition(getCreatureTarget(cid)).y+1, z=getThingPosition(getCreatureTarget(cid)).z} local target = getCreatureTarget(cid) if target == isMonster or isCreature then doTeleportThing(cid, postarget) doSendMagicEffect(postarget, 62) doSendMagicEffect(postarget, 10) end end function ms2(cid) local postarget = {x=getThingPosition(getCreatureTarget(cid)).x-1, y=getThingPosition(getCreatureTarget(cid)).y-1, z=getThingPosition(getCreatureTarget(cid)).z} local target = getCreatureTarget(cid) if target == isMonster or isCreature then doTeleportThing(cid, postarget) doSendMagicEffect(postarget, 10) end end function ms3(cid) local postarget = {x=getThingPosition(getCreatureTarget(cid)).x-1, y=getThingPosition(getCreatureTarget(cid)).y+1, z=getThingPosition(getCreatureTarget(cid)).z} local target = getCreatureTarget(cid) if target == isMonster or isCreature then doTeleportThing(cid, postarget) doSendMagicEffect(postarget, 10) end end function ms4(cid) local postarget = {x=getThingPosition(getCreatureTarget(cid)).x+1, y=getThingPosition(getCreatureTarget(cid)).y-1, z=getThingPosition(getCreatureTarget(cid)).z} local target = getCreatureTarget(cid) if target == isMonster or isCreature then doTeleportThing(cid, postarget) doSendMagicEffect(postarget, 10) end end function onCastSpell(cid, var) local pos = {} table.insert(pos, getCreaturePosition(cid)) local parameters = { cid = cid, var = var, combat1 = combat1 } doSendMagicEffect(getCreaturePosition(cid), 98) doPlayerSay(cid, 'Aaaaaaaahhh!!!', TALKTYPE_ORANGE_1) for i = 1, 3 do addEvent(function() if isCreature(cid) then addEvent(onCastSpell1, 1, parameters) end end, 1 + ((i-1) * 150)) end addEvent(function() if isCreature(cid) and isCreature(getCreatureTarget(cid)) then ms1(cid) end end, 100 * 1) addEvent(function() if isCreature(cid) and isCreature(getCreatureTarget(cid)) then ms2(cid) end end, 200 * 1) addEvent(function() if isCreature(cid) and isCreature(getCreatureTarget(cid)) then ms3(cid) end end, 300 * 1) addEvent(function() if isCreature(cid) and isCreature(getCreatureTarget(cid)) then ms4(cid) end end, 400 * 1) addEvent(function() if isCreature(cid) then doTeleportThing(cid, pos[1]) doSendMagicEffect(pos[1], 10) table.remove(pos) end end, 500 * 1) return true end
  4. vou aproveitar que eu to com 2 duvidas e vou perguntar em um so topico, \/\/\/\/ essa é a primeira duvida script \/ function onUse(cid, item) if not getTileInfo(getThingPos(cid)).protection then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"Voce Precisa Estar Em Uma Zona Protegida.") return true end if getCreatureSkullType(cid) == SKULL_RED or getCreatureSkullType(cid) == SKULL_black then db.executeQuery("UPDATE `killers` SET `unjustified` = 0 WHERE `id` IN (SELECT `kill_id` FROM `player_killers` WHERE `player_id` = " .. getPlayerGUID(cid) .. ")") db.executeQuery("UPDATE `players` SET `skulltime` = 0") doCreatureSetSkullType(cid, 0) doPlayerSendTextMessage(cid, 19, "Voce Removeu Seus Frags/Skull Com Sucesso.") doSendMagicEffect(getThingPos(cid), 26) doRemoveItem(item.uid,1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Seu Skull Foi Removido!") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce Nao Estar Com Red Ou Black Skull!") end return true end --------------------------------------------- segunda duvida é porque eu nao consigo fazer nada com este item "Shenron" ele faz o papel dele que é transformar voce em um shenron mais o que ele nao faz é que nao pode ser movido/jogado/passado por trade quando eu aceito o trade, o trade é completo, mais o item "Shenron" nao vai pra pessoa em que eu dei trade e os 100golds dela vem pra mim
  5. alguem aqui usa o roteador multilaser? alguem poderia me ensinar como liberar as portas necessarias para que eu possa deixar meu ot/site online para todos entrar tanto no ot quanto no site? dou REP++++ cara eu so falto isso mesmo para deixar meu dbo livre, ja esta tudo certinho agradeço bastante, de verdade quem puder me ajudar
  6. o que eu fiz de errado que essas portas ainda nao querem abrir, e nem fechar? eu ja adicionei no actions.xml <action itemid="13477" event="script" value="other/doors.lua"/> <action itemid="13478" event="script" value="other/doors.lua"/> <action itemid="13479" event="script" value="other/doors.lua"/> <action itemid="13480" event="script" value="other/doors.lua"/> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- action/scripts/doors "nao mexi em nada, so coloquei aqui para que se for pra modificar, voces me ajudarem" local function checkStackpos(item, position) position.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE local thing = getThingFromPos(position) position.stackpos = STACKPOS_TOP_FIELD local field = getThingFromPos(position) return (item.uid == thing.uid or thing.itemid < 100 or field.itemid == 0) end local function doorEnter(cid, item, toPosition) doTransformItem(item.uid, item.itemid + 1) doTeleportThing(cid, toPosition) end function onUse(cid, item, fromPosition, itemEx, toPosition) if(fromPosition.x ~= CONTAINER_POSITION and isPlayerPzLocked(cid) and getTileInfo(fromPosition).protection) then doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) return true end if(getItemLevelDoor(item.itemid) > 0) then if(item.actionid == 189) then if(not isPremium(cid)) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") return true end doorEnter(cid, item, toPosition) return true end local gender = item.actionid - 186 if(isInArray({PLAYERSEX_FEMALE, PLAYERSEX_MALE, PLAYERSEX_GAMEMASTER}, gender)) then if(gender ~= getPlayerSex(cid)) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") return true end doorEnter(cid, item, toPosition) return true end local skull = item.actionid - 180 if(skull >= SKULL_NONE and skull <= SKULL_BLACK) then if(skull ~= getCreatureSkullType(cid)) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") return true end doorEnter(cid, item, toPosition) return true end local group = item.actionid - 150 if(group >= 0 and group < 30) then if(group > getPlayerGroupId(cid)) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") return true end doorEnter(cid, item, toPosition) return true end local vocation = item.actionid - 100 if(vocation >= 0 and vocation < 50) then local playerVocationInfo = getVocationInfo(getPlayerVocation(cid)) if(playerVocationInfo.id ~= vocation and playerVocationInfo.fromVocation ~= vocation) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") return true end doorEnter(cid, item, toPosition) return true end if(item.actionid == 190 or (item.actionid ~= 0 and getPlayerLevel(cid) >= (item.actionid - getItemLevelDoor(item.itemid)))) then doorEnter(cid, item, toPosition) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") end return true end if(isInArray(specialDoors, item.itemid)) then if(item.actionid == 100 or (item.actionid ~= 0 and getPlayerStorageValue(cid, item.actionid) > 0)) then doorEnter(cid, item, toPosition) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "The door seems to be sealed against unwanted intruders.") end return true end if(isInArray(keys, item.itemid)) then if(itemEx.actionid > 0) then if(item.actionid == itemEx.actionid and doors[itemEx.itemid] ~= nil) then doTransformItem(itemEx.uid, doors[itemEx.itemid]) return true end doPlayerSendCancel(cid, "The key does not match.") return true end return false end if(isInArray(horizontalOpenDoors, item.itemid) and checkStackpos(item, fromPosition)) then local newPosition = toPosition newPosition.y = newPosition.y + 1 local doorPosition = fromPosition doorPosition.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE local doorCreature = getThingfromPos(doorPosition) if(doorCreature.itemid ~= 0) then local pzDoorPosition = getTileInfo(doorPosition).protection local pzNewPosition = getTileInfo(newPosition).protection if((pzDoorPosition and not pzNewPosition and doorCreature.uid ~= cid) or (not pzDoorPosition and pzNewPosition and doorCreature.uid == cid and isPlayerPzLocked(cid))) then doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) else doTeleportThing(doorCreature.uid, newPosition) if(not isInArray(closingDoors, item.itemid)) then doTransformItem(item.uid, item.itemid - 1) end end return true end doTransformItem(item.uid, item.itemid - 1) return true end if(isInArray(verticalOpenDoors, item.itemid) and checkStackpos(item, fromPosition)) then local newPosition = toPosition newPosition.x = newPosition.x + 1 local doorPosition = fromPosition doorPosition.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE local doorCreature = getThingfromPos(doorPosition) if(doorCreature.itemid ~= 0) then if(getTileInfo(doorPosition).protection and not getTileInfo(newPosition).protection and doorCreature.uid ~= cid) then doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) else doTeleportThing(doorCreature.uid, newPosition) if(not isInArray(closingDoors, item.itemid)) then doTransformItem(item.uid, item.itemid - 1) end end return true end doTransformItem(item.uid, item.itemid - 1) return true end if(doors[item.itemid] ~= nil and checkStackpos(item, fromPosition)) then if(item.actionid == 0) then doTransformItem(item.uid, doors[item.itemid]) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is locked.") end return true end return false end ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- items.xml </item> <item id="13477" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="13480" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="13479" article="an" name="closed door"> <attribute key="type" value="door" /> </item> <item id="13478" article="an" name="closed door"> <attribute key="type" value="door" /> </item>
  7. <<<<< efeitos no meu client <<<<< comando para executar o efeito <<<< mais o efeito nao sai após execução do comando como eu posso adicionar todos efeitos, items, roupas para que eu possa usar e aproveitar no meu servidor??? dou REP+++++++++++++++++++++++
  8. tou a procura de alguem que esteja disposto a me ajudar em meu mapa, o que eu proponho é o seguinte, meu dbo esta online via hamachi "por enquanto" ele guenta no max 5 pessoas contando comigo, em meio tempo que estara online via hamachi eu quero arrumar o mapa, entao eu darei ADM para as 4 pessoas que for me ajudar. eae quando eu for botar online de verdade eu posso deixar algum de tutor, gm ou ate mesmo adm, quem quiser me ajudar chama la whats 79 99872-6404. se for mesmo manda uma msg assim, oi, eu queria te ajudar em seu mapa que assim ja vou criar uma conta adm para as 4 pessoas
  9. @Meguminyan tenta entrar ai, 25.3.138.17 tambem tenta entrar no dbo > download pro client < http://www.mediafire.com/file/ctm8n5mlfc889we/DBO+Alpha+Client.rar
  10. eu tou tentando abrir meu dbo pelo hamachi por enquanto para meus amigos me ajudarem, mais eu nao consigo deixar o site online pelo ip do hamachi e sem o site o dbo nao liga voces poderiam me ajudar?
  11. apenas o comando /war accept.. que nao esta pegando
  12. que erro é esse? e como conserta?
  13. tentei baixar esse 1.7.3 mais nao consegui, poderia deixar o link dele? eu baixei ele aqui, mais ta dando esses 2 erro \/ Fatal error: Class 'PDO' not found in C:\xampp\htdocs\system\application\libraries\POT\OTS.php on line 1694 /\ esse erro é qnd eu tento entrar no site... e esse \/ é que esta faltando alguma coisa o programa nao pode ser iniciado porque esta faltando php_pdo.dll no seu computador
  14. A PHP Error was encountered Severity: Notice Message: Only variables should be passed by reference Filename: codeigniter/Common.php Line Number: 148 A PHP Error was encountered Severity: 8192 Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Hooks has a deprecated constructor Filename: libraries/Hooks.php Line Number: 30 A PHP Error was encountered Severity: 8192 Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Config has a deprecated constructor Filename: libraries/Config.php Line Number: 29 A PHP Error was encountered Severity: Notice Message: Only variables should be passed by reference Filename: codeigniter/Common.php Line Number: 148 A PHP Error was encountered Severity: Notice Message: Only variables should be passed by reference Filename: codeigniter/Common.php Line Number: 148 A PHP Error was encountered Severity: 8192 Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_URI has a deprecated constructor Filename: libraries/URI.php Line Number: 29 A PHP Error was encountered Severity: Notice Message: Only variables should be passed by reference Filename: codeigniter/Common.php Line Number: 148 A PHP Error was encountered Severity: 8192 Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Router has a deprecated constructor Filename: libraries/Router.php Line Number: 29  A PHP Error was encountered Severity: Notice Message: Only variables should be passed by reference Filename: codeigniter/Common.php Line Number: 148 A PHP Error was encountered Severity: 8192 Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Output has a deprecated constructor Filename: libraries/Output.php Line Number: 29 A PHP Error was encountered Severity: Notice Message: Only variables should be passed by reference Filename: codeigniter/Common.php Line Number: 148 A PHP Error was encountered Severity: 8192 Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Input has a deprecated constructor Filename: libraries/Input.php Line Number: 29 A PHP Error was encountered Severity: Notice Message: Only variables should be passed by reference Filename: codeigniter/Common.php Line Number: 148 A PHP Error was encountered Severity: 8192 Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Language has a deprecated constructor Filename: libraries/Language.php Line Number: 27 A PHP Error was encountered Severity: Notice Message: Only variables should be passed by reference Filename: codeigniter/Common.php Line Number: 148 A PHP Error was encountered Severity: 8192 Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Base has a deprecated constructor Filename: codeigniter/Base5.php Line Number: 33 A PHP Error was encountered Severity: 8192 Message: Methods with the same name as their class will not be constructors in a future version of PHP; Controller has a deprecated constructor Filename: libraries/Controller.php Line Number: 30 A PHP Error was encountered Severity: 8192 Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Loader has a deprecated constructor Filename: libraries/Loader.php Line Number: 29 A PHP Error was encountered Severity: Notice Message: Only variables should be passed by reference Filename: codeigniter/Common.php Line Number: 148  A PHP Error was encountered Severity: 8192 Message: Methods with the same name as their class will not be constructors in a future version of PHP; Model has a deprecated constructor Filename: libraries/Model.php Line Number: 27  A PHP Error was encountered Severity: 8192 Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_DB_driver has a deprecated constructor Filename: database/DB_driver.php Line Number: 31 A PHP Error was encountered Severity: Notice Message: Only variables should be passed by reference Filename: database/DB.php Line Number: 133 Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:\xampp\htdocs\system\database\drivers\mysql\mysql_driver.php:88 Stack trace: #0 C:\xampp\htdocs\system\database\DB_driver.php(115): CI_DB_mysql_driver->db_pconnect() #1 C:\xampp\htdocs\system\database\DB.php(137): CI_DB_driver->initialize() #2 C:\xampp\htdocs\system\libraries\Loader.php(224): DB(Array, false) #3 C:\xampp\htdocs\system\application\models\home_model.php(6): CI_Loader->database() #4 C:\xampp\htdocs\system\libraries\Loader.php(184): home_model->__construct() #5 C:\xampp\htdocs\system\application\controllers\home.php(7): CI_Loader->model('Home_model') #6 C:\xampp\htdocs\system\codeigniter\CodeIgniter.php(236): Home->index() #7 C:\xampp\htdocs\index.php(165): require_once('C:\\xampp\\htdocs...') #8 {main} thrown in C:\xampp\htdocs\system\database\drivers\mysql\mysql_driver.php on line 88 versao do xampp 3.2.2, site de dbo Modern acc
  15. como eu posso fazer para que essas portas sirvam como as outras restante? elas nao abrem nem fecham uns cara do tibiaking falou pra mim adicionar no global.lua, mais eu nao sei em que pasta fica isso, ja abri todas as pasta mais nao achei
  16. entao, eu tou com um servidor de dbo e meu site ele ta com o shop desativo, assim que eu clico no icone do shop ele vai para a pagina inicial "novidades" e esse site que o cara disponibilizou no topico dele para download ja nao esta mais valido no 4shared, poderia me ajudar?
  17. entao, eu queria saber como eu posso adicionar tudo que tem no tibia.dat e tibia.spr para meu ot de dbo, eu baixei o Object Builder e la tem varias coisas que no cliente "servidor" de dbo nao tem, entao eu queria importar tudo de la para que eu possa usar-los
  18. Eu tenho x points no site para comprar qualquer item vip, mais tem um cara querendo comprar premium points por x item e que é um item raro e eu quero muito, entao eu pegaria um x item que transferice meus x pontos do site para ele. O x item de transferencia poderia dar trade. Apos a troca ser feita com sucesso, a quem eu vendi meus x pontos pelo item x no trade, o cara que recebeu so bastava usar o x item de pontos iria para a conta dele Para gastar avontade no shop
  19. alguem me ensina a como mudar a imagem de fundo do meu site dbo pf, versao 8.6 site modernacc xampp URGENTE PLEASE ja esta quase pronto o servidor
  20. Brother eq eu nao manjo dms criar ot, nem sei oq é source, poderia me explicar melhor?
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...