Ir para conteúdo

Mr. Crimson Prince

Membro
  • Registro em

  • Última visita

Tudo que Mr. Crimson Prince postou

  1. o tenso é que uso um vps linux, mas vlw por tentar ajudar;
  2. quando eu tento entrar no site; Error occured! Error ID: #C-5 More info: ERROR: #C-5 : Class::ConfigPHP - Key sqlType doesn't exist. File: /var/www/classes/configphp.php Line: 96 File: /var/www/system/load.database.php Line: 27 File: /var/www/index.php Line: 21
  3. Eu já estou usando...
  4. cara tamo fudido no msm erro HASHAUHSAU, se eu conseguir arrumar te dou um help; (acho que já sei o que é)
  5. qual a definição que você está usando pra "ip privado" ?
  6. no firstitems.lua troca por esse : local config = { [1] = { --equipment spellbook, wand of vortex, magician's robe, mage hat, studded legs, leather boots, scarf {{2175, 1}, {2190, 1}, {8819, 1}, {8820, 1}, {2468, 1}, {2643, 1}, {2661, 1}}, --container rope, shovel, mana potion {{2120, 1}, {2554, 1}, {2789, 10}} }, [2] = { --equipment spellbook, snakebite rod, magician's robe, mage hat, studded legs, leather boots scarf {{2175, 1}, {2182, 1}, {8819, 1}, {8820, 1}, {2468, 1}, {2643, 1}, {2661, 1}}, --container rope, shovel, mana potion {{2120, 1}, {2554, 1}, {2789, 10}} }, [3] = { --equipment dwrven shield, 5 spear, ranger's cloak, ranger legs scarf, legion helmet {{2525, 1}, {2389, 5}, {2660, 1}, {8923, 1}, {2643, 1}, {2661, 1}, {2480, 1}}, --container rope, shovel, health potion, bow, 50 arrow {{2120, 1}, {2554, 1}, {2789, 10}, {2456, 1}, {2544, 50}} }, [4] = { --equipment dwarven shield, steel axe, brass armor, brass helmet, brass legs scarf {{2525, 1}, {8601, 1}, {2465, 1}, {2460, 1}, {2478, 1}, {2643, 1}, {2661, 1}}, --container jagged sword, daramian mace, rope, shovel, health potion {{8602, 1}, {2439, 1}, {2120, 1}, {2554, 1}, {2789, 10}} } } function onLogin(cid) local player = Player(cid) local targetVocation = config[player:getVocation():getId()] if not targetVocation then return true end if player:getLastLoginSaved() == 0 then for i = 1, #targetVocation[1] do player:addItem(targetVocation[1][i][1], targetVocation[1][i][2]) end local backpack = player:addItem(1988) for i = 1, #targetVocation[2] do backpack:addItem(targetVocation[2][i][1], targetVocation[2][i][2]) end end return true end e verifica se tem essa linha no creaturescripts.xml : <event type="login" name="FirstItems" event="script" value="firstitems.lua"/>
  7. Windows 8 reembolsa e instala outro s.o... brincadeiras a parte Já liberou todas as portas do modem e do firewall ?
  8. @OrochiElf o problema dele não é o script... local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) accountManager = "Account Manager" managerCounter = 0 for i, player in ipairs(getOnlinePlayers()) do if accountManager:lower() == player:lower() then managerCounter = managerCounter + 1 end end if getPlayerStorageValue(cid, 12036) == -1 then setPlayerStorageValue(cid, 12036, 1) end if managerCounter >= 3 then return false end local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 12) doPlayerSetLossPercent(cid, PLAYERLOSS_SKILLS, loss * 12) doPlayerSetLossPercent(cid, PLAYERLOSS_MANA, loss * 12) doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, loss * 3) doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, loss * 4) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?") elseif(accountManager == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "Idle") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "PlayerAdvance") registerCreatureEvent(cid, "zombieevent") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "AdvanceSave") registerCreatureEvent(cid, "attackguild") registerCreatureEvent(cid, "advance") registerCreatureEvent(cid, "FimVip") registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "demonOakLogout") registerCreatureEvent(cid, "demonOakDeath") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "bluelegs") registerCreatureEvent(cid, "freevip") registerCreatureEvent(cid, "VipReceive") registerCreatureEvent(cid, "FirstItems") registerCreatureEvent(cid, "ExpVip") registerCreatureEvent(cid, "Promot") registerCreatureEvent(cid, "PlayerKill") registerCreatureEvent(cid, "KillingInTheNameOf") registerCreatureEvent(cid, "PythiusDead") registerCreatureEvent(cid, "onPrepareDeath") registerCreatureEvent(cid, "recompensa") registerCreatureEvent(cid, "itembylevel") registerCreatureEvent(cid, "playeradvance") registerCreatureEvent(cid, "fullmh") if (InitArenaScript ~= 0) then InitArenaScript = 1 for i = 42300, 42309 do setGlobalStorageValue(i, 0) setGlobalStorageValue(i+100, 0) end end if getPlayerStorageValue(cid, 42309) < 1 then for i = 42300, 42309 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42319) < 1 then for i = 42310, 42319 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42329) < 1 then for i = 42320, 42329 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42355) == -1 then setPlayerStorageValue(cid, 42355, 0) end setPlayerStorageValue(cid, 42350, 0) setPlayerStorageValue(cid, 42352, 0) -----[[Dodge System registerCreatureEvent(cid, "dodge") if getPlayerStorageValue(cid, 48902) == -1 then setPlayerStorageValue(cid, 48902, 0) end --- CRITICAL SYSTEM ---- registerCreatureEvent(cid, "critical") if getPlayerStorageValue(cid, 48913) == -1 then setPlayerStorageValue(cid, 48913, 0) end return true end
  9. sqlType = "mysql" sqlHost = "127.0.0.1 " -- trocar pro meu ip não vai fazer funcionar ja tentei... sqlPort = 3306 sqlUser = "root" sqlPass = "*****" sqlDatabase = "otserv" sqlFile = "mysql.sql" sqlKeepAlive = 0 mysqlReadTimeout = 6000 mysqlWriteTimeout = 6000 encryptionType = "sha1" @edit : testei o website do victor e funcionou, mas quero usar esse pro meu serve da um help aew alguém;
  10. Mr. Crimson Prince postou uma resposta no tópico em Playground (Off-topic)
    eu ri ehueheuheueh
  11. já verificou se no config.lua em 'worldType' está open... se não tiver mude Edit... No login.lua, tenta colocar isso: doPlayerSetLossPercent(cid, lossType, newPercent) Onde lossType é: PLAYERLOSS_EXPERIENCE = 0 PLAYERLOSS_MANA = 1 PLAYERLOSS_SKILLS = 2 PLAYERLOSS_CONTAINERS = 3 PLAYERLOSS_ITEMS = 4 E newPercent é a nova porcentagem.
  12. vai em \data\creaturescripts\scripts\login.lua procure por : doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) abaixo adicione doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, 10)
  13. talkactions/scripts/bless.lua local bless = {1, 2, 3, 4, 5} local cost = 80000 function onSay(cid, words, param) for i = 1, table.maxn(bless) do if(getPlayerBlessing(cid, bless[i])) then doPlayerSendCancel(cid, "Voce ja tem todas as bless.") aqui é a mensagem quando você comprou o bless é queria comprar denovo return TRUE end end if(doPlayerRemoveMoney(cid, cost) == TRUE) then for i = 1, table.maxn(bless) do doPlayerAddBlessing(cid, bless[i]) end doCreatureSay(cid, "You are now blessed by the Server!" ,19) aqui é a mensagem que aparecerá quando você comprou o bless doSendMagicEffect(getPlayerPosition(cid), 49) else doPlayerSendCancel(cid, "Voce precisa de 80k para a bless.") aqui é a mensagem que aparecerá se você não tiver o money. end return TRUE
  14. STEP 2 Error occured! Error ID: #C-5 More info: ERROR: #C-5 : Class::ConfigPHP - Key sqlType doesn't exist. File: /var/www/classes/configphp.php Line: 96 File: /var/www/install.php Line: 165
  15. Como diminuir o chat ... ta bugado não diminui mais que isso
  16. no config.lua procure por freePremium = true
  17. existe muitos melhores por aew, o matrix desviando de bala é mais real do que as coisas esses cara fazem com o carro/sem
  18. Já verifiquei absolute, e não há erro desse tipo .
  19. Segui os passos desse tutorial até aqui ... > http://www.tibiaking.com/forum/topic/32118-compilar-otserver-em-linux-ubuntu-1004/< /etc/init.d/apache2 start Se tiver feito até agora tudo certo, o seu site vai estar funcionando perfeitamente. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ja deixei meu config.ini assim : install = "no" server_path = "/home/otserver/" signatures = "0" e assim : install = "start" server_path = "/home/otserver/" signatures = "0" config.lua
  20. Após isso volte para o shell e vamos compilar o OTServer: Execute os comandos: ./autogen.sh -------------------------------------------------------------- -bash: /autogen.sh: No such file or directory eu qual seria a pasta/comando certo ? ------------------------------------------------------------------------- resolvi o erro. cd /home/otserver/sources chmod 777 -R * ./autogen.sh
  21. -bash: ./autogen.sh: No such file or directory root@testeserver:~# ./configure --enable-mysql -bash: ./configure: No such file or directory
  22. Mr. Crimson Prince postou uma resposta no tópico em Ouvidoria
    isso está acontecendo com um amigo meu tb ...

Informação Importante

Confirmação de Termo