Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #31  
Old 08-14-2014, 08:40 PM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 45,830
Missy Master is an unknown quantity at this point
Default

Yep I think so :)
Reply With Quote
  #32  
Old 08-15-2014, 05:53 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 338,368
Hall of Famer is on a distinguished road
Default

I have an account on your site now, I've purchased some items and I will adopt a few pets too. With this, I will try to reproduce the same white screen as you've encountered. I am sure theres a way to find out, I will let you know once I figure out. ^^
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #33  
Old 08-15-2014, 09:32 AM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 45,830
Missy Master is an unknown quantity at this point
Default

Great!!

It took me ten times on one account and 20 on another to get it to happen, but once it did, there was no going back. Most of the members cant use items it seems now ...
Reply With Quote
  #34  
Old 08-15-2014, 10:30 AM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,892
Hwona is on a distinguished road
Default

@Annatar
Wait... do you think it's a problem with the database?
__________________
Reply With Quote
  #35  
Old 08-15-2014, 10:45 AM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 45,830
Missy Master is an unknown quantity at this point
Default

Well, I really cant tell, because I've looked at everything after this happens, and right before, too, noted what all the user, item, inventory, banning, all those tables for all that, and I can't find one thing different in anything.

But it's likely some obscure value that gets inserted, or possibly there is a 'cut off' ?? Of how many items can be used?

It might possibly be something in where the amount of clicks and leveling gets cut off, there's something that seems to reach a cut off and then you error out and white out. Syntax is bad for it or something, but once you reach this critical point, you get no more chances then lol.

And bingo make a new account and log in, and you're right as rain.

Can't be ip based.
Reply With Quote
  #36  
Old 08-15-2014, 10:52 AM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,892
Hwona is on a distinguished road
Default

@Annatar
I tried over 30 times on my test site...
Nothing. Everything works.
What browser are you all using and how many items, pets, and users do you have?
__________________
Reply With Quote
  #37  
Old 08-15-2014, 10:55 AM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 45,830
Missy Master is an unknown quantity at this point
Default

I know it isn't just me since others are having it happen on their sites, and once it happens, it doesn't matter what browser or anything, I have used Chrome, FF and IE.

Happens on all of them :(

I have about 20 users, 15 items, 10 pet species.

Try making an account on Simmland and see if it happens? I had to do it 15 times but it did happen again, and then 20 times later on a second account.
Reply With Quote
  #38  
Old 08-15-2014, 10:57 AM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,892
Hwona is on a distinguished road
Default Re

Quote:
Originally Posted by Annatar View Post
I know it isn't just me since others are having it happen on their sites, and once it happens, it doesn't matter what browser or anything, I have used Chrome, FF and IE.

Happens on all of them :(

I have about 20 users, 15 items, 10 pet species.

Try making an account on Simmland and see if it happens? I had to do it 15 times but it did happen again, and then 20 times later on a second account.
I'll try on your site... What kinds of items have you been using? O.o
__________________
Reply With Quote
  #39  
Old 08-15-2014, 11:03 AM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 45,830
Missy Master is an unknown quantity at this point
Default

I've used Mature ( kicks a baby to level 3 ), and toys.

Let me paste the codes here for the toys for you :)

This is from functions_items.php, and is the basic outlay for all my add on toys. They work fine over and over, and then --- they don't. The only diff for any of these is they insert toys into different 'slots' to allow for more to be seen at a time.

Possibly it's reaching a cut off from the leveling of clicks or something? But then, why am I not the only one having it happen on their site ...
Code:

function items_click4($item, $adopt){
  $mysidia = Registry::get("mysidia");
  $newclicks = $item->value;
  $mysidia->db->update("owned_adoptables", array("totalclicks" => $newclicks), "aid='{$adopt->aid}'and owner='{$item->owner}'");

  $mysidia->db->update("owned_adoptables", array("toy_1" => $newclicks), "aid='{$adopt->aid}'and owner='{$item->owner}'");
  $note = "You added a {$item->itemname}, and the Pet has just received a {$item->value}<br>";
  //Now lets check if the adoptable has reached a new level.
  
  $ownedAdopt = new OwnedAdoptable($adopt->aid);
  if($ownedAdopt->hasNextLevel()){
      //new level exists, time to check if the total clicks have reached required minimum clicks for next level.
	 $nextLevel = $ownedAdopt->getNextLevel();
	 $requiredClicks = $nextLevel->getRequiredClicks();
     if($newclicks >= $requiredClicks and $requiredClicks != 0 and $requiredClicks != ""){
	    // We need to level this adoptable up...
        $mysidia->db->update("owned_adoptables", array("currentlevel" => $nextlevel), "aid ='{$adopt->aid}' and owner='{$item->owner}'");	  
        $note .= "And it has gained a new level!";
     }
  }

  //Update item quantity...
  $delitem = $item->remove(); 
  return $note;
}

Last edited by Missy Master; 08-15-2014 at 11:06 AM.
Reply With Quote
  #40  
Old 08-15-2014, 11:05 AM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,892
Hwona is on a distinguished road
Default

@Annatar
Okay... well, I tried this on canis, but I don't seem to be having any problems... O.o
Are you only having this on SIMLAND?
Edit: Can you test it out on my site?
__________________

Last edited by Hwona; 08-15-2014 at 11:07 AM.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mys v1.3.4 Item Shop Mod(s): NPC + Item Display + Tooltips Kyttias Mys v1.3.x Mods 55 06-19-2020 11:21 AM
Buy X of Item A to receive X of Item B AndromedaKerova Suggestions and Feature Requests 0 11-09-2014 08:17 PM
Using Item Error Abronsyth Questions and Supports 3 03-29-2013 06:43 PM
Parse error: syntax error, unexpected T_ELSE in /home/.nyles/ Saphira Questions and Supports 11 05-26-2009 11:45 AM


All times are GMT -5. The time now is 06:48 AM.

Currently Active Users: 9694 (0 members and 9694 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636