Valenza 855 Posted April 17, 2012 Boas, familia Cyber! Estou aqui para divulgar uma quest para facilitar a vida da Staff quando entra no jogo, que é : " GMMMMMM , "Fulado de tal" ta usando Hack " " GMMMMMM , " Ciclano de tal" ta bugando o server " Bom, esta quest faz o seguinte, será implementada a todos os jogadores permanente, porém , quando algum jogador quiser denunciar algum outro player, ele tem esta opção, que poderá ser vista pelo Admin , no caso o cara que mexe no Navicat , pois ele irá gerar um novo diretório na aba Log no navicat , aqui fica o que o autor do tópico da minha fonte escreveu , ( traduzido pelo Google tradutor ;) ) [QUEST] Relatório jogadores no jogo Com esses jogadores busca pode relatar os jogadores dentro do jogo. Todos os relatórios são armazenados no banco de dados => log.log você precisa ter uma ferramenta de site para filtrar os relatórios e mostrá-los. se você é um scripter php bom, então você pode adicionar uma função de proibição também. Este é apenas o lado do servidor. Original [QUEST] Report players in game With this quest players can report players ingame. All the reports are stored in the the database => log.log you need to make a website tool to filter the reports and show them. if you are a good php scripter, then you can add a http://cyber-gamers.org/public/style_emoticons/default/ban.gif function too. This is only the server side. Quest abaixo ( para traduzir ) quest reporthack begin state start begin when login begin set_state(report) end end state report begin when letter begin send_letter("Report player") end when button or info begin say_title("Report player") say("IMPORTANT: abusing this system will lead into a [img]http://cyber-gamers.org/public/style_emoticons/<#EMO_DIR#>/ban.gif[/img]!") say("Here you can report hackers to the staff.") say("You can report a player for:") say("Damage hack") say("Trade bug") say("Bad language") say("GM impersonation") say("Player impersonation") say("") say_reward("Are you sure you want to report someone?") local a = select("Yes","No") if a == 2 then return end say_title("Report player") say("IMPORTANT: abusing this system will lead into a [img]http://cyber-gamers.org/public/style_emoticons/<#EMO_DIR#>/ban.gif[/img]!") say("What is the name off the player?") say("") say_reward("Try to spell the name correctly.") local name = input() if name == "" then return end local u_vid = find_pc_by_name(name) if u_vid == 0 then say_title("Report player") say("IMPORTANT: abusing this system will lead into a [img]http://cyber-gamers.org/public/style_emoticons/<#EMO_DIR#>/ban.gif[/img]!") say("This player is not online.") return end say("What hack/ bug is used?") local reporter = pc.get_name() local b = select("Damage hack", "Trade bug", "Bad language", "GM impersonation", "Player impersonation","Don't report") if b == 1 then char_log(1, reporter, name) elseif b == 2 then char_log(2, reporter, name) elseif b == 3 then char_log(3, reporter, name) elseif b == 4 then char_log(4, reporter, name) elseif b == 5 then char_log(5, reporter, name) else return end say_title("Report player") say("IMPORTANT: abusing this system will lead into a [img]http://cyber-gamers.org/public/style_emoticons/<#EMO_DIR#>/ban.gif[/img]!") say("IMPORTANT: your name has been registered too") say("Thank you for the report") say("The team will be investigation this person soon.") say("") say("Report another player? press 'n'") end endend Posso garantir que nas frases: (estão em vermelho) local b = select("Damage hack", "Trade bug", "Bad language", "GM impersonation", "Player impersonation","Don't report") Significam: GM Impersonation : player que se passou por GM Player impersonation: Player que se passou por outro player Bom, espero que eu ajude... não tenho muita paciencia para traduzir , mas ajudo no que eu posso, mas se ajudei nao custa nada dar http://cyber-gamers.org/public/style_emoticons/default/451960.gif Créditos epvp Cumprimentos, 6 yagokurt, larimalakian, NewWars and 3 others reacted to this Share this post Link to post Share on other sites
Valenza 855 Posted April 17, 2012 Tópico atualizado ;) Share this post Link to post Share on other sites
Fábio Pereira 36 Posted July 26, 2012 onde e que implemento isso? Share this post Link to post Share on other sites
Obilivion 183 Posted February 23, 2013 Alguem me pode dar Query pra criar esta tabela: char_log(1, reporter, name) elseif b == 2 then char_log(2, reporter, name) elseif b == 3 then char_log(3, reporter, name) elseif b == 4 then char_log(4, reporter, name) elseif b == 5 then char_log(5, reporter, name) Dou http://cyber-gamers.org/public/style_emoticons/default/451960.gif :esquer: Cumprimentos. Share this post Link to post Share on other sites
'PACI 2,317 Posted February 23, 2013 Alguem me pode dar Query pra criar esta tabela: char_log(1, reporter, name) elseif b == 2 then char_log(2, reporter, name) elseif b == 3 then char_log(3, reporter, name) elseif b == 4 then char_log(4, reporter, name) elseif b == 5 then char_log(5, reporter, name) Dou http://cyber-gamers.org/public/style_emoticons/default/451960.gif :esquer: Cumprimentos. Já existe nas files o.O Share this post Link to post Share on other sites
Obilivion 183 Posted February 23, 2013 Tipo as minhas n tem xD.. Share this post Link to post Share on other sites
yagokurt 14 Posted March 4, 2013 Otima quest muito util, mais tenho a seguinte duvida como saber se um player foi reportado? que lendo a quest nao vi se ele gera algum log e tals. Share this post Link to post Share on other sites
Vitor Pinho ☮ 1,199 Posted March 4, 2013 Bom tópico, muito bem organizado e a cima de tudo óptima quest, vais ser útil para muita gente. http://cyber-gamers.org/public/style_emoticons/default/451960.gif Share this post Link to post Share on other sites
Khavro 467 Posted June 22, 2013 Eu adicionei a quest reportei a mim mesmo para ver onde ia a quest e fui na aba log do navicat e não esta la nada. Share this post Link to post Share on other sites
Karbust 1,143 Posted July 4, 2013 boas http://cyber-gamers.org/public/style_emoticons/default/451960.gif por uma grande questag tenho a mesma duvida dos outros, como fasso a query???as minhas files n a têmobrigadocumpz 1 DSousa851 reacted to this Share this post Link to post Share on other sites
Zeraw 144 Posted July 10, 2013 Isto é tudo muito bonito, mas agora onde é que os administradores podem ler os report's? Share this post Link to post Share on other sites
SINVAL o.O 728 Posted July 10, 2013 No navicat na tabela log [b][color=#000000]char_log[/color][color=#666600]([/color][color=#006666]1[/color][color=#666600],[/color][color=#000000] reporter[/color][color=#666600],[/color][color=#000000] name[/color][color=#666600])[/color][color=#000000]elseif b [/color][color=#666600]==[/color][color=#000000] [/color][color=#006666]2[/color][color=#000000] [/color][color=#000088]then[/color][color=#000000]char_log[/color][color=#666600]([/color][color=#006666]2[/color][color=#666600],[/color][color=#000000] reporter[/color][color=#666600],[/color][color=#000000] name[/color][color=#666600])[/color][color=#000000]elseif b [/color][color=#666600]==[/color][color=#000000] [/color][color=#006666]3[/color][color=#000000] [/color][color=#000088]then[/color][color=#000000]char_log[/color][color=#666600]([/color][color=#006666]3[/color][color=#666600],[/color][color=#000000] reporter[/color][color=#666600],[/color][color=#000000] name[/color][color=#666600])[/color][color=#000000]elseif b [/color][color=#666600]==[/color][color=#000000] [/color][color=#006666]4[/color][color=#000000] [/color][color=#000088]then[/color][color=#000000]char_log[/color][color=#666600]([/color][color=#006666]4[/color][color=#666600],[/color][color=#000000] reporter[/color][color=#666600],[/color][color=#000000] name[/color][color=#666600])[/color][color=#000000]elseif b [/color][color=#666600]==[/color][color=#000000] [/color][color=#006666]5[/color][color=#000000] [/color][color=#000088]then[/color][color=#000000]char_log[/color][color=#666600]([/color][color=#006666]5[/color][color=#666600],[/color][color=#000000] reporter[/color][color=#666600],[/color][color=#000000] name[/color][color=#666600])[/color][color=#000000] [/color][/b]ai a função do mesmo. Share this post Link to post Share on other sites
Unk3n0w7 1,321 Posted October 6, 2013 Bom tópico, muito bem organizado e a cima de tudo óptima quest, vais ser útil para muita gente. Share this post Link to post Share on other sites