Ir para conteúdo

Dr. Gregory House

Membro
  • Registro em

  • Última visita

  1. Dr. Gregory House reagiu a uma resposta no tópico: Premdays
  2. Dr. Gregory House reagiu a uma resposta no tópico: Uso do if e then
  3. Dr. Gregory House reagiu a uma resposta no tópico: Uso do if e then
  4. Dr. Gregory House reagiu a uma resposta no tópico: VPS e DOMINIO
  5. Dr. Gregory House reagiu a uma resposta no tópico: VPS e DOMINIO
  6. Não tem castsystem não, cabei de olhar os códigos da source e não existe.
  7. luanluciano93 reagiu a uma resposta no tópico: [PEDIDO] OTX COM CAST SYSTEM
  8. luanluciano93 reagiu a uma resposta no tópico: [PEDIDO] OTX COM CAST SYSTEM
  9. elli reagiu a uma resposta no tópico: [PEDIDO] OTX COM CAST SYSTEM
  10. quem sabe se eu não tiver de bom humor esse fim de semana eu não adicione e poste aqui no fórum
  11. Otx, com cast system só comprando ou tu msm adicionando... REMOVIDO
  12. JcA reagiu a uma resposta no tópico: (Resolvido)Como eu removo esse erro?
  13. YuirtReta reagiu a uma resposta no tópico: AJUDA URGENTE NO GESIOR
  14. YuirtReta reagiu a uma resposta no tópico: AJUDA URGENTE NO GESIOR
  15. adiciona isso na database do seu 'phpmyadmin' ou 'sqlstudio' ... CREATE TABLE IF NOT EXISTS `guild_wars` ( `id` INT, `guild_id` INT NOT NULL, `enemy_id` INT NOT NULL, `begin` BIGINT NOT NULL DEFAULT 0, `end` BIGINT NOT NULL DEFAULT 0, `frags` INT NOT NULL DEFAULT 0, `payment` BIGINT NOT NULL DEFAULT 0, `guild_kills` INT NOT NULL DEFAULT 0, `enemy_kills` INT NOT NULL DEFAULT 0, `status` TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (`id`) )
  16. vai no 'phpmyadmin' clica na sua 'database' clicam em 'sql' no canto esquerdo superior ... e adiciona esse código : `OT` é o nome da database... se vc usar esse comando irá colocar todos os player lvl 8. UPDATE `ot`.`players` SET `level` = '8', `health` = '180', `healthmax` = '180', `experience` = '4200', `mana` = '35', `manamax` = '35', `cap` = '400' UPDATE `ot`.`players_skills` SET `value` = '10'
  17. tenta : Se não der pelo menos tentei
  18. O código/script está correto o problema está nesse usbwebserver que vc está usando, talvez tenha que mudar alguma função pra funcionar, mas não tem como eu fazer isso , porque nunca usei Funcionou @brubeiro ?
  19. createaccount.php config.php Verifiquem se estão usando a versão 1.7.3 do Xampp se não estão usando baixem...
  20. troca o seu por esse :
  21. createaccount.php <?PHP # Account Maker Config $config['site']['serverPath'] = "C:/Users/root/Desktop/morango86/"; $config['site']['useServerConfigCache'] = true; $config['site']['worlds'] = array(0 => 'Morango 86'); $towns_list[0] = array(1 => 'Baiak'); $config['site']['outfit_images_url'] = '/outfit.php'; $config['site']['item_images_url'] = 'http://item-images.ots.me/960/'; $config['site']['item_images_extension'] = '.gif'; $config['site']['flag_images_url'] = 'http://flag-images.ots.me/'; $config['site']['flag_images_extension'] = '.png'; $config['site']['players_group_id_block'] = 3; $config['site']['limitDeath'] = 5; $config['site']['levelVideo'] = 150; # Create Account Options $config['site']['one_email'] = false; $config['site']['create_account_verify_mail'] = false; $config['site']['verify_code'] = true; $config['site']['email_days_to_change'] = 3; $config['site']['newaccount_premdays'] = 999; $config['site']['send_register_email'] = false; # Create Character Options $config['site']['newchar_vocations'][0] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample'); $config['site']['newchar_towns'][0] = array(1); $config['site']['max_players_per_account'] = 15; # Emails Config $config['site']['send_emails'] = true; $config['site']['mail_address'] = "[email protected]"; $config['site']['smtp_enabled'] = true; $config['site']['smtp_host'] = "smtp.xxxxx.com.br"; $config['site']['smtp_port'] = 587; $config['site']['smtp_auth'] = true; $config['site']['smtp_user'] = "[email protected]"; $config['site']['smtp_pass'] = "xxx"; # PAGE: whoisonline.php $config['site']['private-servlist.com_server_id'] = 1; /* Server id on 'private-servlist.com' to show Players Online Chart (whoisonline.php page), set 0 to disable Chart feature. To use this feature you must register on 'private-servlist.com' and add your server. Format: number, 0 [disable] or higher */ # PAGE: characters.php $config['site']['quests'] = array('Annihilator' => 5000,'Demon Helmet' => 2645,'Pits of Inferno' => 5550); $config['site']['show_skills_info'] = true; $config['site']['show_vip_storage'] = 0; # PAGE: accountmanagement.php $config['site']['send_mail_when_change_password'] = true; $config['site']['send_mail_when_generate_reckey'] = true; $config['site']['generate_new_reckey'] = true; $config['site']['generate_new_reckey_price'] = 500; # PAGE: guilds.php $config['site']['guild_need_level'] = 8; $config['site']['guild_need_pacc'] = false; $config['site']['guild_image_size_kb'] = 50; $config['site']['guild_description_chars_limit'] = 2000; $config['site']['guild_description_lines_limit'] = 6; $config['site']['guild_motd_chars_limit'] = 250; # PAGE: adminpanel.php $config['site']['access_admin_panel'] = 3; $config['site']['access_tickers'] = 3; # PAGE: latestnews.php $config['site']['news_limit'] = 6; # PAGE: killstatistics.php $config['site']['last_deaths_limit'] = 40; # PAGE: team.php $config['site']['groups_support'] = array(2, 3, 4, 5, 6, 7); # PAGE: highscores.php $config['site']['groups_hidden'] = array(4, 5, 6); $config['site']['accounts_hidden'] = array(1); # PAGE: shopsystem.php $config['site']['shop_system'] = true; $config['site']['shopguild_system'] = true; # PAGE: lostaccount.php $config['site']['email_lai_sec_interval'] = 180; # Layout Config $config['site']['layout'] = 'tibiarl'; $config['site']['vdarkborder'] = '#505050'; $config['site']['darkborder'] = '#D4C0A1'; $config['site']['lightborder'] = '#F1E0C6'; $config['site']['download_page'] = false; $config['site']['serverinfo_page'] = true;
  22. posta o 'config.php' e o 'createaccount.php' em spoiler...
  23. Dr. Gregory House postou uma resposta no tópico em Scripts tfs 0.4 (OLD)
    A spell basicamente faz players ou monster(confiíguravel), serem "silenciados" assim impedindo de dizerem qualquer coisa por X segundos, assim os jogadores são incapazes de soltar qualquer tipo de feitiço. silence.lua local tarmonster = true -- Funcionar em monsters local ptime = 8000 -- 8 seconds = 8000 local mtime = 10000 -- 10 seconds = 10000 local pcombat = createCombatObject() setCombatParam(pcombat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) setCombatParam(pcombat, COMBAT_PARAM_AGGRESSIVE, true) local pcondition = createConditionObject(CONDITION_MUTED) setConditionParam(pcondition, CONDITION_PARAM_TICKS, ptime) setCombatCondition(pcombat, pcondition) local mcombat = createCombatObject() setCombatParam(mcombat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) setCombatParam(mcombat, COMBAT_PARAM_AGGRESSIVE, true) local mcondition = createConditionObject(CONDITION_MUTED) setConditionParam(mcondition, CONDITION_PARAM_TICKS, mtime) setCombatCondition(mcombat, mcondition) function onCastSpell(cid, var) local creature = Creature(cid) local tar = creature:getTarget() if tar:getCondition(CONDITION_MUTED) then creature:sendTextMessage(MESSAGE_STATUS_SMALL, "This creature is already muted") return false end if tar:isPlayer() == true then tar:say("^SILENCED^",TALKTYPE_MONSTER_SAY) doCombat(tar, pcombat, var) return true end if tar:isMonster() == true then if(tarmonster == true) then tar:say("^SILENCED^",TALKTYPE_MONSTER_SAY) doCombat(tar, mcombat, var) return true else creature:sendTextMessage(MESSAGE_STATUS_SMALL, "You can only use this spell on Players.") end end end spells.xml <instant name="Silence" words="exevo silencia" lvl="30" mana="400" prem="0" aggressive="1" selftarget="0" exhaustion="25000" group="support" groupcooldown="500" icon="126" needlearn="0" script="silence.lua"> <vocation name="Druid"/> </instant>
  24. Me pediram no skype... globalevents/globalevents.xml <globalevent name="Znote Shop" interval="30000" script="znoteShop.lua"/> globalevents/scripts/znoteShop.lua function onThink(interval, lastExecution) local players = Game.getPlayers() if #players == 0 then -- 0 players online, no need to execute the script return true end local player for i = 1, #players do player = players[i] local orderQuery = db.storeQuery('SELECT `id`, `type`, `itemid`, `count` FROM `znote_shop_orders` WHERE `account_id` = '.. player:getAccountId() ..' LIMIT 1;') if orderQuery then --Lets check if the players online have orderd something from the shop local orderId = result.getDataInt(orderQuery, 'id') local orderType = result.getDataInt(orderQuery, 'type') local orderItemId = result.getDataInt(orderQuery, 'itemid') local orderCount = result.getDataInt(orderQuery, 'count') result.free(orderQuery) if orderType == 1 then if player:addItemEx(Game.createItem(orderItemId, orderCount or 1)) ~= RETURNVALUE_NOERROR or player:getFreeCapacity() < ItemType(orderItemId):getWeight(orderCount or 1) then --Lets check if player have slot or cape left. Else send to player inbox local parcel = player:getInbox():addItem(2596, 1, false, 1) if not parcel then --If not being able to create parcel we stop the script and retry again. print('[ERROR Znote Shop Globalevents] = Error on creating a parcel.') return true end local letter = parcel:addItem(2598, 1, false, 1) letter:setAttribute(ITEM_ATTRIBUTE_TEXT, 'You have received your shop item. Thanks for donating.') parcel:addItem(orderItemId, orderCount or 1, false, 1) end db.query('DELETE FROM `znote_shop_orders` WHERE `id` = '.. orderId ..';') player:sendTextMessage(MESSAGE_INFO_DESCR, 'Congratulations! You have received '.. orderCount ..'x '.. ItemType(orderItemId):getName() ..'!') end end end return true end

Informação Importante

Confirmação de Termo