Pets - OdinMS

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jan 5, 2006
Messages
87
Reaction score
26
This is v1, I will keep doing updates to this until I've got everything to do with pets working as it should. =)

Currently NOT working in this version:
  • Multipet
  • Pet equips (meso magnet, etc.)
  • Dragons evolving
Everything else - pet commands, levelling, hunger, etc. - should work. Oh and the visual equips (hats, etc.)

You'll need to run these queries:
Code:
DROP TABLE IF EXISTS `odinms`.`pets`;
CREATE TABLE  `odinms`.`pets` (
  `petid` int(10) unsigned NOT NULL auto_increment,
  `name` varchar(13) default NULL,
  `level` int(10) unsigned NOT NULL,
  `closeness` int(10) unsigned NOT NULL,
  `fullness` int(10) unsigned NOT NULL,
  PRIMARY KEY  (`petid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Code:
ALTER TABLE `inventoryitems` ADD COLUMN `petid` INTEGER NOT NULL DEFAULT '-1' AFTER `owner`;
Code:
ALTER TABLE `skills` ADD COLUMN `masterlevel` INTEGER NOT NULL DEFAULT '0' AFTER `skilllevel`;
Code:
DELETE FROM `inventoryitems` WHERE `itemid` >= 5000000 AND `itemid` <= 5000045

The patch was made for a clean rev 988 - it may not patch properly on repacks and such. Just patch manually if thats the case.

Just a note on obtaining a pet - it must either be picked up OR gained using !item. You cannot buy them from shops, nor the cash shop. I will post another patch sometime in the near future that'll let you buy pets from shops and the cash shop (if you have the cash shop in your server).

EDIT: If you have no CharCommands.java or DebugCommands.java then you're not running on rev 988. You'll need to add the stuff for those files into CommandProcessor.java

Added patch for buying from an NPC shop. Updated original patch to include this.
Added patch for buying from CS - also won't DC when you enter CS.
 

Attachments

Last edited:
Re: [Release] Pets - OdinMS

It isn't hard to manuel patch, i could be the most hated person right now and get sean 5.9 w/ pvp and manuel patch this and release it here, but i think leachers that can't patch can die pl0x.
I'll wait till the items are added before adding this....
I need you to work with .58 files so i can gets a orange tiger =D
 
Re: [Release] Pets - OdinMS

It isn't hard to manuel patch, i could be the most hated person right now and get sean 5.9 w/ pvp and manuel patch this and release it here, but i think leachers that can't patch can die pl0x
Please do, its better than tons of people coming here and asking how to do it, or asking for a repack with this in >.>
 
Re: [Release] Pets - OdinMS

I'll just use my server files...
It has morph's in it already so it can be used...

I'll get on this on the makers request
 
Re: [Release] Pets - OdinMS

Please do, its better than tons of people coming here and asking how to do it, or asking for a repack with this in >.>

But that will also mean all the nub servers have pets...
Although thats good in one way... its bad in another.
 
Re: [Release] Pets - OdinMS

Your one of those people?
I don't have anything against people leeching, heck, I used to do it. I do have something against people who can't think for themselves, who can't use the search button, who can't read errors in the java console and most of all, those who think just saying "there's an error." will let me fix it straight away.
 
Status
Not open for further replies.
Back