Samuel
Members-
Content Count
397 -
Joined
-
Last visited
-
Days Won
20
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Samuel
-
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.
-
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
-
Yes that's possible. I've seen this system before, referral system for fluxcp but it's not free.
-
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
-
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
-
Use OnSellItem with custom prices without altering item_db
Samuel replied to Woli's question in Script Support
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 hidemobhpbar
-
Hello everyone! Just like to release this newly made mapflag I tried to create via plugin. nobanknorodex
-
did you do @reloadmobdb? and any error in map server?
-
@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?
-
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; }
-
I think you should have read Annie's post in that topic 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
-
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.
-
Maybe client side? What client date are you using? Try using this translation for your data files
-
maybe add a mapflag check that hit-delay will not work in gvg maps
-
maybe make a bindcommand that will trigger this
-
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.
-
could be caused by one of those A LOT source modifications. Hope you find the culprit
-
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
-
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
-
Party kill sharing distance in official hunting quests
Samuel replied to Woli's question in Script Support
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. -
@meruem change that shop into something like this https://github.com/HerculesWS/Hercules/blob/stable/doc/sample/npc_trader_sample.txt#L24
-
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 😁