Pets - OdinMS

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

:juggle:
Why i have this error when i start the server...

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -2
at net.sf.odinms.net.PacketProcessor.registerHandler(PacketProcessor.jav
a:134)
at net.sf.odinms.net.PacketProcessor.reset(PacketProcessor.java:222)
at net.sf.odinms.net.PacketProcessor.getProcessor(PacketProcessor.java:1
40)
at net.sf.odinms.net.channel.ChannelServer.run(ChannelServer.java:220)
at net.sf.odinms.net.channel.ChannelServer.main(ChannelServer.java:501)

um did you update recvops and sendops? just taking a guess:juggle:

WOOT 100TH POST xD
 
Re: [Release] Pets - OdinMS

Severity and Description Path Resource Location Creation Time Id
The method addById(MapleClient, int, short, String, String) in the type MapleInventoryManipulator is not applicable for the arguments (MapleClient, int, short, String, null, int) src/net/sf/odinms/server MapleShop.java line 113 1217170653272 1377

Basically this is saying "addById" isn't applicable?

It's from this part

Code:
MapleInventoryManipulator.addById(c, itemId, quantity, "Pet was purchased.", null, rs.getInt(1));

Any help?
 
Re: [Release] Pets - OdinMS



It's filled with maple resources and can be downloaded unlimitlessly with download accelerators. U can also upload your repacks, fixes here since it's gives users free unlimited uploading too XD
hamachi network same user n pass: 10gigforrent
 
Re: [Release] Pets - OdinMS

anyone know how to fix these 6 errors?

Code:
init:
deps-jar:
Created dir: C:\Users\Tommy\Desktop\build\classes
Compiling 306 source files to C:\Users\Tommy\Desktop\build\classes
C:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\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:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\src\net\sf\odinms\client\MapleCharacter.java:419: non-static method getPet() cannot be referenced from a static context
                       if (getPet() != null) {
C:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\src\net\sf\odinms\client\MapleCharacter.java:425: non-static method getPet() cannot be referenced from a static context
                               ps.setString(1, getPet().getName());        // Set name
                                               ^
C:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\src\net\sf\odinms\client\MapleCharacter.java:426: non-static method getPet() cannot be referenced from a static context
                               ps.setInt(2, getPet().getLevel());      // Set Level
                                            ^
C:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\src\net\sf\odinms\client\MapleCharacter.java:427: non-static method getPet() cannot be referenced from a static context
                               ps.setInt(3, getPet().getCloseness());        // Set Closeness
                                            ^
C:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\src\net\sf\odinms\client\MapleCharacter.java:428: non-static method getPet() cannot be referenced from a static context
                               ps.setInt(4, getPet().getFullness());        // Set Fullness
                                            ^
C:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\src\net\sf\odinms\client\MapleCharacter.java:429: non-static method getPet() cannot be referenced from a static context
                               ps.setInt(5, getPet().getUniqueId());   // Set ID        
                                            ^
C:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\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);
                                                                                        ^
6 errors
2 warnings
BUILD FAILED (total time: 4 seconds)
 
Re: [Release] Pets - OdinMS

is there a way to put a limit on the pets name?
you can have the character name 50 characters long.
limit it to like 10 somehow please.
 
Re: [Release] Pets - OdinMS

dam i cant fix this error

Code:
init:
deps-jar:
Created dir: C:\Users\Tommy\Desktop\build\classes
Compiling 306 source files to C:\Users\Tommy\Desktop\build\classes
C:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\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:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\src\net\sf\odinms\client\MapleCharacter.java:429: cannot find symbol
symbol  : method getName()
location: class java.lang.Object
                               ps.setString(1, GetPet().getName());        // Set name
                                                       ^
C:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\src\net\sf\odinms\client\MapleCharacter.java:430: cannot find symbol
symbol  : method getLevel()
location: class java.lang.Object
                               ps.setInt(2, GetPet().getLevel());      // Set Level
                                                    ^
C:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\src\net\sf\odinms\client\MapleCharacter.java:431: cannot find symbol
symbol  : method getCloseness()
location: class java.lang.Object
                               ps.setInt(3, GetPet().getCloseness());        // Set Closeness
                                                    ^
C:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\src\net\sf\odinms\client\MapleCharacter.java:432: cannot find symbol
symbol  : method getFullness()
location: class java.lang.Object
                               ps.setInt(4, GetPet().getFullness());        // Set Fullness
                                                    ^
C:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\src\net\sf\odinms\client\MapleCharacter.java:433: cannot find symbol
symbol  : method getUniqueId()
location: class java.lang.Object
                               ps.setInt(5, GetPet().getUniqueId());   // Set ID        
                                                    ^
C:\Users\Tommy\Desktop\PlasmaMS PET\SeanSource V.5.7\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);
                                                                                        ^
5 errors
2 warnings
BUILD FAILED (total time: 2 seconds)

anyone please help?
 
Re: [Release] Pets - OdinMS

the dragon have to be level 15 to cmds work, like in cmd book, because under 15
it don't work cause it should be little dragon/egg ..
 
Re: [Release] Pets - OdinMS

Does anyone know how to delete all pets from only one characteR? D:

This should work

DELETE FROM inventoryitems WHERE characterid = (CHARID here) AND itemid > 5000000 AND itemid < 5000045


davidxjaii said:
i cant seem to get black/red/green/blue dragon commands to work? can someone help me out?

Your dragon has to be level 15 or higher, because normal dragons get up to level 15 then you have to evolve them to a black dragon, green dragon, or whatever. The other colored dragons start off at level 15, meaning they only have level 15 + commands
 
Re: [Release] Pets - OdinMS

thnx but now i discovered that vip rocks do not work... can someone post their usecashitemhandler.java that has their vip rocks working?
 
Re: [Release] Pets - OdinMS

This should work






Your dragon has to be level 15 or higher, because normal dragons get up to level 15 then you have to evolve them to a black dragon, green dragon, or whatever. The other colored dragons start off at level 15, meaning they only have level 15 + commands

Thank you for the sql fix :D
 
Status
Not open for further replies.
Back