Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#31
|
|||
|
|||
I'm not sure if I did something wrong when I changed the price of training but I absentmindedly pressed the button for training while I testing and noticed my money was in the negative.
need help with this |
#32
|
||||
|
||||
Quote:
__________________
My Mods Site (1.3.4, 2020 Mods) |
#33
|
|||
|
|||
ok and would you like to work with me an make a battling system where two user can battle online ??
|
#34
|
||||
|
||||
Sorry, that is quite beyond my capabilities!
__________________
My Mods Site (1.3.4, 2020 Mods) |
#35
|
|||
|
|||
What would you suggest to limit the amount of training?
Say, you can only train any pet up to 5 times (regardless of stat) so you don't end up with a billion highly trained pets? It forces you to breed and train for better stats? |
#36
|
||||
|
||||
I would add a new column to the owned_adoptables table in phpMyAdmin and call it something like "timestrained," with the default set to 0. Then each time that pet is trained add +1 to that column...then just include an if/else statement to exclude any pets that have been trained 5 times. So...something like...
Add this under the list of defined variables for training: PHP Code:
PHP Code:
PHP Code:
Let me know if that makes sense/works out!
__________________
My Mods Site (1.3.4, 2020 Mods) |
#37
|
||||
|
||||
For what its worth, going back in all this time later, this brilliant Mod just needs all the attributes (sense, etc) changed to public instead of private.
I am much more php savvy a few years in -- and found it easy to get it working just fine! Highly recommend this awesome and fun Mod! Thanks again for it! |
|
|
What's New? |
What's Hot? |
What's Popular? |