Samuel
-
Content Count
397 -
Joined
-
Last visited
-
Days Won
20
Posts posted by Samuel
-
-
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
-
21 minutes ago, meruem said:Is it possible for example. Every person to register on my control panel will enter a "code"? The code is from the one who recruited her/him on my server.
Yes that's possible. I've seen this system before, referral system for fluxcp but it's not free.
-
-
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
-
Dito bro
-
4 hours ago, Woli said:Is it possible? Do you guys have some pointers for me to look at? Thanks.
https://github.com/HerculesWS/Hercules/blob/stable/doc/sample/npc_extend_shop.txt#L213
-
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)
//============================================================
-
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
//============================================================evilpuncker reacted to this -
-
@meruem you just need to add
+
OnClock0800 for example, not the whole L_start and L_end label
And don't do 1855 start then 1856 end, 1 min event?
-
-
2 minutes ago, Kuroyama said: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; }
-
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
QuoteHow to configure the time:
L_start: <-- the label to start the event
change OnClock2000: into OnSat2000: to start this event on Saturday 8pmL_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 minutesJust 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
-
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.
-
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
-
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.
maybe add a mapflag check that hit-delay will not work in gvg maps
-
2 minutes ago, Woli said:Can I manually reload them?
maybe make a bindcommand that will trigger this
-
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. -
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.
Hope you find the culprit
-
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
-
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.
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
-
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.
-
Quoteprontera,147,166,5 pointshop Hourly Rewards Shop 667,#HourlyRewards,7179:1,7179:10,7179:15,7179:1,7179:200
change that shop into something like this
https://github.com/HerculesWS/Hercules/blob/stable/doc/sample/npc_trader_sample.txt#L24
-
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 😁
Flux cp referral registration code
in Website Support
Posted
That's alright, take small steps and learn. 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.