Jump to content

Samuel

Members
  • Content Count

    397
  • Joined

  • Last visited

  • Days Won

    20

Posts posted by Samuel


  1. Just now, meruem said:

    It was too much for me to handle as of the moment. Im just starting learning. 
    Even the terms youve said intimidated me. 😂

     

    That's alright, take small steps and learn. :D Even me is still learning from time to time.

     

    Learn how the scripts and codes works and you can do it as well.

     

    If you're gonna do it yourself, try looking on PVP scripts and addons. See how pvp sql stores in scripts and retrieves values thru addons.


  2. Just now, meruem said:

    Yeah Ive seen it. It cost $25. Do I have an alternative method with my idea above?
    Maybe ingame or something? 

    There are referral scripts before lurking here or in rathena that can be used in game.

     

    If the script stores values thru SQL, you can code your own add on to integrate it with fluxcp


  3. 22 minutes ago, ermit123 said:

    yeah i already use @reloadmobdb 

     

    and i see this on the map server

     

    image.thumb.png.667990f07b119273d0396357184e419c.png

     

    how to fix? and what's lacking? thank you

     

    The last part of your mob_skill db conf seems lacking

     

    End part should be:

    }
    )

     

    Yours is only:

    )

     

    The last  in your code is to close the monster entry


  4. 6 minutes ago, popoytanke said:

    What are the important files in emulator and openserver that needs to be backed up? And what's the best backup software?

    Script files you have edited and custom ones.

    Source files if you have customized some or plugins if you added some.

     

    SQL Backup - mysqldump

    make hourly backup + daily backup


  5. I tried to convert my pull request to disable hp bar on MvP and Emperium into a plugin

     

    Quote

    //===== Hercules Plugin ======================================

    //= Disable HP Bar for MVP/Mini and Emperium

    //===== By: ==================================================

    //=Samuel[Hercules]

    //===== Current Version: =====================================

    //= 1.0

    //===== Compatible With: =====================================

    //= Hercules

    //===== Description: =========================================

    //= Disable HP Bar on MVP

    //= Disable HP Bar on Emperium

    //===== Usage: ===============================================

    //= conf/import/battle.conf

    //= hpbar_emp : 0 (disable) : 1 (enable)

    //= hpbar_mvp : 0 (disable) : 1 (enable)

    //============================================================

     

    hidemobhpbar


  6. Hello everyone!

     

    Just like to release this newly made mapflag I tried to create via plugin.

     

    Quote

    //===== Hercules Plugin ======================================
    //= nobank mapflag
    //= norodex mapflag
    //===== By: ==================================================
    //= Originally by Samuel[Hercules]
    //===== Current Version: =====================================
    //= 1.0
    //===== Compatible With: ===================================== 
    //= Hercules
    //===== Description: =========================================
    //= Disable banks in a certain map
    //= Disable rodex in a certain map
    //===== Usage: ===============================================
    //= alberta <tab> mapflag <tab> nobank
    //= alberta <tab> mapflag <tab> norodex
    //============================================================

     

    nobanknorodex


  7. 1 hour ago, hendra814 said:

    i manage to patch 20200401 client with this nemo, but why all npc not appear in the map?

    what patch should be used?

    this is my picked option

     

    here the captured image in game

    screenrAthena044.thumb.jpg.71a074eb2fb3f1193875d751fd8c2bed.jpg

     

    did you recompile your emulator to use your client date?


  8. 2 minutes ago, Kuroyama said:

    Got this message:

    image.png.7edf98a8419aec29df3264c570b3e126.png

    Sorry didn't see it was a Pre hook

     

    void pc_damage_received(struct map_session_data **sd, struct block_list **src, unsigned int *hp, unsigned int *sp)
    {
    	struct warp_delay_tick *delay_data;
    
    	if ((map_flag_gvg((*sd)->bl.m)) || (map_flag_gvg2((*sd)->bl.m))) {
    		return;
    	}
    
    	if ((delay_data = getFromMSD(*sd, 0)) == NULL) {
    		CREATE(delay_data,struct warp_delay_tick,1);
    		addToMSD(*sd,delay_data,0,true);
    	}
    	delay_data->last_hit = timer->gettick();
    	if (*src)
    		delay_data->who_hit = (*src)->type;
    	else
    		delay_data->who_hit = BL_NUL;
    	return;
    
    }

     


  9. 1 hour ago, meruem said:

    How to add schedule on this koe script. Example I want it to be 2x a day. 1 morning and 1 evening. Can anyone help?

     

     

    I think you should have read Annie's post in that topic

     

    Quote

    How to configure the time:

    L_start: <-- the label to start the event
    change OnClock2000: into OnSat2000: to start this event on Saturday 8pm

    L_end: <-- the label to end the event
    change OnClock2030: into OnSat2030: to end this event on Saturday 8:30pm,
    effectively makes this event runs 30 minutes

     

    Just add OnClock label on both L_start and L_end to add another time

     

    L_start:
    --Add another Starting time here
    OnClock2000: // everyday 8pm starts
    
    
    L_end:
    --Add another Ending time here
    OnClock2030: // everyday 8:30pm ends

     

    Just make sure that starting time will not overlap with ending time as well


  10. 2 hours ago, Kuroyama said:

    That's a great idea. Can you help me how to?

     

    Try this, haven't tested yet

     

    void pc_damage_received(struct map_session_data **sd, struct block_list **src, unsigned int *hp, unsigned int *sp)
    {
    	struct warp_delay_tick *delay_data;
    
    	if ((map_flag_gvg(sd->bl.m)) || (map_flag_gvg2(sd->bl.m))) {
    		return;
    	}
    
    	if ((delay_data = getFromMSD(*sd, 0)) == NULL) {
    		CREATE(delay_data,struct warp_delay_tick,1);
    		addToMSD(*sd,delay_data,0,true);
    	}
    	delay_data->last_hit = timer->gettick();
    	if (*src)
    		delay_data->who_hit = (*src)->type;
    	else
    		delay_data->who_hit = BL_NUL;
    	return;
    
    }

     

    Replace the pc_damage_received function with that.

     

    Back it up first before replacing.

     


  11. 20 minutes ago, popoytanke said:

    Okay. I started from the scratch and the only modification I made is enabling NPCs (healer, warper, etc). And I'm trying to add zeny (@zeny 10000), nothing happens and my character is moving, menu options (exit to windows, change character, etc) are not working.

    Maybe client side? What client date are you using? 

     

    Try using this translation for your data files


  12. 23 hours ago, Kuroyama said:

    Does anyone knows how to enable enter portal while being attacked? I try any alternatives but I got no luck. Hit-delay is also affecting ecall and emperium break warp out. I really really wanted to use this hit-delay because its so smooth to use and helpful but I got no choice but to disable it because of these further issues. I hope someone could help me with this.

     

    image.png.18ddd32df5653e250db4b70ffd04154a.png

    maybe add a mapflag check that hit-delay will not work in gvg maps


  13. Just now, Woli said:

    I thought they were supposed to send you to the castle if you belong to the guild in question. If they dont I'll just duplicate the flags in front of the castles and put them in town in place of the other ones.

    Thanks!

    Haha, it's been a long time since I played RO, I don't know if that's the official use of those flags.

    anyway, if the inside flag does that, yes you could duplicate them instead.


  14. 2 minutes ago, popoytanke said:

    I made A LOT of modifications. And I just realize that maybe I really fcked up the files so I will try it from the scratch again and hope to resolve the issue.

    could be caused by one of those A LOT source modifications. :D

     

    Hope you find the culprit


  15. 4 minutes ago, Woli said:

    Hi, the guild flags in Prontera don't work, when clicking on it nothing happens. It's possibly the same thing for other towns but didn't test it, I only have a castle in Pront.

    Another thing is I have no treasure chest randomly, sometimes they spawn sometimes they don't and I'm not sure what causes that.

     

    I tried starting the server with

    ./athena-start start &> file.logs

    
    ./athena-start start &> file.logs

     to look for errors, but no errors showed up.

     

    What should flags do? AFAIK, it will just show guild emblem of the guild that occupies the castle.

     

    sample npc script for guild flags located in town

     

    If you use @reloadscript, treasure chest will be gone if i remember it correctly


  16. 1 hour ago, popoytanke said:

    Can someone help me to fix this bug? It happens when a player is trying to buy and/or sell item/s. Even typing the @zeny 1000000 gives me the same bug.

     

    https://youtu.be/VjxKTURW15k

     

    Hmmm, please provide more information.

     

    Hercules version?
    Client date used?

    Any console error?

    Did you made any source modification? Or any plugins enabled?

     

    With latest herc without any source modification and plugins enabled, can't reproduce the problem in the video


  17. 1 hour ago, Woli said:

    Hello, I would like to tweak official quests to have party members share kills for the whole map instead of just one screen.

    Example quest: https://github.com/HerculesWS/Hercules/blob/stable/npc/pre-re/quests/collection/quest_alligator.txt

    All I see is `questprogress` calls so I'm not sure where to find this code.

    In your mob.c

     

    Try to replace it with

    map->foreachinmap(quest->update_objective_sub, md->bl.m, BL_PC, sd->status.party_id, md->class_);

     

    Haven't tried it, but I think that should work.


  18. 11 hours ago, meruem said:

    I dont know if this is a correct section to post this?
    But is hercules DEAD?

    No one is answering anymore on discord / scripts section/ db section/ client section and other section that I posted for the past 3-4 weeks.

     

    Im just new to hercules I dont know what happened but is there some kind of anything that happened on the forums why no one is posting and answering anymore? 

    Please enlighten me. 

    Everyone seems busy

     

    Well sometimes you could search rathena forums as well for your questions as they have much active community and if you saw something there that you could use/convert for your herc emulator.

     

    I don't think herc is dead, the progress is just slow or very slow but it is very stable.

     

    Hope the community/forum will be active again 😁

×
×
  • Create New...

Important Information

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