Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames
You last visited: Today at 09:22

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

Advertisement



Shakes & Fidget Private - Final Script (Tower, Toilet, Witch, Epic)

Discussion on Shakes & Fidget Private - Final Script (Tower, Toilet, Witch, Epic) within the Browsergames forum part of the Other Online Games category.

Closed Thread
 
Old 04/14/2014, 14:31   #16
 
elite*gold: 0
Join Date: Mar 2014
Posts: 6
Received Thanks: 0
Ahoj kdo mi pomůže píše mi to pořád že nemám připojení k internetu nebo že probíha údržba/Hi there to help me write me all the time that I have no internet connection or be in the maintenance
nomercy115 is offline  
Old 04/14/2014, 14:38   #17
 
shirowa's Avatar
 
elite*gold: 0
Join Date: Dec 2013
Posts: 50
Received Thanks: 5
Je spoustu možností,buď nemáš dostatečný výkon nebo máš někde bug.
shirowa is offline  
Old 04/14/2014, 14:51   #18
 
tulyita's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 121
Received Thanks: 187
Quote:
Originally Posted by shirowa View Post
Where we reduce the price of weapons?

Sorry for my bad English
PHP Code:
.
.
.
    if (
$option == "toilet" or $option == "dungeon"){
    
$itemMush 0;
    }
    
    
$item = array (
            
"item_type" => "1",
            
"item_id" => "1005",
            
"dmg_min" => "1",
            
"dmg_max" => "0",
            
"atr_type_1" => "0",
            
"atr_type_2" => "0",
            
"atr_type_3" => "0",
            
"atr_val_1" => "0",
            
"atr_val_2" => "0",
            
"atr_val_3" => "0",
            
"gold" => rand($lvl 100$lvl 10000), //this is the price of an item. random value between lvl*100 and lvl*10000
            
"mush" => $itemMush,
            
"slot" => "0",
            
"owner_id" => $itemOwner
    
);
    
    if (
$shop == 0) {
        
$type rand 1);
        while ( 
$class != && $type == )
            
$type rand 1);
        
        
$item ['item_type'] = $type;
        
$random rand 1$shakes_item_ids [$class 1] [$type 1] );
        if (
$epicRand == 1){
.
.

tulyita is offline  
Thanks
2 Users
Old 04/14/2014, 15:05   #19
 
elite*gold: 0
Join Date: Feb 2014
Posts: 59
Received Thanks: 8
I've error.

Help
Dmixior is offline  
Old 04/14/2014, 15:12   #20
 
tulyita's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 121
Received Thanks: 187
Quote:
Originally Posted by Dmixior View Post
I've error.

Help
Did you edited PDO? I mean this:

Search for "YOU HAVE TO EDIT THIS" in the file, and edit it below.
(Because of the connection to database)
tulyita is offline  
Old 04/14/2014, 15:31   #21
 
elite*gold: 0
Join Date: Apr 2014
Posts: 226
Received Thanks: 27
How to got epic only in dungeons... not in shops... in shops only normal items, keys, potions, no epics! ?

Sorry for my bad english
TheCry is offline  
Old 04/14/2014, 15:31   #22
 
elite*gold: 0
Join Date: Feb 2014
Posts: 59
Received Thanks: 8
Oh, thanks. You're big
I've question to toilet, it's normal?
Dmixior is offline  
Old 04/14/2014, 15:39   #23
 
shirowa's Avatar
 
elite*gold: 0
Join Date: Dec 2013
Posts: 50
Received Thanks: 5
How to add mushrooms to fall out of quests?

Quote:
// generate new quests
$quests = array ();

for($i = 0; $i < 3; $i ++) {
// multiplier
$m = mt_rand ( 900, 1100 ) / 1000;

// random length
$l = rand(1, 4);

$quests [] = array (
$db_data ['lvl'] * rand(100, 1000),
getQuestExp ( $db_data ['lvl'] ) * $l * $m,
$l
);
}
shirowa is offline  
Old 04/14/2014, 16:07   #24
 
tulyita's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 121
Received Thanks: 187
Quote:
Originally Posted by shirowa View Post
How to add mushrooms to fall out of quests?
PHP Code:
function finishQuest($db_data){
.
.
.    
    
// generate new quests
    
$quests = array ();
    
    for(
$i 0$i 3$i ++) {
        
// multiplier
        
$m mt_rand 9001100 ) / 1000;
            
        
// random length
        
$l rand(14);
            
        
$quests [] = array (
                
$db_data ['lvl'] * rand(1001000),
                
getQuestExp $db_data ['lvl'] ) * $l $m,
                
$l
        
);
    }

    
$mushRand rand(125); //4% chance for mushroom
    
if ($mushRand == 1){
    
$addMush 1//reward 1 mush
    
} else {
    
$addMush 0;
    }    
    
// update database
    
$qry $db->prepare "UPDATE user_data SET
                        silver = :silver,
                        exp = :exp,
                        lvl = :lvl,
                        mushroom = mushroom + 
$addMush,
                        status = 0,
                        thirst = :awa,
                        quest_gold_1 = :qg1,
                        quest_gold_2 = :qg2,
                        quest_gold_3 = :qg3,
                        quest_exp_1 = :qe1,
                        quest_exp_2 = :qe2,
                        quest_exp_3 = :qe3,
                        quest_dur_1 = :qd1,
                        quest_dur_2 = :qd2,
                        quest_dur_3 = :qd3
                        WHERE ssid = :ssid" 
);
    
$qry->bindParam ':ssid'$SSID );
    
$qry->bindParam ':silver'$db_data ['silver'] );
    
$qry->bindParam ':exp'$db_data ['exp'] );
    
$qry->bindParam ':lvl'$db_data ['lvl'] );
    
$qry->bindParam ':awa'$db_data ['thirst'] );
    
$i 1;
    foreach ( 
$quests as $q ) {
        
$qry->bindParam ':qg' $i$q [0] );
        
$qry->bindParam ':qe' $i$q [1] );
        
$qry->bindParam ':qd' $i$q [2] );
            
        
$i ++;
    }
    
$qry->execute ();
    
// var_dump($qry -> errorInfo());

I'm not sure if this works.
tulyita is offline  
Thanks
4 Users
Old 04/14/2014, 17:01   #25
 
elite*gold: 0
Join Date: Mar 2014
Posts: 24
Received Thanks: 2
Hi! You're divine! xd I have a question whether it is possible to do that instead of this:


It was once



And what do you do as the whole time the same opponent? It is possible to do something about it

sory for my English but I'm a poland
barteklorek123 is offline  
Old 04/14/2014, 17:06   #26
 
elite*gold: 0
Join Date: Apr 2014
Posts: 226
Received Thanks: 27
barteklorek wieża nie jest jest skonczona... narazie praktycznie nie ma żadnej funkcji... możesz tylko wejsc ;d
TheCry is offline  
Old 04/14/2014, 17:16   #27
 
elite*gold: 0
Join Date: Mar 2014
Posts: 24
Received Thanks: 2
Aha nieno to ok bo myslalem ze dziala chociaż walka P ok dzieki za odp
barteklorek123 is offline  
Old 04/14/2014, 20:06   #28
 
elite*gold: 0
Join Date: Nov 2010
Posts: 15
Received Thanks: 0
Hi! You do not want it Ceh attack / dungeon to do the dirty? Script pls!!! Thanks you good job!
endrehalo3 is offline  
Old 04/14/2014, 20:08   #29
 
chyba404's Avatar
 
elite*gold: 0
Join Date: Sep 2013
Posts: 32
Received Thanks: 8
Where I can change max level?
Sorry for my english, im from czech
chyba404 is offline  
Old 04/14/2014, 20:10   #30
 
elite*gold: 0
Join Date: Apr 2013
Posts: 13
Received Thanks: 0
Hi, looking for script with slow exp and mushrooms of quests. Someone can help me ?
Wolgix is offline  
Closed Thread

Tags
script, sfgame, toilet, tower, witch


Similar Threads Similar Threads
Shakes & Fidget Private - Epic in Shop
11/14/2015 - Browsergames - 8 Replies
Tulyita's Shop Script - version 1.14 - last update: 11/04/2014 It's my own code, I made it! I hope you enjoy it :) With this code: -Epic items in the shop (stats: '3' or 'all') - it works -Normal items in the shop (stats: '1' or '2') - it works -Keys, potions in the shop - it works but you can't use the potions/keys Step 1: Fix the "All Stat Epic" bug:
Shakes & Fidget Private - Tower, Toilet, Witch
08/18/2015 - Browsergames - 12 Replies
Tulyita's Script - version ALPHA - last update: 12/04/2014 Hello guys! I'm scripting Tower, Toilet and Witch. I'm not done yet. -Toilet - You can flush the toilet and get item (33% epic chance). -Tower - You can enter Tower (you can't fight yet) -Witch - You can enter Witch (you can't use it yet) Video:
[Selling] Shakes and Fidget- Lvl 229 Kundschafter Full Epic
12/05/2013 - elite*gold Trading - 10 Replies
Biete hier einen shakes and fidget charakter - lvl 229 Full Epic ist im Rangbereich von 400-500. Hat noch ne menge Gold und 2 Pilze (Spendbar 20k Wert: 800€). Er ist auf dem Server 24 ! Suche dafür Gebote ! Was ich nehme ? Google Play Card, E*G (Kurs 1:53) Davon ein Screenshot: http://abload.de/img/unbenanntyvj7z.png
Shakes and Fidget Acc. Full Epic
09/28/2012 - Browsergames Trading - 0 Replies
Hallo, Ich verkaufe hier einen shakes and fidget acc. level 123 auf dem deutschen server 2. Er ist full epic bis auf die waffe. Und er ist Kundi, nur eine 25€ paysafecard.
[V] Shakes & Fidget s3 EPIC ACCOUNT [S] Psc
01/13/2012 - Browsergames Trading - 9 Replies
Hey beite diesen Account auf s3 http://s14.directupload.net/images/111224/mzsc4kn u.jpg - VIEL GOLD! - GENÜGEND PILZE - GUT GESTATTED - GUTER NAME Suche PaySAfeCard oder tausche auch..



All times are GMT +1. The time now is 09:24.


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.