Jump to content

whitehawk_ro

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by whitehawk_ro

  1. Excuse me.. I have a problem... For adding custom item..l i already did all the guide in here... I can spawn item in the inventory.. The desc was good... The problem is.. When i use the wing it won't show up.. I don't know.. What the problem is... Can anyone help me?

    Bump topiccc

  2.  

    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/payg_cas05.txt', line '108' : Gld_Guard_Template
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/payg_cas05.txt', line '112' : Gld_Kafra_Template
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/payg_cas05.txt', line '127' : Gld_Trea_Protect
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/payg_cas05.txt', line '131' : Gld_Trea_Spawn
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/payg_cas05.txt', line '135' : Gld_Dun_Template
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas01.txt', line '103' : Gld_Agit_Manager
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas01.txt', line '107' : Gld_Mngr_Template
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas01.txt', line '111' : Gld_Guard_Template
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas01.txt', line '115' : Gld_Kafra_Template
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas01.txt', line '130' : Gld_Trea_Protect
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas01.txt', line '134' : Gld_Trea_Spawn
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas01.txt', line '138' : Gld_Dun_Template
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas02.txt', line '104' : Gld_Agit_Manager
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas02.txt', line '108' : Gld_Mngr_Template
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas02.txt', line '112' : Gld_Guard_Template
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas02.txt', line '116' : Gld_Kafra_Template
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas02.txt', line '131' : Gld_Trea_Protect
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas02.txt', line '135' : Gld_Trea_Spawn
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas02.txt', line '139' : Gld_Dun_Template
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas03.txt', line '104' : Gld_Agit_Manager
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas03.txt', line '108' : Gld_Mngr_Template
    [Error]: npc_parse_script: original npc not found for duplicate in file 'npc/guild/prtg_cas03.txt', line '112' : Gld_Guard_Template
     

    can any one tell what`s wrong with this?

  3. Hmm i have that line., I followed the main topic first post.

    here's what i got on my npc.c

    /**
    MVP Tomb System. [malufett]
    **/
    static int totalnpctomb = 0;
    int npc_mvp_tomb(struct mob_data *md, struct map_session_data *sd){
    	char w1[256], w2[256], w3[256];
    	struct npc_data *nd = NULL;
    	int count;
       nullpo_ret(md);
    	if(sd){
    	 struct mob_data *boss_md = map_getmob_boss(sd->bl.m); // Search for Boss on this Map and ignore summoned Boss
    	   if(  boss_md != NULL &&
    					   boss_md->bl.prev != NULL &&
    						 md->bl.id == boss_md->bl.id)
    	 {
    		 int x = boss_md->bl.x, y = boss_md->bl.y;
    		 sprintf(w2, "Tomb#%d", boss_md->class_);
    		 sprintf(w1, "%s, %d, %d, 1", map[boss_md->bl.m].name, x , y);
    		 sprintf(w3, "n%d::OnMyMobDead", totalnpctomb);
    		 sprintf(w2, "%s::n%d", w2, count=totalnpctomb++);
    		 safestrncpy(md->npc_event, w3, sizeof(md->npc_event));
    		 npc_parse_duplicate(w1,"duplicate(tomb_stone)",w2,"565", "-", "-", "MVP_TOMB"+boss_md->class_);
    		 if(md->spawn_timer != INVALID_TIMER){
    		  const struct TimerData * timer_data = get_timer(md->spawn_timer);
    		  pc_setreg(sd, add_str("@spawn_delay"), DIFF_TICK(timer_data->tick, gettick())  + 60);
    		 }
    		 npc_event(sd,md->npc_event,0);
    		 safestrncpy(md->npc_event, "", sizeof(md->npc_event));
    		 if(SCRIPT_MAX_ARRAYSIZE > totalnpctomb) totalnpctomb = 0;
    	 }
    	}else{
    	 sprintf(w1, "n%d", md->target_id);
    	 nd = npc_name2id(w1);
    	 if (nd  != NULL){
    		 npc_unload(nd);
    		 md->target_id = 0;
    		 totalnpctomb--;
    	 }
    	}
    	return count;
    }
    

    will this working on eathena as well?

    i`m useing 3ceam

     

    i have try and not working! haha

     

    headache

  4. hi sir.. sorry for disturbing ur time.. i`m newbie here in scripting.. need help for scripting

    i`m need a job changer npc that stand alone . i mean not in all-in-one npc.. but don`t know how to do that,, 

    the jobchanger need to able to change player job to 3rd classes such as sura, royal guard, rune knight, sorcerer, and kagarou oboro, ninja,etc. and also baby job..

     

    can anyone help me please?

     

    really appreciate for the help..

     

     

    regards 

     

    this is the file that i have.. i attach the fi;e

    jobmaster.txt

×
×
  • Create New...