TibiaGame 4 Postado Abril 14, 2009 Share Postado Abril 14, 2009 (editado) POT Project, oficial Layout, sem BUGS! Foto: Aprenda a Instalar: Abra o arquivo config.inc.php <?php ################################################## # CONFIGURATION # ################################################## # Congratulations on finding configuration file. # # This is very simililar to config.lua as it # # follows same basic principles. Text in between # # /* */ or starting with # is ignored. Text # # values must be 'qouted'. Logical values are # # true/false. All statements end with ; # ################################################## # Set data directory of your OT server $cfg['dirdata'] = 'C:/Documents and Settings/Site em PHP/Desktop/Otserv/data/'; $cfg['house_file'] = 'world/test-house.xml'; # MySQL server settings $cfg['SQL_Server'] = 'localhost'; $cfg['SQL_User'] = 'root'; $cfg['SQL_Password'] = 'SENHA'; $cfg['SQL_Database'] = 'DB'; # Must correspond to your OTServ configuration # Options: plain, md5, sha1 $cfg['password_type'] = 'plain'; # Not currently supported by OTServ, leave empty $cfg['password_salt'] = ''; # Captcha is used to prevent automated software from flooding server with accounts $cfg['use_captcha'] = true; # Secure session will disable 'remember me' box $cfg['secure_session'] = false; # Seconds until session expires $cfg['timeout_session'] = 15*60; # Maximum number of characters on account $cfg['maxchars'] = 10; # Players per highscore page $cfg['ranks_per_page'] = 100; # This access and above will not be in highscores $cfg['ranks_access'] = 2; # Home page $cfg['start_page'] = 'notes.php'; # Server ip and port for getting status. # In most cases localhost should be used $cfg['server_ip'] = 'IPDOOT'; $cfg['server_port'] = 7171; # Allow teleportation to temple? $cfg['char_repair'] = true; # Force users to validate their emails when registering? # For email functions to work, SMTP server must be configured correctly $cfg['Email_Validate'] = false; # Allow email based account recovery? $cfg['Email_Recovery'] = true; # Enable extension=php_openssl.dll in php.ini in order to use gmail $cfg['SMTP_Host'] = 'ssl://smtp.gmail.com'; $cfg['SMTP_Port'] = 465; $cfg['SMTP_Auth'] = true; $cfg['SMTP_User'] = 'user@gmail.com'; $cfg['SMTP_Password'] = 'user'; $cfg['SMTP_From'] = 'user@gmail.com'; # Example configuration for mercury /* $cfg['SMTP_Host'] = 'localhost'; $cfg['SMTP_Port'] = 25; $cfg['SMTP_Auth'] = false; $cfg['SMTP_User'] = 'user@gmail.com'; $cfg['SMTP_Password'] = 'user'; $cfg['SMTP_From'] = 'user@gmail.com'; */ # Whether to show skills in character search $cfg['show_skills'] = true; # Whether to show deathlist in character search, DevLand only $cfg['show_deathlist'] = false; $cfg['skill_names'] = array('fist', 'club', 'sword', 'axe', 'distance', 'shielding', 'fishing'); # Name formating was moved to globals.php # Banned names $cfg['invalid_names'] = array('^gm','^god','admin','fuck','gamemaster', 'owner'); # Accounts that are allowed to access admin panel # Example: array(123123,687687); $cfg['admin_accounts'] = array(); # Listed IPs always allowed to access admin panel, no matter if it has account or not $cfg['admin_ip'] = array('127.0.0.1'); # Player can only delete himself after specified time (seconds) $cfg['player_delete_interval'] = 24*3600; # Minimum level to create own guild. Cannot be lower than $cfg['guild_level'] $cfg['guild_leader_level'] = 20; # Please disable guild manager if your server features guild editing $cfg['guild_manager_enabled'] = true; # Online status update interval (seconds). Should match statustimeout in your otserv configuration $cfg['status_update_interval'] = 5*60; ################################################## # Town Config # ################################################## /* NOTICE Town IDs must be correct and match those in your map */ # Town names $cfg['temple'][1]['name'] = 'NOME DA CITY DO MAPA'; $cfg['temple'][2]['name'] = 'Forgotten'; $cfg['temple'][3]['name'] = 'Huldera World'; $cfg['temple'][4]['name'] = 'Thais'; $cfg['temple'][5]['name'] = 'Ab\'Dendriel'; $cfg['temple'][6]['name'] = 'Kazordoon'; $cfg['temple'][7]['name'] = 'Something else?'; $cfg['temple'][8]['name'] = 'Darashia'; $cfg['temple'][9]['name'] = 'Port Hope'; $cfg['temple'][10]['name'] = 'Liberty Bay'; # Now set which town(s) you want to use in character making $cfg['temple'][1]['x'] = 517; $cfg['temple'][1]['y'] = 374; $cfg['temple'][1]['z'] = 7; $cfg['temple'][1]['enabled'] = true; $cfg['temple'][2]['x'] = 517; $cfg['temple'][2]['y'] = 374; $cfg['temple'][2]['z'] = 7; $cfg['temple'][2]['enabled'] = false; $cfg['temple'][3]['x'] = 517; $cfg['temple'][3]['y'] = 374; $cfg['temple'][3]['z'] = 7; $cfg['temple'][3]['enabled'] = true; ################################################## # Vocation Config # ################################################## /* Notice: It's only one item per slot. You need to script special onLogin event in OTServ to add more items to new players. */ ################# No Vocation #################### $id = 0; $cfg['vocations'][$id]['name'] = 'No Vocation'; $cfg['vocations'][$id]['level'] = 1; $cfg['vocations'][$id]['group'] = 1; $cfg['vocations'][$id]['maglevel'] = 0; $cfg['vocations'][$id]['health'] = 150; $cfg['vocations'][$id]['mana'] = 0; $cfg['vocations'][$id]['cap'] = 400; $cfg['vocations'][$id]['enabled'] = false; $cfg['vocations'][$id]['look'][0] = 138; $cfg['vocations'][$id]['look'][1] = 130; $cfg['vocations'][$id]['skills'][0] = 1; $cfg['vocations'][$id]['skills'][1] = 1; $cfg['vocations'][$id]['skills'][2] = 1; $cfg['vocations'][$id]['skills'][3] = 1; $cfg['vocations'][$id]['skills'][4] = 1; $cfg['vocations'][$id]['skills'][5] = 1; $cfg['vocations'][$id]['skills'][6] = 1; $cfg['vocations'][$id]['equipment'][3] = 3939; $cfg['vocations'][$id]['equipment'][4] = 2650; $cfg['vocations'][$id]['equipment'][5] = 2382; $cfg['vocations'][$id]['equipment'][10] = 2050; ################# Sorcerer ####################### $id = 1; $cfg['vocations'][$id]['name'] = 'Sorcerer'; $cfg['vocations'][$id]['level'] = 8; $cfg['vocations'][$id]['group'] = 1; $cfg['vocations'][$id]['maglevel'] = 0; $cfg['vocations'][$id]['health'] = 185; $cfg['vocations'][$id]['mana'] = 40; $cfg['vocations'][$id]['cap'] = 470; $cfg['vocations'][$id]['enabled'] = true; $cfg['vocations'][$id]['look'][0] = 138; $cfg['vocations'][$id]['look'][1] = 130; $cfg['vocations'][$id]['skills'][0] = 10; $cfg['vocations'][$id]['skills'][1] = 10; $cfg['vocations'][$id]['skills'][2] = 10; $cfg['vocations'][$id]['skills'][3] = 10; $cfg['vocations'][$id]['skills'][4] = 10; $cfg['vocations'][$id]['skills'][5] = 10; $cfg['vocations'][$id]['skills'][6] = 10; $cfg['vocations'][$id]['equipment'][1] = 2480; $cfg['vocations'][$id]['equipment'][2] = 2172; $cfg['vocations'][$id]['equipment'][3] = 2000; $cfg['vocations'][$id]['equipment'][4] = 2464; $cfg['vocations'][$id]['equipment'][6] = 2530; $cfg['vocations'][$id]['equipment'][7] = 2468; $cfg['vocations'][$id]['equipment'][8] = 2643; ################# Druid ########################## $id = 2; $cfg['vocations'][$id]['name'] = 'Druid'; $cfg['vocations'][$id]['level'] = 8; $cfg['vocations'][$id]['group'] = 1; $cfg['vocations'][$id]['maglevel'] = 0; $cfg['vocations'][$id]['health'] = 185; $cfg['vocations'][$id]['mana'] = 40; $cfg['vocations'][$id]['cap'] = 470; $cfg['vocations'][$id]['enabled'] = true; $cfg['vocations'][$id]['look'][0] = 138; $cfg['vocations'][$id]['look'][1] = 130; $cfg['vocations'][$id]['skills'][0] = 10; $cfg['vocations'][$id]['skills'][1] = 10; $cfg['vocations'][$id]['skills'][2] = 10; $cfg['vocations'][$id]['skills'][3] = 10; $cfg['vocations'][$id]['skills'][4] = 10; $cfg['vocations'][$id]['skills'][5] = 10; $cfg['vocations'][$id]['skills'][6] = 10; $cfg['vocations'][$id]['equipment'][1] = 2480; $cfg['vocations'][$id]['equipment'][2] = 2172; $cfg['vocations'][$id]['equipment'][3] = 2000; $cfg['vocations'][$id]['equipment'][4] = 2464; $cfg['vocations'][$id]['equipment'][6] = 2530; $cfg['vocations'][$id]['equipment'][7] = 2468; $cfg['vocations'][$id]['equipment'][8] = 2643; ################# Palladin ####################### $id = 3; $cfg['vocations'][$id]['name'] = 'Paladin'; $cfg['vocations'][$id]['level'] = 8; $cfg['vocations'][$id]['group'] = 1; $cfg['vocations'][$id]['maglevel'] = 0; $cfg['vocations'][$id]['health'] = 185; $cfg['vocations'][$id]['mana'] = 40; $cfg['vocations'][$id]['cap'] = 470; $cfg['vocations'][$id]['enabled'] = true; $cfg['vocations'][$id]['look'][0] = 137; $cfg['vocations'][$id]['look'][1] = 129; $cfg['vocations'][$id]['skills'][0] = 10; $cfg['vocations'][$id]['skills'][1] = 10; $cfg['vocations'][$id]['skills'][2] = 10; $cfg['vocations'][$id]['skills'][3] = 10; $cfg['vocations'][$id]['skills'][4] = 10; $cfg['vocations'][$id]['skills'][5] = 10; $cfg['vocations'][$id]['skills'][6] = 10; $cfg['vocations'][$id]['equipment'][1] = 2480; $cfg['vocations'][$id]['equipment'][2] = 2172; $cfg['vocations'][$id]['equipment'][3] = 2000; $cfg['vocations'][$id]['equipment'][4] = 2464; $cfg['vocations'][$id]['equipment'][6] = 2530; $cfg['vocations'][$id]['equipment'][7] = 2468; $cfg['vocations'][$id]['equipment'][8] = 2643; ################# Knight ######################### $id = 4; $cfg['vocations'][$id]['name'] = 'Knight'; $cfg['vocations'][$id]['level'] = 8; $cfg['vocations'][$id]['group'] = 1; $cfg['vocations'][$id]['maglevel'] = 0; $cfg['vocations'][$id]['health'] = 185; $cfg['vocations'][$id]['mana'] = 40; $cfg['vocations'][$id]['cap'] = 470; $cfg['vocations'][$id]['enabled'] = true; $cfg['vocations'][$id]['look'][0] = 139; $cfg['vocations'][$id]['look'][1] = 131; $cfg['vocations'][$id]['skills'][0] = 10; $cfg['vocations'][$id]['skills'][1] = 10; $cfg['vocations'][$id]['skills'][2] = 10; $cfg['vocations'][$id]['skills'][3] = 10; $cfg['vocations'][$id]['skills'][4] = 10; $cfg['vocations'][$id]['skills'][5] = 10; $cfg['vocations'][$id]['skills'][6] = 10; $cfg['vocations'][$id]['equipment'][1] = 2480; $cfg['vocations'][$id]['equipment'][2] = 2172; $cfg['vocations'][$id]['equipment'][3] = 2000; $cfg['vocations'][$id]['equipment'][4] = 2464; $cfg['vocations'][$id]['equipment'][6] = 2530; $cfg['vocations'][$id]['equipment'][7] = 2468; $cfg['vocations'][$id]['equipment'][8] = 2643; ################# Other IDs ###################### $cfg['vocations'][5]['name'] = 'Master Sorcerer'; $cfg['vocations'][6]['name'] = 'Elder Druid'; $cfg['vocations'][7]['name'] = 'Royal Paladin'; $cfg['vocations'][8]['name'] = 'Elite Knight'; ATENÇÃO: Mude apenas onde está em negrito. Após, edita-lo , colocar tudo certinho, acesse ~~> ADMIN PAGINA Clica em reparar tabelas, clique no quadradinho, e depois confirm, depois DONE. Pronto, seu site está pronto, para ser criado contas! Downloads: RapidShare.De Comente neste topico, oque falta no site, oque há de problema. Anteciosamente, equipe POT. Editado Dezembro 22, 2009 por LorDz Link para o comentário https://xtibia.com/forum/topic/111291-link-quebrado-pot-website-84x-oficial/ Compartilhar em outros sites More sharing options...
makabrotaliban 0 Postado Abril 15, 2009 Share Postado Abril 15, 2009 Manow ele funfa em sql ou somente em mysql? ....Baixei e testei em Mysql...rodo 100%.....o bug das accs tah limpo !!! Porém gostaria de saber se ele funfa em sql...pra nego que tem net compartilhada e naum pode usar mysql !! ....Tah 10 esse !! Parabéns pelo trabalho !! SEM MAIS Link para o comentário https://xtibia.com/forum/topic/111291-link-quebrado-pot-website-84x-oficial/#findComment-725228 Compartilhar em outros sites More sharing options...
desepticon 0 Postado Abril 15, 2009 Share Postado Abril 15, 2009 Adorei, não precisa de muito conhecimento para bota-lo funcionando Abraços. Link para o comentário https://xtibia.com/forum/topic/111291-link-quebrado-pot-website-84x-oficial/#findComment-725239 Compartilhar em outros sites More sharing options...
toty1234 0 Postado Abril 21, 2009 Share Postado Abril 21, 2009 vlw cara vou baixar aki agora msm assim parece estar mt BOM Gratz Link para o comentário https://xtibia.com/forum/topic/111291-link-quebrado-pot-website-84x-oficial/#findComment-728259 Compartilhar em outros sites More sharing options...
ique55 0 Postado Abril 21, 2009 Share Postado Abril 21, 2009 (editado) Olá pra vocês eu queria saber que erro é esse: Spells spells.xml not found spells.php on line: 32 Script was terminated because something unexpected happened. You can report this, if you think it's a bug. Aparece esse error quando cliko em spells e eu ja configurei tudo. Por favor me expliquem o que devo fazer. Vlws ta muito bom, e só esta tendo esse error. @Edit Consegui consertar, ta muito bom o site Valeu. Editado Abril 21, 2009 por Poderzinho Link para o comentário https://xtibia.com/forum/topic/111291-link-quebrado-pot-website-84x-oficial/#findComment-728358 Compartilhar em outros sites More sharing options...
dwhfms 168 Postado Abril 21, 2009 Share Postado Abril 21, 2009 Gostei muito, um Layout bem agradavel, scripts muito bem feitos. Aprovado! Link para o comentário https://xtibia.com/forum/topic/111291-link-quebrado-pot-website-84x-oficial/#findComment-728369 Compartilhar em outros sites More sharing options...
cagaio 0 Postado Abril 21, 2009 Share Postado Abril 21, 2009 Tipo Assim Onde Eu colo a pasta do Site / na pasta do ot / Ou no disco rigido C ? Link para o comentário https://xtibia.com/forum/topic/111291-link-quebrado-pot-website-84x-oficial/#findComment-728397 Compartilhar em outros sites More sharing options...
moskitinho 164 Postado Abril 21, 2009 Share Postado Abril 21, 2009 Gostei bastante do layout é bem bonitoo~ Porém preciso de uma ajuda pois nunca usei sites e queria aprender... é possivel deixar ele on usando o appserv? E tipo eu uso o Hamachi é aquele esquema de colocar o IP do Hamachi no site? Link para o comentário https://xtibia.com/forum/topic/111291-link-quebrado-pot-website-84x-oficial/#findComment-728398 Compartilhar em outros sites More sharing options...
cagaio 0 Postado Abril 21, 2009 Share Postado Abril 21, 2009 (editado) Algumas Duvidas ! oq coloco aki ! # Set data directory of your OT server$cfg['dirdata'] = 'C:/Documents and Settings/Site em PHP/Desktop/Otserv/data/'; e aki # MySQL server settings$cfg['SQL_Server'] = 'localhost'; $cfg['SQL_User'] = 'root'; $cfg['SQL_Password'] = 'SENHA'; $cfg['SQL_Database'] = 'DB'; Por Utimo isso ! nao sei se é p por a city carlin ou o nome do mapa # Town names$cfg['temple'][1]['name'] = 'NOME DA CITY DO MAPA'; $cfg['temple'][2]['name'] = 'Forgotten'; $cfg['temple'][3]['name'] = 'Huldera World'; $cfg['temple'][4]['name'] = 'Thais'; $cfg['temple'][5]['name'] = 'Ab\'Dendriel'; $cfg['temple'][6]['name'] = 'Kazordoon'; $cfg['temple'][7]['name'] = 'Something else?'; $cfg['temple'][8]['name'] = 'Darashia'; $cfg['temple'][9]['name'] = 'Port Hope'; $cfg['temple'][10]['name'] = 'Liberty Bay'; ´ PS : eu coloco o site em uma pasta ? no Disco Rigido ou em alguma pasta especifica do servidor ?! Editado Abril 22, 2009 por cagaio Link para o comentário https://xtibia.com/forum/topic/111291-link-quebrado-pot-website-84x-oficial/#findComment-728596 Compartilhar em outros sites More sharing options...
stone_1122 0 Postado Abril 24, 2009 Share Postado Abril 24, 2009 Funciona em SQL??? Link para o comentário https://xtibia.com/forum/topic/111291-link-quebrado-pot-website-84x-oficial/#findComment-729890 Compartilhar em outros sites More sharing options...
farlobeats 0 Postado Abril 27, 2009 Share Postado Abril 27, 2009 O Que é MySQL? Alguem poderia me diser? Obrigado. Link para o comentário https://xtibia.com/forum/topic/111291-link-quebrado-pot-website-84x-oficial/#findComment-731026 Compartilhar em outros sites More sharing options...
Merchant 0 Postado Abril 27, 2009 Share Postado Abril 27, 2009 Galera vamos evitar flood neste tópico, espero que não ocorra mais. Caso ao contrário será alertado em 10%. Abraços Link para o comentário https://xtibia.com/forum/topic/111291-link-quebrado-pot-website-84x-oficial/#findComment-731049 Compartilhar em outros sites More sharing options...
Fogo 0 Postado Maio 2, 2009 Share Postado Maio 2, 2009 Funciona em SQLite? Link para o comentário https://xtibia.com/forum/topic/111291-link-quebrado-pot-website-84x-oficial/#findComment-732848 Compartilhar em outros sites More sharing options...
cagaio 0 Postado Maio 2, 2009 Share Postado Maio 2, 2009 *up Ainda Aguardo Respostas :S Link para o comentário https://xtibia.com/forum/topic/111291-link-quebrado-pot-website-84x-oficial/#findComment-732849 Compartilhar em outros sites More sharing options...
Onizord 1 Postado Maio 5, 2009 Share Postado Maio 5, 2009 Todo mundo quer saber, se funciona em sqlite.. eai? =s Link para o comentário https://xtibia.com/forum/topic/111291-link-quebrado-pot-website-84x-oficial/#findComment-734787 Compartilhar em outros sites More sharing options...
Posts Recomendados