Jump to content

tedexx

Members
  • Content Count

    79
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by tedexx


  1. How can be added new icons to showevent() function?

     

    *showevent(<icon>{, <mark color>})
    
    Show an emotion on top of a NPC, and optionally,
    a colored mark in the mini-map like viewpoint().
    This is used to indicate that a NPC has a quest or an event to 
    a certain player. 
    
    Available Icons:
    
    Remove Icon	: QTYPE_NONE
    ! Quest Icon	: QTYPE_QUEST
    ? Quest Icon	: QTYPE_QUEST2
    ! Job Icon	: QTYPE_JOB
    ? Job Icon	: QTYPE_JOB2
    ! Event Icon	: QTYPE_EVENT
    ? Event Icon	: QTYPE_EVENT2
    Warg		: QTYPE_WARG
    Warg Face	: QTYPE_WARG2 (Only for packetver >= 20120410)
    
    Mark Color:
    0 - No Mark
    1 - Yellow Mark
    2 - Green Mark
    3 - Purple Mark
    

     


  2. Are any of those events viable to Hercules? I don't know much about the event trigger workflow, wouldn't they be heavy to perform?

     

    - OnPCUseItem: When a player consume an item

    - OnPCGetHit: When a player get hit by something (return the damage taken)

    - OnPCHit: When a player hit something (return the damage dealt)


  3. I'm having an interaction bug that is not default of RO and pretty annoying. It would be impossible to run a production server with that. I think its a core problem with Herc.

     

    - When clicking a NPC that have no mes() function, the npc click event is triggered but the player also walks to the mouse position.

    - When using skill (only one click): The skill is evoked but the player also walks to the mouse position

     

    How can this be fixed?

     

     

    NPC interaction demo (GIF):

    giphy.gif

     

    NPC code: (npctalk2 is only a example, it could be anything besides mes() and it would still happen)

    prt_fild01,280,144,5	script	empty_npc	4W_SAILOR,{
    	npctalk2("why are you walking when clicking me?");
    	end;
    }
    

     

    Skill interaction demo (GIF):

    giphy.gif


  4. Are you sure you're installing the map files right?

     

     

    map_index.txt

    // Haunt
    haunt_e
    haunt_h
    1@haunt
    2@haunt
    

    conf/map/maps.conf

    // Haunt
    "haunt_e",
    "haunt_h",
    "1@haunt",
    "2@haunt",
    
    

     

    resnametable

    [email protected]#haunt_e.gnd#
    [email protected]#haunt_e.gat#
    [email protected]#haunt_e.rsw#
    유저인터페이스\map\[email protected]#유저인터페이스\map\blank.bmp#
    
    [email protected]#haunt_h.gnd#
    [email protected]#haunt_h.gat#
    [email protected]#haunt_h.rsw#
    유저인터페이스\map\[email protected]#유저인터페이스\map\blank.bmp#
    

     

    All files added to map_cache.dat and yet I'm still having problems. I had this problem before trying to use one map as same as another and wasn't able to make it work. Just don't get how it works.

    qPWxCzL.png

    Le05t0O.png

     

     

    Ignoring the map problem, this occurs when starting the solo option (only one tested)

    4XziUN9.png


  5. mob_db.txt update for the new structure of mob data

     

    
    // KoE
    {
    	Id: 2414 
    	SpriteName: "FAKE_EMP"
    	Name: "FAKE_EMP"
    	JName: "FAKE_EMP"
    	Lv: 1
    	Hp: 20
    	Sp: 0
    	Exp: 0
    	JExp: 0
    	AttackRange: 1
    	Attack: [1, 2]
    	Def: 100
    	Mdef: 99
    	Stats: {
    		Str: 0
    		Agi: 0
    		Vit: 0
    		Int: 0
    		Dex: 0
    		Luk: 90
    	}
    	ViewRange: 7
    	ChaseRange: 12
    	Size: "Size_Small"
    	Race: "RC_Angel"
    	Element: ("Ele_Holy", 1)
    	Mode: {
    		CanMove: false
    	}
    },
    
    {
    	Id: 2415 
    	SpriteName: "FAKE_HEART_STONE"
    	Name: "FAKE_HEART_STONE"
    	JName: "FAKE_HEART_STONE"
    	Lv: 1
    	Hp: 20
    	Sp: 0
    	Exp: 0
    	JExp: 0
    	AttackRange: 1
    	Attack: [1, 2]
    	Def: 100
    	Mdef: 99
    	Stats: {
    		Str: 0
    		Agi: 0
    		Vit: 0
    		Int: 0
    		Dex: 0
    		Luk: 90
    	}
    	ViewRange: 7
    	ChaseRange: 12
    	Size: "Size_Large"
    	Race: "RC_Formless"
    	Element: ("Ele_Neutral", 1)
    	Mode: {
    		CanMove: false
    	}
    },
    
    {
    	Id: 2416 
    	SpriteName: "FAKE_DEF_STONE"
    	Name: "FAKE_DEF_STONE"
    	JName: "FAKE_DEF_STONE"
    	Lv: 1
    	Hp: 20
    	Sp: 0
    	Exp: 0
    	JExp: 0
    	AttackRange: 1
    	Attack: [1, 2]
    	Def: 100
    	Mdef: 99
    	Stats: {
    		Str: 0
    		Agi: 0
    		Vit: 0
    		Int: 0
    		Dex: 0
    		Luk: 90
    	}
    	ViewRange: 7
    	ChaseRange: 12
    	Size: "Size_Large"
    	Race: "RC_Formless"
    	Element: ("Ele_Neutral", 1)
    	Mode: {
    		CanMove: false
    	}
    },
    

  6. Bump, anyone guys using this in new revision?

     

    i have no error but my heagear is not converting to costume

     

     

    I made an update to the diff so its compatible with the current version of Hercules (2017-04-05). All credits to the modification goes to @Mhalicot, I just updated for today's source.

     

    I submitted the files to the Download area (not sure if it was the right way to do) and now waiting for the mods approval. Here's the link: http://herc.ws/board/files/file/319-costume-system-20170405/

     

    @Mhalicot

    All good with you?


  7.  

    https://github.com/S...c5f5bc994d174a2

     

    Release of Hercules Battlegrounds 1.0a (alpha)

    - Added base support for battleground statistics (including sql).

    - Completed configurations file and settings.

    - Fixed crashing of map on player logout. (Thanks to those that reported).

    - Cleanup of several code-blocks, optimization and code-styling.

    - Fixed errors thrown by exceeding def/mdef values for pre-re configuration.

    - Fixed data store type mismatch error. (Thanks to those that reported).

    This is the initial alpha and stable release of the Hercules Battlegrounds plugin.

     
    Topic updated.
    Documentation has been moved to the readme section of the repository.
    Thank you to those that tested and submitted core dumps.

     

    Awesome!

     

    Not tested in-game yet, but found fill warning/errors running the server. I submitted a pull request for you for the variable name but the funcion warning i'm not sure if it should be changed.

     

    Variable name:

    h886jUh.png

     

    After start the bg (bgstart or server restart)

    Z2kvtq8.png

     

     

    After @bgstop

    Z0qtdu6.png

     

    Sometimes, not know exacly when, while bg is running:

    Za9A1ga.png

     

     

    jb5hN9e.png

     

    Kafra without information and locking player after click

    b8K210O.png

     

    Dont have the screenshot, but the Emperium is moving (bg_conf "can_move: true") and after a fill minutes hitting the mapserver crashes.


  8.  

    No, only rAthena supports that.

     

    Totally wrong, because this is pure client side. 

     

    >Do we have any client that support it this system? How it works?

     

    http://herc.ws/board/topic/10701-link-item-system/

     

    Not sure but it should be added same time when Summoner Class was added. I used some 2016 clients which already had it.

     

    There was any downside of using 2016 client? The source of hercules today doesnt have support for 2016, right? Where do I find those clients?

     

     

    Starting 2015-11-04

    Where do I find this version?


  9.  

    Sorry, I assumed it was by reading this topic. If not, just ignore me. Will try and if anything goes wrong I post here.

    No problem, please do.

     

    No compiling errors, scripts seems to be working. But got some errors:

     

    - Its conflicting IDs with the current hercules

    - Overflow stats on mobs conf, dont no much about it.

    AZEGGTz.png

     

     

    Maps. I added everything and make sure the resnametable was ok, but mapcache does not find the hbg maps. Even tryed to run mapcache.exe by itself, its looking for the custom files (bat_a03, bat_a04, etc) - not using the originals.

     

    mapserver:

    AtluMJA.png

     

    mapcache.exe:

    1azu2zc.png

     

     

     

    data/resnametable.txt
    [rest of the file]
    
    // hBG
    bat_a03.gnd#bat_a01.gnd#
    bat_a03.gat#bat_a01.gat#
    bat_a03.rsw#bat_a01.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_a03.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_a01.bmp#
    bat_a04.gnd#bat_a01.gnd#
    bat_a04.gat#bat_a01.gat#
    bat_a04.rsw#bat_a01.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_a04.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_a01.bmp#
    bat_a05.gnd#bat_a01.gnd#
    bat_a05.gat#bat_a01.gat#
    bat_a05.rsw#bat_a01.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_a05.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_a01.bmp#
    bat_b03.gnd#bat_b01.gnd#
    bat_b03.gat#bat_b01.gat#
    bat_b03.rsw#bat_b01.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_b03.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_b01.bmp#
    bat_b04.gnd#bat_b01.gnd#
    bat_b04.gat#bat_b01.gat#
    bat_b04.rsw#bat_b01.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_b04.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_b01.bmp#
    bat_b05.gnd#bat_b01.gnd#
    bat_b05.gat#bat_b01.gat#
    bat_b05.rsw#bat_b01.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_b05.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_b01.bmp#
    bat_c04.gnd#bat_c01.gnd#
    bat_c04.gat#bat_c01.gat#
    bat_c04.rsw#bat_c01.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c04.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c01.bmp#
    bat_c05.gnd#bat_c01.gnd#
    bat_c05.gat#bat_c01.gat#
    bat_c05.rsw#bat_c01.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c05.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c01.bmp#
    bat_c06.gnd#bat_c01.gnd#
    bat_c06.gat#bat_c01.gat#
    bat_c06.rsw#bat_c01.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c06.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c01.bmp#
    bat_c07.gnd#bat_c01.gnd#
    bat_c07.gat#bat_c01.gat#
    bat_c07.rsw#bat_c01.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c07.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c01.bmp#
    bat_c08.gnd#bat_c01.gnd#
    bat_c08.gat#bat_c01.gat#
    bat_c08.rsw#bat_c01.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c08.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\bat_c01.bmp#
    schg_cas06.gnd#schg_cas01.gnd#
    schg_cas06.gat#schg_cas01.gat#
    schg_cas06.rsw#schg_cas01.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\schg_cas06.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\schg_cas01.bmp#
    schg_cas07.gnd#schg_cas02.gnd#
    schg_cas07.gat#schg_cas02.gat#
    schg_cas07.rsw#schg_cas02.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\schg_cas07.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\schg_cas02.bmp#
    schg_cas08.gnd#schg_cas03.gnd#
    schg_cas08.gat#schg_cas03.gat#
    schg_cas08.rsw#schg_cas03.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\schg_cas08.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\schg_cas03.bmp#
    arug_cas06.gnd#arug_cas01.gnd#
    arug_cas06.gat#arug_cas01.gat#
    arug_cas06.rsw#arug_cas01.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\arug_cas06.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\arug_cas01.bmp#
    arug_cas07.gnd#arug_cas02.gnd#
    arug_cas07.gat#arug_cas02.gat#
    arug_cas07.rsw#arug_cas02.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\arug_cas07.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\arug_cas02.bmp#
    arug_cas08.gnd#arug_cas03.gnd#
    arug_cas08.gat#arug_cas03.gat#
    arug_cas08.rsw#arug_cas03.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\arug_cas08.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\arug_cas03.bmp#
    rush_cas01.rsw#prtg_cas02.rsw#
    rush_cas01.gat#prtg_cas02.gat#
    rush_cas01.gnd#prtg_cas02.gnd#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\rush_cas01.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\prtg_cas02.bmp#
    rush_cas02.rsw#payg_cas04.rsw#
    rush_cas02.gat#payg_cas04.gat#
    rush_cas02.gnd#payg_cas04.gnd#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\rush_cas02.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\payg_cas04.bmp#
    rush_cas03.rsw#aldeg_cas05.rsw#
    rush_cas03.gat#aldeg_cas05.gat#
    rush_cas03.gnd#aldeg_cas05.gnd#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\rush_cas03.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\aldeg_cas05.bmp#
    rush_cas04.rsw#gefg_cas03.rsw#
    rush_cas04.gat#gefg_cas03.gat#
    rush_cas04.gnd#gefg_cas03.gnd#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\rush_cas04.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\gefg_cas03.bmp#
    region_8.gnd#guild_vs2.gnd#
    region_8.gat#guild_vs2.gat#
    region_8.rsw#guild_vs2.rsw#
    À¯ÀúÀÎÅÍÆäÀ̽º\map\region_8.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\guild_vs2.bmp#
    

  10.  

    I'm trying to add a new map to the server, but must be doing something wrong cus I keep getting "@warp failed" inside the game.

     

    The map: https://rathena.org/board/files/file/2507-doubrius-set/

     

    db/map_index.txt

    doubrius
    

     

    conf/map/maps.conf

    // ...
    "doubrius"
    ) //map_list
    

     

    data folder

    Added files related to the doubrius map (gat, gnd, rsw)

     

    And yes, I eddited mapcache and added the doubrius map. Triplpe check it and its there.

    post-5569-0-57848200-1489623156_thumb.png


  11. Having problems adding the OnPCUseSkill plugin by AnnieRuru.

     

     

     

    The skills are not recognized by the event label.

    The topic says something about OnPCUseSkillEvent.conf, not sure what it is and didnt found nothing about.

     

    - No compiling errors

    - No script errors
     

    :/src/plugins/OnPCUseSkillEvent.c/

    https://github.com/AnnieRuru/customs/blob/master/plugin/OnPCUseSkillEvent.c

     

    :npc

    OnPCUseSkillEvent:
        dispbottom "OnPCUseSkillEvent";
    end;
    

     

    :/conf/plugins.conf

    plugins_list: [
        "HPMHooking",
        "OnPCStatCalcEvent",
        "OnPCUseSkillEvent"
    ]

     

    :/src/plugins/Makefile.in

    MYPLUGINS = OnPCStatCalcEvent OnPCUseSkillEvent
    

     

    PS: OnPCStatCalcEvent is working perfectly.

×
×
  • Create New...

Important Information

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