#31
|
||||
|
||||
Yep I think so :)
|
#32
|
||||
|
||||
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. |
#33
|
||||
|
||||
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 ... |
#34
|
||||
|
||||
@Annatar
Wait... do you think it's a problem with the database? |
#35
|
||||
|
||||
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. |
#36
|
||||
|
||||
@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? |
#37
|
||||
|
||||
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. |
#38
|
||||
|
||||
Re
Quote:
|
#39
|
||||
|
||||
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. |
#40
|
||||
|
||||
@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. |
|
|
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 |
What's New? |
What's Hot? |
What's Popular? |