Tudo que KennyXD postou
-
[Gesior] PagSeguro automático! (100% funcional)
não estou conseguindo deixar o valor do premium points por 50 centavos alguem me ajuda ???
- SharpMapTracker v0.8.15
- SharpMapTracker v0.8.15
-
[Pedido] Rank Reset Pro Meu Site.
<<<<<<<< up
-
[Pedido] Rank Reset Pro Meu Site.
<<<< UP
-
Aprimorar talkction evento castle war e concertar bug da escada não ser removida
[03/06/2013 23:16:28] [Error - TalkAction Interface] [03/06/2013 23:16:28] In a timer event called from: [03/06/2013 23:16:28] data/talkactions/scripts/castle.lua:onSay [03/06/2013 23:16:28] Description: [03/06/2013 23:16:28] (internalGetPlayerInfo) Player not found when requesting player info #18 [03/06/2013 23:16:28] > Broadcasted message: "{ADM} Master Viciado ganhou o evento.".
-
Aprimorar talkction evento castle war e concertar bug da escada não ser removida
aff más esse evento existe no RadBR a mais de 4 anos que existe esse evento lá porem lá o evento é automatico o evento começa todos os domingos as 20:00 e o ganhador ganha 7 dias de premium + a house. tenta me ajudar ai pedi ajuda algum amigo seu =(
-
Aprimorar talkction evento castle war e concertar bug da escada não ser removida
agora deu esse erro no console [03/06/2013 00:16:47] (internalGetPlayerInfo) Player not found when requesting player info #18 e no caso fiz 1 teste com a house em nome do player Juca e quando terminou o evento deu o erro citado acima e ficando assim 00:15 You see a closed door. It belongs to house 'Wisland Castle'. Juca owns this house. 00:15 O Evento castle foi aberto. 00:16 {ADM} Master Viciado ganhou o evento. 00:16 You see a closed door. It belongs to house 'Wisland Castle'. Nobody owns this house. It costs 2015000 gold coins. foi tirada a house do jogador juca como se ele tive-se dado !leave house porem não foi dada a house ao ganhador no caso {ADM} Master Viciado.
-
Aprimorar talkction evento castle war e concertar bug da escada não ser removida
ae agora não deu nenhum erro no console entregou o player os 7 Dias de Premium porem o ganhador não tá ganhando a house.
-
Aprimorar talkction evento castle war e concertar bug da escada não ser removida
deu esses erros [31/05/2013 17:57:28] [Error - TalkAction Interface] [31/05/2013 17:57:28] data/talkactions/scripts/castle.lua [31/05/2013 17:57:28] Description: [31/05/2013 17:57:28] (internalGetPlayerInfo) Player not found when requesting player info #18 [31/05/2013 17:57:28] [Error - TalkAction Interface] [31/05/2013 17:57:28] data/talkactions/scripts/castle.lua [31/05/2013 17:57:28] Description: [31/05/2013 17:57:28] (luaDoPlayerAddPremiumDays) Player not found e esse erro aki quando o evento acaba nada acontece o player continua no piso e da esse erro no console [31/05/2013 18:04:05] [Error - TalkAction Interface] [31/05/2013 18:04:05] In a timer event called from: [31/05/2013 18:04:05] data/talkactions/scripts/castle.lua:onSay [31/05/2013 18:04:05] Description: [31/05/2013 18:04:05] data/talkactions/scripts/castle.lua:23: attempt to index local 'T' (a boolean value) [31/05/2013 18:04:05] stack traceback: [31/05/2013 18:04:05] data/talkactions/scripts/castle.lua:23: in function <data/talkactions/scripts/castle.lua:14>
-
Aprimorar talkction evento castle war e concertar bug da escada não ser removida
Dificuldade: Medio Versão do meu servidor: 8.60 Explicação: poderia ser feito alguns ajustes colocar pra que o ganhador do castelo invez de ganhar dinheiro ganha-se 7 dias de premy account e + 1 house. ? e arrumar 1 pequeno bugzinho no script que ao terminar o evento a escada não tá sendo removida. ID da house que eu quero que o player ganhe Wisland Castle (ID:100; Rent:0) local THRONE_POS = {x = 559, y = 453, z = 7} local STORAGE_EVENT = 83902 local STORAGE_PLAYER = 73289 local REWARDS = {{2160, 10}, {2159, 30}} local DUR = 30 -- in minutes function OpenEvent() for _, tid in ipairs(getPlayersOnline()) do setPlayerStorageValue(tid, STORAGE_PLAYER, 1) end setGlobalStorageValue(STORAGE_EVENT, 1) doBroadcastMessage("O Evento castle foi aberto.", 25) end function getWinnerCastle() CastleWalls() local player = getTopCreature(THRONE_POS).uid if getGlobalStorageValue(STORAGE_EVENT) < 0 then return true end if (isPlayer(player)) then if (getPlayerStorageValue(player, STORAGE_PLAYER) > 0) then for _, T in pairs(REWARDS) do doPlayerAddItem(player, T[1], T[2]) end for _, cid in ipairs(getPlayersOnline()) do setPlayerStorageValue(cid, STORAGE_PLAYER, 0) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) end doBroadcastMessage(getCreatureName(player) .. " ganhou o evento.", 25) doTeleportThing(player, {x = 531, y = 459, z = 7}) doCreateItem(391, 1, {x = 559, y = 453, z = 7}) end else doBroadcastMessage("Ningúem ganhou o evento.", 27) for _, pid in ipairs(getPlayersOnline()) do setPlayerStorageValue(pid, STORAGE_PLAYER, 0) doTeleportThing(pid, getTownTemplePosition(getPlayerTown(pid))) end end setGlobalStorageValue(STORAGE_EVENT, 0) return db.executeQuery("DELETE FROM `player_storage` WHERE `key` = " .. STORAGE_PLAYER) end function CastleWalls() local pedra = getTileItemById({ x = 539, y = 474, z = 7}, 1285) local escada = getTileItemById({ x = 539, y = 474, z = 7}, 3687) if pedra.uid > 0 then return doRemoveItem(pedra.uid) else return doCreateItem(1285, 1, { x = 539, y = 474, z = 7}) end if escada.uid > 0 then return doRemoveItem(escada.uid) else return doCreateItem(3687, 1, {x = 539, y = 474, z = 7}) end end function onSay(cid, words, param, channel) if ((param == "abrir") and (getGlobalStorageValue(STORAGE_EVENT) == 1)) then doPlayerSendTextMessage(cid, 27, "O evento já esta aberto.") return true elseif ((param == "fechar") and (getGlobalStorageValue(STORAGE_EVENT) == 1)) then getWinnerCastle() CastleWalls() return true end doCreateItem(3687, 1, {x = 539, y = 474, z = 7}) OpenEvent() CastleWalls() addEvent(getWinnerCastle, DUR * 60 * 1000) return true end
-
[Pedido] Rank Reset Pro Meu Site.
Galera queria um rank de reset pro meu site gesior uso esse sistema de resets e queria um rank de resets pro meu site veja a imagem abaixo de como quero que seja o rank reset. ACHEI ESSE RANK RESET ELE PODE SERVIR PRA VOCÊS MODIFICAREM E USAREM NO HIGHSCORES. <?php # Modifique o valor 10 para o numero de players que aparecerao na lista. $top = 10; # Nao toque em nada daqui em diante. $top = $top > 0 ? $top : 10; $resets = $SQL->query("SELECT `name`,`reset` FROM `players` WHERE `reset` != 0 ORDER BY `reset` DESC LIMIT $top;"); $count = $resets->rowCount(); $main_content = "<br><div class=\"conteudo\" style=\"background-image:url(layouts/tibiacom/images/content/scroll.gif);\">"; $main_content .= "<center><table cellpadding=\"5\" cellspacing=\"1\"><tr><td width=\"500px\" colspan=\"3\" bgcolor=\"#555555\"><font color=\"white\" size=\"3\"><b>TOP Resets</b></font></td></tr>"; if($count == 0){ $main_content .= "<tr><td width=\"250px\" bgcolor=\"#F1E0C6\"><b>Players</b></td></tr>"; $main_content .= "<tr><td width=\"250px\" bgcolor=\"#D4C0A1\">Nenhum player foi resetado.</td></tr>"; }else{ $main_content .= "<tr><td width=\"250px\" bgcolor=\"#F1E0C6\"><b>Player</b></td><td width=\"250px\" bgcolor=\"#F1E0C6\"><b>Resets</b></td></tr>"; foreach($resets as $info){ $main_content .= "<tr><td width=\"250px\" bgcolor=\"#D4C0A1\">{$info["name"]}</td><td width=\"250px\" bgcolor=\"#D4C0A1\">{$info["reset"]}</td></tr>"; } } $main_content .= "</table></center></div>"; ?> esse aki e o sistema de reset que eu uso <?PHP $list = $_REQUEST['list']; $page = $_REQUEST['page']; switch($list) { case "fist": $id = 0; $list_name = 'Fist Fighting'; break; case "club": $id = 1; $list_name = 'Club Fighting'; break; case "sword": $id = 2; $list_name = 'Sword Fighting'; break; case "axe": $id = 3; $list_name = 'Axe Fighting'; break; case "distance": $id = 4; $list_name = 'Distance Fighting'; break; case "shield": $id = 5; $list_name = 'Shielding'; break; case "fishing": $id = 6; $list_name = 'Fishing'; break; } if(!isset($id)) if($list == "magic") $list_name = "Magic Level"; else { $list_name = 'Experience'; $list = 'experience'; } if(count($config['site']['worlds']) > 1) { $worlds .= '<i>Select world:</i> '; foreach($config['site']['worlds'] as $idd => $world_n) { if($idd == (int) $_GET['world']) { $world_id = $idd; $world_name = $world_n; } } } if($idd == (int) $_GET['world']) { $world_id = $idd; $world_name = $world_n; } if(!isset($world_id)) { $world_id = 0; $world_name = $config['server']['serverName']; } $offset = $page * 100; if(isset($id)) $skills = $SQL->query('SELECT name,online,value,level,vocation,promotion FROM players,player_skills WHERE players.world_id = '.$world_id.' AND players.deleted = 0 AND players.group_id < '.$config['site']['players_group_id_block'].' AND players.id = player_skills.player_id AND player_skills.skillid = '.$id.' ORDER BY value DESC, count DESC LIMIT 101 OFFSET '.$offset); elseif($list == "magic") $skills = $SQL->query('SELECT name,online,maglevel,level,vocation,promotion FROM players WHERE players.world_id = '.$world_id.' AND players.deleted = 0 AND players.group_id < '.$config['site']['players_group_id_block'].' AND name != "Account Manager" ORDER BY maglevel DESC, manaspent DESC LIMIT 101 OFFSET '.$offset); elseif($list == "experience") $skills = $SQL->query('SELECT name,online,level,experience,vocation,promotion FROM players WHERE players.world_id = '.$world_id.' AND players.deleted = 0 AND players.group_id < '.$config['site']['players_group_id_block'].' AND name != "Account Manager" ORDER BY level DESC, experience DESC LIMIT 101 OFFSET '.$offset); //wyswietlanie wszystkiego $main_content .= '<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR><TD><IMG SRC="'.$layout_name.'/images/general/blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD><TD><CENTER><H2>Ranking de '.$list_name.' do servidor 5 </H2></CENTER><BR>'; $main_content .= '<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR><TD></TD><TD> <FORM ACTION="?subtopic=highscores" METHOD=get><INPUT TYPE=hidden NAME=subtopic VALUE=highscores><INPUT TYPE=hidden NAME=list VALUE=experience> <TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4><TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>World Selection</B></TD></TR><TR><TD BGCOLOR='.$config['site]['lightborder'].'"> <TABLE BORDER=0 CELLPADDING=1><TR><TD>World: </TD><TD><SELECT SIZE="1" NAME="world"><OPTION VALUE="" SELECTED>(choose world)</OPTION>'; foreach($config['site']['worlds'] as $id => $world_n) { $main_content .= '<OPTION VALUE="'.$id.'">'.$world_n.'</OPTION>'; } $main_content .= '</SELECT> </TD><TD><INPUT TYPE=image NAME="Submit" ALT="Submit" SRC="'.$layout_name.'/images/buttons/sbutton_submit.gif" BORDER=0 WIDTH=120 HEIGHT=18> </TD></TR></TABLE></TABLE></FORM></TABLE><br><br><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%></TABLE><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD WIDTH=10% CLASS=whites><B>Country</B></TD><TD WIDTH=10% CLASS=whites><B>Rank</B></TD><TD WIDTH=75% CLASS=whites><B>Nome</B></TD><TD WIDTH=15% CLASS=whites><b><center>Level</center></B></TD>'; if($list == "experience") $main_content .= '<TD CLASS=whites><b><center>Points</center></B></TD>'; $main_content .= '</TR><TR>'; foreach($skills as $skill) { $player = $ots->createObject('Player'); $player->find($skill['name']); $account = $player->getAccount(); $account_db = new OTS_Account(); $flagg = $account->getCustomField("flag"); if($number_of_rows < 100) { if($list == "magic") $skill['value'] = $skill['maglevel']; if($list == "experience") $skill['value'] = $skill['level']; if(!is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++; $main_content .= '<tr bgcolor="'.$bgcolor.'"><td><image src="images/flags/'.$flagg.'.png"/></td><td>'.($offset + $number_of_rows).'.</td><td><a href="?subtopic=characters&name='.urlencode($skill['name']).'">'.($skill['online']>0 ? "<font color=\"green\">".$skill['name']."</font>" : "<font color=\"red\">".$skill['name']."</font>").'</a><br><small>'.$skill['level'].' '.$vocation_name[$world_id][$skill['promotion']][$skill['vocation']].'</small></td><td><center>'.$skill['value'].'</center></td>'; if($list == "experience") $main_content .= '<td><center>'.$skill['experience'].'</center></td>'; $main_content .= '</tr>'; } else $show_link_to_next_page = TRUE; } $main_content .= '</TABLE><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%>'; if($page > 0) $main_content .= '<TR><TD WIDTH=100% ALIGN=right VALIGN=bottom><A HREF="?subtopic=highscores&list='.$list.'&page='.($page - 1).'" CLASS="size_xxs">Previous Page</A></TD></TR>'; if($show_link_to_next_page) $main_content .= '<TR><TD WIDTH=100% ALIGN=right VALIGN=bottom><A HREF="?subtopic=highscores&list='.$list.'&page='.($page + 1).'" CLASS="size_xxs">Next Page</A></TD></TR>'; $main_content .= '</TABLE></TD><TD WIDTH=5%><IMG SRC="'.$layout_name.'/images/general/blank.gif" WIDTH=1 HEIGHT=1 BORDER=0></TD><TD WIDTH=15% VALIGN=top ALIGN=right><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=whites><B>Choose<br/>a skill</B></TD></TR><TR BGCOLOR='.$config['site]['lightborder'].'"><TD><A HREF="?subtopic=highscores&list=experience&world='.$world_id.'" CLASS="size_xs"><img src="images/skills/level.png" style="border: none;"></A><BR><A HREF="?subtopic=highscores&list=magic&world='.$world_id.'" CLASS="size_xs"><img src="images/skills/ml.png" style="border: none;"/></A><BR><A HREF="?subtopic=highscores&list=shield&world='.$world_id.'" CLASS="size_xs"><img src="images/skills/def.png" style="border: none;"/></A><BR><A HREF="?subtopic=highscores&list=distance&world='.$world_id.'" CLASS="size_xs"><img src="images/skills/dist.png" style="border: none;"/></A><BR><A HREF="?subtopic=highscores&list=club&world='.$world_id.'" CLASS="size_xs"><img src="images/skills/club.png" style="border: none;"/></A><BR><A HREF="?subtopic=highscores&list=sword&world='.$world_id.'" CLASS="size_xs"><img src="images/skills/sword.png" style="border: none;"/></A><BR><A HREF="?subtopic=highscores&list=axe&world='.$world_id.'" CLASS="size_xs"><img src="images/skills/axe.png" style="border: none;"/></A><BR><A HREF="?subtopic=highscores&list=fist&world='.$world_id.'" CLASS="size_xs"><img src="images/skills/fist.png" style="border: none;"/></A><BR><A HREF="?subtopic=highscores&list=fishing&world='.$world_id.'" CLASS="size_xs"><img src="images/skills/fish.png" style="border: none;"/></A><BR></TABLE></TD><TD><IMG SRC="'.$layout_name.'/images/general/blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD></TR></TABLE>'; ?>
- Advanced Ban/Unban System !
-
Pedido distro The Forgotten Server 0.4 pra versão 9.60
ta fodah ;( eu tenhu o 0.4 pra verção 9.53 que peguei no ##### que o beeki libero ela mais ele falo que n vai liberar o 0.4 pra 9.60 ;(
-
Pedido distro The Forgotten Server 0.4 pra versão 9.60
mano não pedi um servidor 9.60 pedi um distro tfs 0.4 o distro do mystique não é 0.4
-
Pedido distro The Forgotten Server 0.4 pra versão 9.60
por favor galera estou presisando muito do tfs 0.4 pro meu servidor quem puder ajudar agreço