Jump to content

Hik

Member
  • Posts

    276
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Posts posted by Hik

  1. Hi guys, do you know how to give a timer to a item?

     

    39006    "mantle of courage"    "ITEM_USE"    "USE_SPECIAL"    1    "ANTI_DROP | ANTI_SELL | ANTI_STACK | ANTI_MYSHOP"    "NONE"    "NONE"    "NONE"    0    0    0    0    0    "REAL_TIME_FIRST_USE"    3600    "LIMIT_NONE"    0    "APPLY_NONE"    0    "APPLY_NONE"    0    "APPLY_NONE"    0    0    0    0    0    0    0    0    0    0[/CODE]
    
    
    

     

    In this way I think I gave him a 30m time, and it seems to work but...

    Immagine.png.3018f48a79acf09efa2d2ba5bbf8b80d.png      How do I view the remaining time?

                                                                                                           

  2. @Vanilla

    Hi Vanilla, i wanted to ask you something.
    I extracted the Unique functions from your sources.
    The compile works fine but when I give the "/ reload q" command I get the following error: assertion failed: (! Ms_singleton), function singleton, file ./../../common/singleton.h, line 11.

     

    GDB:

    Immagine.png

    • Good 1
    • Love 1
  3. A friend tells me that if it is not present in the db, you should reboot, it should be impossible for him to log in.
    At that point you will not be able to create players with such long names.
    It also tells me that through the index (in player) it is possible to locate the player in question.

    • Love 1
  4. Try Anti Long name generator:

     

     

    *input_login.cpp

    Find:

    	if (true == g_BlockCharCreation)
    	{
    		d->Packet(&packFailure, sizeof(packFailure));
    		return;
    	}

    Add it under:

    	if (strlen(pinfo->name) > 12){
    		d->Packet(&packFailure, sizeof(packFailure));
    		return;
    	}

     

     

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

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