Need help with adding Jaden and GM

Results 1 to 12 of 12
  1. #1
    Proficient Member Farrawh is offline
    MemberRank
    Jul 2011 Join Date
    EnglandLocation
    180Posts

    Need help with adding Jaden and GM

    As the title says, I need help adding Jaden and GM to accounts. I have been using the "call usecash (160 , 1, 0, 1, 0, 99999900, 1, @ERROR)" but it no longer works with the new Versions of Apache and Ubuntu. Has anyone got any idea how I can get it to work at all? Nothing connects to the database any more and I don't know how to fix it..


  2. #2
    JD | Web Developer mrosenov is offline
    MemberRank
    Jun 2012 Join Date
    BulgariaLocation
    555Posts

    Re: Need help with adding Jaden and GM

    call addGM (AccountID, 1) - Adding GM
    Code:
    INSERT INTO usecashnow (userid, zoneid, cash) VALUES (AccountID, 1, JadenAmount)
    - Execute it as a MySQL Query.
    Also the one you're using is not working, cause as I know is based on PW database, which is really strange cause PW and JD Databases are almost same o_o.

    You can also Add Jadens or GM's by executing the stored procedures from your database.

  3. #3
    Proficient Member Farrawh is offline
    MemberRank
    Jul 2011 Join Date
    EnglandLocation
    180Posts

    Re: Need help with adding Jaden and GM

    Quote Originally Posted by mrosenov View Post
    call addGM (AccountID, 1) - Adding GM
    Code:
    INSERT INTO usecashnow (userid, zoneid, cash) VALUES (AccountID, 1, JadenAmount)
    - Execute it as a MySQL Query.
    Also the one you're using is not working, cause as I know is based on PW database, which is really strange cause PW and JD Databases are almost same o_o.

    You can also Add Jadens or GM's by executing the stored procedures from your database.
    Thanks for the quick reply, I am testing it now..

    - - - Updated - - -

    Quote Originally Posted by mrosenov View Post
    call addGM (AccountID, 1) - Adding GM
    Code:
    INSERT INTO usecashnow (userid, zoneid, cash) VALUES (AccountID, 1, JadenAmount)
    - Execute it as a MySQL Query.
    Also the one you're using is not working, cause as I know is based on PW database, which is really strange cause PW and JD Databases are almost same o_o.

    You can also Add Jadens or GM's by executing the stored procedures from your database.
    It doesn't seem to be working.. how long does it usually take?

  4. #4
    JD | Web Developer mrosenov is offline
    MemberRank
    Jun 2012 Join Date
    BulgariaLocation
    555Posts

    Re: Need help with adding Jaden and GM

    Do you even know how to structure it as a MySQL Query?

  5. #5
    Proficient Member Farrawh is offline
    MemberRank
    Jul 2011 Join Date
    EnglandLocation
    180Posts

    Re: Need help with adding Jaden and GM

    Quote Originally Posted by mrosenov View Post
    Do you even know how to structure it as a MySQL Query?
    Yep and it doesn't work. Do you have a script I can use at all?

  6. #6
    JD | Web Developer mrosenov is offline
    MemberRank
    Jun 2012 Join Date
    BulgariaLocation
    555Posts

    Re: Need help with adding Jaden and GM

    Yes I do, I've, but I'm not sharing my scripts. There is a thing that makes me to think you didn't made it correctly thats why it didn't worked at all.

  7. #7
    Proficient Member Farrawh is offline
    MemberRank
    Jul 2011 Join Date
    EnglandLocation
    180Posts

    Re: Need help with adding Jaden and GM

    Quote Originally Posted by mrosenov View Post
    Yes I do, I've, but I'm not sharing my scripts. There is a thing that makes me to think you didn't made it correctly thats why it didn't worked at all.
    So you wont help me because you are assuming I did something wrong????

    Are you for real right now? I really need this and I can't figure it out. I've coded new sites. Tried new files from here. Even tried files from the Chinese and Russian Forums. So thanks a lot for nothing dude.

  8. #8
    JD | Web Developer mrosenov is offline
    MemberRank
    Jun 2012 Join Date
    BulgariaLocation
    555Posts

    Re: Need help with adding Jaden and GM

    Quote Originally Posted by Farrawh View Post
    So you wont help me because you are assuming I did something wrong????

    Are you for real right now? I really need this and I can't figure it out. I've coded new sites. Tried new files from here. Even tried files from the Chinese and Russian Forums. So thanks a lot for nothing dude.
    Dear @Farrawh, I'm sorry if you didn't understood me darling.
    Yes I do, I've, but I'm not sharing my scripts. - Means I've scripts and I don't share them, also please notice there is . - fullstop

    There is a thing that makes me to think you didn't made it correctly thats why it didn't worked at all. - This means that you haven't made something correctly thats why is not working.

    Again sorry if you didn't understood me. I hope this time is way clear than before.

  9. #9
    Proficient Member Farrawh is offline
    MemberRank
    Jul 2011 Join Date
    EnglandLocation
    180Posts

    Re: Need help with adding Jaden and GM

    Quote Originally Posted by mrosenov View Post
    Dear @Farrawh, I'm sorry if you didn't understood me darling.
    Yes I do, I've, but I'm not sharing my scripts. - Means I've scripts and I don't share them, also please notice there is . - fullstop

    There is a thing that makes me to think you didn't made it correctly thats why it didn't worked at all. - This means that you haven't made something correctly thats why is not working.

    Again sorry if you didn't understood me. I hope this time is way clear than before.
    0 help here. Like I said, thanks for nothing.

  10. #10
    Banned E r r o r is offline
    BannedRank
    Oct 2016 Join Date
    72Posts

    Re: Need help with adding Jaden and GM

    Quote Originally Posted by Farrawh View Post
    So you wont help me because you are assuming I did something wrong????

    Are you for real right now? I really need this and I can't figure it out. I've coded new sites. Tried new files from here. Even tried files from the Chinese and Russian Forums. So thanks a lot for nothing dude.
    he saying why you don't search or learn the code by your own he have script that work his by own and fix it from the scratch giving hint was big advantage to fix your problem

  11. #11
    Valued Member cystal is offline
    MemberRank
    Oct 2012 Join Date
    TangerangLocation
    106Posts

    Re: Need help with adding Jaden and GM

    add_cash.php
    Code:
    <?php
    require_once("conn.php");
    
    $name = $_POST['login'];
    $date=date("Y-m-d H:i:s");
    $cash =$_POST['jaden'];
    $sql = "insert into usecashnow(userid, zoneid, sn, aid, point, cash, status, creatime) values ('$name', '1', '0', '1', '0', '$cash', '1', '$date')";
    mysql_query($sql);
    mysql_close();
    
    echo "Cash added!" ;
    
    ?>
    conn.php
    Code:
    <?php
    	include "config.php";
    
    	mysql_connect($DBHost, $DBUser, $DBPassword);
    	mysql_select_db($DBName);
    ?>
    config.php
    Code:
    <?
    	$DBHost = "localhost";  // Database Server IP
    	$DBUser = "root";  // Database User
    	$DBPassword = "";  // Database Password
    	$DBName = "";  // Database Name
    
    	$ServerIP = "";  // Game Server IP
    	$ServerPort = "29000";  // Game Server Port
    ?>

  12. #12
    Proficient Member Farrawh is offline
    MemberRank
    Jul 2011 Join Date
    EnglandLocation
    180Posts

    Re: Need help with adding Jaden and GM

    I fixed it. Re-wrote the script. This can be closed now.



Advertisement