Jump to content

Lilith

Members
  • Posts

    407
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by Lilith

  1. clif.c:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'

    clif.c - file with error

    95 - line with error

    error: (...) - description of error

    If you see, the given error has appeared from "a" at line 90. Having removed an unknown symbol error will disappear.

  2. I found this:

    +#elif PACKETVER < 20101124

    + WBUFW(buf,0) = spawn?0x7f8:0x7f9;

    "+" must be deleted!

    and

    a WBUFW(buf,2) = (spawn?64:65)+strlen(name);

    What for "a" in the beginning of a line?

    remake the patch

    EDIT:

    Use tortoise svn for apply patch...

  3. It will show you distinctions between files

    Apply a patch you can through the terminal.

    At first place a file in a directory with athena. Then in the terminal enter :

    patch -p0 < /athena/patch_file

    where /athena/ - folder with server

    patch_file - name of a patch file ( ex. PacketV28.patch)

  4. Офф есть офф, и стоит он не на афине, а на Aegis. Не забывайте, что Athena - эмулятор.

    Проект 3CeaM, насколько мне известно, реализовал умения 3-их профессий, однако там отсутствует механика реньювал.

  5. Try this. Not tested.

    callfunc "F_Expire",Item_id;
    
    map,x,y,z script name 100,{
    input @ids;
    if(callfunc("F_Expire",@ids)>0)
    mes "Item "+getitemname(@ids)+" is rental";
    else
    mes "Item "+getitemname(@ids)+" is not rental";
    close;
    }
    
    function script F_Expire {
    getinventorylist;
    for( set .@a,0; .@a < getarraysize(@inventorylist_id); set .@a,.@a+1)
    if(getarg(0) == @inventorylist_id[.@a] && @inventorylist_expire[.@a] > 0)
     return 1;
    else
     return 0;
    }
    

  6. Нет, не обязательно. Клиент по сути может читать папку в 3-х кодировках (если не больше).

    У кого не отображается корейский тому, естественно, удобней будет работать с другими кодировками, как в твоём случае, ибо так ты хотя бы будешь узнавать папку по символам, а не по количеству "квадратиков" :)

    • Upvote 1
×
×
  • Create New...