Jump to content

ittiphol

Members
  • Posts

    115
  • Joined

  • Last visited

Posts posted by ittiphol

  1. Send mail but mail box not refresh new message.

    Must click refresh by self or logout select character again.

    query_sql("INSERT INTO `mail` (`id`, `send_name`, `send_id`, `dest_name`, `dest_id`, `title`, `message`, `time`, `status`, `zeny`, `type`) VALUES ('', 'System', '150001', 'Admin', '150000', 'Test', 'Test mail', unix_timestamp( now() ), '1', '0', '0') ");
     

    Sorry my english.

    Thank you advance.

  2. Just now, Chaos92 said:

    which one difficult ? its easier I think since its in rathena folder already.

    If you're asking on how, its already there inside that PR the instruction.

    Ive comment also about how to pull from other user git.

     

    Or else you can just wait for it to be merged in rathena master and you use it, it just the matter of time.

    Oh then i wait to merged in rathena.

    Thank you ^^

  3. 8 minutes ago, Chaos92 said:

    You can try this PR now : https://github.com/rathena/rathena/pull/5731

    if you're asking about the guild emblem changes, its because of client support.

    if you're using for example 2018 clients or older you might still can use the old one. This only for client 2020 above.

    Very difficult to install
    And the elusive explanation I have tried many times, but I have not succeeded.

  4. Need help how to fix it.

    Screenshot_2.png

    int key_opt_id = 0, key_opt_value = 0, key_opt_param = 0;
        script_cleararray_pc(sd, "@last_lapine_option_id", (void*)0);
        script_cleararray_pc(sd, "@last_lapine_option_value", (void*)0);
        script_cleararray_pc(sd, "@last_lapine_option_param", (void*)0);
        for (int i = 0; i < MAX_ITEM_RDM_OPT; i++) {
            script_setarray_pc(sd, "@last_lapine_option_id", i, (void*)(intptr_t)it->option.id, &key_opt_id);
            script_setarray_pc(sd, "@last_lapine_option_value", i, (void*)(intptr_t)it->option.value, &key_opt_value);
            script_setarray_pc(sd, "@last_lapine_option_param", i, (void*)(intptr_t)it->option.param, &key_opt_param);

     

    Edit : Solved Thank you.

  5. How to fix this script two player mob vs mob

    prontera,158,168,5    script    SpawnMoner    509,{
        monster "this", -1,-1, "--ja--", .mobid[ rand(.total_mob) ], 1;
        setunitdata [email protected], UMOB_MASTERAID, getcharid(3);
        setunitdata [email protected], UMOB_MODE, MD_CANMOVE | MD_CANATTACK | MD_AGGRESSIVE | MD_ASSIST;
        end;
    OnInit:
        if (checkre(0)) {
            [email protected]_db$  = "mob_db_re";
            [email protected]_db$ = "item_db_re";
        } else {
            [email protected]_db$  = "mob_db";
            [email protected]_db$ = "item_db";
        }
        .total_mob = query_sql( "select id from "+ [email protected]_db$ +" where mode & "+( MD_CANMOVE | MD_CANATTACK ), .mobid );
        end;
        }

    I'll try talk to npc but mob it's not attack to mob
    (Play two ID)

  6. msg error

    C:\Windows\System32\KERNEL32.DLL
    0x77ddab50    C:\Windows\SYSTEM32\ntdll.dll
    0x77ddab1a    C:\Windows\SYSTEM32\ntdll.dll
    
    eax: 0x00000000    ebx: 0x5ed6cad8
    ecx: 0xffffffff    edx: 0x0e650298
    esi: 0x5ed79dfc    edi: 0x0e513d38
    ebp: 0x0019ffec    esp: 0x0019ffe4
    
    stack 0019ffe4 - 001a03e4
    0019FFE4 : FF FF FF FF F9 59 E0 77 00 00 00 00 00 00 00 00 
    0019FFF4 : CD 5D A4 00 00 A0 26 00 00 00 00 00 41 63 74 78 
    001A0004 : 20 00 00 00 01 00 00 00 38 33 00 00 DC 00 00 00 
    001A0014 : 00 00 00 00 20 00 00 00 00 00 00 00 14 00 00 00 
    001A0024 : 01 00 00 00 07 00 00 00 34 00 00 00 7C 01 00 00 
    001A0034 : 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    001A0044 : 00 00 00 00 00 00 00 00 02 00 00 00 4E EF 26 1A 
    001A0054 : 98 02 00 00 44 00 00 00 E0 02 00 00 60 02 00 00 
    001A0064 : 00 00 00 00 BA 71 32 F3 40 05 00 00 4A 00 00 00 
    001A0074 : 8C 05 00 00 48 03 00 00 00 00 00 00 5B 49 59 2D 
    001A0084 : D4 08 00 00 32 00 00 00 08 09 00 00 00 03 00 00 
    001A0094 : 00 00 00 00 CD EA CE 32 08 0C 00 00 42 00 00 00 
    001A00A4 : 4C 0C 00 00 36 03 00 00 00 00 00 00 C8 5F 50 38 
    001A00B4 : 84 0F 00 00 5E 00 00 00 E4 0F 00 00 68 03 00 00 
    001A00C4 : 00 00 00 00 44 05 28 B1 4C 13 00 00 56 00 00 00 
    001A00D4 : A4 13 00 00 98 03 00 00 10 00 00 00 09 00 00 00 
    
    Launch Info 
    0141 0141 00A4 00A4 0000 0000 0000 0000 
    0000 0000 0000 0000 0000 0000 0000 0000 
    0000 0000 0000 0000 0000 0000 0000 0000 
    0000 0000 0000 0000 0000 0000 0000 0000 
    
    Job : Glt. Cross
    
    prt_fild08.rsw 167 353
    
    ro_ 824

     

    Thank you

    Screenshot_15.png

  7. Convert item_db.txt to MySQL

    Ex.

    501,Red_Potion,Red Potion,0,10,,70,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal rand(45,65),0; },{},{}

    Like this

    REPLACE INTO `item_db_re` VALUES (501,'Red_Potion','Red Potion',0,10,NULL,70,NULL,NULL,NULL,NULL,0xFFFFFFFF,63,2,NULL,NULL,NULL,NULL,NULL,'itemheal rand(45,65),0;',NULL,NULL);

     

    Thank you.

×
×
  • Create New...

Important Information

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