Jump to content

supermeng

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by supermeng

  1. I found this issue, I don't know if anyone else found like me.

    when I do call atcommand "slaveclone" to copy character has skill "HEAL".

    but it always heal monster.

     

    I try to check in source to find some strange.

     

    and found this in function mobskill_use

     

    skill_target = (md->db->status.mode&MD_RANDOMTARGET) ? MST_RANDOM : ms.target;
     
    I found function ACMD_FUNC(clone)
    it send value to "mode" of mob_clone_spawn is 0
     
    but function mob_clone_spawn have this

    if (mode) //User provided mode.
    status->mode = mode;
    else if (flag&1) //Friendly Character, remove looting.
    status->mode &= ~MD_LOOTER;
     
    .. this mean if mode is 0, it will use status->mode while don't have initial value
     
    so it make 

    skill_target = (md->db->status.mode&MD_RANDOMTARGET) ? MST_RANDOM : ms.target;

    has wrong result..

    so the solution maybe change mob_clone_spawn

    if((x = mob_clone_spawn(pl_sd, sd->bl.m, x, y, "", master, 0, flag?1:0, 0)) > 0) {

    by change value 0 to properly value

    ok maybe 0x8D is good value
    I check it's ok

  2. Yes, I changed that and recompiled to match ragexe


    I found the problem.

     

    I just see, the launcher I use that has included ragexe already..

    so any ragexe in the folder every version has not been use.

    so whatever I change that not make it work except disable feature and lower version to 30-32.


    ok... after using some time..
    finally, I got it work

    latest updated source (with packet obfuscation) + latest updated kRo + 20141022 Ragexe + some modified client

     

     

    Thank you

  3. Hi there, I'm newbie here.
    I used to Download and Play rathena for long time and everything go fine.

    until now the previous software still work.

    After few years.. I come back to do it again.

    I downloaded latest rathena with GIT.

    and Compile with no error..

    I found there's Packet Obfuscation feature enable by default.

    and try to fine information and do it.

     

    and result,

    I can run server without error.

    but when I use client to connect.

    it can register account with _M _F, it's ok

    but when login to account, it can't show "character selection screen"

    it said, "please wait", then "can't connect to server"

     

    I saw Char server.. it said "Load characters data(...)"..

    as in the picture

     

    I look into the source..

    it try to send 2 packet..

     

    chclif_mmo_send006b

    chclif_mmo_send082d
     

     

    void chclif_mmo_char_send(int fd, struct char_session_data* sd){
    ShowInfo("sd->version = %d\n",sd->version);
    if(sd->version >= date2version(20130000) ){
    chclif_mmo_send082d(fd,sd);
    chclif_charlist_notify(fd,sd);
    chclif_block_character(fd,sd);
    }
    //@FIXME dump from kro doesn't show 6b transmission
    chclif_mmo_send006b(fd,sd);
    }
     
    I commented out 3 line
    //chclif_mmo_send082d(fd,sd);
    //chclif_charlist_notify(fd,sd);
    //chclif_block_character(fd,sd);
     
    and compile try again.
     
    now It can show "character selection screen"..
    I try to make new character but found some strange
    and unusable new made character.
    there's said about unknown packet.
     
    so I think it maybe version of client
     
    I try to change many version of ragexe.
    everytime I try any version.
    I would change source and config to match the ragexe
    but the result are same.
     
    it can't show character selection screen
     
    please help me,
    I don't know what I have miss.
     
    Thank you very much.
     
    ps. only way that I can play with latest updated source.
    it disable "packet obfuscation" feature and set the client version to 30.
    the diffed client (disable this feature) can play properly.
     
     

     

    post-34044-0-44694700-1438400831_thumb.jpg

    post-34044-0-86378300-1438400833_thumb.jpg

×
×
  • Create New...