Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames
You last visited: Today at 10:54

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Code]Reset dungeon + guild dungeon By : Crasim Edit : Krejcomut

Discussion on [Code]Reset dungeon + guild dungeon By : Crasim Edit : Krejcomut within the Browsergames forum part of the Other Online Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2014
Posts: 216
Received Thanks: 22
Lightbulb [Code]Reset dungeon + guild dungeon By : Crasim Edit : Krejcomut

PHP Code:
<?php 
include('../functions.php'); 


if(isset(
$_GET['player'])) 

    
$uid mysql_real_escape_string($_GET['player']); 
    
$row mysql_fetch_array(mysql_query("SELECT user_name FROM user_data WHERE user_id='"$uid ."' LIMIT 1")); 
    
$username $row['user_name']; 

?> 


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html lang="de" dir="ltr"> 
<title>Dungeon Reset</title> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
<meta http-equiv="expires" content="0"> 
<meta http-equiv="cache-control" content="no-cache"> 
<meta http-equiv="pragma" content="no-cache"> 
<meta name="author" content="Playa Games GmbH"> 
<meta name="publisher" content="Playa Games GmbH"> 
<meta name="copyright" content="Copyright 2011 Playa Games GmbH"> 
<meta name="keywords" content="browser games, browsergames, mmorpg, online game, online games, online games kostenlos, online rollenspiel, online rollenspiele, onlinegames, onlinespiel, browsergame, browsergames kostenlos, browserspiele, kostenlose mmorpg, mmorpg online games"> 
<meta name="description" content="Das lustige Shakes & Fidget Spiel"> 
        <style type="text/css"> 
            body { 
                background:url(../res/background.jpg); 
                background-repeat:no-repeat; 
                background-position:top center; 
                background-color:#000000; 
                font-family: Tahoma, Arial, Helvetica, sans-serif; 
                color: #FFFFFF; 
                margin: 188px auto auto 0; 
            } 
            a:link { text-decoration:none; color:#ffd9aa; } 
            a:visited { text-decoration:none; color:#ffd9aa; } 
            a:hover { text-decoration:underline; color:#ffd9aa; } 
            a:active { text-decoration:none; color:#ffd9aa; } 
            a:focus { text-decoration:none; color:#ffd9aa; } 
            h1{ 
                font-size: 1.2em; 
                font-weight: bold; 
                padding:0; 
                margin:0; 
                margin-bottom: 0.5em; 
            } 
            .imprint2 { 
                             margin-top: 130px; 
                            color: #000000; 
                        } 
            .imprint2 a { 
                            color: #000000; 
                            text-decoration: underline; 
                        } 
    input[type=text], textarea, input[type=password] { 
    border: 1px solid #929292; 
    color: #929292; 
    padding: 10px; 
    vertical-align: text-top; 
    width: 300px; 
    -webkit-box-shadow: #e3e3e3 0.1em 0.1em 0.2em; 
    box-shadow: #e3e3e3 0.1em 0.1em 0.2em; 
    -moz-box-shadow: #e3e3e3 0.1em 0.1em 0.2em; 
    -webkit-border-radius: 5px; 
    -moz-border-radius: 5px; 
    -border-radius: 5px; 
    -khtml-border-radius: 5px; 
    background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));   
    background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);  

input[type=submit] { 
    border: 1px solid #929292; 
    color: #000; 
    font-weight: bold; 
    padding: 10px; 
    vertical-align: text-top; 
    width: auto; 
    -webkit-box-shadow: #e3e3e3 0.1em 0.1em 0.2em; 
    box-shadow: #e3e3e3 0.1em 0.1em 0.2em; 
    -moz-box-shadow: #e3e3e3 0.1em 0.1em 0.2em; 
    -webkit-border-radius: 5px; 
    -moz-border-radius: 5px; 
    -border-radius: 5px; 
    -khtml-border-radius: 5px; 
    background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));   
    background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);  
 } 
        </style> 


</head>  
<body> 
    <center> 
    <table align="center" width="570px" style="font-family: Tahoma, Arial, Helvetica, sans-serif; color: #FFFFFF;"> 
        <tbody> 
            <tr>  
                <td style="padding: 0; margin:0"> 
                    <div style="overflow: auto; height: 360px; padding: 10px"> 
                    <br><br><br> 
<?php 
if(!isset($_POST["doit"])) 

?> 
                    <center> 
                    <h1>Hi <b><?=$username?></b>!</h1> 
                    <br> 
                    You are about to reset all dungeons. To confirm please enter your password. 
                    <br><br> 
                    <form action="<?=$_SERVER["PHP_SELF"?>" method="post" enctype="multipart/form-data" target="_self"> 
                        <input type="password" name="password" size="10" value=""><br><br> 
                        <input type="submit" value="Confirm!" name="button"> 
                        <input type="hidden" name="doit" value="yes" /> 
                        <input type="hidden" name="uid" value="<?=$uid?>" /> 
                    </form> 
                    </center> 
                     
<?php 



if(isset(
$_POST["doit"])) 

    
$userid $_POST["uid"]; 
    
$pass $_POST["password"]; 
    
$row mysql_fetch_array(mysql_query("SELECT password FROM user_data WHERE user_id='"$userid ."' LIMIT 1")); 


    if(
$row["password"] == md5($pass)) 
    { 
        
mysql_query("UPDATE user_data  
                    SET dungeon_1 = '0' , dungeon_2 = '0', dungeon_3 = '0', dungeon_4 = '0', dungeon_5 = '0', dungeon_6 = '0', dungeon_7 = '0', dungeon_8 = '0', dungeon_9 = '0', dungeon_10 = '0', dungeon_11 = '0', dungeon_12 = '0', dungeon_13 = '0', tower_level = '1', guild_level = '1'   
                    WHERE user_id = '" 
$userid "' LIMIT 1"); 
        echo 
'<script>window.close();</script>'// for new browser
echo '<META HTTP-EQUIV="REFRESH" CONTENT="0; URL=../">'// for old browser   
    

    else 
    { 
        echo 
'<script>window.close();</script>'// for new browser
echo '<META HTTP-EQUIV="REFRESH" CONTENT="0; URL=../">'// for old browser  
    


?> 
                    </div> 
                </td> 
            </tr> 
        </tbody> 
    </table> 
    </center> 
</body> 
</html>
krejcomut is offline  
Thanks
2 Users
Old 06/17/2014, 15:28   #2
 
UND3RW0RLD's Avatar
 
elite*gold: 1
Join Date: Jun 2011
Posts: 1,464
Received Thanks: 1,065
PHP Code:
 mysql_query("UPDATE user_data   
                    SET dungeon_1 = '0' , dungeon_2 = '0', 
dungeon_3 = '0', dungeon_4 = '0', dungeon_5 = '0', 
dungeon_6 = '0', dungeon_7 = '0', dungeon_8 = '0', 
dungeon_9 = '0', dungeon_10 = '0', dungeon_11 = '0',
 dungeon_12 = '0', dungeon_13 = '0', tower_level = '1', 
guild_level = '1'    
                    WHERE user_id = '" 
$userid "' LIMIT 1"); 
PHP Code:
guild_level '1' 
xDDD
UND3RW0RLD is offline  
Old 06/17/2014, 15:35   #3
 
elite*gold: 0
Join Date: Mar 2014
Posts: 216
Received Thanks: 22
work good
krejcomut is offline  
Old 06/17/2014, 15:41   #4
 
elite*gold: 0
Join Date: Apr 2014
Posts: 226
Received Thanks: 27
This is code only for reset dung?
TheCry is offline  
Old 06/17/2014, 16:15   #5
 
elite*gold: 0
Join Date: May 2014
Posts: 5
Received Thanks: 0
for what game is that?
Slo_Mato is offline  
Old 06/17/2014, 16:32   #6
 
elite*gold: 0
Join Date: Mar 2014
Posts: 216
Received Thanks: 22
shakes and fidget
krejcomut is offline  
Old 06/17/2014, 22:11   #7

 
Denetiv's Avatar
 
elite*gold: 735
The Black Market: 178/2/1
Join Date: Jun 2013
Posts: 2,656
Received Thanks: 318
How can i use that?
Denetiv is offline  
Old 06/18/2014, 09:30   #8
 
elite*gold: 0
Join Date: Mar 2014
Posts: 216
Received Thanks: 22
must have reset from crasim and paste to dungeon.php
krejcomut is offline  
Old 06/18/2014, 09:41   #9
 
UND3RW0RLD's Avatar
 
elite*gold: 1
Join Date: Jun 2011
Posts: 1,464
Received Thanks: 1,065
Quote:
Edit : Krejcomut
What did you edit?

PHP Code:
guild_level '1' 
this isn't worth a new thread or to put YOUR name to it..
UND3RW0RLD is offline  
Thanks
1 User
Old 06/18/2014, 10:45   #10
 
elite*gold: 0
Join Date: Mar 2014
Posts: 216
Received Thanks: 22
nobody cares it
krejcomut is offline  
Reply


Similar Threads Similar Threads
possible to reset dungeon entry faster?
03/16/2014 - Aura Kingdom - 6 Replies
hey guys, just wondering if it's possible to reset dungeon entry faster, instead of waiting for hours, or is it server sided?
how to edit Dungeon?
10/18/2012 - Dekaron Private Server - 1 Replies
Title please help me edit dungeon! Exp : request money ....,Level etc .:rtfm:
edit the max lvl from dungeon
03/25/2009 - Dekaron - 4 Replies
heyo i wanna edit the max lvl from crevice dungeon, its 180 atm (i play p-server) i opened it with CSV and searched for max lvl (coloumn 64) i edited it in maplist.csv and maplist1.csv but it doesnt work? why not? they really made it serversided? i cant believe it oO
edit the max lvl from dungeon
03/23/2009 - Dekaron Private Server - 4 Replies
heyo i wanna edit the max lvl from crevice dungeon, its 180 atm (i play p-server) i opened it with CSV and searched for max lvl (coloumn 64) i edited it in maplist.csv and maplist1.csv but it doesnt work? why not? they really made it serversided? i cant believe it oO
Edit the money of the dungeon!
04/13/2008 - Dekaron - 6 Replies
Hello I wanted to know if the money is to edit the dungeon? Eg to enter the dungeon of crespo you must have 300k, is to change this value to 50k?



All times are GMT +1. The time now is 10:56.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.