Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
Itemdrop Mod for Mys v1.3.3
Another Mod I decided to revise for Mys v1.3.3 is this Itemdrop Mod, which should be perfectly compatible with the new version. With this plugin, users have a chance to get a specific item by clicking on a certain species of adoptable. It may help with users exchange clicks, but do not abuse this feature so users get way too many important items.
You can assign either one or multiple items to an adoptables species, which will drop items based on their item drop-rate. For instance, if an adoptable has drop-rate of 30, your user will have 30% chance to get an item by clicking on this pet. If you assign two or three items to this species, each of them will have 15% or 10% chance to come out. Unfortunately there's no way to 'discriminate' among items for a given adoptable, a probability system is way too complicated for me to work with at this point. Assuming you have a fresh installation of Mys v1.3.3, you can simply download the .rar files I upload myself, then go to /install/genderratio.php to execute the file to install the Mod. If your site is heavily customized, you'd have to install manually, which should not be difficult anyway. The manual installation steps are explained as below: To begin with, insert two columns in table prefix.adoptables: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#2
|
||||
|
||||
I am getting the following error when attempting to install this plugin;
Warning: require(../inc/config.php) [function.require]: failed to open stream: No such file or directory in /home/ratties/public_html/classes/class_initializer.php on line 94 Warning: require(../inc/config.php) [function.require]: failed to open stream: No such file or directory in /home/ratties/public_html/classes/class_initializer.php on line 94 Fatal error: require() [function.require]: Failed opening required '../inc/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ratties/public_html/classes/class_initializer.php on line 94
__________________
|
#3
|
||||
|
||||
umm you are trying to run the installer arent you? If so, you should upload the installer to the /install folder since otherwise the script url redirect will prevent it from installing. Anyway you can always try adding/removing fields directly in PHPMyadmin.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#4
|
||||
|
||||
I did use the install folder. I could try adding it manually later, but I don't have the time now.
EDIT: I went to check the coding - everything seemed good (was all changed) but for some reason when I checked the database, I saw there was no droprate column, only dropitem. Added that in and this seems to have solved the problem - program is working fine, tested and all.
__________________
Last edited by AlexC; 04-05-2013 at 08:53 AM. |
#5
|
||||
|
||||
I see, it was my mistake lol. Heres why droprate aint inserted:
PHP Code:
I've uploaded a new installer file, it should work fine this time.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#6
|
|||
|
|||
Keep getting this error :
__________________
|
#7
|
|||
|
|||
I installed this on 1.3.4 and I got it working - except after they click the page goes blank instead of displaying the reward they just got. The database gets updated with the item so that part works perfectly.
It is the levelup.php/levelupview.php file I am having trouble configuring. Has anyone got this working on 1.3.4? If so could you share what you changed in the levelup file(s). Thank you, Suzanne |
#8
|
||||
|
||||
There is a Mys v1.3.4 version available, you installed the wrong version.
http://mysidiaadoptables.com/forum/s...ead.php?t=4362
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#9
|
|||
|
|||
Oops I missed the other thread. Sorry about that.
Thank you for letting me know, Suzanne |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mys v1.3.4 Itemdrop Mod for Mys v1.3.4 | Hall of Famer | Mys v1.3.x Mods | 41 | 05-08-2017 10:30 AM |
Mys v1.3.2 Itemdrop Mod for Mys v1.3.2 | Hall of Famer | Mys v1.3.x Mods | 29 | 03-11-2013 03:44 PM |
What's New? |
What's Hot? |
What's Popular? |