Jump to content

ngoclong19

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by ngoclong19

  1. //quick option to disable all renewal option, used by ./configure
    //#define PRERE
    #ifndef PRERE

    Like the comment said, if you want to disable all renewal options, just remove '//' before '#define PRERE', so this ONE line is uncomment, no need to touch other lines. Your server will run in pre-renewal mode. The C code means:

    "I defined PRERE (so I'm wanting this server running in pre-renewal mode. After that line is a condition check, #ifndef PRERE means 'if not defined PRERE', of course I defined PRERE above so that check is false, and everything after that check is skipped.

    In the original file, #define PRERE is commented (//#define PRERE) so when the check occurs, PRERE is not defined before, and it return true (if not defined? check), and every options which define renewal settings after that check is enable."

    The commented lines makes no sense to a C compiler, its sole purpose is to make code easier to read for human and make auto-doc tools do their job. If A then B is something like normal English, so if A is wrong we do not do B and vice versa.

  2. i am using the latest revision, and i have remove //#define PRERE, will that revert back my trunk to pre re?

    because i cant really tell the different?

    No, I didn't mean remove //#define PRERE, I meant uncomment //#define PRERE, so it'll become #define PRERE.

  3. Hi emitry,

    thx for your fast reply.

    So i just make this:

     

    //quick option to disable all renewal option, used by ./configure

    #define PRERE
    //#ifndef PRERE
    /**

     

    the server read automaticaly pre re folder Db ?

    You only need to uncomment line 7. Don't touch line 8 as you did above, it will raise an error when compiling. The server will look for pre-re db folder.

  4. Hi, my vps send this error, but it was today, because my server was online yesterday :/.

     

    Tried to recompile, no errors, and run server no errors

    just [status]: Awaiting maps from map-server

    After this, does it have:

    [status]: Map-Server 0 connected: 863 maps [...]

    [status]: Map-server 0 loading complete [...]

    If so, this is normal, as it is a "status" not an "error".

  5. right, the server is being run on  Lan address: 10.0.0.2                 client is on address: 10.0.0.3

    so on the computer 10.0.0.3, the clientinfo.xml is set to 10.0.0.2  but it still doesn't connect, the server never even receives an attempt

    my router uses 10.0.0.1+   not 192.168.0.1+

    Maybe it is because of your firewall.

  6.  

     

    Can I update my trunk up to latest using this even though my revision is 17454? Thanks

    I only have 2-3 SRC mod. But most of the changes are in my db files.

    It seems that you are using the old SVN base. You can checkout the new git base via https://github.com/rathena/rathena/trunk (subversion). Just right click your sources folder, TortoiseSVN->Relocate. If your change are in the db/import folder, they will be keep intact. For the source mod, I cannot tell if they works with the newer version or not.

     

    Uhm sorry, I'm quite confused. 

    So I'll create a new folder and check-out using this: https://github.com/rathena/rathena/trunk

    Then what about this part: " Just right click your sources folder, TortoiseSVN->Relocate. If your change are in the db/import folder, they will be keep intact. "

    Sources folder, meaning my old Trunk? What do I need to put on the link on the Relocate box?

     

    Thanks.

     

    Yes, I mean your old trunk. Right click this folder, point to TortoiseSVN->Relocate and put that github link on the Relocate box. I supposed you use TortoiseSVN, for other client please read their documents. Or you can create a new folder and checkout, then copy your change to that folder.

  7. RATHENA WORKBENCH!
    23:07:00 CREATE TABLE IF NOT EXISTS `skillcooldown` (   `account_id` int(11) unsigned NOT NULL,   `char_id` int(11) unsigned NOT NULL,   `skill` smallint(11) unsigned NOT NULL DEFAULT '0',   `tick` int(11) NOT NULL,   KEY `account_id` (`account_id`),   KEY `char_id` (`char_id`) ) ENGINE=MyISAM Error Code: 1046. No database selected Select the default DB to be used by double-clicking its name in the SCHEMAS list in the sidebar. 0.000 sec
     
     
    this is also in
    logs MYSQL WORKBENCH!
     
    23:09:20 CREATE TABLE IF NOT EXISTS `picklog` (   `id` int(11) NOT NULL auto_increment,   `time` datetime NOT NULL default '0000-00-00 00:00:00',   `char_id` int(11) NOT NULL default '0',   `type` enum('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X','D','U','$') NOT NULL default 'P',   `nameid` int(11) NOT NULL default '0',   `amount` int(11) NOT NULL default '1',   `refine` tinyint(3) unsigned NOT NULL default '0',   `card0` int(11) NOT NULL default '0',   `card1` int(11) NOT NULL default '0',   `card2` int(11) NOT NULL default '0',   `card3` int(11) NOT NULL default '0',   `unique_id` bigint(20) unsigned NOT NULL default '0',   `map` varchar(11) NOT NULL default '',   PRIMARY KEY  (`id`),   INDEX (`type`) ) ENGINE=MyISAM AUTO_INCREMENT=1 Error Code: 1046. No database selected Select the default DB to be used by double-clicking its name in the SCHEMAS list in the sidebar. 0.000 sec
     
    why i get this when I pressed the LIGHTNING BUTTON? any1 help me?

     

    "Select the default DB to be used by double-clicking its name in the SCHEMAS list in the sidebar." I think you just need to do as it says.

    CAN ANYONE HELP ME THIS IS THE ERROR I ENCOUNTER.. I WILL APPRECIATE ALL YOUR REPLY THANK YOU VERY MUCH...

    Please update your data/luafiles514 folder here: https://subversion.assembla.com/svn/client-side-translation/. What is your client's version?

  8. Can I update my trunk up to latest using this even though my revision is 17454? Thanks

    I only have 2-3 SRC mod. But most of the changes are in my db files.

    It seems that you are using the old SVN base. You can checkout the new git base via https://github.com/rathena/rathena/trunk (subversion). Just right click your sources folder, TortoiseSVN->Relocate. If your change are in the db/import folder, they will be keep intact. For the source mod, I cannot tell if they works with the newer version or not.


  9. CREATE TABLE `donate` (`code` TINYTEXT NOT NULL, `item_amount` INT NOT NULL, `validation_code` TEXT NOT NULL, `status` TEXT NOT NULL, INDEX `code` (`code`(32)) ) ENGINE="MyISAM";
     
    CREATE TABLE `donation` (`name` TEXT NOT NULL, `code` TEXT NOT NULL, `item_amount` INT NOT NULL, `validation_code` TEXT NOT NULL, INDEX `code` (`code`(32)) ) ENGINE="MyISAM";
    I think you missed some quote mark.
×
×
  • Create New...