Jump to content

croxinuz

Members
  • Posts

    62
  • Joined

  • Last visited

Posts posted by croxinuz

  1. hi, i got this error when install new flux on my webhosting

    Error: PDOException
    
    Message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '202.83.122.72' (111)
    
    File: /home/ropk8475/public_html/lib/Flux/Connection.php:81
    
    File	Line	Function/Method
    /home/ropk8475/public_html/lib/Flux/Connection.php	81	PDO::__construct()
    /home/ropk8475/public_html/lib/Flux/Connection.php	94	Flux_Connection::connect()
    /home/ropk8475/public_html/lib/Flux/Connection.php	159	Flux_Connection::getConnection()
    /home/ropk8475/public_html/modules/install/index.php	17	Flux_Connection::getStatement()
    /home/ropk8475/public_html/lib/Flux/Template.php	375	include()
    /home/ropk8475/public_html/lib/Flux/Dispatcher.php	170	Flux_Template::render()
    /home/ropk8475/public_html/index.php	169	Flux_Dispatcher::dispatch()
    Exception Trace As String
    #0 /home/ropk8475/public_html/lib/Flux/Connection.php(81): PDO->__construct(*hidden*)
    #1 /home/ropk8475/public_html/lib/Flux/Connection.php(94): Flux_Connection->connect(Object(Flux_Config))
    #2 /home/ropk8475/public_html/lib/Flux/Connection.php(159): Flux_Connection->getConnection()
    #3 /home/ropk8475/public_html/modules/install/index.php(17): Flux_Connection->getStatement('SELECT VERSION(...')
    #4 /home/ropk8475/public_html/lib/Flux/Template.php(375): include('/home/ropk8475/...')
    #5 /home/ropk8475/public_html/lib/Flux/Dispatcher.php(170): Flux_Template->render()
    #6 /home/ropk8475/public_html/index.php(169): Flux_Dispatcher->dispatch(Array)
    #7 {main}

    i have do setsebool -P httpd_can_network_connect=1 and firewall-cmd --zone=public --add-port=3306/tcp --permanent; firewall-cmd --reload
     on my server VPS but nothing change.

    someone can help me ?

  2. i have following from preview topic setup  :

     

    i change :
    /etc/systcl.conf

    # Kernel sysctl configuration file for Red Hat Linux
    #
    # For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
    # sysctl.conf(5) for more details.
    fs.file-max = 360000
    net.ipv4.ip_local_port_range = 4096 65000
    net.ipv4.tcp_keepalive_time = 80
    net.ipv4.tcp_keepalive_probes = 6
    net.ipv4.tcp_keepalive_intvl = 120
    # Controls IP packet forwarding
    net.ipv4.ip_forward = 0
    
    # Controls source route verification
    net.ipv4.conf.default.rp_filter = 1
    
    # Do not accept source routing
    net.ipv4.conf.default.accept_source_route = 0
    
    # Controls the System Request debugging functionality of the kernel
    kernel.sysrq = 0
    
    # Controls whether core dumps will append the PID to the core filename.
    # Useful for debugging multi-threaded applications.
    kernel.core_uses_pid = 1
    
    # Controls the use of TCP syncookies
    net.ipv4.tcp_syncookies = 1
    
    # Controls the default maxmimum size of a mesage queue
    kernel.msgmnb = 65536
    
    # Controls the maximum size of a message, in bytes
    kernel.msgmax = 65536
    
    # Controls the maximum shared segment size, in bytes
    kernel.shmmax = 68719476736
    
    # Controls the maximum number of shared memory segments, in pages
    kernel.shmall = 4294967296
    

    /etc/security/limits.conf

    #ftp             hard    nproc           0
    #@student        -       maxlogins       4
    # End of file
    *	hard	nofile	65535
    *	soft	nofile	65535
    root	hard	nofile	65535
    root	soft	nofile	65535
    

    but still count on 1024 concurrent connection ?

    need Help Plis :(

     

  3.  

     

    Update your LUA/B.

    i'm using the same LUA files , but if i'm using WeeDiff tree skill have normal language and i'm try to use nemo, tree skill become korean language.

    because i'm using .lua

     

     

    I used first weediff to uncheck disable packet onfuscation and other recommended/custom settings and then used nemo to add the 3 keys..and it works for me..

     

    thank you sir ^.^

  4. Put it in an npc script like

    -<tab>script<tab>ZenyPenalty<tab>-1,{
    
    OnPCDieEvent:
    .@zeny_penalty_percent = 10;
    if( getmonsterinfo( killerrid,MOB NAME ) != "null" ){
    	.@zeny = (( Zeny / 100 ) * .@zeny_penalty_percent );
    	Zeny -= .@zeny;
    }
    }
    

    Remember to put tabs on the top of the script and save it inside your "npc" folder located inside your server files and also apply it inside your script_custom.conf as "npc: npc/<folder_name>/<txt_filename>.txt "

     

    Good luck matey.. Never tried the script though.

    i have write like this and doesn't work :o

    -	script	z_penal	-1,{
    OnPCDieEvent:
    .@zeny_penalty_percent = 10;
    if( getmonsterinfo( killerrid,MOB_NAME ) != "null" ){
    	.@zeny = (( Zeny / 100 ) * .@zeny_penalty_percent );
    	Zeny -= .@zeny;
    }
    }
    
×
×
  • Create New...