Jump to content

Angelmelody

Members
  • Content Count

    772
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by Angelmelody

  1. solved by myself { Id: 14586 AegisName: "Spark_Candy" Name: "jumping candy" Type: 2 Buy: 0 Weight: 10 Upper: 63 Delay: 180000 Trade: { nodrop: true noselltonpc: true } Script: <" sc_start SC_INCBASEATK,60000,20; sc_start SC_INCASPDRATE,60000,25; sc_start SC_ENDURE,60000,1; sc_start4 SC_HPDRAIN,60000,100,10,0,0; ">},adding required sc state
  2. http://ratemyserver.net/index.php?page=item_db&item_id=14586
  3. I can reproduce that official behaviour now Hi! what client are you using? I m using 2013-12-30 ragexe now
  4. read this thread http://herc.ws/board/topic/4349-disable-abracadabra-skill-in-certain-area/
  5. I think that should be a bug of mapzone system, becoz map->list[src->m].zone->disabled_skills->subtype was always equal to 0 http://herc.ws/board/index.php?app=tracker&showissue=8260
  6. bindatcommand can overwrite @job
  7. the fewest commits from past to present . .......... no comment
  8. nope that's from twro http://home.gamer.com.tw/creationDetail.php?sn=2224678
  9. nothing change this npc work for me prontera,120,125,2 script bla2 120,{ mes "[Test]"; for(set .@i,1; getd(".F"+.@i+"[0]"); set .@i,.@i+1) mes " .F"+.@i+"[0] is exist"; close; OnInit: setarray .F1[0],30712,1,30711,2; setarray .F2[0],30713,1,30712,2; end;} I think OnInit label can't be trigged by function , you should put it into a npc and use npc var
  10. This has been bothering me for a long time ,i hope somebody can help me
  11. /* ====================================================== * * @cloneskill [Hold] * <> Permite ao jogador plagiar qualquer habilidade * Uso: * <> @cloneskill <id/nome da habilidade> <nível> <tipo> * tipo: * <> 0 = Copiada através da habilidade Plágio * <> 1 = Copiada através da habilidade Mimetismo * ------------------------------------------------------ */ACMD(cloneskill){ char name[255]; int id, lvl, type = 0, oldskreg; if (!message || !*message || ( sscanf(message, ""%99[^"]" %d %d", name, &lvl, &type) < 2 && sscanf(message, "%99s %d %d", name, &lvl, &type) < 2 ) ) { clif->message(fd, "Voce precisa inserir ID e Nivel da habilidade."); return false; } if(!(id = skill->name2id(name)) && !(id = skill->get_index(atoi(name)))) { clif->message(fd, "Nome ou ID da habilidade sao invalidos."); return false; } if(oldskreg = pc_readglobalreg(sd,script->add_str( ((type) ? "REPRODUCE_SKILL" : "CLONE_SKILL")))) { sd->status.skill[oldskreg].id = 0; sd->status.skill[oldskreg].lv = 0; sd->status.skill[oldskreg].flag = 0; clif->deleteskill(sd, oldskreg); } sd->status.skill[id].id = id; sd->status.skill[id].lv = lvl; sd->status.skill[id].flag = SKILL_FLAG_PLAGIARIZED; if(type) sd->reproduceskill_id = id; else sd->cloneskill_id = id; pc_setglobalreg(sd, script->add_str( ((type) ? "REPRODUCE_SKILL" : "CLONE_SKILL")), id); pc_setglobalreg(sd, script->add_str( ((type) ? "REPRODUCE_SKILL_LV" : "CLONE_SKILL_LV")), lvl); clif->addskill(sd, id); sprintf(atcmd_output,"Habilidade: '%s' | Nivel: '%d' | Utilizando: '%s'", skill->get_name(id), lvl, ((type) ? "Mimetismo" : "Plagio")); clif->message(fd, atcmd_output); return true;} ACMD_DEF(cloneskill),
  12. How can I divide the mob_boss into mob_sboss(mini boss) and mob_mboss(MVP)? Here is my src mod not working properly , I was setting the disable skill unit to mob_mboss only,but the test result was to disable both mvp and mini boss's skills,Is there anything wrong with my code ,who can help me to fix it ? 123456.patch /* All zone is a dynamic (very special) zone that is forcebly inherited by ALL maps automatically */ name: "All" /* changing this name requires MAP_ZONE_ALL_NAME to also be changed in src/map/map.h file */ disabled_skills: { //both examples below disable napalm beat (id 11) to players //MG_NAPALMBEAT: "PLAYER" //ID11: "PLAYER" NPC_CALLSLAVE: "MOB_MBOSS" NPC_SUMMONSLAVE: "MOB_MBOSS" }
  13. - script test123456 -1,{OnMinute0: if(!gettime(2) && !(gettime(3)%4)) atcommand "@killmonster2 prt_maze02";end;}
  14. This command will create an item on the specified cell of a map. cmd to use: * makeitem2 <item id>,<amount>,"<map name>",<X>,<Y>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>;* makeitem2 "<item name>",<amount>,"<map name>",<X>,<Y>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>; download: makeitem2.c
  15. why not use strcharinfo(3) instead of getmapxy? xD Coz Helena use getmapxy ...XD
  16. http://herc.ws/board/topic/6029-script-cmd-cartcountitem/ Try this command that will immediately check cart inventory item without waiting the emulator to save player's cart data
  17. *cartcountitem( <item id> or "<item name>" )*cartcountitem2(<item id> or "<item name>",<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>) This cmd will return the number of items for the specified item ID that the invoking character has in the cart inventory download: cartcountitem.c
  18. - script Vanilla1 -1,{OnPCLoadMapEvent:getmapxy(.@map$,.@mapx,.@mapy,0);if(.@map$ == "prtg_cas01"){ for(set .@i,0; .@i < getarraysize(.itemcheck); set .@i, .@i + 1){ if(countitem(.itemcheck[.@i])){ dispbottom "[ Info ] : item ["+getitemname(.itemcheck[.@i])+"] found (Inventory). Kicking.."; warp "prontera",200,180; end; } if(query_sql("SELECT `nameid` FROM `cart_inventory` WHERE `char_id` = " + getcharid(0), .itemcheck[0]) { dispbottom "[ Info ] : item ["+getitemname(.itemcheck[.@i])+"] found (Cart). Kicking.."; warp "prontera",200,180; end; } }end;OnInit:setarray .itemcheck[0],2383,2204,20025,20026,20027,20028,20029,20030,20031,20032,20033;end;}prtg_cas01 mapflag loadevent
×
×
  • Create New...

Important Information

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