Jump to content

FelipeMartins

Members
  • Posts

    174
  • Joined

  • Last visited

Everything posted by FelipeMartins

  1. Amigo es mejor usted aprender a compilar.
  2. I've tested and it's true. not working here
  3. moc_para01,34,178,3 script Instrutor de Tutorial 904,{ cutin "exemplo",2; //2 seria o posicionamento, voce pode estudar mais sobre posicionamentos nas documentações do rathena. mes "viu a imagem?"; //mensagem caixa de texto. close2; //fecha e continua executando as proximas isntruções para fechar a imagem da tela do usuário cutin "",255; //faz desaparecer a imagem da tela do usuário. end; //termina as instruções } esse npc acima apareceria um box de texto e a imagem embaixo e a direita da tela do jogador. *Lembrando que a imagem exemplo tem que ser no formato bmp 24 bits e esta salva na pasta illust como falamos antes.
  4. Amigo primeiramente voce tem que entender a base de um npc e logo fazer isso. posta a sua tentativa e vamos juntos construindo um npc! \data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\illust pode ser assim tbm né
  5. I never see this kind of npc, you can pay for that.
  6. check pm inbox ?

  7. I was trying to implement it: this error happens
  8. Good night guys, i was looking for a way to use this function, but i found a plugin from Hercules. Help me to implement it in rAthena. thank you! PS: I can pay fot it guys. /* ============================================= @arealoot Converted by: Dastgir Original Made by: Streusel ================================================ v1.0 Initial Release Autoloots item in x by x Range */ #include "common/hercules.h" #include <stdio.h> #include <string.h> #include <stdlib.h> #include "common/HPMi.h" #include "common/mmo.h" #include "common/socket.h" #include "common/malloc.h" #include "common/nullpo.h" #include "common/mapindex.h" #include "common/strlib.h" #include "common/utils.h" #include "common/cbasetypes.h" #include "common/timer.h" #include "common/showmsg.h" #include "common/conf.h" #include "common/db.h" #include "common/sql.h" #include "map/atcommand.h" #include "map/battle.h" #include "map/clif.h" #include "map/map.h" #include "map/pc.h" #include "map/skill.h" #include "map/itemdb.h" #include "common/HPMDataCheck.h" HPExport struct hplugin_info pinfo = { "@arealoot", // Plugin name SERVER_TYPE_MAP, // Which server types this plugin works with? "1.0", // Plugin version HPM_VERSION, // HPM Version (don't change, macro is automatically updated) }; int arealoot_range = 3; //x BY x Range struct area_p_data { bool arealoot; bool in_process; }; struct area_p_data* adb_search(struct map_session_data* sd){ struct area_p_data *data; if( !(data = getFromMSD(sd,0)) ) { CREATE(data,struct area_p_data,1); addToMSD(sd,data,0,true); } return data; } /*========================================== * @arealoot *------------------------------------------*/ ACMD(arealoot) { struct area_p_data *data; data = adb_search(sd); if (data->arealoot) { data->arealoot = false; clif->message(fd, "Arealoot is now off."); return true; } data->arealoot = true; clif->message(fd, "Arealoot is now on."); return true; } int arealoot_item(struct map_session_data *sd,struct flooritem_data *fitem){ struct area_p_data *data; data = adb_search(sd); if (data->arealoot && data->in_process==false){ data->in_process = true; map->foreachinrange(skill->greed, &fitem->bl, arealoot_range, BL_ITEM, &sd->bl); hookStop(); data->in_process = false; return 1; } return 1; } void arealoot_range_setting(const char *val) { int value = atoi(val); if (value < 1 || value > 10){ ShowError("'arealoot_range' is set to %d,(Min:1,Max:10)", value); return; } //1 to 9 Range. arealoot_range = value; ShowDebug("Arealoot_Range set to %d",arealoot_range); } /* run when server starts */ HPExport void plugin_init (void) { addAtcommand("arealoot",arealoot); addHookPre("pc->takeitem",arealoot_item); } HPExport void server_online (void) { ShowInfo ("'%s' Plugin by Dastgir/Hercules. Version '%s'\n",pinfo.name,pinfo.version); } HPExport void server_preinit (void) { addBattleConf("arealoot_range",arealoot_range_setting); }
  9. I was looking for it in msgstringtable.txt, but i couldn't find it. anyone can help me please? thank you!
  10. You can see here, is natural. It’s not a skill. https://www.youtube.com/watch?v=x0ACHMcoaY4
  11. ja procurou em outros emuladores? outras comunidades tem git e arquivamento de hexeds. tem que ver se esse ja foi disponibilizado, por que ter suporte ao mesmo nao quer dizer que o mesmo tenha sido feito e esteja disponivel.
  12. Guys i am looking for it, if anyone get it, pelase let me know! thank you!
  13. i am looking too! if you get it, let me know please. thank you
  14. its not compiling any one can help us? guys help me !!!
  15. I want it too, if you get it, please send me! thank you!
  16. It is diferrent, it's work like a @autoloot. I don't want manually picking up one item at a time, I want to manually pick up more than one item at a time, picking up the item around of me.
  17. Good morning, I was playing talonRO, there is different when you pick up a item. When you pick up a item o not just pick up ONE item, you pick up all items around. how can I do it? thank you for all.
  18. Hello guys, I was following the updates on github and Is wo this: Is it important error? Can I use this update?
×
×
  • Create New...