Jump to content

nanakiwurtz

Members
  • Posts

    1654
  • Joined

  • Last visited

  • Days Won

    66

Posts posted by nanakiwurtz

  1. 
    

    - script Rank MvP#1 -1,{

    OnInit:

    query_sql "CREATE TABLE IF NOT EXISTS `mvprank` (`id` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0',`name` VARCHAR( 23 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL ,`mvpkills` BIGINT UNSIGNED NOT NULL ,UNIQUE (`id`)) ENGINE = MYISAM";

    $a = 1;

    $topmvp = 5;

    setarray $mvpid[0],1511,1251,1734,1647,1651,1785,1873,1388,1630,1399,1039,1874,2068,1272,1719,1046,1389,1885,1876,1112,1115,1957,1418,1871,1252,1768,1086,1688,1646,1373,1147,1492,1059,1150,1956,2022,1087,1190,1038,1157,1159,1502,1623,1650,1583,1779,1708,1312,1751,1685,1648,1649,1917,1658,1832,1916,2000,2001,2002,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2021,2024,2025,2026,2027,2028,2032;

    end;

    OnNPCKillEvent:

    for (.@i = 0; .@i < getarraysize($mvpid); .@i++) {

    if (killedrid == $mvpid[.@i]) {

    if ($a) announce strcharinfo(0)+" got +1 Point on MVP Rank!",bc_blue|bc_all;

    query_sql("INSERT INTO `mvprank` SET `id`='"+getcharid(0)+"',`name`='"+strcharinfo(0)+"',`mvpkills`='1' ON DUPLICATE KEY UPDATE `mvpkills`=`mvpkills`+'1'");

    }

    }

    end;

    }

  2. 
    

    case 4: // Convert Badges

    mes "[Erundek]";

    mes "[So you want to convert your badges to War Badge, huh?]";

    next;

    menu "Bravery Badges to War Badge",bbadge,"Valor Badges to War Badge",vbadge;

    bbadge:

    mes "Input the number of badges you want to convert:";

    next;

    input .@bdg;

    if (.@bdg >= countitem(7828)) {

    getitem 7773, .@bdg;

    delitem 7828, .@bdg;

    mes "Done!";

    } else {

    mes "You have insufficient badges";

    }

    close;

    vbadge:

    mes "Input the number of badges you want to convert:";

    next;

    input .@bdg;

    if (.@bdg >= countitem(7829)) {

    getitem 7773, .@bdg;

    delitem 7829, .@bdg;

    mes "Done!";

    } else {

    mes "You have insufficient badges";

    }

    close;

  3. It's okay to ignore that error message, anyway update your epel mirror by using this:

    wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
    rpm -Uvh epel-release-6-8.noarch.rpm
    I'm not sure which permission needed for Cora, try to chmod 777, if it works, then you know that the problem comes from incorrect file/folder permission.

    Be sure to make backup first, because if you have chmod-ed them, you can't revert them back to their original permission. Or you can restart from scratch again.

    I guess the widget got error because of the mod_rewrite issue...

  4. Using your steps, I can setup and access the /cp/admin/admin using 'coraadmin' for Username & Password.
    All password on the database are hashed, for security purpose. So they can't be used by unauthorized person.
     
    First, make sure you have install it on your CentOS:

    yum -y install httpd httpd-devel

    Start it by using:

    /etc/init.d/httpd start

    Edit the httpd configuration on /etc/httpd/conf/httpd.conf save and restart by using:

    /etc/init.d/httpd restart

    or

    service httpd restart
    • Upvote 1
×
×
  • Create New...