Jump to content

joshi

Inactive Member
  • Posts

    125
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by joshi

    1. Open up the file under 'etc/mysql/my.cnf'
    2. Check for:

      • port (by default this is 'port = 3306')
      • bind-address (by default this is 'bind-address = 127.0.0.1'; if you want to open to all then just comment out this line. For my example, I'll say the actual server is on 10.1.1.7)
    3. Now access the MySQL Database on your actual server (say your remote address is 123.123.123.123 at port 3306 as user 'root' and I want to change permissions on database 'dataentry'. Remember to change the IP Address, Port, and database name to your settings)

      mysql -u root -p
      Enter password: <enter password>
      mysql>GRANT ALL ON *.* to root@'123.123.123.123' IDENTIFIED BY 'put-your-password';
      mysql>FLUSH PRIVILEGES;
      mysql>exit
    • Love 1
  1. But in auction system 0 yang and shop 10.000 yang?

    You can make refresh functions when someone buying item refresh.

     

    You need 2 refresh functions

     

    when someone buy in auction system then refresh offline shop

     

    and change in offline shop then refresh auction system..

     

    You can add this refresh functions to Buy AnswerDialog

  2. When a function in sf xy function 

     

    Make check files

     

    unsigned bodyPart = GetPart(PART_MAIN);
        switch ( bodyPart )
        {
            case 0:
            case 1:
            case 2:

                CheckWeapon function
                break;
            default:
                ChatPacket(CHAT_TYPE_NOTICE, "[OXEVENT] Take off your armor!");
                break;
        }

     

    function CheckWeapon

    unsigned WeaponPart = GetPart(PART_WEAPON);
        switch ( WeaponPart )
        {

            case 0:

                MAKE ALL FUNCTION AND LAST FUNCTION TAKE OPEN_OX_EVENT()

                break;
            default:
                ChatPacket(CHAT_TYPE_NOTICE, "[OXEVENT] Take off your Weapon!");
                break;
        }

  3. unsigned bodyPart = GetPart(PART_MAIN);
        switch ( bodyPart )
        {
            case 0:
            case 1:
            case 2:
                break;
            default:
                ChatPacket(CHAT_TYPE_NOTICE, "[OXEVENT] Take off your armor!");
                break;
        }

     

    MAKE WITH PART_WEAPON ETC..

     

     

    • Love 1
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.