Thread: Mys 1.3.4 Itemdrop Mod for Mys v1.3.4
View Single Post
  #30  
Old 07-03-2014, 03:11 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: 334,167
Hall of Famer is on a distinguished road
Default

I've fixed Squiggler's problem, it seems that there is a minor error I made for manual installation. This line:

PHP Code:
$this->setField("reward", ($dropstatus)?$dropstatus:new Integer(0)); 
should be:

PHP Code:
$this->setField("dropstatus", ($dropstatus)?$dropstatus:new Integer(0)); 
A typo, but significant enough to stop the mod from working. Also Squiggler made an error in the manual installation as well, perhaps I did not explain very well myself. When you add this row to table prefix.acp_hooks, for string columns please do not enter the double quotes and instead only enter the alphanumeric values. MySQL is not PHP, strings are not enclosed by double or single quotes. Note "Itemdrop"(with double quotes) and Itemdrop(without quotes) are different values for a mysql column, it will stop the mod from working.

PHP Code:
"id" => NULL
"linktext" => "Item Drop Plugin v1.3.4 by Hall of Famer"
"linkurl" => "http://www.mysidiaadoptables.com/forum/showthread.php?t=4362"
"pluginname" => "itemdrop"
"pluginstatus" => 
Hope this helps, and note you should not encounter this issue if you simply download the script files and use automatic installer, it only affects manual installations.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote