Jump to content

Neffletics

Members
  • Posts

    148
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Neffletics

  1. Sounds risky. The lack of access to the source code poses a significant security risk (e.g. leaving backdoor access or sql queries that can be injected). 

    Perhaps rA could have a code review committee that will only publish scripts in the marketplace that have been reviewed and tested to be error-free and exploit-free.

    Great idea nevertheless.

  2. Hello, everyone!

    I'm Lynx of SolaceRO. I'm sharing our old database that's worth 1 month of research and application. I used to own SorinRO back in 2016. It's at episode 6 when it died.

    In our database, we have corrected the mob stats, drop, and spawns. Please keep in mind that this is not 100% accurate to the official server. 

    I have used the following references:

    1. Leaked Aegis files for RussiaRO and MalaysiaRO
    2. WoE and Juno Guidebook (based on PhilippineRO)
    3. Old emulators (Fusion, Vidar, Freya, jAthena, etc.)

    P.S. Use it at your own risk. Review the files before implementing.
     

    SorinRO EP5 Spawn & Mob_Db.zip

    • Upvote 5
    • Love 3
  3. if(strcharinfo(2) != $koegid) end; // if the character is not from the guild
    goto GetReward;
    break;
    
    GetReward:
    query_sql("SELECT last_ip FROM `login` WHERE account_id = "+getcharid(3)+"", .@IP$);
    query_sql("SELECT account_id FROM `login` WHERE last_ip = '"+.@IP$+"'", .@AID);
    
    if(getarraysize(.@AID) > 1) end; // If more than 1 account_id shares the same IP
    getitem 600,1;
    end;


    Just make them talk to an NPC with this function. This is the simplest way to do it. I hope it helps. ~

  4. Your server won't run if login table's missing.

    If it's really missing, please run this sql query.

     

    CREATE TABLE IF NOT EXISTS `login` (
      `account_id` int(11) unsigned NOT NULL auto_increment,
      `userid` varchar(23) NOT NULL default '',
      `user_pass` varchar(32) NOT NULL default '',
      `sex` enum('M','F','S') NOT NULL default 'M',
      `email` varchar(39) NOT NULL default '',
      `group_id` tinyint(3) NOT NULL default '0',
      `state` int(11) unsigned NOT NULL default '0',
      `unban_time` int(11) unsigned NOT NULL default '0',
      `expiration_time` int(11) unsigned NOT NULL default '0',
      `logincount` mediumint(9) unsigned NOT NULL default '0',
      `lastlogin` datetime NOT NULL default '0000-00-00 00:00:00',
      `last_ip` varchar(100) NOT NULL default '',
      `birthdate` DATE NOT NULL DEFAULT '0000-00-00',
      `character_slots` tinyint(3) unsigned NOT NULL default '0',
      `pincode` varchar(4) NOT NULL DEFAULT '',
      `pincode_change` int(11) unsigned NOT NULL DEFAULT '0',
      `vip_time` int(11) unsigned NOT NULL default '0',
      `old_group` tinyint(3) NOT NULL default '0',
      PRIMARY KEY  (`account_id`),
      KEY `name` (`userid`)
    ) ENGINE=MyISAM AUTO_INCREMENT=2000000; 
    
    INSERT INTO `login` (`account_id`, `userid`, `user_pass`, `sex`, `email`) VALUES ('1', 's1', 'p1', 'S','[email protected]');

     

    • Upvote 1
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.