PDA

View Full Version : Using Item Error


Abronsyth
03-29-2013, 10:29 AM
URL: http://bellesombres.com/inventory/uses

Item Type/Function: Click1
Is supposed to add 5 clicks to a pets total clicks.
90% chance of it working.
Pet is level 2 with 36 clicks- would level up at 50 clicks.

When I went to feed it to a pet, I got this error:
Fatal error: Call to undefined function getnextlevelexists() in /home/bellesom/public_html/functions/functions_items.php on line 68

Any ideas or things I should post..?

Hall of Famer
03-29-2013, 03:38 PM
I see, yes this is a glitch. I am terribly sorry for that...

There are two ways to fix the problem. One is to upload the functions_adopts.php file to your site and include it from the initializer class file. Another way is to modify the functions_items.php file, I've provided an attachment for this. Note that the functions are going to be 'phase-out' in the next few releases since the script is moving towards OOP.

Abronsyth
03-29-2013, 04:43 PM
Thank you HoF :) Uploaded the file and it's working fine now :)

Mm, sounds complicated XD

Hall of Famer
03-29-2013, 06:43 PM
No worries, the users of the script do not really need to know the complexity behind the code unless you aspire to be a coder. XD I am just glad it is working for you now, and if you dont mind, post an issue in the Bug Tracker.