Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 05/06/19 in all areas

  1. 4 points
    4144

    Some new hercules features

    Display group (titlte) and icon for mobs, homunculus, npc, mercenaries For set icon in some way need get bl_id of npc, mob etc and call function: Set icon setunitdata(GID, UDT_GROUP, ID) Icon files stored in directory data/texture/유저인터페이스/group/group_ID.bmp Where GID is bl id of being, ID is icon id. Example for npc: setunitdata(getnpcid(), UDT_GROUP, 3); It will use this image: data/texture/유저인터페이스/group/group_3.bmp Set group setunittitle(GID, group_name); Where group_name is any name what you want assign to group Example for npc: setunittitle(getnpcid(), "Hercules"); Sample images Works from versions: ragexe from 20180207, ragexeRE from 20171129, ragexe_zero from 20171130
  2. 2 points
    KirieZ

    Random Options on Monster Drops

    As of Release v2019.05.05 you can now create groups of random options that may be assigned to items dropped by monsters. In order to use it you must first create an Option drop group in db/option_drop_groups.conf, one group will set how each option slot is filled, the chance of it getting filled, etc. Each group has the following structure: <Group Name Constant>: ( { // Option Slot 1 Rate: (int) chance of filling option slot 1 (100 = 1%) // Possible options for slot 1 // min/max value : int, defaults to 0 // chance : int, 100 = 1% if not set, will be 100%/number of possibiltiies OptionName: value // or OptionName: [min value, max value] // or OptionName: [min value, max value, chance] // ... (as many as you want) }, // ... (up to MAX_ITEM_OPTION) ), Details about this file may be found on Hercules' docs (doc/option_drop_group.md). This is an example group called MYGROUP: MYGROUP: ( { /* Option Slot 1 */ Rate: 10000 /* It has 100% of chance of being filled */ /* This slot may have one of the following options: */ WEAPON_ATTR_WIND: 5 /* WEAPON_ATTR_WIND Lv5 (33.33%) */ WEAPON_ATTR_GROUND: [2, 4] /* WEAPON_ATTR_GROUND Lv 2~4 (33.33%) */ WEAPON_ATTR_POISON: [1, 4, 8000] /* WEAPON_ATTR_POISON Lv 1~4 (80%) */ }, { /* Option Slot 2 */ Rate: 5000 /* It has 50% of chance of being filled */ /* If filled, may have one of the following options: */ WEAPON_ATTR_WATER: 4 /* WEAPON_ATTR_WATER Lv4 (100%) */ } ) Once a group is defined, you can them assign it to monster drops in mob database by using a new syntax that works for both Drops and MvpDrops: AegisName: (chance, "GROUP_NAME") This will set that the item AegisName has chance chance of drop (like we already know from the format already in use), and, when dropped it will get random options as specified by the group GROUP_NAME. For example: Knife: (5000, "MYGROUP") Will make "Knife" be dropped with a chance of 50%, and when dropped it will get options as defined by MYGROUP option group, in other words, the first slot will be filled with Wind, Ground or Poison option, and the second slot may or may not be filled with Water option. This feature should work on any client that supports item random options.
  3. 1 point
    Ridley

    March - April Digest 2019

    March - April Digest 2019 The following digest covers the month of March 1st - April 30th 2019 Team Changes @Mystery is stepping back from his role as Community Administrator. @Ridley is taking the role as Community Administrator Development Highlights Added configuration to enable/disable achievement system (#2170) Updated packets, shuffle packets, keys and messages up to 2019-04-03 and added packet CZ_STYLE_CLOSE (#2406) Server is now sending Ping packets or clients 20190320 RE+ Add chat command /resetcooltime Add allow call option Open macro ui in client by request Developmental Changes getinventorylist now creates extra variable named @inventorylist_idx, which returns items corresponding inventory index. (#2401) *gettimestr is now updated by *getcalendartim (#2388) change *rand() into *rnd() to prevent certain compiler issues (#2403) Deprecate *petstat and add CONSTANTS to *getpetinfo (#2398) Rename clif_charnameack into clif_blname_ack Add new server define constant MAX_ITEM_ID (#2367) Add optional parameter for *showscript to send target to SELF only (#2415) Improvents on RoDex (#2437) Add account id and char id into inter server rodex update packet Improve get zeny and items from rodex Automatically migrate pets to the new system that keeps hatched eggs in the inventory (#2428) Bug Fixes Fix UDT_LEVEL when show_mob_info level display is on (#2408) Fix pet autofeed feature (#2417) Fiix a bug when loading mob_skill_db.sql (#2416) Add missing enum value for clif_feel_req Fix possible null pointers in battle.c and clif.c Fix @bodystyle crash client (#2402) Special thanks to @Haru @4144 @hemagx @AnnieRuru @louisplag @KirieZ
×
×
  • Create New...

Important Information

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