Jump to content

KirieZ

Core Developers
  • Content Count

    234
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by KirieZ

  1. @Vlync: Sorry for the delay, I've just uploaded a new version, waiting for it to be approved. It will bring the option to secure items by their types and refine levels and rAthena compatibility.
  2. @@Gerz So it's like the SecureItems that it already has, but for a limited refine level? I will try to do it in these next days. Thanks
  3. Not sure if I understood what you said. My refiner has the safe levels, it's shown to the player when .DisplayRefineInfo is true and as a warning if he is going to upgrade over the safe level. If you want to increase the safe levels you have to change refine_db.txt and .SafeLevels array in my script.
  4. File Name: Configurable Refiner File Submitter: KirieZ File Submitted: 02 Aug 2015 File Category: Utility This is a configurable refiner that I made after reading the request from this topic. It contains the following options (all of them configurable): Normal refine Refine N times at once (It's possible to allow this for a different group) Set different zeny and item requirements based on item's WeaponLv field Display information about the refine like: the safe refine and the chance of the next level. Allow the usage of items that increase the success chance Allow the usage of items that avoids the item from being destroyed when the refine fails (2.0) Ask if want to use items to protect / increase refine chance (2.0) Define custom effects when refine fails: stay as is, decrease one level or go back to +0 Everything is configurable at the end of the script. I made some tests and it seems to be working correctly, if you run into any bug or wants to suggest a new feature, please let me know and I'll see what I can do. Click here to download this file
  5. KirieZ

    About getitem

    You can use something like that: - script WoePrize -1,{ OnAgitEnd: OnAgit2End: .@castleMap$ = "prtg_cas01"; .@guildId = getcastledata(.@castleMap$, 1); .@guildMasterId = getguildmasterid(.@guildId); query_sql("SELECT `account_id` FROM `char` WHERE `char_id` = " + .@guildMasterId, .@guildMasterAccId); getitem Apple, 1, .@guildMasterAccId; end;} But it will give the item to any character logged in the guild master account (not necessarily the guild master), and if the guild master is not online in any of his characters, this will not work, you'll have to store it somewhere and give it when he logs in. Maybe with attachrid you can get some better results by checking if the player is online as the guild master and if not do something different. Hope it helps
  6. Version 2.1.1

    950 downloads

    This is a configurable refiner that I made after reading the request from this topic. It contains the following options (all of them configurable): Normal refine Refine N times at once (It's possible to allow this for a different group) Set different zeny and item requirements based on item's WeaponLv field Display information about the refine like: the safe refine and the chance of the next level. Allow the usage of items that increase the success chance Allow the usage of items that avoids the item from being destroyed when the refine fails (2.0) Ask if want to use items to protect / increase refine chance (2.0) Define custom effects when refine fails: stay as is, decrease one level or go back to +0 Everything is configurable at the end of the script. I made some tests and it seems to be working correctly, if you run into any bug or wants to suggest a new feature, please let me know and I'll see what I can do.
  7. I was thinking about using the part where the server does the exp distribution, but I don't know how and where labels are called in source.
  8. Hello everyone, I would like to know if it's possible to get all the players who "helped" killing a monster, instead of only the one who killed it. Like OnNPCKillEvent, but instead of running on one player, to run on all of them. Does it needs changes in the source? Can you give me some tips from where to start? Thanks in advance.
  9. Hello everyone, I'm wondering about how much can I increase the number of characters per account and storage size until I reach the client or server limit? I did some search but could only find old topics from rA / eA and as far as I saw hercules did some upgrades in this part. Thanks in advance.
  10. Hello everybody, today I was writting a script and noticed that monster command has an AI parameter: script_commands.txt But I couldn't manage to understand what it does, I tried spawning a Poring with AI = 1, expecting that it would be aggressive but nothing different happened, can someone explain what this parameter really does? Thanks in advance.
  11. I'm not completely sure, but I think that these specific labels from Endless Tower doesn't give you the killedrid, so you'll have to change the labels called when MVPs inside it are killed and do your own handling. Something like: areamonster .@map$,352,9,362,45,"Baphomet",1039,1,.@label$+"MVP"; and: OnMyMobDeadMVP: [ Do your MVP things here ] .@map$ = instance_mapname("1@tower"); .@mob_dead_num = mobcount(.@map$,instance_npcname("#1F Controller")+"::OnMyMobDead"); if (.@mob_dead_num < 1) { initnpctimer; //SetItemPartyInMap in_102floor 1 } else mapannounce .@map$, "Remaining Monsters on the 1st Level - "+.@mob_dead_num,bc_map,"0x00ff99"; end; Make sure to check every labels, because there are more than one.
  12. you don't need to create a new translation, just assign .po files to be opened with poedit and open the generated po file Thanks, it works although when I save it says that there are 20 errors (I can't find the red lines, too big file )
  13. Really good! Not sure if it's only here but I can't open the .pot file in POEdit, it shows more than a hundred errors due to unescaped " in NPC messages, when strings get exported they are not being saved with before quotes. @edit: I'm doing the following: Open POEdit -> Create new Translation -> Selected generated_translations.pot
  14. You can remake your mapcache by running mapcache.exe if you've compiled it when compiling your server.
  15. Sir thank you but I already know how to disable the renewal mechanics. I'm asking on how to disable new maps. I've not tested but it probably works: Go to your db folder and open map_index.txt, comment the maps you don't want to have in your server, then go to conf/maps.conf and comment them too. (Maybe you'll have to remake your makecache) For cities on @go you'll have to edit the source: Open src/map/atcommand.c and find this: ACMD(go) Comment the lines with cities that you don't want and recompile, probably this will change the @go number of maps that came after the commented lines. If the map that you want is from places that have portal to, you have to disable these portals in their scripts. I hope it helps
  16. Does it show errors? Have you deleted all of your "cp_" tables? If you don't delete them you'll get table already exists error. Enable errors at config/error.php changing: $showExceptions to true and 'DebugMode' at config/application.php to true
  17. If I remember well, @mount2 was used to mount/unmount cash mounts, if this is the case, the new(?) command is @cashmount. @edit About the black squares I'm not sure, but is this a official or a custom map? If it's the latter, check if it doesn't use custom texture that has these black squares, its texture must be somewhere in your data/texture folder.
  18. To reinstall Flux go to YourFluxFolder/data/logs/schemas and delete the "charmapdb/YourServerName" and "logindb/YourServerName" folders then delete everything but the index file from "data/tmp" folder. After that, open the main page of your cp in a browser and you will be redirected to install page.
  19. Pelo que notei a variável "mvp_points" nunca foi definida, sendo sempre 0. Tente adicionar esta linha antes do end do OnNPCKillEvent: mvp_points++;
  20. Check your clientinfo, it must have the host ip (or DNS name) and Port of the login server (if you have changed it), if this is Ok, ensure that there is no other errors when your servers start.
  21. Hello everybody, I'm moving my server to a Host, but whenever I run it, it displays lots of Warning about setsocketopts, this is one of them: [Warning]: setsocketopts: Unable to set SO_REUSEPORT mode for connection #6![Warning]: setsocketopts: Unable to set TCP_THIN_LINEAR_TIMEOUTS mode for connection #6![Warning]: setsocketopts: Unable to set TCP_THIN_DUPACK mode for connection #6! I can connect and everything, but letting these warnings doesn't feel right. What can I do? Thanks in advance
  22. Hello everybody, I'm trying to write some plugins to learn how it works but I got the following problem: I've used addBattleConf to make some confs, they work perfectly through the code, but I can't show them at a NPC (using getbattleflag command), is there a way to do it or it needs a new script command? Thanks in advance. (not sure if I've posted in right section)
  23. As far as I understood what you want, you're trying to find Hugin from Old Glastheim Instance (http://irowiki.org/wiki/Old_Glast_Heim), it is at npcreinstancesOldGlastHeim.txt If you can't find him in game, maybe you're not using Renewal or the script is disabled at your re/scripts.conf (in Hercules) or re/scripts_athena.conf (in rAthena)
  24. I found a "workaround", (I hope I'm not breaking any rule for double posting in less than 24h) It seems that it is not possible to just duplicate the shop, so I made a function that all of these shops call when they init. Code:
  25. If you are using the quest system (db_quest) it automatically share with others from the party who were in the same map. (Example: npc/pre-re/quests/collection/quest_fabre.txt - must be around level 10 to talk to npc at gef_fild07 321, 193)
×
×
  • Create New...

Important Information

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