![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
![]()
I know this thread is a bit old, but I've got a question - with the item shop, will we be allowed to "drop" items on our sites - so our members can find them on certain pages and pick them up? Or can we only give items through the store?
__________________
|
#2
|
||||
|
||||
![]()
umm users can drop items by clicking the 'Toss' button at inventory.php page. I have not coded a script to enable users to pick up dropped items, it should not be difficult to accomplish though since the idea should work out in a similar way as Pound script.
For now the only way to obtain items is through itemshop, but this will change in future. When a battle system is available in Mys v1.5.x, admins should be able to assign items dropped by enemies. I coded a quiz system for my Pokemansion site, in which users receive fishing rod by completing fishing quizzes. So yeah, you can do whatever you want to extend the item/itemshop system with PHP programming.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#3
|
||||
|
||||
![]()
Alright, I was just wondering. I'm not that good at coding, so I wasn't sure if it was going to be added or not... I made my own explore system, so I just want to be able to have a small code that when people visit a certain page, an item is added to their inventory.
__________________
|
#4
|
||||
|
||||
![]()
I see, this should not be difficult at all. You simply have to modify the database sql table that stores items for users whenever someone is supposed to receive or lose an item by accessing the explore page. I will show you an example someday after the itemshop is released together with Mys v1.3.0.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#5
|
||||
|
||||
![]()
Alright, thanks - examples are awesome. xD
__________________
|
#6
|
||||
|
||||
![]()
No worries, you just need to play with basic control loops in PHP in order to accomplish this. Knowledge of If...else, Switch...case, while and for loops should be sufficient, assuming you are comfortable with PHP variables and HTML forms.
__________________
![]() 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 |
Adding Item Functions - help! | Missy Master | Questions and Supports | 4 | 06-30-2014 08:50 PM |
Item Function Suggestions | NobodysHero | Suggestions and Feature Requests | 5 | 06-23-2014 03:45 AM |
Database functions? | Infernette | Questions and Supports | 8 | 07-10-2013 12:13 PM |
What's New? |
What's Hot? |
What's Popular? |