Habilis

Members
  • Content count

    215
  • Joined

  • Last visited

  • Days Won

    17

Habilis last won the day on June 26

Habilis had the most liked content!

5 Followers

About Habilis

Contact Methods

  • IRC Nickname
    Habilis

Profile Information

  • Gender
    Male
  • Location:
    Montreal, Canada
  • Interests
    Doing stuff...
  • Emulator:
    Hercules

Recent Profile Visitors

1694 profile views
  1. Was looking for a sprite of a big board. found it with a girl standing in front of it... And fixed it a little bit This might be a release if there is a demand for it. I got another Briliant idea, custom FastTravel system just like in modern games. to be able to fast travel to a location, a player needs to discover that location first. Come to the location and do a quest (or pay) on that location to "open it" and this location will appear in the list of locations available for fast travel. There is a very nice NPC already. That I'm going to call FastTravel
  2. I had this issue with campfires and stuff When you dupe you gottta create a unique NPC name ex from my CampFire NPC sprintf("Campfire#CF_%d", getcharid(CHAR_ID_CHAR)) then you can do setd and getd of setd(sprintf("[email protected]_%d", [unique identifier]))
  3. event

    It is an item so these functions be of help to you if(countitem(.RequiredItem_id) >= .RequiredItem_qty) and delitem(.RequiredItem_id, .RequiredItem_qty);
  4. Linux i. Make sure mapcache in plugins in src/plugins/makefile.in ii. Make sure that in conf/plugins.conf "HPMHooking", - is not commented (remove // before) iii. Make plugins 0. Define datafolder in conf/grf-files.txt ex : data_dir: /home/hercuser/Hercules/conf/client_data 1. Add ".gat", ".gnd", ".rsw" files to clients data folder AND /home/hercuser/Hercules/conf/client_data. 2. Edit "mapnametable.txt" and "resnametable.txt" files in clients data folder AND /home/hercuser/Hercules/conf/client_data. 3. Edit "map_index.txt" in db folder. 4. Edit conf/map/maps.conf 5. cache maps ex: ./map-server --load-plugin mapcache --map prontera 6. Add flags/warps/monsters to the map as a script in npc folder For more information you can read a guide written by Myriad
  5. event

    No, sry, this may not be compatible with rAthena. As this script was developed and released for Hercules community.
  6. After the release of the CampFire I decided to make a fishing game. In the official game Client there are already nice fishes released. So, I gathered all 19 of them. And renamed them to English. There is also a very nice NPC sprite in the official Client I borrowed fishing rod sprites from some other server The problem with official fishing rods, is that, they look surprisingly like Whips... http://ratemyserver.net/index.php?iname=fishing+rod&page=re_item_db&quick=1&isearch=Search I made them wearable and double handed. Then, I found the most interactive fishing game script. Unfortunately, this script is written for rAthena and has major logic issues. But, I managed to make it work on Hercules. Work In Progress... Work In Progress... What is the Ide of Fishing game 3 different fishing rods obtainable by quest Wooden, bamboo, metallic fishing rood with different properties modifying the fish catching process Metallic Fishing Rod can be refined (for better modificators) there is also a 1% risk of losing the Fishing Rod on failure Player can catch Junk - Common item such as Empty Bottle, Jeloppy, Fluff, etc. Item - Not common item that can be fished out of the weater Shoes, Boots, Old Blue Box, Etc. Fish - Very Common (One of the Fishes displayed above) Mermaid - Common , WTF moment, Mermaid will cast a Heal or buff on you and disappear. Fish monster - Not Common, Player Fished out of the water an aggressive monster. (Marc, Swordfish) I'm also planning to give Experience. There will be diffirent fishing spots Around prontera - Fishing spots for beginners, require the wooden fishing rod, lake, river fish can be fished there. Alberta / Comodo - Intermediate fishing spots, require Bamboo fishing rod, Ocean, sea fish can be fished there. (Higher chance to fish out fish monster) Izlude Island (Turtle island) - Advanced fishing spots require Metalic fishing rod, Giant, Legendary fish can be fished there.
  7. games

    There is a small problem some clients cant display it if inside a folder inside /illust But works good if directly inside /illust My client won't ex: /illust/hpbar/0.bmp [won't work] ex: /illust/0_hpbar.bmp [Works]
  8. No, you don't need to be root, the user executing this command, needs to have rights on the folder...
  9. put the output of the commands whoami ls -la maps/pre-re/
  10. Hi, Should be Fixed.
  11. View File [NPC] Campfire to regenerate HP/SP Originally: There is a nice contribution from Meko on that subject, Menhir (Big rock that possesses magical powers and able to restore Health and Energy of Seekers resting/meditating nearby) Thanks, Meko! But, I thought to myself, well, that is wonderful, but why not make it portable? The Idea: An element of role play, a way to add functionality to the item 7035 - Matchstick, To light a Camp Fire. A Camp Fire is a portable temporary regeneration NPC. OW, and it is configurable ;). Camp Fire to restore / regenerate HP & SP. When you sit by the Camp Fire, you start feeling the warmth and the comfort, thus your HP & SP begin to regenerate. Mechanics : A phosphorus tipped stick that can be used to start a fire. (Now Indeed ) When you use the item Matchstick in your inventory, it will spawn a duplicate of the NPC called Camp Fire. This will help you when you are in the field, farming, grinding, starting a Camp Fire will help you rest. - You need to sit close to the Camp Fire (3 cells ) to feel the warmth. - Anyone can sit by your Camp Fire and rest. - Camp Fire lasts 2-3 minutes. - Need to sit for at least some time to begin feeling the warmth and comfort. - you cannot start a fire within 5 cells of another NPC - If you use a match one more time, old Camp Fire disappears and a new one appears. I think it will add an element of roleplay and romanticism to the gameplay. Installation : To be able to use this script you need a plugin npc-duplicate.c https://github.com/dastgirp/HPM-Plugins/blob/master/src/plugins/npc-duplicate.c Install & enable this plugin This script uses a relatively new NPC sprite at the moment of writing this release. 4_BONFIRE Therefore, you may have to edit the Hercules source to allow for this new NPC To the /db/constants.conf add this line: 4_BONFIRE: 10252 In the /src/map/npc.h change this line: #define MAX_NPC_CLASS2_END 10800 This will allow for way more NPCs Save and recompile Hercules. In the client you may not have this NPC But luckily for you, I've included with this release a data.zip archive containing the NPC sprite and the sound of striking a matchstick. Just add it to your GRF or data folder if you use data folder. In the client Lua Files make sure you have this NPC sprite LuaFiles514/Lua Files/Datainfo/NPCIdentity.lub JT_4_BONFIRE = 10252, LuaFiles514/Lua Files/Datainfo/jobName.lub [jobtbl.JT_4_BONFIRE] = "4_bonfire", In the /db/re/item_db.conf or /db/pre-re/item_db.conf find Id: 7035 and add these 3 attributes Type: 2 Delay: 3000 Script: <" callfunc("F_CreateCFDup"); "> Submitter Habilis Submitted 06/22/18 Category Utility  
  12. Version 1.0.0

    60 downloads

    Originally: There is a nice contribution from meko on that subject, Menhir (Big rock that possesses magical powers and able to restore Health and Energy of Seekers resting/meditating nearby) Thanks, meko! But, I thought to myself, well, that is wonderful, but why not make it portable? The Idea: An element of role play, a way to add functionality to the item 7035 - Matchstick, To light a Campfire. A Campfire is a portable temporary regeneration NPC. OW, and it is configurable ;). Campfire to restore / regenerate HP & SP. When you sit by the Campfire, you start feeling the warmth and the comfort, thus your HP & SP begin to regenerate. Mechanics : A phosphorus tipped stick that can be used to start a fire. (Now Indeed ) When you use the item Matchstick in your inventory, it will spawn a duplicate of the NPC called Campfire. This will help you when you are in the field, farming, grinding, starting a Campfire will help you rest. - You need to sit close to the Campfire (3 cells ) to feel the warmth. - Anyone can sit by your Campfire and rest. - Campfire lasts 2-3 minutes. - Need to sit for at least some time to begin feeling the warmth and comfort. - you cannot start a fire within 5 cells of another NPC - If you use a match one more time, old Campfire disappears and a new one appears. I think it will add an element of roleplay and romanticism to the gameplay. Installation : To be able to use this script you need a plugin npc-duplicate.c https://github.com/dastgirp/HPM-Plugins/blob/master/src/plugins/npc-duplicate.c Install & enable this plugin This script uses a relatively new NPC sprite at the moment of writing this release. 4_BONFIRE Therefore, you may have to edit the Hercules source to allow for this new NPC To the /db/constants.conf add this line: 4_BONFIRE: 10252 In the /src/map/npc.h change this line: #define MAX_NPC_CLASS2_END 10800 This will allow for way more NPCs Save and recompile Hercules. In the client, you may not have this NPC But luckily for you, I've included with this release a data.zip archive containing the NPC sprite and the sound of striking a matchstick. Just add it to your GRF or data folder if you use data folder. In the client, Lua Files make sure you have this NPC sprite LuaFiles514/Lua Files/Datainfo/NPCIdentity.lub JT_4_BONFIRE = 10252, LuaFiles514/Lua Files/Datainfo/jobName.lub [jobtbl.JT_4_BONFIRE] = "4_bonfire", In the /db/re/item_db.conf or /db/pre-re/item_db.conf find Id: 7035 and add these 3 attributes Type: 2 Delay: 3000 Script: <" callfunc("F_CreateCFDup"); "> Configuration: It is a configurable script All of the parameters are explicitly commented for a better understanding of the rules .refillHP_rate = 15; // number of HP to give every refill .refillSP_rate = 5; // number of SP to give every refill .refill_distance = 3; // max distance from fire HP/SP regeneration will work .camp_fire_delay = 5; // Skip how many ticks before feel warm ;) .refill_timer = 300; // wait rand(X) ms before refil Feel free to adjust to your server needs [email protected]_distance = 5; // How far from other NPCs allowed to make fire. [email protected]_duration = 1000 * 60 * 3;// 3 minutes (How long will the Campfire last, in ms)
  13. Here is the pre-releae version. anyone, who feel like it, can contribute! prt_fild08,138,364,0 script Camp Fire#CF 4_BONFIRE,{ end; OnRefill: getmapxy([email protected]$, [email protected], [email protected], UNITTYPE_PC); getmapxy([email protected]_map$, [email protected]_x, [email protected]_y, UNITTYPE_NPC); if ([email protected]$ != [email protected]_map$ || distance([email protected]_x, [email protected]_y, [email protected], [email protected]) > .refill_distance || !(issit())) { @camp_fire_regen = 0; @camp_fire_tick = 0; end; } if(@camp_fire_regen == 1) { heal(.refillHP_rate, .refillSP_rate); } else { if(@camp_fire_tick >= .camp_fire_delay) { @camp_fire_regen = 1; @camp_fire_tick = 0; dispbottom("You are feeling warm and cozy."); } else { @camp_fire_tick++; } } end; OnTimer500: getmapxy([email protected]_map$, [email protected]_x, [email protected]_y, UNITTYPE_NPC); [email protected] = getunits(BL_PC, [email protected][0], false, [email protected]_map$, ([email protected]_x - .refill_distance), ([email protected]_y - .refill_distance), ([email protected]_x + .refill_distance), ([email protected]_y + .refill_distance)); for ([email protected] = 0; [email protected] < [email protected]; [email protected]) { addtimer(rand(.refill_timer), strnpcinfo(NPC_NAME) + "::OnRefill", [email protected][[email protected]]); } initnpctimer(); end; OnRemoveDup: deltimer(strnpcinfo(NPC_NAME) + "::OnRefill"); stopnpctimer(); duplicateremove(strnpcinfo(NPC_NAME)); end; OnInit: .refillHP_rate = 15; // number of HP to give every refill .refillSP_rate = 5; // number of SP to give every refill .refill_distance = 3; // max distance from fire HP/SP regeneration will work .camp_fire_delay = 5; // Skip how many ticks before feel warm ;) .refill_timer = 300; // wait rand(X) ms before refil initnpctimer(); } function script F_CreateCFDup { [email protected]_distance = 5; // How far from other NPCs allowed to make fire. [email protected]_duration = 60000; //180000; // 3 minutes (How long will the Camp fire last) [email protected]_char_id = getarg(0); attachrid([email protected]_char_id); getmapxy([email protected]$, [email protected], [email protected], UNITTYPE_PC); if(getmapxy([email protected]_mapname$, [email protected]_mapx, [email protected]_mapy, UNITTYPE_NPC, sprintf("Camp Fire#CF_%d",[email protected]_char_id)) == 0) { deltimer(sprintf("Camp Fire#CF_%d::OnRemoveDup", [email protected]_char_id)); duplicateremove(sprintf("Camp Fire#CF_%d", [email protected]_char_id)); } if(getunits(BL_NPC, [email protected][0], false, [email protected]$, ([email protected] - [email protected]_distance),([email protected] - [email protected]_distance), ([email protected] + [email protected]_distance), ([email protected] + [email protected]_distance)) > 0) { dispbottom("A fire cannot be started here."); } else { soundeffect ("strike-matchstick.wav",0); duplicatenpc("Camp Fire#CF", "Camp Fire", sprintf("CF_%d", [email protected]_char_id), [email protected]$, [email protected], [email protected], 0); addtimer([email protected]_duration, sprintf("Camp Fire#CF_%d::OnRemoveDup", [email protected]_char_id)); } return(); } Here is in the intem_db.conf { Id: 7035 AegisName: "Matchstick" Name: "Matchstick" Type: 2 Buy: 100 Weight: 10 BuyingStore: true Delay: 15000 Script: <" callfunc("F_CreateCFDup", getcharid(CHAR_ID_CHAR)); "> }, There is still some work to be done.
  14. The animated fire is a relatively new NPC sprite. I've had a little sprite problem. I will add all the instructions on how to add this sprite if you don't have it (Basically instructions how to add a custom NPC, server side & client side) Note that it says in the chat, You are feeling warm and cozy.
  15. Yesterday, after rambles on Discord with Dastgir and Asheraf, I've got another Brilliant Idea for a Release from Habilis! The Idea: Camp Fire to restore / regenerate HP & SP. When you sit by the Camp fire, you start feeling the warmth and the comfort, so your HP & SP begin to regenerate. There is a nice contribution from Meko on that subject Menhir (Big rock that possesses magical powers and able to restore Health and Energy of Seekers) Thanks Meko! So, I thought to myself, well, that is wonderful, but why not make it portable? Because, conveniently, there is this NPC sprite : 4_BONFIREID: 10252 (0x280C) Even more conveniently, there is this item: Matchstick Item ID# 7035 (Matchstick) A phosphorus tipped stick that can be used to start a fire. http://ratemyserver.net/index.php?page=item_db&item_id=7035 Dastgir, suggested using this plugin to make this possible: https://github.com/dastgirp/HPM-Plugins/blob/master/src/plugins/npc-duplicate.c Mechanics : When you use the item Matchstick in your inventory, it will spawn a duplicate of the NPC called Camp Fire. So that when you are in the field, farming, grinding you could rest. - You need to sit close to the Camp Fire (3 cells ) to feel the warmth. - Anyone can sit by your Camp Fire and rest. - Camp Fire lasts 2-3 minutes. - Need to sit for at least 3 seconds to begin feeling the warmth and comfort. - you cannot start a fire within 5 cells of another Camp Fire. - If you use a match one more time, old Camp Fire disappears and a new one appears. I think it will add an element of roleplay and romanticism to the gameplay. (Habilis is a soft, sensitive and romantic type ). Expect the Release sometime soon...