iwillnot

Members
  • Content Count

    49
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

13 Good

About iwillnot

  • Rank
    Drops
  • Birthday 01/07/1993

Profile Information

  • Gender
    Male
  • Location
    PH
  • Github
    darrensapalo

Recent Profile Visitors

1,262 profile views
  1. I think this is an encoding issue. Make sure your text editor's encoding is set to EUC-KR before editing and saving. This is something you can configure on your text editor (notepad++, Visual Studio Code). I use VS Code (see the attachment). Change whatever encoding (e.g. UTF-8) into the appropriate LUA encoding (EUC-KR).
  2. Sorry. My bad, i'll fix the description. It basically creates a new item type called charms, which allows you to gain item bonuses just by keeping the item in your inventory. It has an option to allow stacking, which is documented in the previous threads.
  3. What does it do? This charms system creates a new item type called charms, which allows you to gain item bonuses just by keeping the item in your inventory. This is similar to having 'charms' in Diablo 2, that give you bonuses just by keeping them in your inventory. Authors Pillows, the author of the thread linked below, credits users digitalhamster and our script mistress ~AnnieRuru~. I simply updated the patch file, since I manually updated my server to support this functionality. Usage Download the .patch file. Make sure you have git, the version control tool, installed. Open command line and change your working directory to your RO server. Run the following script git apply "PATH/TO/FILE.PATCH" Then, recompile your server so that it will detect your source modifications. On your db/item_db.txt, add an entry: 30060,P_Charm_Str2,P_Charm_Str2,13,6,,0,,,,,0xFFFFFFFF,15,2,,,1,,,{bonus bStr,2; },{},{} Remember that the item type must follow the type number described in your mmo.hpp. Read Pillows description about the mmo.h here. Remember that you must add the item type, the job, upper, and gender fields of the item to allow it to work. Downloads See attachment Historical threads August 2014, Pillows updates the script August 2015, XkAcY requests for help 0001-Implemented-charms-system-for-rAthena-2019.patch
  4. Thanks for this. For those of you who are not familiar with how to apply patches, I did the following on my Windows machine: $ git apply "PATH/TO/FILE.patch" script_commands.txt | 14 ++++++++++++++ map/map.hpp | 1 + map/mob.cpp | 1 + map/npc.cpp | 4 ++++ map/npc.hpp | 1 + map/pc.cpp | 28 ++++++++++++++++++++++++++++ map/pc.hpp | 2 ++ map/script.cpp | 5 +++++ map/script.hpp | 1 + map/script_constants.hpp | 1 + 10 files changed, 58 insertions(+) Details: GNU patch 2.7.6. Further reading: How does a patch work?
  5. Thanks for the suggestion. You're right, I'm sure that'll work! Yeah, I'm trying to figure out the least amount of work to do first, before going into source editing. Solved: Only one skill is displayed on the user interface "STRIP HELM" but in fact, all the strip skills were triggered because of the high skill chance. This means that this is not a bug, and is in fact, working correctly. This means that when multiple skills occur at the same time, only the last skill will be displayed on the screen. This makes sense, as you cannot display 4 skill texts above the character's name at the same time.
  6. I have a headgear that uses the following onEquip scripts: [email protected] = getrefine(); [email protected] = [email protected] / 4; [email protected] = ( ([email protected] - 5) * 100); bonus bAgi,3 + [email protected]; bonus bDex,2 + [email protected]; bonus bLuk,1 + [email protected]; if(BaseJob==Job_Rogue) { bonus4 bAutoSpell,"RG_BACKSTAP",1,max(1000,1000 + [email protected]),1; bonus4 bAutoSpellWhenHit,"RG_RAID",1,max(3000,3000 + [email protected]),1; } bonus4 bAutoSpell,"SU_ARCLOUSEDASH",1,max(500,500 + [email protected]),1; bonus4 bAutoSpell,"RG_STRIPWEAPON",1,max(2500, 2500 + [email protected]),1; bonus4 bAutoSpell,"RG_STRIPSHIELD",1,max(2500, 2500 + [email protected]),1; bonus4 bAutoSpell,"RG_STRIPARMOR",1,max(2500, 2500 + [email protected]),1; bonus4 bAutoSpell,"RG_STRIPHELM",1,max(2500, 2500 + [email protected]),1; My problem is, it only triggers strip helm on attack. When I removed the last script (RG_STRIPHELM) only strip armor is triggered. Is there a rule that multiple occurrences of bonus bAutoSpell does not stack? Edit: Did a few more tests, turns out I can cast multiple skills if the bAutoSpell benefit comes from different items. (e.g. headgear top grants strip helm, headgear bottom grants pressure). Am I missing anything? How do I enable one item to grant multiple skills triggered?
  7. I was searching for NPCs that warp to Prontera. Suddenly, I found this piece of code. (npc/cities/yuno.txt) Breaking the immersion in RO lol. Stop being manipulated by virtual reality! Found it funny. Heh I love our community.
  8. Try to be more clear with your question, so that we know at which point you need help with. That way, we can help you better. Which ones are you confident you understand/were able to accomplish? Configuring and using PuTTY to connect to your server machine Installing GDB on your server machine (or checking if it is installed) Running char-server and login-server only. Running map-server through GDB. Reading and analyzing the crash log. Fixing the bug identified by the crash log. Re-compiling your server.
  9. You're having problems because (1) You're using a select function with only one menu option "Game of Thrones", and (2), you do not have balanced braces. Syntax error, expected ) switch(select("Game of Thrones"){ Has 2 open braces ( and only one close brace ) switch(select("Game of Thrones", "Option 2")){ Checking for multiple conditions You can check for multiple conditions using the conditional operators AND or OR. if (countitem(501) > 0 && countitem(601) > 0) { mes "You have red potion AND fly wing at the same time!"; } if (countitem(501) > 0 || countitem(601) > 0) { mes "You have red potion or a fly wing... or BOTH!"; } See doc/script_commands for a full guide on NPC and item scripting.
  10. @trickyloki3 Yes, I do mean comparing for the different flavor text. The last message you wrote was asking for help with regard to Flavor text, and that's what I was concerned with. The problem: scaling up generation of item descriptions for flavor text Your program is about automation which excites me, but I am not sure how to scale up/automate the Flavor text part. That is big chunk of work you'll need to do to make sure each item's complete description (including flavor text) is reliable. It's either we do checking manually (which Asheraf, Zackdreaver, and community contributors already do) or we go with the fundamental idea of your work: automating the item descriptions. I like the path you're taking: automate it. We already have very few volunteers in the community. Better to make good use of their time and automate what we can. We already have existing reliable and high quality datasets for item descriptions (Asheraf, Zackdreaver). We frame the task of item descriptions generation as a dataset generation problem, and the goal is to achieve similar quality as that of the gold standard: Human-processed manually checked item descriptions. To compare the similarity between two things, we need a measure. Coming up with some statistical measure can help you be more confident that your generated item descriptions are indeed semantically equivalent to the item. What good would a statistical measure do? How can it be useful? Having a statistical measure, like edit distance, can allow us to see statistics between the datasets. This is illustrated in an example below: Asheraf Translation vs. trickyloki AutoGen DB to Item Description 15,000 items automatically generated from item_db.conf and item_db2.conf 13,000 items compared between the two data translations. Average edit distance: 4 characters (means that your automatically generated descriptions only vary with asheraf's translation by 4 characters on the average). Zackdreaver Translation vs. trickyloki AutoGen DB to Item Description 15,000 items automatically generated from item_db.conf and item_db2.conf 12,000 items compared between the two data translations. Average edit distance: 12 characters (means that your automatically generated descriptions only vary with zackdreaver's translation by 12 characters on the average. This is curious, and since this is all automated, you can easily query which items had high edit distances and study why they varied, so you can better tailor your description algorithm). In the end, you're not aiming to be perfectly close to Asheraf or Zackdreaver, but to generate not only high quality item script descriptions but also still have reliable flavor text that we all love to read while playing RO. These are only ideas and suggestions; it is your project sir, and I wish you all the best. Thank you for your generous contribution to the community!
  11. You're talking about hyperlinks in the programming language HTML. <a href="https://www.google.com">Click me to go to Google</a> Good luck! Note: Also, this thread should be under Third Party Programs Support, not Client Support.
  12. I recommend using my fork of User Feefty's Flux CP Addons VoteForPoints. He last updated his code in 2015. I've fixed some bugs and tested that it works as of this date (Dec 2018). https://github.com/darrensapalo/FluxCP_Addons-VoteForPoints
  13. Portuguese Esse addon foi enviado em 2012 e atualizado em 2012. Eu recomendo usar o User Feefty Vote no Point Flux CP Addon que ele atualizou pela última vez em 2015. No entanto, sua cópia do código ainda apresenta alguns problemas relatados por vários usuários (1, 2). Eu recomendo usar o fork do código dele, que testei e funciona a partir desta data (dezembro de 2018). https://github.com/darrensapalo/FluxCP_Addons-VoteForPoints Perdoe-me, eu uso o Google Translate. English That addon was uploaded on 2012, and updated in 2012. I recommend using User Feefty's Vote for Point Flux CP Addon which he last updated in 2015 . However, his copy of the code still has some problems reported by various users ( 1 , 2 ). I recommend using my fork of his code , which I have tested and works as of this date (December 2018).