Shakes & Fidget Private - Full Script (Tulyita)

06/21/2014 09:37 UND3RW0RLD#751
You leak my codes :O
06/21/2014 09:53 krejcomut#752
Dik eptun do requestu přidáno
06/21/2014 10:09 Crasim#753
Quote:
Originally Posted by EptunLP View Post
Code for lost password:

PHP Code:
case $ACT_FORGOT_PASSWORD :
/*
Deleted 
*/ 

This is the code released in the release of jessi that, moreover, we have worked there and she .. I've pretty much just changed the message, then you would not even have had the courage to post it. it is a shame :)

Reply: Thank's for deleted code. :)
06/21/2014 10:45 krejcomut#754
:d i haved :D
06/21/2014 11:14 EptunLP#755
Krejcomut steals everything , and wants everything for free
06/21/2014 11:33 UND3RW0RLD#756
...

PHP Code:
        case $ACT_FORGOT_PASSWORD :
                
// name;mail
                // original by Crasim & Jessi 04.06.
                // fixed special-char-related errors by injection-fix 15.06. by Jessi
                // tweaked by Jessi 17.06
                
$in explode ';'$action_extra );
 
                if(
filter_var($in[1], FILTER_VALIDATE_EMAIL) == TRUE)
                {
                        
$qry $db->prepare "SELECT email FROM user_data WHERE user_name = :username LIMIT 1" );
                        
$qry->bindParam ':username'$in[0]);
                        
$qry->execute ();
                        
$udata $qry->fetchAll ();
 
                        if (
$udata [0] ['email'] != urlencode(strtolower($in[1])))
                        {
                                
$ret = array ( $ERR_EMAIL_WRONG );
                                break;
                        }
                        else
                        {
                                function 
generatePW($length=8)
                                {
                                        
$dummy  array_merge(range('0''9'), range('a''z'), range('A''Z'));
                                        
mt_srand((double)microtime()*1000000);
 
                                        for (
$i 1$i <= (count($dummy)*2); $i++)
                                        {
                                                
$swap mt_rand(0,count($dummy)-1);
                                                
$tmp $dummy[$swap];
                                                
$dummy[$swap] = $dummy[0];
                                                
$dummy[0] = $tmp;
                                        }
 
                                        return 
substr(implode('',$dummy),0,$length);
                                }
 
                                
$password generatePW();
         
                                
$qry2 $db->prepare "UPDATE user_data SET password = :password WHERE user_name = :username LIMIT 1" );
                                
$qry2->bindParam ':password'md5($password));
                                
$qry2->bindParam ':username'$in[0]);
                                
$qry2->execute ();
 
                                
$head1 'From: "PSFGame" <[Only registered and activated users can see links. Click Here To Register...]> \r\n';
                                
$head2 "Dein neues Passwort \r\n";  
                                
$subject "PSFGame";
                                
$message =  "Username: ".$in[0]."\nPassword: ".$password;
 
                                
$ret = array (mail($in[1], $subject$message$head1.$head2));
                        }
                }
                else
                {
                        
$ret = array ( $ERR_EMAIL_WRONG );
                        break;
                }
                break; 
06/21/2014 11:34 Views4U#757
Needs this vserver ? or is working with a free webspace?
06/21/2014 11:38 UND3RW0RLD#758
this need a mail-deamon like postfix

alternative you can recode it to use a SMTP-script
06/21/2014 11:39 krejcomut#759
eptun sell script for money . Your script on sell was free idk what now bastard . And i not steal . This go say flash
06/21/2014 11:55 TheCry#760
Quote:
Originally Posted by krejcomut View Post
eptun sell script for money . Your script on sell was free idk what now bastard . And i not steal . This go say flash
What script do you mean?
06/21/2014 12:18 krejcomut#761
HE come on my forum and try sell scrpt what for free
06/21/2014 13:23 jkoby#762
Quote:
Originally Posted by Crasim View Post
I've also tried to add strings ban, but from what I have been able to "verify" you have to change the swf game
If i remember right it was something in MainTimeline.as script... which get bugged when decompile and cannot compile again the .fla file. I have tried to edit it becouse of crossdomain.xml link but without success.
06/21/2014 13:36 EptunLP#763
Krejcomut, i was not selling you crasim dungeon reset but mine!!!
06/21/2014 13:52 jkoby#764
Here something from me. I used MySQL Improved (mysqli) for all query.
payment/beers.php

and css.css


in papaya_cfg.php



Also if anyone needs it improvement for arena. It doesn't allow to attack players with range below/above 10 levels from you.

Find // check times in request.php and after
Code:
else {
			$time += 600;
		}
add these lines

Code:
if ($op ['lvl'] < $p1 ['lvl']-10 || $op ['lvl'] > $p1 ['lvl']+10) {
		        $ret = array (
				        $ERR_FIGHT_PLAYER
						);
						break;
		}
Also find
Code:
$ERR_DEALER_AKTION = "175";
and below add
Code:
$ERR_FIGHT_PLAYER = "E310";
it will return "Nothing happens."

Forgot to mention that beers reset script is based on Crasim dungeon reset script so 90% of credits go to him.
06/21/2014 13:59 UND3RW0RLD#765
replace:
PHP Code:
http://localhost/payment/beers.php 
with:
PHP Code:
<?=$_SERVER["PHP_SELF"?>
;)