Thread: Help Starting OSPVP coding

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Help Starting OSPVP coding 
    Registered Member
    Join Date
    Feb 2015
    Posts
    40
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    To anyone who's going to hate on me for not knowing the simple things, please don't comment it here.



    So I downloaded OSPVP, and I want to work on this server for a while because I love OSRS type servers.
    But the problem is I can never get the server running... :/ I've asked for some help on Rune-Server. But I wasn't being brief enough.
    So my steps/problems will be listed, and I'm hoping someone out here feels like they are in a good mood and willing to help me



    1) I download the source and client (OSPVP) and I update the JDK versions in like [compile], and [run] to my current one before putting the files to eclipse.
    2) I then open eclipse and select [new project] and put the source and client 1 by 1
    3) I try to first run the source in which I get some errors. Then I try to run the client and get more errors and even the
    connection error retrying in....





    AM I DOING ANYTHING WRONG HERE?
    PEOPLE DO SAY SOMETHING ABOUT CHANGING THE MYSQL TO FALSE BUT I DON'T KNOW HOW TO DO THAT



    So all I ask is for some assistance on how to just run the server so I can work on it. Please and Thank you for anyone who will help me
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2015
    Posts
    5
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    It really astonishes me how there could be countless tutorials on such a thing, and you happen to not find one. With that being said I'm just going to assume you have not even the slight bit of Java knowledge? Man, you're going into a gunfight blind. I'm not hating, simply telling you the truth.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Feb 2015
    Posts
    40
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Im Rogers View Post
    It really astonishes me how there could be countless tutorials on such a thing, and you happen to not find one. With that being said I'm just going to assume you have not even the slight bit of Java knowledge? Man, you're going into a gunfight blind. I'm not hating, simply telling you the truth.
    I've looked for tutorials for so long. I've never found one answering my problems.. could you possibly post a link to the pages that show how to solve my problems?
    Reply With Quote  
     

  4. #4  
    RS Veteran

    Prince's Avatar
    Join Date
    Dec 2015
    Posts
    480
    Thanks given
    10
    Thanks received
    79
    Rep Power
    124
    so many os-pvp bases right now....
    Reply With Quote  
     

  5. #5  
    Donator


    Join Date
    Jun 2011
    Posts
    2,549
    Thanks given
    539
    Thanks received
    402
    Rep Power
    683
    All the best,
    Nirvana

    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Feb 2015
    Posts
    40
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Nirvana View Post

    These are not the guides i'm looking for though. I know about those stuff. When I run the server I get errors. The errors are what I need help with.
    Reply With Quote  
     

  7. #7  
    Donator


    Join Date
    Jun 2011
    Posts
    2,549
    Thanks given
    539
    Thanks received
    402
    Rep Power
    683
    Quote Originally Posted by zenjinzo View Post
    These are not the guides i'm looking for though. I know about those stuff. When I run the server I get errors. The errors are what I need help with.
    From the sounds of it it looks like you're not even importing it into Eclipse correctly. Also, we can't help you unless you post the errors you get. It doesn't help us help you if you don't show the errors.
    All the best,
    Nirvana

    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Feb 2015
    Posts
    40
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Nirvana View Post
    From the sounds of it it looks like you're not even importing it into Eclipse correctly. Also, we can't help you unless you post the errors you get. It doesn't help us help you if you don't show the errors.
    I click file > new > java project > > use default location > browse > source

    Did I miss something?


    And here is the error I get when running the source.

    java.sql.SQLException: Connections could not be acquired from the underlying database!
    at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtil s.java:118)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:690)
    at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSou rce.getConnection(AbstractPoolBackedDataSource.jav a:140)
    at ab.database.ConnectionPool.getConnection(Connectio nPool.java:48)
    at ab.database.BatchQuery.setupConnection(BatchQuery. java:71)
    at ab.database.BatchQuery.<init>(BatchQuery.java:29)
    at ab.database.LoginLogHandler.resetBatch(LoginLogHan dler.java:46)
    at ab.database.LoginLogHandler.<init>(LoginLogHandler .java:19)
    at ab.Server.<clinit>(Server.java:146)
    Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceE xception: A ResourcePool could not acquire a resource from its primary factory or source.
    at com.mchange.v2.resourcepool.BasicResourcePool.awai tAvailable(BasicResourcePool.java:1463)
    at com.mchange.v2.resourcepool.BasicResourcePool.prel imCheckoutResource(BasicResourcePool.java:639)
    at com.mchange.v2.resourcepool.BasicResourcePool.chec koutResource(BasicResourcePool.java:549)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutAndMarkConnectionInUse(C3P0PooledConnectio nPool.java:756)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:683)
    ... 7 more
    java.sql.SQLException: Connections could not be acquired from the underlying database!
    at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtil s.java:118)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:690)
    at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSou rce.getConnection(AbstractPoolBackedDataSource.jav a:140)
    at ab.database.ConnectionPool.getConnection(Connectio nPool.java:50)
    at ab.database.BatchQuery.setupConnection(BatchQuery. java:71)
    at ab.database.BatchQuery.<init>(BatchQuery.java:29)
    at ab.database.ChatLogHandler.resetBatch(ChatLogHandl er.java:46)
    at ab.database.ChatLogHandler.<init>(ChatLogHandler.j ava:18)
    at ab.Server.<clinit>(Server.java:151)
    Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceE xception: A ResourcePool could not acquire a resource from its primary factory or source.
    at com.mchange.v2.resourcepool.BasicResourcePool.awai tAvailable(BasicResourcePool.java:1463)
    at com.mchange.v2.resourcepool.BasicResourcePool.prel imCheckoutResource(BasicResourcePool.java:639)
    at com.mchange.v2.resourcepool.BasicResourcePool.chec koutResource(BasicResourcePool.java:549)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutAndMarkConnectionInUse(C3P0PooledConnectio nPool.java:756)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:683)
    ... 7 more
    java.sql.SQLException: Connections could not be acquired from the underlying database!
    at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtil s.java:118)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:690)
    at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSou rce.getConnection(AbstractPoolBackedDataSource.jav a:140)
    at ab.database.ConnectionPool.getConnection(Connectio nPool.java:50)
    at ab.database.BatchQuery.setupConnection(BatchQuery. java:71)
    at ab.database.BatchQuery.<init>(BatchQuery.java:29)
    at ab.database.KillLogHandler.resetBatch(KillLogHandl er.java:58)
    at ab.database.KillLogHandler.<init>(KillLogHandler.j ava:21)
    at ab.Server.<clinit>(Server.java:156)
    Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceE xception: A ResourcePool could not acquire a resource from its primary factory or source.
    at com.mchange.v2.resourcepool.BasicResourcePool.awai tAvailable(BasicResourcePool.java:1463)
    at com.mchange.v2.resourcepool.BasicResourcePool.prel imCheckoutResource(BasicResourcePool.java:639)
    at com.mchange.v2.resourcepool.BasicResourcePool.chec koutResource(BasicResourcePool.java:549)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutAndMarkConnectionInUse(C3P0PooledConnectio nPool.java:756)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:683)
    ... 7 more
    [12/15/15 3:12 PM]: Loading item definitions...
    [12/15/15 3:12 PM]: Loaded 12388 item definitions.
    [12/15/15 3:12 PM]: Successfully loaded: 6756 NPC definitions.
    [12/15/15 3:12 PM]: WARNING: Unable to load object from file.
    [12/15/15 3:12 PM]: WARNING: Unable to load object from file.
    [12/15/15 3:12 PM]: Loaded: Region configuration.
    [12/15/15 3:13 PM]: Loaded: 2677895 clipped tiles.
    [12/15/15 3:13 PM]: OS PvP has successfully started up in 13329 milliseconds.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Dec 2014
    Posts
    66
    Thanks given
    11
    Thanks received
    5
    Rep Power
    18
    Quote Originally Posted by zenjinzo View Post
    I click file > new > java project > > use default location > browse > source

    Did I miss something?


    And here is the error I get when running the source.

    java.sql.SQLException: Connections could not be acquired from the underlying database!
    at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtil s.java:118)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:690)
    at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSou rce.getConnection(AbstractPoolBackedDataSource.jav a:140)
    at ab.database.ConnectionPool.getConnection(Connectio nPool.java:48)
    at ab.database.BatchQuery.setupConnection(BatchQuery. java:71)
    at ab.database.BatchQuery.<init>(BatchQuery.java:29)
    at ab.database.LoginLogHandler.resetBatch(LoginLogHan dler.java:46)
    at ab.database.LoginLogHandler.<init>(LoginLogHandler .java:19)
    at ab.Server.<clinit>(Server.java:146)
    Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceE xception: A ResourcePool could not acquire a resource from its primary factory or source.
    at com.mchange.v2.resourcepool.BasicResourcePool.awai tAvailable(BasicResourcePool.java:1463)
    at com.mchange.v2.resourcepool.BasicResourcePool.prel imCheckoutResource(BasicResourcePool.java:639)
    at com.mchange.v2.resourcepool.BasicResourcePool.chec koutResource(BasicResourcePool.java:549)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutAndMarkConnectionInUse(C3P0PooledConnectio nPool.java:756)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:683)
    ... 7 more
    java.sql.SQLException: Connections could not be acquired from the underlying database!
    at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtil s.java:118)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:690)
    at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSou rce.getConnection(AbstractPoolBackedDataSource.jav a:140)
    at ab.database.ConnectionPool.getConnection(Connectio nPool.java:50)
    at ab.database.BatchQuery.setupConnection(BatchQuery. java:71)
    at ab.database.BatchQuery.<init>(BatchQuery.java:29)
    at ab.database.ChatLogHandler.resetBatch(ChatLogHandl er.java:46)
    at ab.database.ChatLogHandler.<init>(ChatLogHandler.j ava:18)
    at ab.Server.<clinit>(Server.java:151)
    Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceE xception: A ResourcePool could not acquire a resource from its primary factory or source.
    at com.mchange.v2.resourcepool.BasicResourcePool.awai tAvailable(BasicResourcePool.java:1463)
    at com.mchange.v2.resourcepool.BasicResourcePool.prel imCheckoutResource(BasicResourcePool.java:639)
    at com.mchange.v2.resourcepool.BasicResourcePool.chec koutResource(BasicResourcePool.java:549)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutAndMarkConnectionInUse(C3P0PooledConnectio nPool.java:756)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:683)
    ... 7 more
    java.sql.SQLException: Connections could not be acquired from the underlying database!
    at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtil s.java:118)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:690)
    at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSou rce.getConnection(AbstractPoolBackedDataSource.jav a:140)
    at ab.database.ConnectionPool.getConnection(Connectio nPool.java:50)
    at ab.database.BatchQuery.setupConnection(BatchQuery. java:71)
    at ab.database.BatchQuery.<init>(BatchQuery.java:29)
    at ab.database.KillLogHandler.resetBatch(KillLogHandl er.java:58)
    at ab.database.KillLogHandler.<init>(KillLogHandler.j ava:21)
    at ab.Server.<clinit>(Server.java:156)
    Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceE xception: A ResourcePool could not acquire a resource from its primary factory or source.
    at com.mchange.v2.resourcepool.BasicResourcePool.awai tAvailable(BasicResourcePool.java:1463)
    at com.mchange.v2.resourcepool.BasicResourcePool.prel imCheckoutResource(BasicResourcePool.java:639)
    at com.mchange.v2.resourcepool.BasicResourcePool.chec koutResource(BasicResourcePool.java:549)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutAndMarkConnectionInUse(C3P0PooledConnectio nPool.java:756)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool. checkoutPooledConnection(C3P0PooledConnectionPool. java:683)
    ... 7 more
    [12/15/15 3:12 PM]: Loading item definitions...
    [12/15/15 3:12 PM]: Loaded 12388 item definitions.
    [12/15/15 3:12 PM]: Successfully loaded: 6756 NPC definitions.
    [12/15/15 3:12 PM]: WARNING: Unable to load object from file.
    [12/15/15 3:12 PM]: WARNING: Unable to load object from file.
    [12/15/15 3:12 PM]: Loaded: Region configuration.
    [12/15/15 3:13 PM]: Loaded: 2677895 clipped tiles.
    [12/15/15 3:13 PM]: OS PvP has successfully started up in 13329 milliseconds.
    You need to set up the SQL to your webhost. You can simply uncomment the lines of code for now, but those arent server sided erros that will affect gameplay.
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Feb 2015
    Posts
    40
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by we nh 247 View Post
    You need to set up the SQL to your webhost. You can simply uncomment the lines of code for now, but those arent server sided erros that will affect gameplay.
    Uncomment meaning "//" ?
    and where would I quickly find these?
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [Help] Starting RS "Coding"
    By mimaka in forum Help
    Replies: 1
    Last Post: 07-31-2009, 04:32 PM
  2. Please help! Starting client...
    By Master Mind55 in forum Help
    Replies: 16
    Last Post: 03-17-2009, 07:29 AM
  3. help on a code
    By Hexagon in forum Help
    Replies: 4
    Last Post: 02-07-2009, 03:35 PM
  4. [Help] Starting my 508 [Help]
    By super in forum Help
    Replies: 8
    Last Post: 02-02-2009, 07:09 AM
  5. Replies: 3
    Last Post: 01-11-2009, 07:43 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •