Jump to content

Krusty

Inactive Member
  • Posts

    221
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by Krusty

  1. Hey.
     

    I have a problem with my code.

    How can i make a messagebox to add "start only about the patcher"

    if (strstr(lpCmdLine, "--open-client") == 0)
        MessageBox(NULL, "Run the Patcher", "Metin2", MB_ICONSTOP);
          return 0;

    thats my code at the moment

    when i click on the binary the message comes but when i start the client about the argument nothing happend

  2. if you use item_proto.txt

    85001    sash_01_1    ITEM_COSTUME    COSTUME_ACCE    1    ANTI_DROP | ANTI_SELL | ANTI_STACK    NONE    NONE    NONE    0    0    0    0    0    LIMIT_NONE    0    LIMIT_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    1    85002    0    1    0    0    100    0    0
    85002    sash_01_2    ITEM_COSTUME    COSTUME_ACCE    1    ANTI_DROP | ANTI_SELL | ANTI_STACK    NONE    NONE    NONE    0    0    0    0    0    LIMIT_NONE    0    LIMIT_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    2    85003    0    2    0    0    100    0    0
    85003    sash_01_3    ITEM_COSTUME    COSTUME_ACCE    1    ANTI_DROP | ANTI_SELL | ANTI_STACK    NONE    NONE    NONE    0    0    0    0    0    LIMIT_NONE    0    LIMIT_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    3    85004    0    3    0    0    100    0    0
    85004    sash_01_4    ITEM_COSTUME    COSTUME_ACCE    1    ANTI_DROP | ANTI_SELL | ANTI_STACK    NONE    NONE    NONE    0    0    0    0    0    LIMIT_NONE    0    LIMIT_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    4    0    0    4    0    0    100    0    0
    85005    sash_02_1    ITEM_COSTUME    COSTUME_ACCE    1    ANTI_DROP | ANTI_SELL | ANTI_STACK    NONE    NONE    NONE    0    0    0    0    0    LIMIT_NONE    0    LIMIT_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    1    85006    0    5    0    0    100    0    0
    85006    sash_02_2    ITEM_COSTUME    COSTUME_ACCE    1    ANTI_DROP | ANTI_SELL | ANTI_STACK    NONE    NONE    NONE    0    0    0    0    0    LIMIT_NONE    0    LIMIT_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    2    85007    0    6    0    0    100    0    0
    85007    sash_02_3    ITEM_COSTUME    COSTUME_ACCE    1    ANTI_DROP | ANTI_SELL | ANTI_STACK    NONE    NONE    NONE    0    0    0    0    0    LIMIT_NONE    0    LIMIT_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    3    85008    0    7    0    0    100    0    0
    85008    sash_02_4    ITEM_COSTUME    COSTUME_ACCE    1    ANTI_DROP | ANTI_SELL | ANTI_STACK    NONE    NONE    NONE    0    0    0    0    0    LIMIT_NONE    0    LIMIT_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    4    0    0    8    0    0    100    0    0

  3. -> Table 'common.priv_settings' doesn't exist 1º

    -> Unknown column 'applytype0' in 'field list' 2º

     

    1º: ---- I know this problem well. Obviously read. The only problem is that not even that is the table because I've never seen, if someone has a .sql file or querys please share it.

    2º: ---- This is what I literally do not know.

    1: You have the query already ;) Use one of the already existng columns in your database - copy and paste, but dont forget to rename it to applytype0 (https://metin2.download/picture/WLvGLos8B7wlHGREU9a51u7zR4qwD77Y/.png) the structure should be the same

    2: I googled for it and found one but is it the right one? i dont know ... just test it and add it in common database:
     

    CREATE TABLE `priv_settings` (
    `priv_type`  enum('PLAYER','GUILD','EMPIRE') NOT NULL DEFAULT 'EMPIRE' COMMENT 'GUILD and PLAYER are untested.' ,
    `id`  int UNSIGNED NOT NULL DEFAULT 0 COMMENT 'this is for empire_id, player_id or guild_id' ,
    `type`  int UNSIGNED NOT NULL DEFAULT 4 COMMENT '1:item_drop, 2:gold_drop, 3:gold10_drop, 4:exp (1~4)' ,
    `value`  int NOT NULL DEFAULT 0 COMMENT '0~1000%' ,
    `duration`  datetime NOT NULL DEFAULT 0 ,
    PRIMARY KEY (`priv_type`, `id`, `type`)
    );
    
    INSERT INTO `priv_settings` VALUES ('EMPIRE', '0', '1', '200', '2014-08-07 14:26:03');
    INSERT INTO `priv_settings` VALUES ('EMPIRE', '0', '2', '66', '2014-08-07 14:26:03');
    INSERT INTO `priv_settings` VALUES ('EMPIRE', '0', '3', '1', '2014-08-07 14:26:03');
    INSERT INTO `priv_settings` VALUES ('EMPIRE', '0', '4', '15', '2014-08-07 14:26:03');

    source: epvpersucks

    lol, why? @Ayaka

    INSERT INTO `priv_settings` VALUES ('EMPIRE', '0', '1', '200', '2014-08-07 14:26:03');
    INSERT INTO `priv_settings` VALUES ('EMPIRE', '0', '2', '66', '2014-08-07 14:26:03');
    INSERT INTO `priv_settings` VALUES ('EMPIRE', '0', '3', '1', '2014-08-07 14:26:03');
    INSERT INTO `priv_settings` VALUES ('EMPIRE', '0', '4', '15', '2014-08-07 14:26:03');

     

    • Angry 1
  4. buy the fix from marty :P i do not think that anyone is going to give it for free (the part alone is worth more then the wolfman)

    He doesn't answer me

    lately he answer once per 3 days . (mostly afk). ah , he might ingore you if he see what you are asking for is kind of too much or too stupid.

    Asking? I want to buy his stuff lol

×
×
  • 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.