Jump to content

Haikenz

Members
  • Posts

    309
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by Haikenz

  1. Hello, does anyone have this event, Poring Catcher for rounds? The default is only 1, which when finding the poring already wins... My intention was a 10 Rounds, every round wins 1 item, and following the same rule as the original ... if you kill the poring with the wrong name, you are expelled from the room
  2. I tried to base myself on izlude npc, it's a mini tutorial teaching how to play, and he gives a quest to kill 5 poring and 5 lunatic. The emulator does not show any error. I tried to do 3 things 1- Give the mission 2- Check is incomplete 3- Check if completed I can talk to npc for the first time, after trying to give the mission, it does not appear in the quest window, (I already added it in DB and DATA), then I can not speak with npc anymore, I click several times and nothing happens and no error appears in the emulator Solved NPC: https://pastebin.com/xRmHa83T now this is missing Another thing I wanted to do in this npc is still to send some items in the player's mail when completing the mission. And also check if it is a new account. Not to give the item to each created character.
  3. Unfortunately it only give to download the map, the script did not give.
  4. Change files in folder... Male: data\sprite\Àΰ£Á·\¸öÅë\³²\¿î¿µÀÚ_³².act data\sprite\Àΰ£Á·\¸öÅë\³²\¿î¿µÀÚ_³².spr Female: data\sprite\Àΰ£Á·\¸öÅë\¿©\¿î¿µÀÚ_¿©.act data\sprite\Àΰ£Á·\¸öÅë\¿©\¿î¿µÀÚ2_¿©.act
  5. I was able to fix most of the errors, but appearing now [Debug]: (map_mapname2mapid) mapindex_name2id: Map "" not found in index list! Modified script: https://pastebin.com/kxWUj399
  6. This is an old mini-game, and I really like it and tried to use it here, but it is with some errors, I would like your help to fix it This is the first error that appears no more emulator when it connects [Warning]: script: buildin_getmapxy: .m$pacporing4 is not a string variable. [Debug]: Source (NPC): Aprendiz at poring_s01 (80,77) [Warning]: script: buildin_getmapxy: .m$pacporing13 is not a string variable. [Debug]: Source (NPC): Kasa at poring_s03 (144,118) [Warning]: script: buildin_getmapxy: .m$pacporing52 is not a string variable. [Debug]: Source (NPC): Fantasma at poring_s02 (93,39) [Warning]: script: buildin_getmapxy: .m$pacporing33 is not a string variable. [Debug]: Source (NPC): Kasa at poring_s03 (119,80) [Warning]: script: buildin_getmapxy: .m$pacporing63 is not a string variable. [Debug]: Source (NPC): Kasa at poring_s03 (144,39) [Warning]: script: buildin_getmapxy: .m$pacporing32 is not a string variable. [Debug]: Source (NPC): Fantasma at poring_s02 (119,80) [Warning]: script: buildin_getmapxy: .m$pacporing3 is not a string variable. [Debug]: Source (NPC): Aprendiz at poring_s01 (119,80) [Warning]: script: buildin_getmapxy: .m$pacporing53 is not a string variable. [Debug]: Source (NPC): Kasa at poring_s03 (93,39) [Warning]: script: buildin_getmapxy: .m$pacporing42 is not a string variable. [Debug]: Source (NPC): Fantasma at poring_s02 (80,77) [Warning]: script: buildin_getmapxy: .m$pacporing1 is not a string variable. [Debug]: Source (NPC): Aprendiz at poring_s01 (144,118) [Warning]: script: buildin_getmapxy: .m$pacporing12 is not a string variable. [Debug]: Source (NPC): Fantasma at poring_s02 (144,118) [Warning]: script: buildin_getmapxy: .m$pacporing43 is not a string variable. [Debug]: Source (NPC): Kasa at poring_s03 (80,77) [Warning]: script: buildin_getmapxy: .m$pacporing62 is not a string variable. [Debug]: Source (NPC): Fantasma at poring_s02 (144,39) [Warning]: script: buildin_getmapxy: .m$pacporing5 is not a string variable. [Debug]: Source (NPC): Aprendiz at poring_s01 (93,39) [Warning]: script: buildin_getmapxy: .m$pacporing23 is not a string variable. [Debug]: Source (NPC): Kasa at poring_s03 (158,77) [Debug]: (map_mapname2mapid) mapindex_name2id: Map "" not found in index list! [Debug]: Source (NPC): Stomring#pacporingConfig at poring_s01 (17,223) [Warning]: script: buildin_getmapxy: .m$pacporing22 is not a string variable. [Debug]: Source (NPC): Fantasma at poring_s02 (158,77) [Warning]: script: buildin_getmapxy: .m$pacporing2 is not a string variable. [Debug]: Source (NPC): Aprendiz at poring_s01 (158,77) [Warning]: script: buildin_getmapxy: .m$pacporing6 is not a string variable. [Debug]: Source (NPC): Aprendiz at poring_s01 (144,39) already inside the game, this error already seen when it takes the crystal to be invincible (same in the pacman) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Aprendiz at poring_s01 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Aprendiz at poring_s01 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Aprendiz at poring_s01 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Aprendiz at poring_s01 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Aprendiz at poring_s01 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Aprendiz at poring_s01 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Fantasma at poring_s02 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Fantasma at poring_s02 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Fantasma at poring_s02 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Fantasma at poring_s02 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Fantasma at poring_s02 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Fantasma at poring_s02 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Kasa at poring_s03 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Kasa at poring_s03 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Karsa at poring_s03 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Kasa at poring_s03 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Kasa at poring_s03 (0,0) [Error]: script:run_script_main: infinity loop ! [Debug]: Source (NPC): Kasa at poring_s03 (0,0) [Debug]: Source (NPC): Stomring#pacporingConfig at poring_s01 (17,223) [Debug]: NPCEvent '#pacporingbonus12::OnEnable' not found! (source: Stomring#pacporingConfig) [Debug]: NPCEvent '#pacporingbonus22::OnEnable' not found! (source: Stomring#pacporingConfig) [Debug]: NPCEvent '#pacporingbonus32::OnEnable' not found! (source: Stomring#pacporingConfig) [Debug]: NPCEvent '::On2PacPoringEnable' not found! (source: Stomring#pacporingConfig) And in this last error is when it completes the level, and goes to the next level NPC: https://pastebin.com/0gm0q5y0
  7. Why does the npc dialog window closing in 60 seconds? How do I disable this, to not close?
  8. Eu encontrei ele assim na net.. não tinha diff... e ele não tá funcional, por isso to pedindo ajuda para adaptar para o rA
  9. I have a small problem in adding the custom mob, I followed the wiki, but when I invoke the monster appears the sprite Novice, but the monster is hidden, as you can see in the picture below, he is behind me attacking me. mob_db2 REPLACE INTO `mob_db2_re` VALUES (5000,'KINGPORING','King Poring','King Poring',255,10000000,1,0,0,2,8000,15000,400,65,250,180,200,250,150,150,10,12,2,6,87,0x6203695,100,312,624,432,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); jobname.lub [jobtbl.JT_KINGPORING] = "KINGPORING" npcidentify.lub JT_KINGPORING = 5000 const.txt JT_KINGPORING 5000 Sprites: https://rathena.org/board/files/file/2987-poring-collection/ ~Solved Close Topic
  10. I was with this idea, the trade have the option of payment by Cash or Zeny It would be almost equal to Extended Vending When clicking with the left mouse button on the player for Trade, the option appears if you want to trade with Zeny or Cash ... In the player window will appear something like: "rAthena wants to open the cash trade with you" Is it possible?
  11. Isso é bem antigo, do tempo do eAthena ainda... Eu usava no meu antigo servidor para anunciar os eventos dos npcs automaticamente no Twitter quando inicia. O código é bem antigo porem gostaria da ajudar de quem entende de source para adaptar esse código para o rAthena. Arquivo /src/map/script.c procure por: BUILDIN_FUNC(setqueststatus) { TBL_PC * sd = script_rid2sd(st); int qid = script_getnum(st, 2); bool active = script_getnum(st, 3)?true:false; quest_update_status(sd, qid, active); return 0; } Adicione abaixo: //Cria a função do npc para enviar o twitter BUILDIN_FUNC(twitrag) { //Função de NPC para twitter const char *str; str=script_getstr(st,2); intif_twitrag(str); return 0; } Procure por: BUILDIN_DEF(delwall,"s"), Adicione abaixo: BUILDIN_DEF(twitrag,"s"), //Função de NPC para o twitter Arquivo /src/map/intif.c procure por: #include <string.h> Adicione abaixo: #include <curl/curl.h> #include <curl/types.h> #include <curl/easy.h> Isso importa a lib curl para ser usada. Adicione o código abaixo no final do arquivo int intif_twitrag(const char* mes) { //cUrl para o twitter CURL *curl; CURLcode res; struct curl_httppost *params=NULL; //variavel com os parametros struct curl_httppost *paramsfinal=NULL; struct curl_slist *headerlist=NULL; //lista de header //cria um buffer com o header Expected sem ele o twitter responde com erro 403 static const char buf[] = "Expect:"; curl_global_init (CURL_GLOBAL_ALL); //Inicia a libcurl //adiciona o campo status com o valor do update ao header curl_formadd (&params, &paramsfinal, CURLFORM_COPYNAME, "status", CURLFORM_COPYCONTENTS, mes, CURLFORM_END); curl = curl_easy_init(); //inicia uma seção easy headerlist = curl_slist_append(headerlist, buf); //insere o buffer no header //Seta a página para onde ele envia as informações curl_easy_setopt(curl, CURLOPT_URL, "http://twitter.com/statuses/update.xml"); curl_easy_setopt(curl, CURLOPT_USERPWD, "usuario:senha"); //usuário e senha no twitter curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist); //adiciona o header ao curl curl_easy_setopt(curl, CURLOPT_HTTPPOST, params); //adiciona os parametros ao curl res = curl_easy_perform(curl); //Executa a operação /* limpa o curl */ curl_easy_cleanup(curl); curl_formfree(params); curl_slist_free_all (headerlist); return 0; } *Não esqueça de mudar o usuário e senha na linha curl_easy_setopt(curl, CURLOPT_USERPWD, "usuario:senha"); Arquivo /src/map/intif.h Procure por: int intif_announce(const char* mes,int len, unsigned long color, int flag); Adicione abaixo: int intif_twitrag(const char* mes); //cUrl para o twitter Agora é a hora de compilar, mas é preciso linkar a lcurl no compilador para poder funcionar. Não descobri nenhuma forma mais simples de fazer isso, se você souber me avise que eu altero aqui. ./configure Edite o arquivo Makefile na pasta map. map-server: obj_txt $(MAP_TXT_OBJ) $(COMMON_OBJ) gcc -L/usr/lib -o ../../map-server $(MAP_TXT_OBJ) $(COMMON_OBJ) -lrt -lm -lz -ldl -lcurl map-server_sql: obj_sql $(MAP_SQL_OBJ) $(COMMON_OBJ) $(COMMON_SQL_OBJ) gcc -L/usr/lib -o ../../map-server_sql $(MAP_SQL_OBJ) $(COMMON_OBJ) $(COMMON_SQL_OBJ) -lrt -lm -lz -ldl -lcurl Nas linhas acima foi adicionado -lcurl ao final, para linkar para lib. Salve e agora pode dar make normalmente. Um exemplo de NPC: prontera,153,194,5 script Aramil 807,{ OnInit: initnpctimer; OnTimer05: twitrag "Nosso servidor está online."; stopnpctimer; end; }
  12. I had this script in eA time, but I'm trying to find his link and I can not find, does anyone have it? and running on the rA?
  13. Now I'm lost hahaha as incredible as it may seem, I still do not understand. Exemple my item; [30663] = { unidentifiedDisplayName = "[Visual] Aura 04", unidentifiedResourceName = "292", unidentifiedDescriptionName = { "...", "Condede +25 em todos os atributos", "^ffffff ^000000", "Profissões: ^666666Todas as classes feminino. (Jobs Normais Transclasses Babys)^000000" }, identifiedDisplayName = "[Visual] Aura 04", identifiedResourceName = "292", identifiedDescriptionName = { "....", "Condede +25 em todos os atributos", "^ffffff ^000000", "Profissões: ^666666Todas as classes feminino. (Jobs Normais Transclasses Babys^000000" }, slotCount = 4, ClassNum = 0, costume = false } That's right, right? What function should I use? That same? function main() for ItemID, DESC in pairs(tbl) do result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum, DESC.costume) if not result == true then return false, msg end for k, v in pairs(DESC.unidentifiedDescriptionName) do result, msg = AddItemUnidentifiedDesc(ItemID, v) if not result == true then return false, msg end end for k, v in pairs(DESC.identifiedDescriptionName) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result == true then return false, msg end end k = DESC.costume k = DESC.unidentifiedResourceName v = DESC.identifiedDisplayName end return true, "good" end
  14. but I've already put it all... the error continues https://mega.nz/#!NuAynb5C!2pEbObfYbSv1N60v8CPj-y4D2yYLVg3iGFPDRHaemZM
  15. I'm manually adding in all items now, now I've tried decompiling the kRO lub and got this error in the end, how is the correct one? My: function main() for ItemID, DESC in pairs(tbl) do result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum) if not result then return false, msg end for k, v in pairs(DESC.unidentifiedDescriptionName) do result, msg = AddItemUnidentifiedDesc(ItemID, v) if not result then return false, msg end end for k, v in pairs(DESC.identifiedDescriptionName) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result then return false, msg end end end return true, "good" end kRO: main = function() do break end do local (for generator), (for state), (for control), ItemID, DESC = pairs(tbl) result = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum, DESC.costume) if not result then return false, msg end for k,v in pairs(DESC.unidentifiedDescriptionName) do result = AddItemUnidentifiedDesc(ItemID, v) if not result then return false, msg end end for k,v in pairs(DESC.identifiedDescriptionName) do result = AddItemIdentifiedDesc(ItemID, v) if not result then return false, msg end end end end -- DECOMPILER ERROR: Confused about usage of registers for local variables. return true, "good" end when I use the kRO part I quoted above ItemInfo edited with costume false/true: https://mega.nz/#!gvAknYRQ!Weshpuubdw2ZuRyoEOKLBLUklecn1GahTiwTeQ-O6J4
  16. no one does.. only this appears @Edit I'm using new binkw32.dll of kRO. if I use the old version, this error appears when opening the client: Translate; Could not find procedure entry point _BinkShouldSkip4 in dynamic link library {...}
  17. I have a small problem with iteminfo on the client 2017-09-20 however if I use the itemInfo_Sak of the kRO the game normally opens My ItemInfo: https://mega.nz/#!B6IAiCrA!0QQ2t82ay4cmjlxcxxvRkp_Z3ErRIyZWF4dliekRKNU kRO itemInfo_Sak: https://mega.nz/#!02hA1TbR!NcJslZ4PYSw9f8gLb2LAdLnOVKGYJ8AfS4pHP3bbSWc
  18. I already use Kamishi's palette, I bought it! For months I've been trying to find a solution to this ... and I did not want to use hexed client 2015~2016 who is now giving continuity to the MEMO project is the @Secrets
×
×
  • Create New...