Jump to content

Kichi

Members
  • Content Count

    97
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Kichi


  1. first time i tried this feature there are random bug

     

    sometimes the NPC can't show switch with ( : ) , if there are no Transalation

    example: "Yes:No" >> Eden Teleport Office in Morroc

    it suppose to be default "English" dialog if there are no translation right?

     

    Sometimes the NPC lost of their mes

    example:

    [Kafra Employee]

    The Kafra Corporation

    is always bla bla bla

     

    become

     

    is always bla bla bla

     

    * Kafra Morocc

    The dialogs of kafra is broken even we don't have translated language, @lang <any language other english> = broken

     

     

    Sometimes the NPC unable to read the translation.

    Tried Rare diamond Merchant, i've change the dialogs. but not all translation readed

    the merchant still speak english

     

     

    Need more update :no1:


  2.  

     

     

     

    btw how to use it on windows?

     

    by typing

    --generate-translations on map server?

    make a shortcut then in target field add --generate-translations
    are you able to give me the example

     

    Open cmd, go to your Hercules folder , type

    map-server --generate-translations

    Or save the above line in .bat file and run it

    this is the result

    [Warning]: Unable to open 'map-server', caching capabilities have been disabled!

     

    and i didn't see the output

     

    -- EDIT --

    even map-server.exe --generate-translations

    still unable to produce the output

     

     

    are you guys able to produce the output or no?

     


  3. as i remember first 3rd job has no fixed skills, and someone made the skill by read the skill description.
    with course of time 1 by 1 got fixed with right formula.
    i remember that first Tiger Cannon able to do more than 1 damage on Plant Mob.

     

    many example cases of this:

    Wave Instance -> not yet implemented , no one get start this T_T
    First Cash Shop -> Thx god implemented, before most people not agree with various reasons.

     

    and i think, at least we (hercules) have it first (homunculus S skill), why? because it's nice start to introduce or attract people to find right formula / bug.
    Newbie like me won't thinking to much, as long as the skill work (no matter the formula) i'll say "it's nice". When something different from description, people like will post on Bug Skill  or someone will try to made pull request
     


  4. You've got a clear example at mob.c for example, on this chunk of code (sorry for no tabs at all, it screws up):

     

    		if( md->npc_event[0] && !md->state.npc_killmonster ) {			if( sd && battle_config.mob_npc_event_type ) {				pc->setparam(sd, SP_KILLERRID, sd->bl.id);				npc->event(sd,md->npc_event,0);			} else if( mvp_sd ) {				pc->setparam(mvp_sd, SP_KILLERRID, sd?sd->bl.id:0);				npc->event(mvp_sd,md->npc_event,0);			} else				npc->event_do(md->npc_event);		} else if( mvp_sd && !md->state.npc_killmonster ) {			pc->setparam(mvp_sd, SP_KILLEDRID, md->class_);			npc->script_event(mvp_sd, NPCE_KILLNPC); // PCKillNPC [Lance]		}

     

    Just use npc->script_event(sd, npc_event) for when you want to attach a player or npc->event_do(npc_event) for an event without any attached player. The NPC event can be hardcoded if you want ("NPCNAME::OnMyEventName") if you find it simpler.

     

    LOLZ i didn't noticed


  5. thanks for the answer

    That method is how to callnpc through script
    since im asking on source, it's about how to callnpc  through source :D
    i have not seen before on any emulator so i can't give an example >.<
     

    Lets say @call is not bindatcmd
    when i type @call in game it will call a NPC in game

×
×
  • Create New...

Important Information

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