Jump to content

CyberDevil

Members
  • Posts

    242
  • Joined

  • Last visited

Everything posted by CyberDevil

  1. Thank you so much @AnnieRuru but in the line of the "getitem2" I have to leave to "0" where would go "@inventorylist_attribute"??? Below is my script commented and with your correction... can you confirm that everything is correct? Thank you so much for your help. prontera,147,174,5 script Identifier::identifier 402,{ set .@Price, 100; // Zeny per identificare getinventorylist; for(set .@i,0; .@i<@inventorylist_count; set .@i,.@i+1) { if (@inventorylist_identify[.@i]) continue; if (Zeny < .@Price) { dispbottom "The price is "+.@Price+" zeny to identify an item."; break; } set Zeny, Zeny-.@Price; // delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0; // getitem @inventorylist_id[.@i],1; delitem2 @inventorylist_id[.@i], 1, 0, @inventorylist_refine[.@i], @inventorylist_attribute[.@i], @inventorylist_card1[.@i], @inventorylist_card2[.@i], @inventorylist_card3[.@i], @inventorylist_card4[.@i]; getitem2 @inventorylist_id[.@i], 1, 1, @inventorylist_refine[.@i], 0, @inventorylist_card1[.@i], @inventorylist_card2[.@i], @inventorylist_card3[.@i], @inventorylist_card4[.@i]; setarray .@Total[0], .@Total[0]+1, .@Total[1]+.@Price; } if (!.@Total[0]) { message strcharinfo(0),"No identified items."; end; } specialeffect2 154; message strcharinfo(0),"Identify "+.@Total[0]+" items"+((.@Total[1])?" for "+.@Total[1]+" Zeny":"")+"."; end; } paramk,102,60,6 duplicate(identifier) Identifier 402
  2. In my logs I have this error: After a check I found that the item with ID 20717 (Gigant Snake Skin) related to the "Faceworm's Nest" instance refers to this official rAthena script: https://github.com/rathena/rathena/blob/master/npc/re/instances/FacewormsNest.txt On this forum I found others who had this error but for a different script (see HERE)... could it be a general bug that all servers have? And just replace the 4 "countitem" with "countitem2" to solve it?
  3. The concept I understood very well and in fact I was also following this discussion to update the size of packages from 65k to128k that would definitely solve the problem: https://github.com/rathena/rathena/issues/1523 The posted fix is here: https://github.com/rathena/rathena/commit/ade1b171ebcb0e9b4e91f97b511fc4b8d0b99bee But given the difficulty of implementing this complex change for me, I preferred to restore MAX_ITEM_RDM_OPT to 5 and reduce the maximum number of items that can be stored in the kafra, only intervening on the option for VIPs (from 900 slots to 800 slots ... anyway I do not have VIP in the server at the moment and that's okay)... in this way everything works without too many complications! Thanks anyway for the information.
  4. Unfortunately I'm not a good coder but I arrange with what I find around... I do not know how to apply this your suggestion (which is still for Hercules), but I have found a temporary fix that seems to work, that is this: I believe that this can reduce the size of the packages to be supported by the server without having to decrease the size of the players' storage, but I do not know exactly the function of this option "MAX_ITEM_RDM_OPT" and what it means to reduce it from 5 to 4.
  5. Hello people, I've just updated rAthena from the github repository and when I compile the server, I get these 2 WARNING: CXX int_storage.cpp int_storage.cpp: In function ‘bool mapif_load_guild_storage(int, uint32, int, char)’: int_storage.cpp:201:16: warning: large integer implicitly truncated to unsigned type [-Woverflow] WFIFOW(fd,2) = sizeof(struct s_storage)+13; ^ int_storage.cpp: In function ‘void mapif_storage_data_loaded(int, uint32, char, s_storage*, bool)’: int_storage.cpp:469:43: warning: large integer implicitly truncated to unsigned type [-Woverflow] uint16 size = sizeof(struct s_storage) + 10; ^ The same problem (with screenshots) has been indicated here: https://github.com/rathena/rathena/issues/3570 but I do not know how to solve it... if I start the server I recived this specific error: do you have any suggestions? EDIT: I noticed that in the file "/src/common/mmo.hpp" if I lower the value "#define MAX_STORAGE" from my custom value 900 to the default value of 600, in this case everything works... but how do I keep the custom value of 900 without errors?
  6. I'm interested in me too, I'm following this topic...
  7. Thank you a lot @Clark it was simpler than I thought... I did not check all the script well otherwise I would have arrived alone! es I know, I'm stupid! ?
  8. Hi, I have a strange problem... the last MVP "Stefan J.E Wolf" have several drops even 100% successful drop rate (look here) but strangely when it dies it does not drop anything... if with the GM I summons it (@monster 3473) in any map, the item drops come out normally. This is the piece of code that the script uses to summon the final boss... is something missing? function summon_guardian { set .@map$, getarg(0); set .@npcname$, getarg(1); set .@label$, .@npcname$ + "::OnGuardianDied"; if('instance_sf_level == 2) { //mvp or treasure chest switch('warpPoint) { case 3: setarray .@coordinate,14,51,17,48; setarray .@monster,rand(3474,3475); setarray .@amount,1; setarray .@label$, .@npcname$ + "::OnDoorGuardianDied"; break; case 4: setarray .@coordinate,13,134,18,129; setarray .@monster,rand(3474,3475); setarray .@amount,1; setarray .@label$, .@npcname$ + "::OnDoorGuardianDied"; break; } } else { switch( 'instance_sf_level ){ case 1: //weakened mvp setarray .@monster,3484; setarray .@coordinate,61,69,61,69; break; case 4: //stephan setarray .@monster,3473; // <--- THIS IS THE LAST MVP BOSS WITH DROPS setarray .@coordinate,103,114,103,114; break; default: instance_announce instance_id(), "[ Sky Fortress ] : Cleared!! Congratulation!!",bc_map,0x00FF99; return; } } set .@monster_size, getarraysize( .@monster ); for( set .@i, 0; .@i < .@monster_size; set .@i,.@i+1 ){ if('instance_sf_level == .max_sf_level) { //RATHENA areamonster(.@map$,.@coordinate[0],.@coordinate[1],.@coordinate[2],.@coordinate[3],"--ja--",.@monster[.@i],1,.@label$); set 'stefanId, $@mobId[0]; //HERCULES //set 'stefanId, monster(.@map$,.@coordinate[0],.@coordinate[1],"--ja--",.@monster[.@i],1,.@label$); } else { areamonster .@map$,.@coordinate[0],.@coordinate[1],.@coordinate[2],.@coordinate[3],"--ja--",.@monster[.@i],1,.@label$; } } return; }
  9. ...this is the player's answer on my server: The Old Glast Heim script is the original like this: https://github.com/rathena/rathena/blob/master/npc/re/instances/OldGlastHeim.txt I see that there have been recent updates, could these updates solve this problem?
  10. Tnx @pveronneau, this guide work perfectly on Debian 9! Edit: unfortunately I realized that with this system of auto reboot everything works but I can no longer have the "screen" of rathena logs in console via ssh like this image. Does anyone know how to get a check like this even with the map server as a linux service in auto boot?
  11. Hello everyone, I have a strange problem that I can't understand... a player told me that when he left an instance (I'm waiting for his answer to figure out what this is) the map server is crashed. These are the log of the moment of the crash: [03/Feb 17:12][Info]: [Instance] Destroyed 2. [03/Feb 17:12][Error]: Server received crash signal! Attempting to save all online characters! [03/Feb 17:12][Status]: Map-server #0 has disconnected. [03/Feb 17:12][Status]: set users INFINITY : 0 Do you have any suggestions to give me for a first generic check?
  12. Thank you a to @crazyarashi it's a very complete script but I have an error: [Error]: Loading NPC file: npc/custom/instance/Charleston_Crisis/Verus_Merchants.txt script error on npc/custom/instance/Charleston_Crisis/Verus_Merchants.txt line 134 parse_line: expect command, missing function name or calling undeclared function 129 : "Pile Bunker T",16032; 130 : setarray .bunker_requirement,1549,1,6751,300,6750,15; 131 : end; 132 : } 133 : * 134 : 'v'erus04,69,108,5 script Mass Charleston#exchanger_2 4_F_CHARLESTON01,{ 135 : if (checkweight(1201,1) == 0) { 136 : mes "Inventory full, speak to me again when you have enough space."; 137 : close; 138 : } 139 : if (MaxWeight - Weight < 5000) { Can you help me to correct this? Edit: I verified that the problem is something on the first npc, in fact if I comment it (from line 12 to line 132) , I have no more error in the console
  13. I open this topic to find out if anyone has a custom script already created or support me to made it with the Charleston Crisis enchantment system described on this iROwiki page: https://irowiki.org/wiki/Verus_Enchants This system is already working on NovaRO and can be viewed here: https://www.novaragnarok.com/wiki/Verus_Equipment_Exchange Also with this occasion I wanted to share my modifications to the instance version of @Ziu, @Alayne and @DanielArt for the addition of the 6 missing equipements (Mass Charleston NPC) exchangeable with 10 Charleston Parts and part of the @llchrisll's file that introduces the 2 NPC PLUTO_09 and MARS_01 in Verus which allow you to purchase the Excellion Set and related enchantments: https://www.novaragnarok.com/wiki/Verus_Equipment_Exchange#Excellion_Set With these 2 files, the instance Charleston Crisis is almost complete, but unfortunately it will only lack the part related to the enchanters... alone I can not do it because I'm not a good coder but I think you could copy and edit from the system of enchantments of Mora, as reported by IROWiki: CharlestonCrisis.txt excellion_gear.txt
  14. Hallo @Alayne, is it possible that the npc "Mass Charleston" misses in this script? Some information here at this link: https://irowiki.org/wiki/Verus_Enchants This NPC exchanges some pieces of equip that are not dropped by mobs in the instance. edit: I have open a new topic with my custom modifications and part of missing code:
  15. Attached I inserted the palette of the Doram/summoner with its correct root and folders... you can use my palette to do before because they are quite complete. data.zip
  16. Sorry if I reopen this topic/question forgotten but already that someone has made my same request, it seemed useless to open a new topic/request the same... I would like to know if someone (for example @Nova ehehehe!) can give us the data dell'item_db (sql or txt makes no difference) of the cards of Sky Fortress instance: 1) Immortal Cursed Knight Card 2) Immortal Wind Ghost Card 3) Stephen Jack Ernest Wolf Card Thank you for help us!
  17. @InfectedX I have this version and work on my updated rAthena Server. NightmarishJitterbug.txt
  18. Thanks a lot @hendra814... I'm stupid, the solution to the problem was very simple but I was fooled by the fact that these quests are dynamic, in fact every week the monsters required change and this script also has a list of monsters and quests big enough (see "setarray .monster_id" and "setarray .quest_id") that do not need, I believe! Edit: another problem... there is no cooldown on the quests! Any fix for this?
  19. Hallo @Ragno tnx a lot for you time... I have seen that the version of this script for Hercules (here) is updated to version 1.1 with a new NPC control for GMs and various fixes... is it possible to have the same update for our rAthena version? Thanks again for this sharing Edit: the script (version 1.0 to rAthena) don't work... after the warp on the custom map dungeon, there are no monsters inside! How can I configure the number of monsters spawn?
  20. For this error put this file in your "npc/custom/" folder: https://github.com/Stolao/Npc_Release/blob/master/Custom_Functions/Dispell.txt and write this row in your "npc/scripts_custom.conf": npc: npc/custom/functions/Dispell.txt For the other errors I don't know what is it that errors... but check you you have the SQL table "db_roulette" populed with the prizes!
  21. @Stolao are there any other custom functions to make the Auto_Event script work without errors?
  22. This is a temporary fix... In /data/msgstringtable.txt on line 3458, replace that line with #
×
×
  • Create New...