[Release]PokeAres (Client + Server)

Page 5 of 7 FirstFirst 1234567 LastLast
Results 61 to 75 of 93
  1. #61
    urvoice.info andsnake is offline
    MemberRank
    Feb 2005 Join Date
    NicosiaLocation
    398Posts

    Re: [Release]PokeAres (Client + Server)

    Quote Originally Posted by conejoo View Post
    I fixed that, delete the 2 first lines.
    ctually the correct sql syntax is without the quotes ;)
    so just replace the first 2 lines with
    CREATE DATABASE IF NOT EXISTS PokeAres;
    USE PokeAres;
    i think there's a bug when a pokemon is trying to learn a new move. at lvl 7 bulbasaur learns vine whip, but even though it says bulbasaur is trying to learn vine whip, no screen appears to select where it should learn the move

  2. #62
    urvoice.info andsnake is offline
    MemberRank
    Feb 2005 Join Date
    NicosiaLocation
    398Posts

    Re: [Release]PokeAres (Client + Server)

    ok here are some "tweaks"

    if you have the visual bag where the move learning does not work then go to MoveLearning.java ( located at the ui package) and replace the functions MoveLearnCanvas() with this
    public MoveLearnCanvas() {
    bg = new Label();
    poke = new Label();
    setSize(257F, 144F);
    setVisible(true);
    bg.setBackground(Color.black);
    bg.setOpaque(true);
    bg.setBounds(0.0F, 0.0F, 256F, 144F);
    add(bg);
    setY(1.0F);


    }
    and draw with
    public void draw(int pokeIndex) {
    poke = new Label(GameClient.getInstance().getOurPlayer().getPokemon()[pokeIndex].getFirstFrontSprite());
    poke.setSize(80F, 80F);
    poke.setLocation(getWidth() / 2.0F - 40F, getHeight() / 2.0F - 40F);
    add(poke);

    }
    To increase the pokemon exp rate go to package org.pokenet.server.battle.mechanics and inside BattleMechanics.java find function
    public double calculateExpGain(Pokemon a, int u){
    double result = (((((a.getLevel() * a.getBaseExp())/7))/u));
    return result / 2;
    }
    To increase the exp gained just modify the return value. example if you add return (result / 2)*6; then the emount of exp will be 6 times more

  3. #63
    Account Upgraded | Title Enabled! asianking is offline
    MemberRank
    Aug 2009 Join Date
    273Posts

    Re: [Release]PokeAres (Client + Server)

    can someone come-up with query to add the tables cause the given query to add the table does not work on mssql. I'm not going to attempting installing other sql database which can conflict my other mmropg server.

  4. #64
    urvoice.info andsnake is offline
    MemberRank
    Feb 2005 Join Date
    NicosiaLocation
    398Posts

    Re: [Release]PokeAres (Client + Server)

    Quote Originally Posted by asianking View Post
    can someone come-up with query to add the tables cause the given query to add the table does not work on mssql. I'm not going to attempting installing other sql database which can conflict my other mmropg server.
    the server was never ment to be used with MSSQL (microsoft Sql Server). It is only used with MySql ;) In order to use with mssql i guess you'll have to rewrite the server to use mssql java library instead of "mysql-connector-java-5.1.8-bin" . Actually having both Mssql and Mysql server's running on the same machine should not be a problem ( if you are already running a WAMPP/XAMPP or LAMP application you already have mysql installed )
    Last edited by andsnake; 11-09-13 at 10:15 AM.

  5. #65
    Account Upgraded | Title Enabled! asianking is offline
    MemberRank
    Aug 2009 Join Date
    273Posts

    Re: [Release]PokeAres (Client + Server)

    Edit: Got it working... Thanks andsnake

    I know everybody got there up and running. But I just thought I post it here incase new user needed.

    Code:
    To install the Server:
    
    1. Install mysql as typical. Later, setup as Detail instead of Standard. Set pw and leave everything else default. 
    If you get stuck at service start error 0; exit setup and run cmd as admin. Type "sc delete MySQL". Should successfully
    removed MySQL. Close cmd and then try the setup again. 
    If 3306 is in-use, use 3307 and up.
    
    2. Make sure apache is installed. Configure apache appropriately. Will not walk you through this; you can find tutorial out there.
    I would really recommend getting Zend instead of configuring apache alone. Once install Zend, make sure to turn off error handling
    for later web template issues.
    
    3. Extract phpMyAdmin to the apache web root. Rename its folder to phpMyAdmin instead of the long name with it version and languages. Open
    phpmyadmin folder and open config.simple.inc.php and config the bowfish secret. Save as config.inc.php on desktop. Close document and drag
    the file you save to the phpmyadmin folder where you put it in apache web root.
    
    4. Get on the web and go to localhost/phpmyadmin/index.php. Once login; logon as root and the password you setup for mysql. 
    Import the sql included in poke server folder. Execute it. If you get error, go to it's original ragezone site and grab the right code.
    You may setup a user for yourself on poke database for later login. 
    
    5. Install Java. Once installed, Create Environment Variables as follow:
    Win 32:
    -=System Variables=-
    Variable Name: %JAVA_HOME%
    Variable Value: C:\Program Files\Java\jre7\bin
    
    Win 64:
    -=System Variables=-
    Variable Name: %JAVA_HOME%
    Variable Value: C:\Program Files (x86)\Java\jre7\bin
    
    restart your computer
    
    6. Once boot up, config server ip and sql logins info. Including client side too. GoodLuck!









    ---------------------------



    Quote Originally Posted by warriow View Post
    Anyone know what happened for the picture below?

    I'm getting the same problem here.

    and I need to know how to set starting items.
    Last edited by asianking; 12-09-13 at 01:06 AM.

  6. #66
    Enthusiast rygaku is offline
    MemberRank
    Apr 2013 Join Date
    49Posts

    Re: [Release]PokeAres (Client + Server)

    im getting this error Account Server is currently offline.

  7. #67
    Gamma Xerixe is offline
    MemberRank
    Apr 2008 Join Date
    MalaysiaLocation
    3,605Posts

    Re: [Release]PokeAres (Client + Server)

    Quote Originally Posted by asianking View Post
    Edit: Got it working... Thanks andsnake

    I know everybody got there up and running. But I just thought I post it here incase new user needed.

    Code:
    To install the Server:
    
    1. Install mysql as typical. Later, setup as Detail instead of Standard. Set pw and leave everything else default. 
    If you get stuck at service start error 0; exit setup and run cmd as admin. Type "sc delete MySQL". Should successfully
    removed MySQL. Close cmd and then try the setup again. 
    If 3306 is in-use, use 3307 and up.
    
    2. Make sure apache is installed. Configure apache appropriately. Will not walk you through this; you can find tutorial out there.
    I would really recommend getting Zend instead of configuring apache alone. Once install Zend, make sure to turn off error handling
    for later web template issues.
    
    3. Extract phpMyAdmin to the apache web root. Rename its folder to phpMyAdmin instead of the long name with it version and languages. Open
    phpmyadmin folder and open config.simple.inc.php and config the bowfish secret. Save as config.inc.php on desktop. Close document and drag
    the file you save to the phpmyadmin folder where you put it in apache web root.
    
    4. Get on the web and go to localhost/phpmyadmin/index.php. Once login; logon as root and the password you setup for mysql. 
    Import the sql included in poke server folder. Execute it. If you get error, go to it's original ragezone site and grab the right code.
    You may setup a user for yourself on poke database for later login. 
    
    5. Install Java. Once installed, Create Environment Variables as follow:
    Win 32:
    -=System Variables=-
    Variable Name: %JAVA_HOME%
    Variable Value: C:\Program Files\Java\jre7\bin
    
    Win 64:
    -=System Variables=-
    Variable Name: %JAVA_HOME%
    Variable Value: C:\Program Files (x86)\Java\jre7\bin
    
    restart your computer
    
    6. Once boot up, config server ip and sql logins info. Including client side too. GoodLuck!









    ---------------------------






    I'm getting the same problem here.

    and I need to know how to set starting items.
    Anyone getting this error, like whereby you can't see pokemons in battles and etc.
    Do NOT use the latest java version. Java 6.

    Quote Originally Posted by rygaku View Post
    im getting this error Account Server is currently offline.
    You need to start the server first.

  8. #68
    Enthusiast rygaku is offline
    MemberRank
    Apr 2013 Join Date
    49Posts

    Re: [Release]PokeAres (Client + Server)

    thanks i fixed it now the next issue is that healing potions dont work for some odd reason i healed a pokemon in battle and it well the game kinda frozed but the music still played.

  9. #69
    Enthusiast thelabel is offline
    MemberRank
    Jan 2006 Join Date
    Atlanta, GALocation
    25Posts

    Re: [Release]PokeAres (Client + Server)

    Well, seems everything is set up server side, however the client won't launch. I run the .bat file and cmd opens up and the game looks like it wants to open, but when the game windows starts to open, it closes. Any ideas? Looks like others have had this issue resolved with a different lib folder, so I've got no clue?

  10. #70
    Proficient Member PokeOrb is offline
    MemberRank
    Nov 2010 Join Date
    191Posts

    Re: [Release]PokeAres (Client + Server)

    Quote Originally Posted by thelabel View Post
    Well, seems everything is set up server side, however the client won't launch. I run the .bat file and cmd opens up and the game looks like it wants to open, but when the game windows starts to open, it closes. Any ideas? Looks like others have had this issue resolved with a different lib folder, so I've got no clue?
    Open up your start.bat and add "pause" at the end of everything.

    So it should look like this:

    Code:
    set CLASSPATH=.;lib\*;dist\PokeClient.jar
    "C:\Program Files\Java\jre6\bin\javaw.exe" -Djava.library.path=lib\native org.pokenet.client.GameClient > pokenet.log
    pause
    Then copy and paste what the error is and post it here.

  11. #71
    Enthusiast thelabel is offline
    MemberRank
    Jan 2006 Join Date
    Atlanta, GALocation
    25Posts

    Re: [Release]PokeAres (Client + Server)

    Randomly started working after some updates on my computer.
    Last edited by thelabel; 11-10-13 at 05:22 AM.

  12. #72
    Apprentice KeiranBam09 is offline
    MemberRank
    Jun 2013 Join Date
    6Posts

    Re: [Release]PokeAres (Client + Server)

    I cannot start pokeares.bat why?

    i start file-> dis-> pokenetserver.jar... and push starting..-> server is offline why?

  13. #73
    Gamma Xerixe is offline
    MemberRank
    Apr 2008 Join Date
    MalaysiaLocation
    3,605Posts

    Re: [Release]PokeAres (Client + Server)

    Quote Originally Posted by KeiranBam09 View Post
    I cannot start pokeares.bat why?

    i start file-> dis-> pokenetserver.jar... and push starting..-> server is offline why?
    Make sure to wait for a while.

  14. #74
    Apprentice KeiranBam09 is offline
    MemberRank
    Jun 2013 Join Date
    6Posts

    Re: [Release]PokeAres (Client + Server)

    i am ingame not work O.o?!

    Last edited by KeiranBam09; 17-10-13 at 09:47 PM.

  15. #75
    Gamma Xerixe is offline
    MemberRank
    Apr 2008 Join Date
    MalaysiaLocation
    3,605Posts

    Re: [Release]PokeAres (Client + Server)

    Quote Originally Posted by KeiranBam09 View Post
    i am ingame not work O.o?!

    You can't use Java 7 for the client. You need Java 5/6



Page 5 of 7 FirstFirst 1234567 LastLast

Advertisement