- 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:
You'll need to run these queries:
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.
Currently NOT working in this version:
- Multipet
- Pet equips (meso magnet, etc.)
- Dragons evolving
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: