Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Pets - OdinMS

Status
Not open for further replies.
Newbie Spellweaver
Joined
Apr 12, 2008
Messages
23
Reaction score
0
Re: [Release] Pets - OdinMS

Oops, I guess I forgot to do some error-checking there. Uhm, run this query, it'll delete all pets you have in inventories at the moment.
Code:
DELETE FROM `inventoryitems` WHERE `itemid` >= 5000000 AND `itemid` <= 5000045

Ah, that fixed it right up :]

Im testing everything out right now, Ill let you know if I find anythign else not working~
 
Custom Title Activated
Loyal Member
Joined
Jun 30, 2008
Messages
3,451
Reaction score
1,616
Re: [Release] Pets - OdinMS

yeah it really works! >.>
init:
deps-clean:
Deleting directory C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\build
Deleting directory C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\dist
clean:
init:
deps-jar:
Created dir: C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\build\classes
Compiling 307 source files to C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\build\classes
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\provider\xmlwz\FileStoredPngMapleCanvas.java:14: warning: com.sun.imageio.plugins.png.PNGImageReaderSpi is Sun proprietary API and may be removed in a future release
import com.sun.imageio.plugins.png.PNGImageReaderSpi;
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\server\maps\MapleMap.java:798: cannot find symbol
symbol : method showPet(net.sf.odinms.client.MapleCharacter,net.sf.odinms.client.MaplePet)
location: class net.sf.odinms.tools.MaplePacketCreator
broadcastMessage(chr, MaplePacketCreator.showPet(chr, chr.getPet()), false);
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\server\maps\MapleMap.java:805: cannot find symbol
symbol : method showPet(net.sf.odinms.client.MapleCharacter,net.sf.odinms.client.MaplePet)
location: class net.sf.odinms.tools.MaplePacketCreator
chr.getClient().getSession().write(MaplePacketCreator.showPet(chr, chr.getPet()));
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\ItemPickupHandler.java:115: cannot find symbol
symbol : method addById(net.sf.odinms.client.MapleClient,int,short,java.lang.String,<nulltype>,int)
location: class net.sf.odinms.server.MapleInventoryManipulator
MapleInventoryManipulator.addById(c, mapitem.getItem().getItemId(), mapitem.getItem().getQuantity(), "Cash Item was purchased.", null, rs.getInt(1));
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\MovePetHandler.java:49: cannot find symbol
symbol : method movePet(int,int,java.util.List<net.sf.odinms.server.movement.LifeMovementFragment>)
location: class net.sf.odinms.tools.MaplePacketCreator
player.getMap().broadcastMessage(player, MaplePacketCreator.movePet(player.getId(), petId, res), false);
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\PetChatHandler.java:42: cannot find symbol
symbol : method petChat(int,int,java.lang.String)
location: class net.sf.odinms.tools.MaplePacketCreator
player.getMap().broadcastMessage(player, MaplePacketCreator.petChat(player.getId(), unknownShort, text), true);
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\PetCommandHandler.java:73: cannot find symbol
symbol : method showPetLevelUp()
location: class net.sf.odinms.tools.MaplePacketCreator
c.getSession().write(MaplePacketCreator.showPetLevelUp());
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\PetCommandHandler.java:75: cannot find symbol
symbol : method updatePet(byte,int,int,java.lang.String,int,int,int,boolean)
location: class net.sf.odinms.tools.MaplePacketCreator
c.getSession().write(MaplePacketCreator.updatePet(pet.getPosition(), pet.getItemId(), pet.getUniqueId(), pet.getName(), pet.getLevel(), pet.getCloseness(), pet.getFullness(), true));
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\PetCommandHandler.java:80: cannot find symbol
symbol : method commandResponse(int,byte,boolean,boolean)
location: class net.sf.odinms.tools.MaplePacketCreator
log.info("commandResponse: {}", MaplePacketCreator.commandResponse(player.getId(), command, success, false));
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\PetCommandHandler.java:81: cannot find symbol
symbol : method commandResponse(int,byte,boolean,boolean)
location: class net.sf.odinms.tools.MaplePacketCreator
player.getMap().broadcastMessage(player, MaplePacketCreator.commandResponse(player.getId(), command, success, false), true);
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\PetFoodHandler.java:77: cannot find symbol
symbol : method updatePet(byte,int,int,java.lang.String,int,int,int,boolean)
location: class net.sf.odinms.tools.MaplePacketCreator
c.getSession().write(MaplePacketCreator.updatePet(pet.getPosition(), pet.getItemId(), pet.getUniqueId(), pet.getName(), pet.getLevel(), pet.getCloseness(), pet.getFullness(), true));
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\PetFoodHandler.java:79: cannot find symbol
symbol : method commandResponse(int,byte,boolean,boolean)
location: class net.sf.odinms.tools.MaplePacketCreator
player.getMap().broadcastMessage(player, MaplePacketCreator.commandResponse(player.getId(), (byte) 1, true, true), true);
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\PetFoodHandler.java:91: cannot find symbol
symbol : method updatePet(byte,int,int,java.lang.String,int,int,int,boolean)
location: class net.sf.odinms.tools.MaplePacketCreator
c.getSession().write(MaplePacketCreator.updatePet(pet.getPosition(), pet.getItemId(), pet.getUniqueId(), pet.getName(), pet.getLevel(), pet.getCloseness(), pet.getFullness(), true));
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\PetFoodHandler.java:93: cannot find symbol
symbol : method commandResponse(int,byte,boolean,boolean)
location: class net.sf.odinms.tools.MaplePacketCreator
player.getMap().broadcastMessage(player, MaplePacketCreator.commandResponse(player.getId(), (byte) 1, false, true), true);
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\PlayerLoggedinHandler.java:133: cannot find symbol
symbol : method weirdStatUpdate()
location: class net.sf.odinms.tools.MaplePacketCreator
c.getSession().write(MaplePacketCreator.weirdStatUpdate());
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\SpawnPetHandler.java:76: cannot find symbol
symbol : method showPet(net.sf.odinms.client.MapleCharacter,net.sf.odinms.client.MaplePet)
location: class net.sf.odinms.tools.MaplePacketCreator
log.info("showPet: {}", MaplePacketCreator.showPet(c.getPlayer(), c.getPlayer().getPet()));
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\SpawnPetHandler.java:79: cannot find symbol
symbol : method showPet(net.sf.odinms.client.MapleCharacter,net.sf.odinms.client.MaplePet)
location: class net.sf.odinms.tools.MaplePacketCreator
c.getPlayer().getMap().broadcastMessage(c.getPlayer(), MaplePacketCreator.showPet(c.getPlayer(), c.getPlayer().getPet()), true);
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\SpawnPetHandler.java:88: cannot find symbol
symbol : method updatePlayerStats(java.util.List<net.sf.odinms.tools.Pair<net.sf.odinms.client.MapleStat,java.lang.Integer>>,boolean,boolean)
location: class net.sf.odinms.tools.MaplePacketCreator
log.info("statUpdate1: {}", MaplePacketCreator.updatePlayerStats(stats, false, true));
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\SpawnPetHandler.java:92: cannot find symbol
symbol : method updatePlayerStats(java.util.List<net.sf.odinms.tools.Pair<net.sf.odinms.client.MapleStat,java.lang.Integer>>,boolean,boolean)
location: class net.sf.odinms.tools.MaplePacketCreator
c.getSession().write(MaplePacketCreator.updatePlayerStats(stats, false, true));
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\SpawnPetHandler.java:100: cannot find symbol
symbol : method startFullnessSchedule(int)
location: class net.sf.odinms.client.MapleCharacter
c.getPlayer().startFullnessSchedule(MapleDataTool.getInt(hungerData));
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\SpawnPetHandler.java:111: cannot find symbol
symbol : method cancelFullnessSchedule()
location: class net.sf.odinms.client.MapleCharacter
c.getPlayer().cancelFullnessSchedule();
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\SpawnPetHandler.java:125: cannot find symbol
symbol : method showPet(net.sf.odinms.client.MapleCharacter,<nulltype>)
location: class net.sf.odinms.tools.MaplePacketCreator
c.getPlayer().getMap().broadcastMessage(c.getPlayer(), MaplePacketCreator.showPet(c.getPlayer(), null), true);
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\net\channel\handler\SpawnPetHandler.java:135: cannot find symbol
symbol : method updatePlayerStats(java.util.List<net.sf.odinms.tools.Pair<net.sf.odinms.client.MapleStat,java.lang.Integer>>,boolean,boolean)
location: class net.sf.odinms.tools.MaplePacketCreator
c.getSession().write(MaplePacketCreator.updatePlayerStats(stats, false, true));
^
C:\Documents and Settings\kevin\Bureaublad\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\provider\xmlwz\FileStoredPngMapleCanvas.java:47: warning: com.sun.imageio.plugins.png.PNGImageReaderSpi is Sun proprietary API and may be removed in a future release
ImageReaderSpi readerSpi = iioRegistry.getServiceProviderByClass(PNGImageReaderSpi.class);
^
22 errors
2 warnings
BUILD FAILED (total time: 4 seconds)
 
Newbie Spellweaver
Joined
Jan 5, 2006
Messages
87
Reaction score
26
Re: [Release] Pets - OdinMS

wait. do we have to manually patch it?

0_o"
Nope. Just apply the patch with Netbeans. It will patch a clean rev 988 perfectly, I'm not sure about repacks and stuff though.

And at the people who are asking where to put the patch file, you don't put it anywhere. You apply it to the source with Netbeans. I suggest going to read some guides on patching and source compiling first.

EDIT: @Kevin - Read the errors. It tells you what's wrong. Basically it hasn't patched a few files, because, like I said before, it will not work properly with repacks.
 
Master Summoner
Loyal Member
Joined
Nov 30, 2007
Messages
511
Reaction score
0
Re: [Release] Pets - OdinMS

I decided to just revert my source back to the clean 988 version, so now all I need is the Cash Shop patch. Does anyone have it? ~_~
 
Newbie Spellweaver
Joined
Jan 5, 2006
Messages
87
Reaction score
26
Re: [Release] Pets - OdinMS

I decided to just revert my source back to the clean 988 version, so now all I need is the Cash Shop patch. Does anyone have it? ~_~
You don't need the cash shop patch for this. I took that out - just get the pet by !item, or adding it to a monster's drops.
 
Experienced Elementalist
Joined
Jun 8, 2008
Messages
275
Reaction score
4
Re: [Release] Pets - OdinMS

can someone upload their "client>messages>CharCommands.java" i don't have one o_O
 
Newbie Spellweaver
Joined
Jul 19, 2008
Messages
40
Reaction score
0
Re: [Release] Pets - OdinMS

Leifde you think you could send me the cashshop data?
Im kinda new to MapleStory... only been into it for like 1 - 2 months.
But know how to do mostof the poop... just cant code java xD
 
Junior Spellweaver
Joined
Jun 5, 2008
Messages
138
Reaction score
0
Re: [Release] Pets - OdinMS

This is going too take a while to manually patch. Hope it works.
 
Experienced Elementalist
Joined
Jun 15, 2008
Messages
299
Reaction score
0
Re: [Release] Pets - OdinMS

how come i dont got these files

CharCommands.java

and

DebugCommands.java

?
 
Experienced Elementalist
Joined
Jun 6, 2008
Messages
242
Reaction score
0
Re: [Release] Pets - OdinMS

how to i use netbeans to patch this anyone please teach me i only know how to compile
 
Newbie Spellweaver
Joined
Jan 5, 2006
Messages
87
Reaction score
26
Re: [Release] Pets - OdinMS

can someone upload their "client>messages>CharCommands.java" i don't have one o_O
Uh, I guess you're running an older version then. The command I've editted is !item, just put the edits in CommandProcessor.java instead. Should work. =)
 
Banned
Banned
Joined
Apr 6, 2008
Messages
80
Reaction score
0
Re: [Release] Pets - OdinMS

hmm so no cash shop needed for this correct? xD
i got bugged using the test odinms.jar doing !item :S
 
Newbie Spellweaver
Joined
Jan 17, 2007
Messages
11
Reaction score
0
Re: [Release] Pets - OdinMS

how to i use netbeans to patch this anyone please teach me i only know how to compile

well my answer for you is to search ..i know for sure in the forum has it.
go to "GUIDE" section see if you can find something .~
here is the link for patch http://forum.ragezone.com/showthread.php?t=410275
credit not me. from a guy in this thread 1st or 2nd page i forgot.~well hope it helps you ~
 
Master Summoner
Loyal Member
Joined
Nov 30, 2007
Messages
511
Reaction score
0
Re: [Release] Pets - OdinMS

You don't need the cash shop patch for this. I took that out - just get the pet by !item, or adding it to a monster's drops.
I'm getting an error in ItemPickUpHandler.java for this line:
java.util.logging.Logger.getLogger(BuyCSItemHandler.class.getName()).log(Level.SEVERE, null, ex);

I don't want to risk commenting it out. ;-;
 
Newbie Spellweaver
Joined
Apr 12, 2008
Messages
23
Reaction score
0
Re: [Release] Pets - OdinMS

Just want to let you know it works great :]

The only thing I have notices is after obtaining a pet you have to do a fake/relog.
Might have been me messing up on the patch, or did you know this was happening?

Ima see what I can do about making these sellable in a shop, then I will be moving it over to my actual server.


Thanks alot~!

Edit: iGoofy, I had that prblem too. Im assuming it has to do with logging for the cash shop, but as I dont have the cash shop, I just commened it out.
Its just for logging anyways, so it should matter.
 
Status
Not open for further replies.
Back
Top