Pets - OdinMS

Status
Not open for further replies.
Re: [Release] Pets - OdinMS

it's work to me in a shop and !drop =P

when i put !drop ex. 5000018 < Husky

i Pickup it and i relog then i click a pet and that is revive ^^
 
Re: [Release] Pets - OdinMS

!drop will work because its linked to the item command, i really want the whole buy from cash shop thing :<, i was messing around with it but no luck.
 
Re: [Release] Pets - OdinMS

!drop will work because its linked to the item command, i really want the whole buy from cash shop thing :<, i was messing around with it but no luck.
I tried to work in the !item/drop method, but it didn't work for some reason. Actually, none of the modifications I made to BuyCSItemhandler worked. <_<;
 
Re: [Release] Pets - OdinMS

According to the patch I did everything right, wonder why those two don't work >.>

!item works fine btw.

When I use !drop, it's not saved in the Pets table (it clearly does in !item) so I can't get back on the character.
 
Re: [Release] Pets - OdinMS

PHP:
init:
deps-jar:
Compiling 1 source file to C:\Nexond\MapleStory\CloudMS\build\classes
C:\Documents and Settings\Administrator\Desktop\CloudMS2\src\net\sf\odinms\client\MapleCharacter.java:701: cannot find symbol
symbol  : method getName()
location: class net.sf.odinms.client.MaplePet
                                ps.setString(1, getPet().getName());        // Set name
                                                        ^
C:\Documents and Settings\Administrator\Desktop\CloudMS2\src\net\sf\odinms\client\MapleCharacter.java:1092: cannot find symbol
symbol  : method getName()
location: class net.sf.odinms.client.MaplePet
                                        getClient().getSession().write(MaplePacketCreator.updatePet(getPet().getPosition(), getPet().getItemId(), getPet().getUniqueId(), getPet().getName(), getPet().getLevel(), getPet().getCloseness(), getPet().getFullness(), true));
                                                                                                                                                                                  ^
C:\Documents and Settings\Administrator\Desktop\CloudMS2\src\net\sf\odinms\net\channel\handler\SpawnPetHandler.java:116: cannot find symbol
symbol  : method getName()
location: class net.sf.odinms.client.MaplePet
                        ps.setString(1, c.getPlayer().getPet().getName()); // Set name
                                                              ^
C:\Documents and Settings\Administrator\Desktop\CloudMS2\src\net\sf\odinms\net\PacketProcessor.java:223: cannot find symbol
symbol  : class SpawnPetHandler
location: class net.sf.odinms.net.PacketProcessor
                        registerHandler(RecvPacketOpcode.SPAWN_PET, new SpawnPetHandler());
C:\Documents and Settings\Administrator\Desktop\CloudMS2\src\net\sf\odinms\tools\MaplePacketCreator.java:1026: cannot find symbol
symbol  : method getName()
location: class net.sf.odinms.client.MaplePet
                        String petname = pet.getName();
                                            ^
C:\Documents and Settings\Administrator\Desktop\CloudMS2\src\net\sf\odinms\tools\MaplePacketCreator.java:2402: cannot find symbol
symbol  : method getName()
location: class net.sf.odinms.client.MaplePet
                        mplew.writeMapleAsciiString(chr.getPet().getName());
                                                                ^
C:\Documents and Settings\Administrator\Desktop\CloudMS2\src\net\sf\odinms\tools\MaplePacketCreator.java:4183: cannot find symbol
symbol  : method getName()
location: class net.sf.odinms.client.MaplePet
                        mplew.writeMapleAsciiString(pet.getName());
                                                       ^
C:\Documents and Settings\Administrator\Desktop\CloudMS2\src\net\sf\odinms\client\messages\CommandProcessor.java:671: cannot find symbol
symbol  : variable Level
location: class net.sf.odinms.client.messages.CommandProcessor
                                        java.util.logging.Logger.getLogger(CommandProcessor.class.getName()).log(Level.SEVERE, null, ex);
                                                                                                                 ^
C:\Documents and Settings\Administrator\Desktop\CloudMS2\src\net\sf\odinms\net\channel\handler\UseCashItemHandler.java:183: cannot find symbol
symbol  : method getName()
location: class net.sf.odinms.client.MaplePet
                                c.getSession().write(MaplePacketCreator.updatePet(c.getPlayer().getPet().getPosition(), c.getPlayer().getPet().getItemId(), c.getPlayer().getPet().getUniqueId(), c.getPlayer().getPet().getName(), c.getPlayer().getPet().getLevel(), c.getPlayer().getPet().getCloseness(), c.getPlayer().getPet().getFullness(), true));
                                                                                                                                                                                                                        ^
C:\Documents and Settings\Administrator\Desktop\CloudMS2\src\net\sf\odinms\net\channel\handler\UseCashItemHandler.java:188: cannot find symbol
symbol  : method getName()
location: class net.sf.odinms.client.MaplePet
                                        c.getSession().write(MaplePacketCreator.updatePet(c.getPlayer().getPet().getPosition(), c.getPlayer().getPet().getItemId(), c.getPlayer().getPet().getUniqueId(), c.getPlayer().getPet().getName(), c.getPlayer().getPet().getLevel(), c.getPlayer().getPet().getCloseness(), c.getPlayer().getPet().getFullness(), true));
                                                                                                                                                                                                                                ^
C:\Documents and Settings\Administrator\Desktop\CloudMS2\src\net\sf\odinms\net\channel\handler\PetCommandHandler.java:75: cannot find symbol
symbol  : method getName()
location: class net.sf.odinms.client.MaplePet
                                c.getSession().write(MaplePacketCreator.updatePet(pet.getPosition(), pet.getItemId(), pet.getUniqueId(), pet.getName(), pet.getLevel(), pet.getCloseness(), pet.getFullness(), true));
                                                                                                                                            ^
C:\Documents and Settings\Administrator\Desktop\CloudMS2\src\net\sf\odinms\net\channel\handler\PetFoodHandler.java:77: cannot find symbol
symbol  : method getName()
location: class net.sf.odinms.client.MaplePet
                        c.getSession().write(MaplePacketCreator.updatePet(pet.getPosition(), pet.getItemId(), pet.getUniqueId(), pet.getName(), pet.getLevel(), pet.getCloseness(), pet.getFullness(), true));
                                                                                                                                    ^
C:\Documents and Settings\Administrator\Desktop\CloudMS2\src\net\sf\odinms\net\channel\handler\PetFoodHandler.java:91: cannot find symbol
symbol  : method getName()
location: class net.sf.odinms.client.MaplePet
                        c.getSession().write(MaplePacketCreator.updatePet(pet.getPosition(), pet.getItemId(), pet.getUniqueId(), pet.getName(), pet.getLevel(), pet.getCloseness(), pet.getFullness(), true));

...........
 
Re: [Release] Pets - OdinMS

help :S
compile:
Created dir: F:\MS55\Odin2\dist
Building jar: F:\MS55\Odin2\dist\odin2.jar
jar:
BUILD SUCCESSFUL (total time: 6 seconds)


but......
Code:
23-jul-2008 23:44:46 net.sf.odinms.client.MapleCharacter saveToDB
GRAVE: <AsiOm (cid: 30243)> (Account: csaoi) [charsave] Error saving chara
cter data
java.sql.SQLException: No value specified for parameter 3
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
        at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.jav
a:2176)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:1993)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:1937)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:1922)
        at net.sf.odinms.client.MapleCharacter.saveToDB(MapleCharacter.java:773)

        at net.sf.odinms.net.channel.handler.ChangeChannelHandler.handlePacket(C
hangeChannelHandler.java:60)
        at net.sf.odinms.net.MapleServerHandler.messageReceived(MapleServerHandl
er.java:150)
        at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messa
geReceived(AbstractIoFilterChain.java:570)
        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageR
eceived(AbstractIoFilterChain.java:299)
        at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(Abst
ractIoFilterChain.java:53)
        at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.mess
ageReceived(AbstractIoFilterChain.java:648)
        at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flus
h(SimpleProtocolDecoderOutput.java:58)
        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(Prot
ocolCodecFilter.java:180)
        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageR
eceived(AbstractIoFilterChain.java:299)
        at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(Abst
ractIoFilterChain.java:53)
        at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.mess
ageReceived(AbstractIoFilterChain.java:648)
        at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorF
ilter.java:220)
        at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.
run(ExecutorFilter.java:264)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
e.java:51)
        at java.lang.Thread.run(Unknown Source)

Added pvp and messenger, pet works .... savetodb not working >.<

EDIT: Yay work now Thx Very Much i love u xD!
 
Re: [Release] Pets - OdinMS

I got it to successfully compile, lets see where it goes now.


Alrighty, got it to work. The errors you get are very easy, pay attention to what they say.

Leifde - Pets - OdinMS - RaGEZONE Forums



This is on an edited source based on SeanPack 5.9
 
Status
Not open for further replies.
Back