Pets - OdinMS

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

bhaa
why it wont work for me :(

bhaa im going to add it manually again! (here goes 2 hours of my life time)
 
Re: [Release] Pets - OdinMS

i found here wierd bug o.o
when i use pet food[from the cash shop]
something is going wrong with the pets levels...
and when my closeness is 26100 i think, my pet is level 30 o.o
but when i keep using the pet food and the closeness is 30000 the pet level is 31 and i can still you the pet food and get closeness 30100+..
oh and when my pet level 30 i cant use commands...

someone help me :|
 
Re: [Release] Pets - OdinMS

I got 7 errors :S Look :

Code:
init:
deps-jar:
Compiling 13 source files to [U][COLOR=RoyalBlue]C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\build\classes
C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\channel\handler\BuyCSItemHandler.java:81: cannot find symbol[/COLOR][/U]
[COLOR=DarkRed]symbol  : method showBoughtCSItem(int)
location: class net.sf.odinms.tools.MaplePacketCreator
                c.getSession().write(MaplePacketCreator.showBoughtCSItem(item.getId()));
                                                       ^
[U][COLOR=RoyalBlue]C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\channel\handler\BuyCSItemHandler.java:82: cannot find symbol[/COLOR][/U]
symbol  : method modifyCSPoints(int,int)
location: class net.sf.odinms.client.MapleCharacter
                c.getPlayer().modifyCSPoints(0, -item.getPrice());
                             ^
[U][COLOR=RoyalBlue]C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\channel\handler\BuyCSItemHandler.java:83: cannot find symbol[/COLOR][/U]
symbol  : method showNXMapleTokens(net.sf.odinms.client.MapleCharacter)
location: class net.sf.odinms.tools.MaplePacketCreator
                c.getSession().write(MaplePacketCreator.showNXMapleTokens(c.getPlayer()));
                                                       ^
[U][COLOR=RoyalBlue]C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\channel\handler\BuyCSItemHandler.java:84: cannot find symbol[/COLOR][/U]
symbol  : method enableCSUse0()
location: class net.sf.odinms.tools.MaplePacketCreator
                c.getSession().write(MaplePacketCreator.enableCSUse0());
                                                       ^
[U][COLOR=RoyalBlue]C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\channel\handler\BuyCSItemHandler.java:85: cannot find symbol[/COLOR][/U]
symbol  : method enableCSUse1()
location: class net.sf.odinms.tools.MaplePacketCreator
                c.getSession().write(MaplePacketCreator.enableCSUse1());
                                                       ^
[U][COLOR=RoyalBlue]C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\channel\handler\BuyCSItemHandler.java:86: cannot find symbol[/COLOR][/U]
symbol  : method enableCSUse2()
location: class net.sf.odinms.tools.MaplePacketCreator
                c.getSession().write(MaplePacketCreator.enableCSUse2());
                                                       ^
[U][COLOR=RoyalBlue]C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\channel\handler\BuyCSItemHandler.java:87: cannot find symbol[/COLOR][/U]
symbol  : method enableCSUse3()
location: class net.sf.odinms.tools.MaplePacketCreator
                c.getSession().write(MaplePacketCreator.enableCSUse3());
                                                       ^
7 errors
BUILD FAILED (total time: 21 seconds)[/COLOR]
 
Re: [Release] Pets - OdinMS

I got 7 errors :S Look :

Code:
init:
deps-jar:
Compiling 13 source files to [U][COLOR=RoyalBlue]C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\build\classes
C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\channel\handler\BuyCSItemHandler.java:81: cannot find symbol[/COLOR][/U]
[COLOR=DarkRed]symbol  : method showBoughtCSItem(int)
location: class net.sf.odinms.tools.MaplePacketCreator
                c.getSession().write(MaplePacketCreator.showBoughtCSItem(item.getId()));
                                                       ^
[U][COLOR=RoyalBlue]C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\channel\handler\BuyCSItemHandler.java:82: cannot find symbol[/COLOR][/U]
symbol  : method modifyCSPoints(int,int)
location: class net.sf.odinms.client.MapleCharacter
                c.getPlayer().modifyCSPoints(0, -item.getPrice());
                             ^
[U][COLOR=RoyalBlue]C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\channel\handler\BuyCSItemHandler.java:83: cannot find symbol[/COLOR][/U]
symbol  : method showNXMapleTokens(net.sf.odinms.client.MapleCharacter)
location: class net.sf.odinms.tools.MaplePacketCreator
                c.getSession().write(MaplePacketCreator.showNXMapleTokens(c.getPlayer()));
                                                       ^
[U][COLOR=RoyalBlue]C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\channel\handler\BuyCSItemHandler.java:84: cannot find symbol[/COLOR][/U]
symbol  : method enableCSUse0()
location: class net.sf.odinms.tools.MaplePacketCreator
                c.getSession().write(MaplePacketCreator.enableCSUse0());
                                                       ^
[U][COLOR=RoyalBlue]C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\channel\handler\BuyCSItemHandler.java:85: cannot find symbol[/COLOR][/U]
symbol  : method enableCSUse1()
location: class net.sf.odinms.tools.MaplePacketCreator
                c.getSession().write(MaplePacketCreator.enableCSUse1());
                                                       ^
[U][COLOR=RoyalBlue]C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\channel\handler\BuyCSItemHandler.java:86: cannot find symbol[/COLOR][/U]
symbol  : method enableCSUse2()
location: class net.sf.odinms.tools.MaplePacketCreator
                c.getSession().write(MaplePacketCreator.enableCSUse2());
                                                       ^
[U][COLOR=RoyalBlue]C:\Documents and Settings\Usuario\Escritorio\Clean Revision 988 - Rigged - Version .55\Clean Revision 988\src\net\sf\odinms\net\channel\handler\BuyCSItemHandler.java:87: cannot find symbol[/COLOR][/U]
symbol  : method enableCSUse3()
location: class net.sf.odinms.tools.MaplePacketCreator
                c.getSession().write(MaplePacketCreator.enableCSUse3());
                                                       ^
7 errors
BUILD FAILED (total time: 21 seconds)[/COLOR]

Did you patch MaplePacketCreator correctly?
 
Re: [Release] Pets - OdinMS

hey help please it says this : The line ''index: '' was not found! Either this is not a diff file or the diff is empty. can u help me please T.T
 
Re: [Release] Pets - OdinMS

anyone care to explain these errors to me?
i manually patched

PHP:
init:
deps-jar:
Compiling 22 source files to C:\TsougMS\TsougMS v0.55.2.0\build\classes
C:\TsougMS\TsougMS v0.55.2.0\src\net\sf\tsougms\client\MapleCharacter.java:399: non-static method getPet() cannot be referenced from a static context
                        if (getPet() != null) {
                            ^
C:\TsougMS\TsougMS v0.55.2.0\src\net\sf\tsougms\client\MapleCharacter.java:405: non-static method getPet() cannot be referenced from a static context
                                ps.setString(1, getPet().getName());        // Set name
                                                ^
C:\TsougMS\TsougMS v0.55.2.0\src\net\sf\tsougms\client\MapleCharacter.java:406: non-static method getPet() cannot be referenced from a static context
                                ps.setInt(2, getPet().getLevel());        // Set Level
                                             ^
C:\TsougMS\TsougMS v0.55.2.0\src\net\sf\tsougms\client\MapleCharacter.java:407: non-static method getPet() cannot be referenced from a static context
                                ps.setInt(3, getPet().getCloseness());        // Set Closeness
                                             ^
C:\TsougMS\TsougMS v0.55.2.0\src\net\sf\tsougms\client\MapleCharacter.java:408: non-static method getPet() cannot be referenced from a static context
                                ps.setInt(4, getPet().getFullness());        // Set Fullness
                                             ^
C:\TsougMS\TsougMS v0.55.2.0\src\net\sf\tsougms\client\MapleCharacter.java:409: non-static method getPet() cannot be referenced from a static context
                                ps.setInt(5, getPet().getUniqueId());        // Set ID
                                             ^
Note: C:\TsougMS\TsougMS v0.55.2.0\src\net\sf\tsougms\client\messages\CommandProcessor.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
6 errors
BUILD FAILED (total time: 0 seconds)

the errors are coming from the underlined italicized parts of MapleCharacter.java:
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

and the little info bubble next to them says "non-static method getPet() cannot be referenced from a static context"
 
Status
Not open for further replies.
Back