DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • September 25, 2018, 05:41:27 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1] 2 3 ... 18   Go Down
  Print  
Author Topic: Pet Shop and Editor 3.81  (Read 69832 times)
0 Members and 1 Guest are viewing this topic.
Eth
Member
Codemeister
****
Offline Offline

Posts: 302


Shameless Drunk


View Profile
« on: February 11, 2005, 12:41:45 AM »

The petshop and editor, a place to buy and sell pets in LotGD! At long last, the newest version of the petshop is ready.  I've made a couple of significant changes since the last version, those being:

- Now just one file!
- No more hunger/mood system  (buggy as hell)
- No more activities (Buggy too)

The hunger and mood system has been replaced by a simple, more efficient upkeep system. Now instead of buying food to manually feed your pet, you simply pay an upkeep cost of gold  each newday. If you don't have the money, you're given a one day grace period. After that, you'll lose your pet if you can't cough up the money to feed him/her.

Moods are now just for aesthetic purposes.

Simply put: pets are now more or less a vanity item that add a bit of personality to the game. I felt taking this approach would reduce the number of headaches we all had with past versions. Heh.

A note for version 2.0 users:
It's important that you uninstall any previous versions of this mod before installing this new version. You've been warned. This doesn't apply if you are already running v3.x.

One last note: Since I no longer run a server of my own anymore, I was only able to test this by myself locally on my own computer. While I haven't stumbled upon any errors as of this writing, don't hesitate to post any bugs/glitches that you may happen across!

[Edit]
As of Version 3.8, pets can now have the option of attacking in battle. Within the editor, you can pick the options for a pet to attack, whether the pet attacks automatically, or on it's owner's command, the damage of it's attack, and how many turns the pet will get per day. Have fun with this new feature!

I did away with gem upkeep costs in this new version as well. It was borking things in a few places, so I killed it.
[/End Edit]


Features

General:
- Name your pet
- Random messages as you wander about
- Chance for pet to die if you lose a battle (admin configurable)
- Pet name and breed in User Bio
- Other stuff


Pet Shop:
- Choice of town to display in
- Customizable shop name
- Buy/Sell Pets
- Give Pet as Gift to Someone Else

Pet Editor:
Lots of goodies to configure....
- Pets have their  own table
- Add/Edit/Delete Pets
- Categorized by Type (Common, Exotic, Special)
- Set pet price in gold and gems,
- Choose if pets can attack or not
- Set DK's needed to buy
- Optional  charm
- 5 configurable custom messages


That's it. Enjoy!


Version 3.81 - 02-05-2006: http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=258

Extra

Extra Pets:
A module to add 30 new pets for your petshop. Adds an assortment of critters. To install, just drop into modules directory, and click install.

One small note: This module will uninstall itself after it has added the pets to the database, as to prevent it from installing multiple instances of the critters. Your pets will remain though! So if you wish, feel free to delete extrapets.php from your modules directory after it's done. Enjoy.

Link for Extra Pets: http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=259

Wild Pets:
Small plugin for the petshop that adds a Forests Special Event wherein the user can find and try to capture a wild animal for a pet. Updated to work with the newest version of the petshop. Do enjoy.

Link for Wild Pets:
http://dragonprime.net/users/Eth/wildpets.zip

Fairy Dragon:
The predecessor to the Pet Shop module. Not really a plug-in for the Petshop per se, but he's still a popular critter it seems. Updated to fix a few minor display issues. He can be run side by side with pet shop, although you might want to tailor the settings to fit the balance of your server.

Link to Fairy Dragon Thread:
Pet - Fairy Dragon

Link for Fairy Dragon:
http://dragonprime.net/users/Eth/fairydragon.zip

« Last Edit: May 19, 2007, 06:12:16 PM by Elessa » Logged

Purveyor of fine cloaks, gloves, boots, gerbils, and Siamese cats.
CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« Reply #1 on: February 11, 2005, 12:49:02 AM »

Great:D
Logged
robert
Old Dog
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« Reply #2 on: February 11, 2005, 12:57:16 AM »

Nice work eth.

For the next version may I suggest that IF player dosent bother feeding the pet - it dies.

Allow the pets hunger to increase daily - if it reaches a certain number, the pet keels over - player must pay to bury the pet. Player suffers the shame of villagers that scorn them for neglect ( charm loss) and must pay burial costs ( from goldinbank, this forces payment wether or not player has gold)
« Last Edit: February 11, 2005, 01:02:41 AM by robert » Logged

Eth
Member
Codemeister
****
Offline Offline

Posts: 302


Shameless Drunk


View Profile
« Reply #3 on: February 11, 2005, 01:18:29 AM »

Actually, Robert...

Pet hunger/attention does increase/decrease - via the everyhit hook.

Also, your pet does die if you fail to feed it. As an added nasty feature, the cost of buying pets skyrockets for each pet you neglect.

I agree though, there should be a charm loss. And the burial cost idea is rather neat too, it'd fit in nicely with the pet cemetary mod I'm working on...no ETA on it's release though.
Logged

Purveyor of fine cloaks, gloves, boots, gerbils, and Siamese cats.
CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« Reply #4 on: February 11, 2005, 01:24:24 AM »

I've been looking forward to this for a while, why not make a pet marriage script  Grin  Wink  Tongue
Logged
robert
Old Dog
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« Reply #5 on: February 11, 2005, 01:27:47 AM »

You're right!  Tongue

Just some suggested stuff:

addnews:  Oh the shame! soandso neglected their xxxxx and the poor thing was found dead in the village square, nothing left but a bag of bones. soandso was fined by the village elders for his/her neglect.

output: the ShopKeep gives you a dirty look as you seek to purchase ANOTHER pet, he stills remembers you killed the last one you bought.




« Last Edit: February 11, 2005, 01:30:17 AM by robert » Logged

Eth
Member
Codemeister
****
Offline Offline

Posts: 302


Shameless Drunk


View Profile
« Reply #6 on: February 11, 2005, 01:33:46 AM »

*laughs* Be my guest, Cortal Tongue

And waaaaay ahead of you, robert. I'm going to lay on the guilt trip nice and thick.  Wink
Logged

Purveyor of fine cloaks, gloves, boots, gerbils, and Siamese cats.
CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« Reply #7 on: February 11, 2005, 01:49:10 AM »

o_O just a joke..
* CortalUX squeals and runs off.
Logged
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #8 on: February 11, 2005, 01:59:41 AM »

why the blank settings arrays in pet editor and pet actions?
Logged

Eth
Member
Codemeister
****
Offline Offline

Posts: 302


Shameless Drunk


View Profile
« Reply #9 on: February 11, 2005, 02:05:02 AM »

Because everything is controlled by the petshop module, six. I wasn't sure what the standard was for dealing with blank settings/pref arrays so I left them as is. Doesn' t seem to harm anything as far as I can tell.
« Last Edit: February 11, 2005, 02:06:23 AM by Eth » Logged

Purveyor of fine cloaks, gloves, boots, gerbils, and Siamese cats.
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #10 on: February 11, 2005, 02:19:06 AM »

doesn't break anything, they just show in the module settings, when there is nothing to configure.
Logged

Eth
Member
Codemeister
****
Offline Offline

Posts: 302


Shameless Drunk


View Profile
« Reply #11 on: February 11, 2005, 09:23:35 PM »

Quick update - a few minor bugfixes, which updates this to v 1.1.

- Fixed charm award/loss upon buying a pet and losing it
- Quick feed link pops up properly now if your pet is starving
- The world is now alerted to your cruelty should you neglect a pet (addnews)
- Assorted grammar and spelling errors fixed
- Got rid of empty setting/use prefs where needed


All files in petpack.zip have been updated. Link in first post leads to newest version. Enjoy.
« Last Edit: February 11, 2005, 09:26:09 PM by Eth » Logged

Purveyor of fine cloaks, gloves, boots, gerbils, and Siamese cats.
Dannic
Guest
« Reply #12 on: February 11, 2005, 09:50:32 PM »

This breaks the templates in the pet editor and the pet shop.
« Last Edit: February 11, 2005, 10:01:01 PM by Dannic » Logged
Eth
Member
Codemeister
****
Offline Offline

Posts: 302


Shameless Drunk


View Profile
« Reply #13 on: February 11, 2005, 09:58:12 PM »

Quote
This breaks the templates in the pet editor.

Could you be a bit more specific, Dannic? I haven't encountered any problems.
Logged

Purveyor of fine cloaks, gloves, boots, gerbils, and Siamese cats.
Dannic
Guest
« Reply #14 on: February 11, 2005, 10:02:36 PM »

using  the yar2 template the menu on the left now appears at the foot of the page instead of the left.  It appears to have something to do with the width of the colums in both the edirtor and shop.
Logged
Pages: [1] 2 3 ... 18   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
32 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search