[Release] Dragon Evolution + a few pet scripting methods *Updated

Status
Not open for further replies.
Re: [Release] Dragon Evolution + a few pet scripting methods

Ahh rmzero.. we should do this again. it was quite fun sending errors back and forth.. we seriously should base a gameshow off that
 
Re: [Release] Dragon Evolution + a few pet scripting methods

Pfft.. most of the time I was sleeping or doing something else..

But I admit it was fun xD

Yea.. i can totally tell last night.. I was like.. um wait.. where'd rmzero go.. um the creator's gone.. now what am i supposed to do. Oh and sorry about such a late response on the final set of codes.. I had piano lessons -_-
 
Re: [Release] Dragon Evolution + a few pet scripting methods

Hmm im getting problems with the Database connection area
 
Re: [Release] Dragon Evolution + a few pet scripting methods

Code:
Compiling 306 source files to C:\Users\Ankush\Desktop\xkush's repack version 1.0\build\classes
C:\Users\Ankush\Desktop\xkush's repack version 1.0\kush's repack\kush's repack\src\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\Ankush\Desktop\xkush's repack version 1.0\kush's repack\kush's repack\src\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);
                                                                                         ^
C:\Users\Ankush\Desktop\xkush's repack version 1.0\kush's repack\kush's repack\src\src\net\sf\odinms\scripting\AbstractPlayerInteraction.java:113: cannot find symbol
symbol  : class Connection
location: class net.sf.odinms.scripting.AbstractPlayerInteraction
                java.sql.Connection con = (Connection) DatabaseConnection.getConnection();
C:\Users\Ankush\Desktop\xkush's repack version 1.0\kush's repack\kush's repack\src\src\net\sf\odinms\scripting\AbstractPlayerInteraction.java:113: cannot find symbol
symbol  : variable DatabaseConnection
location: class net.sf.odinms.scripting.AbstractPlayerInteraction
                java.sql.Connection con = (Connection) DatabaseConnection.getConnection();
C:\Users\Ankush\Desktop\xkush's repack version 1.0\kush's repack\kush's repack\src\src\net\sf\odinms\scripting\AbstractPlayerInteraction.java:114: cannot find symbol
symbol  : class PreparedStatement
location: class net.sf.odinms.scripting.AbstractPlayerInteraction
                java.sql.PreparedStatement ps = (PreparedStatement) con.prepareStatement("INSERT INTO pets (name, level, closeness, fullness) VALUES (?, ?, ?, ?)");
C:\Users\Ankush\Desktop\xkush's repack version 1.0\kush's repack\kush's repack\src\src\net\sf\odinms\scripting\AbstractPlayerInteraction.java:156: cannot find symbol
symbol  : variable DatabaseConnection
location: class net.sf.odinms.scripting.AbstractPlayerInteraction
                        java.sql.Connection con = DatabaseConnection.getConnection();
                                                  ^
Note: C:\Users\Ankush\Desktop\xkush's repack version 1.0\kush's repack\kush's repack\src\src\net\sf\odinms\client\messages\CommandProcessor.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
2 warnings
BUILD FAILED (total time: 23 seconds)
thank you for caring darkmage325 :D
 
Re: [Release] Dragon Evolution + a few pet scripting methods

Try Figure out yourself next time.

import net.sf.odinms.database.DatabaseConnection;
 
Re: [Release] Dragon Evolution + a few pet scripting methods

import this :

Code:
import java.sql.Connection;
import java.sql.PreparedStatement;
import net.sf.odinms.database.DatabaseConnection;
 
Re: [Release] Dragon Evolution + a few pet scripting methods

import this :

Code:
import java.sql.Connection;
import java.sql.PreparedStatement;
import net.sf.odinms.database.DatabaseConnection;

I fixed it so you don't need java.sql.Connection and java.sql.PreparedStatement.

Because some people get errors if they import them.
 
Re: [Release] Dragon Evolution + a few pet scripting methods

I fixed it so you don't need java.sql.Connection and java.sql.PreparedStatement.

Because some people get errors if they import them.
oh , didn't know it will get errors for other user. because it works for me , thats why i called them to import
 
Re: [Release] Dragon Evolution + a few pet scripting methods

To everyone saying it's not exact, etc. It's not supposed to be. It only emulates dragon evolution. The key thing is the pet scripting methods, the dragon evolution script is rather, in my opinion, a way to use those scripting methods.

And to the 'first release' believers, this is indeed my first release.
 
Status
Not open for further replies.
Back