Ir para conteúdo

Sinos

Campones
  • Total de itens

    11
  • Registro em

  • Última visita

Tudo que Sinos postou

  1. fiz exatamente isso, mas agora dar esse erro oO
  2. Já sim! E o erro mesmo assim continua.
  3. Opa galera do xtibia, vim pedir uma ajuda que é a seguinte: Tenho adicionando o sistema war of emperium (WOE) no meu tibia 8.60, só que quero adicionar agora no site numa coluna War of Emperium, já fiz tudo certinho, só que meu arquivo woe.php ta bugado, vejam: Meu arquivo WOE.php <div class='message'> <div class='title'>War of Emperium</div> <div class='content'> <?PHP require("config.php"); $ots = POT::getInstance(); $ots->connect(POT::DB_MYSQL, connection()); $SQL = $ots->getDBHandle(); echo '<table border="0" cellspacing="1" cellpadding="5" width=100% class="cellspadding"> <tr class="tableheader"> <TD align="center">What is War of Emperium?</TD> </TR> </TABLE> <table border="0" cellspacing="1" cellpadding="5" width=100% class="cellspadding"> <tr class="tablerow"> <TD width="30%"> <center><b>Objective</b><br />How to participate in War of Emperium.</center> </TD> <TD width="70%"> <center>Everyday tuesday, thursday, saturday and sunday at <b>5pm (Pacific Time)</b> the War of Emperium will begin. The objective of the event is to capture the castle and defend it until the event is over <i>(It lasts 10 minutes)</i>. Anybody can participate in this event and capture the castle as long as they\'re in a guild.</center> </TD> </TR> <tr class="tablerow"> <TD width="30%"> <center><b>Attacking the Castle</b><br />How to obtain power of the castle.</center> </TD> <TD width="70%"> <center>To capture the castle, you must enter inside and defeat both pre-emperiums. Once both crystals are destroyed, portals will open to the final emperium. If your guild destroys the final emperium, you must defend the Castle until the event has finished.</center> </TD> </TR> <tr class="tablerow"> <TD width="30%"> <center><b>Castle Defense</b><br />How can I defend my guilds castle?</center> </TD> <TD width="70%"> <center>If the event is not active, no guilds will have access to your castle and it is safe from intruders. However, during the event your castle is vulnerable to attacks. You can defend castle with guards or by healing your own emperium.</center> </TD> </TR> <tr class="tablerow"> <TD width="30%"> <center><b>The Castle Governor</b><br />What are the benefits of owning a castle?</center> </TD> <TD width="70%"> <center>When you control the castle, you will be given access to something.</center> </TD> </TR> </TABLE> <br /> <table border="0" cellspacing="1" cellpadding="5" width=100% class="cellspadding"> <tr class="tableheader"> <TD align="center"> <center>Additional Information and Commands</center> </TD> </TR> </TABLE> <table border="0" cellspacing="1" cellpadding="5" width=100% class="cellspadding"> <tr class="tablerow"> <TD width="30%"> <center><b>/woe info</b><br />Anybody</center> </TD> <TD width="70%"> <center>View the current Castle owner or when War of Emperium ends.</center> </TD> </TR> <tr class="tablerow"> <TD width="30%"> <center><b>!recall</b><br />Guild Leader</center> </TD> <TD width="70%"> <center>If you\'re inside the Castle, you may teleport all guild members to you. This has a 5 minute exhaust.</center> </TD> </TR> <tr class="tablerow"> <TD width="30%"> <center><b>Castle Banners</b><br />Guild Member</center> </TD> <TD width="70%"> <center>If you use a banner located inside the Castle, you will be teleported to the emperium regardless if the pre-emperiums are broken.</center> </TD> </TR> <tr class="tablerow"> <TD width="30%"> <center><b>Guard Lever</b><br />Guild Leader</center> </TD> <TD width="70%"> <center>If you use a the lever located near the main emperium, you will spawn 5 guards to help defend at the cost of 30000gp.</center> </TD> </TR> </TABLE> <br /><br />'; $woe = $SQL->query(" SELECT w.id AS id, w.time AS time, g.name AS guild, p.name AS name, w.started AS start, w.guild AS guild_id FROM woe AS w INNER JOIN players AS p ON p.id = w.breaker INNER JOIN guilds AS g ON g.id = w.guild ORDER BY id DESC LIMIT 10; ")->fetchAll(); if(empty($woe)) { echo ' <table border="0" cellspacing="0" cellpadding="5" width="100%" class="cellspadding"> <tr class="tableheader"> <TD align="center">Castle Governors</TD> </TR> <tr class="tablerow"> <td align="center">No WoE battles at Emporia yet.</td> </tr> </TABLE> '; } else { foreach ($woe as $k=>$v) { echo "<table border='0' cellspacing='1' cellpadding='5' width=100% class='cellspadding'> <tr class='tableheader'> <TD><b><center>#</center></b></TD> <TD><b><center>Winner Guild</center></b></TD> <TD><b><center>Conquest by</center></b></TD> <TD><b><center>Start time</center></b></TD> <TD><b><center>Last conquest</center></b></td> <tr class='tablerow'> <TD>".$v["id"]."</TD> <TD><a href='".WEBSITE."/index.php/guilds/view/".$v["guild_id"]."'>".$v["guild"]."</a></TD> <TD>".$v["name"]."</TD> <TD>" . date("d/m/y H:i:s", $v["start"]) . "</TD> <TD>" . date("d/m/y H:i:s", $v["time"]) . "</TD> </TR> </TABLE> "; } } ?> </div> </div> Aparece esse erro aqui: É isso ai galera, mas se tiverem outro arquivo woe.php seria muito bom tb, melhor ainda traduzido hehe, um rep+ pra quem me ajudar.
  4. Bom mano, tava com esse problema e concertei, fazendo o seguinte: Na aba do config.lua: sqlType = "mysql" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "" sqlDatabase = "teste" sqlFile = "" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "sha1" Mude o que está de vermelho para "127.0.0.1" Se ajudei dê um rep+ ai, bom jogo!
  5. Bom mano, tava com esse problema e concertei, fazendo o seguinte: Na aba do config.lua: sqlType = "mysql" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "" sqlDatabase = "teste" sqlFile = "" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "sha1" Mude o que está de vermelho para "127.0.0.1" Se ajudei dê um rep+ ai, bom jogo!
  6. Bom mano, tava com esse problema e concertei, fazendo o seguinte: Na aba do config.lua: sqlType = "mysql" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "" sqlDatabase = "teste" sqlFile = "" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "sha1" Mude o que está de vermelho para "127.0.0.1" Se ajudei dê um rep+ ai, bom jogo!
  7. Pô bicho, realmente você não ajudou muito né, map de versão 8.5+, falta muitas coisas a serem adicionadas nisso ai, ou seja não está nem 90% igual ao do Global... > REP - <
  8. Aí man, ainda não tive tempo de avaliar o server, mas uma perguntinha básica, o [VIP] que é adicionado no player, "sai" quando acaba os dias de vip automaticamente, ou só manualmente? Vlw por postar o server, abraços.
  9. Bom Server, continue assim, seria bom se colocasse ao menos uma prévia de quando sairia a nova atualização pra nos ficarmos ciente. Estarei testando o server e qualquer coisa post aqui alguns bugs. :withstupidsmiley:
  10. Diz uma coisa, isso que você quer, não serve com BAÚ não? Porque se não me engano esse script é pra ser usado com Uniqueid em BAÚs de Quest, tenta por um BAÚ tipo aqueles de quest e faz o mesmo procedimento. Flw
  11. Beleza mano, faz assim: Crie um novo arquivo .lua na pasta \data\actions\scripts com o nome de vochest.lua e cole isso nele: Depois em data\actions abra o actions.xml abaixo de <actions> copie e cole isso: Então crie sua alavanca pelo Map Editor e coloque-a no mapa que você deseja, depois com botão direito do mouse em cima dela, coloque o Uniqueid de "3540". Pronto Feito seu script Créditos não são meus, script retirado do Alissow Otserver 8.54~8.57, só fiz edita-lo para você! Flw mano, testa ae
  12. Tem certeza que está seguindo todos os procedimentos corretos mano? Até a parte que você também tem que editar o item.xml? Por se não me engano ele funfou nessa mesma versão aqui. flw
  13. Postado no lugar errado man, tome cuidado com isso aqui é somente pedidos de scripts, ou seja, o que necessariamente você quer tem que ser postado em se não me engano Área de Desenvolvimento e olhe lá. Leia sobre as regras das seções. Da próxima poderá ser Reportado. Cuidado! Moderadores movam esse post para o local certo, blz. Abraços!
  14. Sinos

    [Pedido] Bless

    Mano, não sei se vai funfar legal, mas tenta esse aqui: Flw
  15. Sinos

    First Items

    Tenta esse aqui mano: Vê se consegue ae!
  16. Blz então, vou dar uma olhada. Tópico reportado para moverem! ai man, o problema do !deathlist eu não sei, também não manjo muito de script mas qualquer outra coisa que estiver a minha altura, to ai... flw :withstupidsmiley:
  17. blz então mano, é isso ae ou seja Reportado para moverem!!! flw :withstupidsmiley:
  18. Beleza então, já serve mesmo, ai ta me devendo o look do VIP hehe, eskeceu ne? esse aqui ta de boa, vlwzão! um rep pra ti man
  19. Versão: 8.54~8.57 OT: Realserver Descrição> Script quase igual ao do quando a PREMIUM termina o player se teleporta pro templo, MUDANDO DE OUTFIT, porém é o seguinte, eu tenho esse script, mas ele está com algum tipo de erro e NÃO MUDA DE OUTFIT. O que occore: o Script não apresenta nenhum tipo de erro, mas ele não funciona, tipo: quando a VIP acaba, o player NÃO É TELEPORTADO PRO TEMPLO e NEM MUDA DE OUTFIT, vou postar o script para vocês analisarem um pouco. MAIS UMA COISA, PERCEBI QUE QUANDO A VIP TERMINA, NÃO É EXCLUIDO DA CONTA A STORAGE (55555,1) QUE O FAZ DE VIP. OU SEJA, TODOS QUE TEM ESSA STORAGE É VIP. ENTÃO É ISSO, GOSTARIA QUE ELE FUNCIONASSE E QUE MUDE DE OUTFIT QUANDO A VIP TERMINAR. OBRIGADO! FICO NO AGUARDO :positive:
  20. Ai mano, foi, mas aconteceu uma coisa quando você loga, vai pro templo e mudado de outfit, até ai blz, porém quando você tentar mudar o outfit pra outro, não vai, continua com o mesmo, só muda quando você dar outro logout, eu não sei o porque, mas desconfio das cores da roupa, não tem como manter as cores da roupa não? e apenas mudar o looktype? bom, só isso mesmo.
  21. Tipo nunca testei, mas veja se você consegue Abra o \data\movements\scripts do seu OT e cria uma novo documento .lua com o nome de troca.lua depois apague tudo que ta nele e adicione isso: Depois vai pra \data\movements\ e abra o arquivo movements.xml adicione isso abaixo de <movements> nesse caso, o anel seria o item - 2168, se quiser mudar, basta apenas por o id do anel que você quiser no local em vermelho do quote acima. E se quiser mudar o outfit pra qualquer outro, apenas mude o lookType de 128 para: Lista de LookType: 0 - Void 1 - <Nothing> 2 - Orc warlord 3 - Warwolf 4 - Orc rider 5 - Orc 6 - Orc shaman 7 - Orc warrior 8 - Orc berserker 9 - Necromancer 10 - Yellow butterfly 11 - Massive water elemental 12 - Archdemon 13 - Black sheep 14 - Sheep 15 - Troll 16 - Bear 17 - Beholder 18 - Ghoul 19 - Slime 20 - Quara predator 21 - Rat 22 - Cyclops 23 - Minotaur mage 24 - Minotaur archer 25 - Minutaur 26 - Rotworm 27 - Wolf 28 - Snake 29 - Minotaur guard 30 - Spider 31 - Deer 32 - Dog 33 - Skeleton 34 - Dragon 35 - Demon 36 - Poison spider 37 - Demon skeleton 38 - Giant spider 39 - Dragon lord 40 - Fire devil 41 - Lion 42 - Polar bear 43 - Scorpion 44 - Wasp 45 - Bug 46 - Quara constrictor 47 - Quara hydromancer 48 - Ghost 49 - Fire elemental 50 - Orc spearman 51 - Green Djinn 52 - Winter wolf 53 - Frost troll 54 - Witch 55 - behemoth 56 - Cave rat 57 - Monk 58 - Priestess 59 - Orc leader 60 - Pig 61 - Goblin 62 - Elf 63 - Elf arcarnist 64 - Elf Scout 65 - Mummy 66 - Dwarf geomancer 67 - Stone golem 68 - Vampire 69 - Dwarf 70 - Dwarf guard 71 - Dwarf soldier 72 - Quara mantassin 73 - Hero 74 - Rabbit 75 - Game master 76 - Swamp troll 77 - Quara pincher 78 - Banshee 79 - Ancient scarab 80 - Blue djinn 81 - Cobra 82 - Larva 83 - Scarab 84 - Ormuc 85 - Morguthis 86 - thalas 87 - Dipthrah 88 - Arkothep 89 - Mahrdis 90 - Vashresamun 91 - Ashmunrah 92 - Mimic 93 - Pirate marauder 94 - Hyaena 95 - Gargoyle 96 - Pirate cutthroat 97 - Pirate buccaneer 98 - Pirate corsair 99 - Lich 100 - Crypt shambler 101 - Bone beast 102 - Death slicer 103 - Efreet 104 - Marid 105 - Badger 106 - Skunk 107 - Demon 108 - Elder beholder 109 - Gazer 110 - Yeti 111 - Chicken 112 - Crab 113 - Lizard templar 114 - Lizard Sentinel 115 - Lizard Snakecharmer 116 - Kongra 117 - Merlkin 118 - Sibang 119 - Crocodile 120 - Carnaphila 121 - Hydra 122 - Bat 123 - Panda 124 - Centipede 125 - tiger 126 - Old Woman 127 - Old man 128 - Male citizen 129 - Male hunter 130 - Male mage 131 - Male knight 132 - Male nobleman 133 - Male summoner 134 - Male warrior 135 - <Nothing> 136 - Fenale citizen 137 - Female hunter 138 - Female mage 139 - Female Knight 140 - Female noblewoman 141 - Female summoner 142 - Female warrior 143 - Male barbarian 144 - Male druid 145 - Male wizard 146 - Male oriental 147 - Female barbarian 148 - Female druid 149 - Female wizard 150 - Female oriental 151 - Male pirate 152 - Male assassin 153 - Male begger 154 - Male shaman 155 - Female pirate 156 - Female assassin 157 - Female begger 158 - Female shaman 159 - Elf 160 - Dwarf 161 - <Nothing> 162 - <Nothing> 163 - <Nothing> 164 - <Nothing> 165 - <Nothing> 166 - <Nothing> 167 - <Nothing> 168 - <Nothing> 169 - <Nothing> 170 - <Nothing> 171 - <Nothing> 172 - <Nothing> 173 - <Nothing> 174 - <Nothing> 175 - <Nothing> 176 - <Nothing> 177 - <Nothing> 178 - <Nothing> 179 - <Nothing> 180 - <Nothing> 181 - <Nothing> 182 - <Nothing> 183 - <Nothing> 184 - <Nothing> 185 - <Nothing> 186 - <Nothing> 187 - <Nothing> 188 - <Nothing> 189 - <Nothing> 190 - <Nothing> 191 - <Nothing> 192 - Carrion worm 193 - Enlighted of the cult 194 - Adept of the cult 195 - Pirate skeleton 196 - Pirate ghost 197 - Tortoise 198 - Thornback tortoise 199 - Mammoth 200 - Blood crab 201 - Demon 202 - Minotaur guard 203 - Elf arcanist 204 - Dragon lord 205 - Stone golem 206 - Monk 207 - Minotaur guard 208 - giant spider 209 - Necromancer 210 - Elder beholder 211 - Elephant 212 - Flamingo 213 - Purple butterfly 214 - Dworc voodoomaster 215 - Dworc fleshhunter 216 - Dworc venomsniper 217 - Parrot 218 - Terror bird 219 - Tarantula 220 - Serpent spawn 221 - Spit nettle 222 - Toad 223 - Seagull 224 - Green frog 225 - Monk 226 - Frog 227 - Blue butterfly 228 - Red butterfly 229 - Ferumbras 230 - Hand of cursed fate 231 - Undead dragon 232 - Lost soul 233 - Betrayed wraith 234 - Dark torturer 235 - Spectre 236 - Destroyer 237 - Diabolic imp 238 - Defiler 239 - Wyvern 240 - Hellhound 241 - Phantasm 242 - Blistering fire elemental 243 - Hellfire fighter 244 - Juggernaut 245 - Nightmare 246 - Blightwalker 247 - Plaguesmith 248 - Frost dragon 249 - Chakoya tribewarden 250 - Penguin 251 - Male norseman 252 - Female norsewoman 253 - Barbarian headsplitter 254 - Barbarian skullhunter 255 - Barbarian bloodwalker 256 - Braindeath 257 - Frost giant 258 - Husky 259 - Chakoya toolshaper 260 - Chakoya windcaller 261 - Ice golem 262 - Silver rabbit 263 - Crystal spider 264 - Barbarian brutetamer 265 - Frost giantess 266 - Comunity manager 267 - Swimming 268 - Male nightmare knight 269 - Female nightmare knight 270 - Female jester 271 - Dragon hatchling 272 - Dragon lord hatchling 273 - Male jester 274 - Squirrel 275 - Sea serpent 276 - Cat 277 - Cyclops smith 278 - Male brotherhood of bones 279 - Female brotherhood of bones 280 - Cyclops drone 281 - Troll champion 282 - Island troll 283 - Frost dragon hatchling 284 - Cockroach 285 - Massive earth elemental 286 - Water elemental 287 - Vampire overlord 288 - Female demonhunter 289 - Male demonhunter 290 - Massive energy elemental 291 - Wyrm 292 - Animated pumpkin 293 - Energy element 294 - Wisp 295 - Rotworm queen 296 - Goblin assassin 297 - Goblin scavanger 298 - Skeleton warrior 299 - Bog raider 300 - Grim reaper 301 - Earth element 302 - God 303 - Undead tortoise? 304 - Worker golem 305 - Mutated rat 306 - Undead gladiator 307 - Mutaded bat 308 - Werewolf 309 - Yalaharian 310 - Haunted treeling 311 - Zombie 312 - Vampire bride 313 - Gozzler 314 - Acid blob 315 - Death blob 316 - Mercury blob 317 - Young sea serpent 318 - Mutated tiger 319 - Haunted spirit 320 - Nightstalker 321 - Nightmare scion 322 - Hellspawn 323 - Mutaded human 324 - Female yalaharian 325 - Male yalaharian 326 - War golem 327 - Female Noblewoman 328 - MAle Newly Wed 329 - Female Newly Wed 330 - Medusa 331 - Queen Eloise 332 - King Tibianus 333 - kamienny pos?g 334 - Draken Warmaster 336 - Male Warmaster 335 - Female Warmaster 337 - Lizard High Guard 338 - Lizard Legionnaire 339 - Lizard Dragon Priest 340 - Draken Spellwaver 341 - Gnarlhound 342 - Orc Marauder 343 - Lizard Zaogun 344 - Lizard Chosen 345 - Eternal Guardian 346 - Terramite 347 - Wailing Widow 348 - Lancer Beetle 349 - Insect Swarm 350 - Sandcrawler 351 - Ghastly Dragon Créditos do script editado por lastdemon! Espero ter ajudado!
  22. Bom Galera, olha eu de novo hehe dessa fez é o seguinte, quero um script simples: versão: 8.54~8.57 realserver descrição: Script que quando a premium de um char acabasse, ele fosse teleportado pra um templo FREE COM A OUTFIT TROCADA PARA O CITZEN OBS: TENHO UM SCRIPT QUE FAZ ISSO, MENOS A PARTE DE MUDAR DE OUTFIT, VOU POSTAR O MEU AQUI. OU SEJA, QUERO MESMO QUE QUANDO A PREMIUM ACABASSE A SUA OUTFIT FOSSE MUDADA JUNTO COM O TELEPORTE PRO TEMPLO. SCRIPT QUE TENHO: creaturescripts\scripts\NOMEDOSCRIPT1.LUA creaturescripts\scripts\NOMEDOSCRIPT2.LUA Então gente é isso aew, esse ta bom, faz tudo certinho MENOS TROCAR O OUTFIT DO PERSONAGEM PRA UM FREE COMO CITZEN. VLW , ESPERO QUE AJUDEM OBS: SE JÁ TIVER ESSE TÓPICO AQUI NO XTIBIA RESOLVIDO, FAVOR MANDAR O LINK, POIS NÃO ENCONTREI.
  23. felipedorgas Mano aprenda a Ler Não é exatamente como ele quer, mas serve sim pra o que ele quer, ajudo da forma possivel! Flw
  24. Ae man, tenta esse script aqui, no meu funfou legal 100% >>>Potions com Cargas Créditos 1tyi!
  25. Para Potion sumir aqui está mano: coloca isso em \data\actions\scripts\liquids\potions.lua Se aparecer algum erro durante o processo: Va Até: data\items Abra O items.xml procure por: - Great Mana Potion. - Great Health Potion. - Great Spirit Potion. - Ultimate Health Potion. - Strong Mana Potion. - Strong Health Potion. - Mana Potion. - Heath potion. Acresente essas Linhas Nas Potions. Após: De Cada Potion. Acresente Isso: Explicação para que serve: Esse script serve para aumentar o número de cargas de todas as potions, mas como ele não está 100% terminado as potions após serem usadas, somem. ou seja exatamente o que você quer, mas se quiser aumentar as cargas das potions vai no script acima que lhe mandei em: Em Vermelho > Altere esse valor até no máximo 100, caso altere, não se esquecer de modificar ele no items.xml onde ta escrito a linha: Créditos para 1tyi! Link do site aqui> http://www.xtibia.com/forum/topic/136820-actionspotion-com-cargas/
  • Quem Está Navegando   0 membros estão online

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