Jump to content

Virtue

Members
  • Content Count

    259
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Virtue


  1. Showcasing my little project. The Worldmap UI inside the client is a nice feature which is not really used much. I tried looking around for something to let me use it, but unfortunately, there's little to no information about it. After tinkering and figuring out how it works, I've managed something.

     

    Here's a little sneak peak:

     

    Video Preview:


    Screenshots:

    Spoiler


    w6TlWFu.png

     

    VfnbbIa.png

     

    8ME7RiT.png

     

    ZkBQPG7.png

     

     

    The one shared above is centered in Episode 5: Yuno, but I've already got it lined up for the other episodes where the default one is not really matching / usable.

    The average level when show mob is selected is also not included in the preview. This works alongside the navigation feature.

    Some of the colors in the UI were also changed due to my preference, but it's also customizable.

     

    Special thanks to @Vy Low for letting me use his worldmap.jpeg.


  2. Looks like Sonic Blow Animation was removed along the way. Does anyone have any idea on how to bring it back? I think this was done both client side and server side.

     

    With Animation:

     

    but there's no animation on mine, tried clients with and without gepard. I'm getting this 


  3. Were you able to work this out? I'm using the same client and getting the same issue.

     

    EDIT: After asking & looking around, I found out that this is due to gravity changing how ground skills work. I was able to confirm that gepard has a module to fix this.


  4. Hi, we have a small team looking to create an awesome community in the private server scene. We understand that people have different needs and wants. We want to meet them in the middle. The following are the rates we've decided upon and the episode as to which the server will be using on launch. The server will be set on pre-renewal classic only.

    • Max Level: 99/70
    • Stats: 99
    • Max ASPD: 190
    • The Episode 9: Rebirth
    • Rates : 5x/5x/3x
    • Card Drops: 1%
    • Party Capacity: 20
    • Guild Capacity: 26 (1 Guildmaster + 25 Guildmembers)
    • Mini/MVP Cards will be disabled.

    We've decided to modify the guild capacity to promote guild engagement in the long run. We'll need help in setting/removing the items or things that aren't available on the said episode. We'll also release further episode depending on the server's timeline in the future.

     

    We've already have some experience in handling servers but not too much of a community(Max is around 200+ players) and we're looking forward to having more with everyone. We don't plan on having a p2w server. This would be focused on quests/activities. Donations will all be used for server maintenance and improvements. Full on cosmetic rewards.

     

    You may want to tell your friends and guildies. If you want to join the alpha & beta which would be decided upon soon, you may keep in touch with us here or on Discord use mine or contact Tyr#9561 :)


  5. 5 hours ago, 4144 said:

    you cant change packet size, without updating size in client also.

    Issue here because constant MAX_QUEST_OBJECTIVES used in server internals and in packet.

     

    second error probably because you not compiled char server with changed constant?

    In other words if change hercules in some way, in server side you can get more objectives, but client this not see extra objectives in all or some cases.

    I tried playing with it, the server has been recompiled and all. the default setting for max quest objectives is 3. but you can only put around 2 objectives. same thing happens with a clean src and putting in the 3 quest objectives


  6. There's one included in Herc. 

    \npc\custom\etc\floating_rates

    just set it up to your preferred time.

    OnInit:
    //add any other HOURS
    OnHour00:
    OnHour06:
    OnHour12:
    OnHour18:

    Then the rates here:

    //-------------------
    	set $@brate,rand(100,150);
    	set $@jrate,rand(100,150);
    	set $@drate,rand(100,150);
    	//Base exp
    	setbattleflag("base_exp_rate",$@brate);
    	//Job exp
    	setbattleflag("job_exp_rate",$@jrate);
    	//Drops
    	setbattleflag("item_rate_common",$@drate);
    	setbattleflag("item_rate_heal",$@drate);
    	setbattleflag("item_rate_use",$@drate);
    	setbattleflag("item_rate_equip",$@drate);
    	//we don't change card drops rate, because these values won't change them anyway

     


  7. 7 hours ago, AnnieRuru said:
    
    	// Build the Menu.
    	setarray .@costume, EQI_COSTUME_HEAD_TOP, EQI_COSTUME_HEAD_MID, EQI_COSTUME_HEAD_LOW, EQI_COSTUME_GARMENT;
    	.@menu$ = "";
    	for (.@i = 0; .@i < getarraysize(.@costume); ++.@i)
    		.@menu$ += ((getequipisequiped(.@costume[.@i])) ? getequipname(.@costume[.@i]) : "" + .@costume[.@i] + "-[Not equipped]") + ":";
    	// Select the part.
    	.@equip_index = .@costume[ select(.@menu$) -1 ];

     

    Thanks @AnnieRuru will check on this after work and errands :)


  8. 27 minutes ago, KirieZ said:

    What about this?

    
    	setarray(.@costume[1], EQI_COSTUME_HEAD_TOP, EQI_COSTUME_HEAD_MID, EQI_COSTUME_HEAD_LOW, EQI_COSTUME_GARMENT);
    	.@menu$ = "";
    	for (.@i = 1; .@i < getarraysize(.@costume$); ++.@i)
    		.@menu$ += ((getequipisequiped(.@i)) ? getequipname(.@costume[.@i]) : "" + .@costume[.@i] + "-[Not equipped]") + ":";
    	// Select the part.
    	.@equip_index = select(.@menu$);

     

    doesn't work as intended. 


  9. 3 hours ago, AnnieRuru said:

    I also don't understand what your question is
    you claimed the script doesn't work, but I just tested it working fine .... of course only for the non-costume equipment

    
    	// Build the Menu.
    	setarray(.@position$[1], "Head", "Body", "Left Hand", "Right Hand", "Robe", "Shoes", "Accessory 1", "Accessory 2", "Head 2", "Head 3");
    	.@menu$ = "";
    	for (.@i = 1; .@i <= 10; ++.@i)
    		.@menu$ += ((getequipisequiped(.@i)) ? getequipname(.@i) : .@position$[.@i] + "-[Not equipped]") + ":";
    	// Select the part.
    	.@equip_index = select(.@menu$);

    if you want to extend to costume area, this part has to modify

    Yes it works for the normal equipments, but how do I make it so just for the costumes?


  10. Spoiler
    On 4/10/2017 at 2:29 PM, Smoke said:

    Introducing the Item Options System!

     

    k3TrEvc.png

     

    Commit

    https://github.com/HerculesWS/Hercules/commit/974222a8d3f189083205bf5d330de04a43226ad3

     

    Feature Information

    The Item Option System is a feature that was implemented in 2015-02-26 clients, allowing equipments to have up to 5 additional effects similar to cards or enchants. Each equipment is capable of having 5 information bars above the card slot/enchant bar that describes the effect of the option it is infused with.

     

    New Script Commands (The following snippet is available in doc/script_commands.txt.)

    
    
    *getequipisenableopt(<equipment slot>)
    
    This function checks if the equipped item allows the use of bonus options.
    
    Returns 1 if allowed, 0 if not.
    
    ---------------------------------------
    
    *getequippedoptioninfo(<info_type>);
    
    This function is to be used with the scripts of contents listed in
    db/item_options.conf only.
    
    Returns the value of the current equipment being parsed.
    If the equip was not found or the type is invalid, -1 is returned.
    
    ---------------------------------------
    
    *getequipoptioninfo(<equip_index>,<slot>,<type>);
    
    Gets the option information of an equipment.
    
    <equipment_index> For a list of equipment indexes see getequipid().
    <option_slot> can range from 1 to MAX_ITEM_OPTIONS
    <type> can be IT_OPT_INDEX (the ID of the option bonus, @see "Id" or "Name" in db/item_options.conf)       or IT_OPT_VALUE (the value of the bonus script of the equipment, @see "Script" in db_item_options.conf).
    
    returns the value of the slot if exists or -1 for invalid slot, type or slots.
    
    ---------------------------------------
    
    *setequipoption(<equip_index>,<slot>,<opt_index>,<value>);
    
    Set an equipment's option index or value for the specified option slot.
    
    <equipment_index> For a list of equipment indexes see getequipid().
    <option_slot> can range from 1 to MAX_ITEM_OPTIONS
    <type> can be IT_OPT_INDEX (the ID of the option bonus, @see "Id" or "Name" in db/item_options.conf)
    <value> The value of the type to be set.
    
    returns 0 if value couldn't be set, 1 on success.

     

     

    Release Notes

    • This system allows the infusing of equipments with bonus item options.
    • This feature is constrained to clients of packet versions greater than or equal to 20150226.
    • Item Options and their effects are defined server-side in db/item_options.conf and client side in data/luafiles514/lua files/datainfo/addrandomoptionnametable.lub
    • The ID of the option must tally with the correct index of the description provided in the client side file.
    • IT_OPT_* keys and MAX_ITEM_OPTIONS macro are also exported from the source as constants.
    • If you wish to disable item options for certain (equipment) items, an additional flag `disable_options` has been added to the item sql tables, and as `DisableOptions: true/false (boolean, defaults to false !!for equipments only!!)` to the item_db.conf files.
    • Documentation is provided for script commands.
    • If upgrading, don't forget to run the sql upgrade files!


    Credits

    A big thanks to all the reviewers that helped make the code closer to perfection. -

    EmistrydastgirMishimaHarunaJedzkieRidley8819Asheraf4144.

     

    Style and Script Fixes by Asheraf (https://github.com/Asheraf)
    Initial design Idea in rAthena commit.

    Looking for scripts for this, Item options for all equipments / costumes slots. no sample script located. I found two of them but it's outdated. will try and modify my thread after work.

    Demo NPC from Utility

    One from Scripting support

     

    TLDR: I tried using the one from the DEMO NPC from the utility section and tried to modify the menu to just show costumes side but I get this.

    script:

    	setarray(.@costume$[1], EQI_COSTUME_HEAD_TOP, EQI_COSTUME_HEAD_MID, EQI_COSTUME_HEAD_LOW, EQI_COSTUME_GARMENT);
    	.@menu$ = "";
    	for (.@i = 1; .@i < getarraysize(.@costume$); ++.@i)
    		.@menu$ += ((getequipisequiped(.@i)) ? getequipname(.@i) : .@costume$[.@i] + "-[Not equipped]") + ":";
    	// Select the part.
    	.@equip_index = select(.@menu$);

    roTC1Me.png

×
×
  • Create New...

Important Information

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