![]() |
#51
|
||||
|
||||
![]()
It never happened on Caterpillar at all .. and wow, 60 times and nothing.
I just don't get it, its baffling to me. And Abronsyth is having it happen too, so I know it isn't just my site. I don't get it!! Thanks for trying Wallie .. what a mystery ... hopefully HoF is having some luck. |
#52
|
||||
|
||||
![]()
@Annatar
You said that this is only affecting the USE function??? O.o ??????? |
#53
|
||||
|
||||
![]()
Yep!!
Isnt that weird? Toss and Sell both continue to work fine! But Use gets the white out, once it starts! |
#54
|
||||
|
||||
![]()
@Annatar
Wait, do you have an invetory.php file I could take a peek at? |
#55
|
||||
|
||||
![]()
Sure ! here you go :)
Code:
<?php class InventoryController extends AppController{ const PARAM = "confirm"; public function __construct(){ parent::__construct("member"); } public function index(){ $mysidia = Registry::get("mysidia"); $inventory = new Inventory($mysidia->user); if($inventory->gettotal() == 0) throw new InvalidIDException("inventory_empty"); $this->setField("inventory", $inventory); } public function uses(){ $mysidia = Registry::get("mysidia"); $document = $mysidia->frame->getDocument(); $item = new PrivateItem($mysidia->input->post("itemname"), $mysidia->user->username); if($item->iid == 0) throw new ItemException("use_none"); if($mysidia->input->post("aid")){ if(!$item->checktarget($mysidia->input->post("aid")) or $mysidia->input->post("validation") != "valid"){ throw new ItemException("use_fail"); } elseif(!$item->randomchance()){ $item->remove(); throw new ItemException("use_effect"); } else{ $message = $item->apply($mysidia->input->post("aid")); $this->setField("message", $message); } return; } $stmt = $mysidia->db->select("owned_adoptables", array("aid", "name"), "owner = '{$mysidia->user->username}'"); $map = $mysidia->db->fetchMap($stmt); $this->setField("petMap", $map); } public function sell(){ $mysidia = Registry::get("mysidia"); $item = new PrivateItem($mysidia->input->post("itemname"), $mysidia->user->username); if($item->iid == 0) throw new ItemException("sell_none"); if(!$mysidia->input->post("quantity")) throw new ItemException("sell_empty"); elseif($item->quantity < $mysidia->input->post("quantity")) throw new ItemException("sell_quantity"); else $item->sell($mysidia->input->post("quantity")); } public function toss(){ $mysidia = Registry::get("mysidia"); $item = new PrivateItem($mysidia->input->post("itemname"), $mysidia->user->username); if($item->iid == 0) throw new ItemException("toss_none"); if($mysidia->input->get("confirm")){ $item->toss(); return; } } public function alchemy(){ $mysidia = Registry::get("mysidia"); $settings = new AlchemySetting($mysidia->db); if($settings->system == "disabled") throw new ItemException("alchemy_disabled"); if($mysidia->input->post("iid") and $mysidia->input->post("iid2")){ $alchemy = new Alchemy($mysidia->input->post("iid"), $mysidia->input->post("iid2"), $settings); $alchemy->mix(); $this->setField("alchemy", $alchemy); return; } $stmt = $mysidia->db->select("inventory", array("iid", "itemname"), "owner = '{$mysidia->user->username}'"); $map = $mysidia->db->fetchMap($stmt); $this->setField("itemMap", $map); $this->setField("settings", $settings); } } ?> |
#56
|
||||
|
||||
![]()
@Annatar
Of course there are some differences because of our versions, but there may just be something in there... I checked, but I couldn't catch anything that really stood out... maybe you're sharper? |
#57
|
||||
|
||||
![]()
I've looked and looked and looked, for days now .. the only thing i can think is its something to do with the adding clicks or leveling or something, getting to a point it just cuts off the 'Use' function for ALL items suddenly.
HoF is going to have to cure this I think, lol, I am stumped, totally now. |
#58
|
||||
|
||||
![]()
So if it affects an account it will not be able to use items anymore? I think I am starting to understand this a bit, I cant describe it yet but it will help me better if anyone of you provide me link to your control panel. If I can access your database in phpmyadmin and take a look there. There may be some corrupted data that I can fix for you and your account can be used again. But of course, I still need to find where the corrupted data is generated then, but that can be done later.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#59
|
||||
|
||||
![]()
Sent you a PM !
|
#60
|
||||
|
||||
![]()
I've found the solution to this glitch now, it has something to do with a single line in script file classes/resource/collection/class_linkedhashmap.php. Someone already pointed it out before, but it was back in January so its after Mys v1.3.4 was released. This error will go away in Mys v1.4.0 completely:
http://mysidiaadoptables.com/forum/p...php?issueid=37 To fix this issue, find this line: PHP Code:
PHP Code:
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
![]() |
|
|
![]() |
||||
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? |