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.
Junior Spellweaver
Joined
Jun 5, 2008
Messages
138
Reaction score
0
Re: [Release] Pets - OdinMS

>.< sheit this is long....

Its gonna take me a while..

Im stuck... I can't find were to put this

Code:
+			if (getPet() != null) {
+				ps = con.prepareStatement("UPDATE pets SET "
+							+ "name = ?, level = ?, "
+							+ "closeness = ?, fullness = ? "
+							+ "WHERE petid = ?"); // Prepare statement...
+
+				ps.setString(1, getPet().getName());	// Set name
+				ps.setInt(2, getPet().getLevel());	// Set Level
+				ps.setInt(3, getPet().getCloseness());	// Set Closeness
+				ps.setInt(4, getPet().getFullness());	// Set Fullness
+				ps.setInt(5, getPet().getUniqueId());	// Set ID
+				
+				ps.executeUpdate();			// Execute statement
+				ps.close();
+			}
+

Did you find out yet? I can't find it either becuase there is no relative point to where I can match it with in MapleCharacter.
 
Junior Spellweaver
Joined
Jun 25, 2008
Messages
172
Reaction score
0
Re: [Release] Pets - OdinMS

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. =)

Yes like I said.. the reason you don't have charcommands is cause you're using a repack so you only have commandprocessor which should be the same..
 
Experienced Elementalist
Joined
Jul 8, 2008
Messages
246
Reaction score
0
Re: [Release] Pets - OdinMS

patching with TortoiseSVN is alot easier..
And gj it works
And im using my own repack
Meaning if you know what your doing you wont fail
 
Mythic Archon
Loyal Member
Joined
May 11, 2008
Messages
722
Reaction score
50
Re: [Release] Pets - OdinMS

how come i dont got these files

CharCommands.java

and

DebugCommands.java

?

Neither do i
EDIT: Nvm i put it in CommandProcessor.java
 
Banned
Banned
Joined
Apr 6, 2008
Messages
80
Reaction score
0
Re: [Release] Pets - OdinMS

hmmm is there anything important missing in the clean revision files? 988
 
Experienced Elementalist
Joined
Jun 15, 2008
Messages
299
Reaction score
0
Re: [Release] Pets - OdinMS

where is the debug command?
 
Legendary Battlemage
Loyal Member
Joined
Dec 7, 2007
Messages
622
Reaction score
11
Re: [Release] Pets - OdinMS

Wherer do we apply this patch?
 
Newbie Spellweaver
Joined
Jan 5, 2006
Messages
87
Reaction score
26
Re: [Release] Pets - OdinMS

Did you find out yet? I can't find it either becuase there is no relative point to where I can match it with in MapleCharacter.
Put it where everything else is saved/updated in that file, in saveToDb().

@Goofy - Changing BuyCashItemHandler.class to ItemPickupHandler.class should work, comment it out if you want - but then you won't know exact details if something goes wrong.
 
Experienced Elementalist
Joined
Jun 15, 2008
Messages
299
Reaction score
0
Re: [Release] Pets - OdinMS

where is the debug command located at cause i dont got that file 0_0?
 
Master Summoner
Loyal Member
Joined
Nov 30, 2007
Messages
511
Reaction score
0
Re: [Release] Pets - OdinMS

Thanks, Leifde.

Seriously, does anyone have the cash shop patch? I want to re-add it. D:
 
Elite Diviner
Joined
Jun 19, 2008
Messages
463
Reaction score
1
Re: [Release] Pets - OdinMS

Nice job. :happy:
 
Mythic Archon
Loyal Member
Joined
May 11, 2008
Messages
722
Reaction score
50
Re: [Release] Pets - OdinMS

Thanks, Leifde.

Seriously, does anyone have the cash shop patch? I want to re-add it. D:

lol Here you go Goofy
 
Experienced Elementalist
Joined
Jul 20, 2008
Messages
221
Reaction score
3
Re: [Release] Pets - OdinMS

does anyone know if it works for SeanPack 5.8 ?

if tell me please

xD
 
Banned
Banned
Joined
Apr 6, 2008
Messages
80
Reaction score
0
Re: [Release] Pets - OdinMS

uhh okay .. i just patched on CLEAN rev 988 files and still get errors...init:deps-jar:Compiling 20 source files to C:\Documents and Settings\Administrator\Desktop\New Folder\build\classesC:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\client\MapleCharacter.java:55: cannot find symbolsymbol : class SpawnPetHandlerlocation: package net.sf.odinms.net.channel.handlerimport net.sf.odinms.net.channel.handler.SpawnPetHandler;C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\client\MapleClient.java:48: cannot find symbolsymbol : class SpawnPetHandlerlocation: package net.sf.odinms.net.channel.handlerimport net.sf.odinms.net.channel.handler.SpawnPetHandler;C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\PacketProcessor.java:49: cannot find symbolsymbol : class MovePetHandlerlocation: package net.sf.odinms.net.channel.handlerimport net.sf.odinms.net.channel.handler.MovePetHandler;C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\PacketProcessor.java:57: cannot find symbolsymbol : class PetChatHandlerlocation: package net.sf.odinms.net.channel.handlerimport net.sf.odinms.net.channel.handler.PetChatHandler;C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\PacketProcessor.java:58: cannot find symbolsymbol : class PetCommandHandlerlocation: package net.sf.odinms.net.channel.handlerimport net.sf.odinms.net.channel.handler.PetCommandHandler;C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\PacketProcessor.java:59: cannot find symbolsymbol : class PetFoodHandlerlocation: package net.sf.odinms.net.channel.handlerimport net.sf.odinms.net.channel.handler.PetFoodHandler;C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\PacketProcessor.java:66: cannot find symbolsymbol : class SpawnPetHandlerlocation: package net.sf.odinms.net.channel.handlerimport net.sf.odinms.net.channel.handler.SpawnPetHandler;C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\client\MapleCharacter.java:854: cannot find symbolsymbol: class SpawnPetHandler SpawnPetHandler petHandler = new SpawnPetHandler(); ^C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\client\MapleCharacter.java:854: cannot find symbolsymbol: class SpawnPetHandler SpawnPetHandler petHandler = new SpawnPetHandler(); ^C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\client\MapleClient.java:597: cannot find symbolsymbol : class SpawnPetHandlerlocation: class net.sf.odinms.client.MapleClient SpawnPetHandler pethandler = new SpawnPetHandler(); ^C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\client\MapleClient.java:597: cannot find symbolsymbol : class SpawnPetHandlerlocation: class net.sf.odinms.client.MapleClient SpawnPetHandler pethandler = new SpawnPetHandler(); ^C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\PacketProcessor.java:205: cannot find symbolsymbol : class SpawnPetHandlerlocation: class net.sf.odinms.net.PacketProcessor registerHandler(RecvPacketOpcode.SPAWN_PET, new SpawnPetHandler()); ^C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\PacketProcessor.java:206: cannot find symbolsymbol : class MovePetHandlerlocation: class net.sf.odinms.net.PacketProcessor registerHandler(RecvPacketOpcode.MOVE_PET, new MovePetHandler()); ^C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\PacketProcessor.java:207: cannot find symbolsymbol : class PetChatHandlerlocation: class net.sf.odinms.net.PacketProcessor registerHandler(RecvPacketOpcode.PET_CHAT, new PetChatHandler()); ^C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\PacketProcessor.java:208: cannot find symbolsymbol : class PetCommandHandlerlocation: class net.sf.odinms.net.PacketProcessor registerHandler(RecvPacketOpcode.PET_COMMAND, new PetCommandHandler()); ^C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\PacketProcessor.java:209: cannot find symbolsymbol : class PetFoodHandlerlocation: class net.sf.odinms.net.PacketProcessor registerHandler(RecvPacketOpcode.PET_FOOD, new PetFoodHandler()); ^C:\Documents and Settings\Administrator\Desktop\New Folder (2)\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\channel\handler\ItemPickupHandler.java:124: cannot find symbolsymbol : class BuyCSItemHandlerlocation: class net.sf.odinms.net.channel.handler.ItemPickupHandler java.util.logging.Logger.getLogger(BuyCSItemHandler.class.getName()).log(Level.SEVERE, null, ex); ^17 errorsBUILD FAILED (total time: 1 second)
 
Experienced Elementalist
Joined
Jun 6, 2008
Messages
242
Reaction score
0
Re: [Release] Pets - OdinMS

can anyone upload a repack with pvp and pets it will be better thanks if anyone help
 
Newbie Spellweaver
Joined
Apr 2, 2008
Messages
93
Reaction score
0
Re: [Release] Pets - OdinMS

Well..i patched,just got an error,because my source hasnt CS on it.


Anyways,its working

Good job :D
 
Experienced Elementalist
Joined
Apr 18, 2008
Messages
286
Reaction score
0
Re: [Release] Pets - OdinMS

This is for 55 right, if so then "AWWWWWW" I deleted my v55 maple folder because I thought the 58 localhost works good. Anyway good luck on this.
 
Master Summoner
Loyal Member
Joined
Nov 30, 2007
Messages
511
Reaction score
0
Re: [Release] Pets - OdinMS

It works, hooray. Great job, Leifde.
 
Status
Not open for further replies.
Back
Top