-
Posts
2,285 -
Joined
-
Last visited
-
Days Won
72
Community Answers
-
Cydh's post in Patch a .diff file on Centos 5.9 32 bit was marked as the answer
u need to shut it down when u recompile it -
Cydh's post in EDP On Renewal was marked as the answer
before, there was RENEWAL_EDP config, so u can turn on/off Renewal EDP even it's on Renewal. but not, it seems if you're in Renewal, you "has been forced" to use Renewal EDP.
if you want play with EDP damage calculation, it's on src/map/battle.c#L3891
-
Cydh's post in Whitesmith Weapon Refine Skill was marked as the answer
src/map/skill.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/map/skill.c b/src/map/skill.c index ad08fb3..23db870 100755 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -15595,6 +15595,7 @@ void skill_weaponrefine (struct map_session_data *sd, int idx) pc_unequipitem(sd,idx,3); } clif_delitem(sd,idx,1,3); + clif_additem(sd,idx,1,0); clif_upgrademessage(sd->fd, 0, item->nameid); clif_inventorylist(sd); clif_refine(sd->fd,0,idx,item->refine); -
Cydh's post in Unlimited Bottle Grenade and Fire Bottle Settings? was marked as the answer
new item with bonus to remove required item. like, a card with bonus desc "This item remove xxxx item from all skills that requires xxxx item" ?
bonus bNoRequireItem,<itemid>; here u go, bNoRequireItem-rA.diff
If you interest to donate instead pay for it. feel free to contact me.
Released on: bSkillNoRequire, bSkillNoRequireItem, bNoRequireAmmo
-
Cydh's post in Q>Where do I add custom items? cant see any item_db2 was marked as the answer
when map-server cannot item_db.txt in db/import, it will copies from db/import-tmpl/item_db.txt, and then there, our old item_db2.txt
If it won't copies, just copy-paste that import-tmpl with new name 'import'
-
Cydh's post in which one, up to date rathena for download was marked as the answer
https://github.com/rathena/rathena
-
Cydh's post in Modification to an existing item in item_db was marked as the answer
0xFFFFFFFF,2 to 0xFFFFFFFF,63
Please read this post related class update
-
Cydh's post in Can't find no vending/chatroom on Prontera was marked as the answer
btw, mapflag was moved to npc/mapflag/, npc/pre-re/mapflag/, npc/re/mapflag/ (since when, I don't remember). You can't found anything on conf/mapflag.
if ur desire mapflag not found, you can add it freely.
add novending.txt file on npc/mapflag add npc/mapflag/novending.txt on npc/scripts_mapflags.conf -
Cydh's post in ASK about disable "@"command on certain maps was marked as the answer
add nocommand maplag for those maps
open npc/scripts_mapflags.conf
add,
npc: npc/mapflags/nocommand.txt
make file nocommand.txt in npc/mapflags
then use this line
guild_vs3 mapflag nocommand pvp_y_1-2 mapflag nocommand pvp_y_2-4 mapflag nocommand pvp_y_2-4 mapflag nocommand pvp_y_2-5 mapflag nocommand -
Cydh's post in Added Costum Map @go, Then skill.c got error was marked as the answer
I mean, your
unsigned short mapindex; change it becomes
unsigned short mapindex = sd->bl.m; or
unsigned short mapindex = 0; -
Cydh's post in @whobuy command? was marked as the answer
try change the
if( pl_sd->buyer_id ) //check if player is autobuying becomes
if( pl_sd->state.buyingstore ) //check if player is autobuying
it because buyer_id problem, on buyingstore.c, this function return 0 for the first buyer.
static unsigned int buyingstore_nextid = 0; static unsigned int buyingstore_getuid(void) { return buyingstore_nextid++; } -
Cydh's post in how to fix this error on code was marked as the answer
got the error msg? lines?
idk which svn changes that gives 1 more param on sc_start, then maybe it should be
sc_start(NULL,&sd->bl, SC_TRICKDEAD, 100, 1, 1000); //Duration does not matters as Trick Dead is "eternal"
-
Cydh's post in ITEM GROUP was marked as the answer
or, on your custom item, inside { Script }, give callfunc that call your function to give random item to player.
itemid,,,,,,,,,,,,,,,,,,,{ callfunc CustomRand; } function%tab%script%tab%CustomRand%tab%{ switch(rand(2)){ case 0: getitem 501; break; case 1: getitem 502; break; } } -
Cydh's post in How to make sql ? was marked as the answer
here? http://rathena.org/board/topic/56376-rathena-database-editor/
-
Cydh's post in Help with this warning was marked as the answer
just
1. open msg_conf.c -> CTRL+END -> ENTER
2. open cli.c -> CTRL+END -> ENTER
-
Cydh's post in @go and @warp delay was marked as the answer
here is mine.. warponbattle-rA-svn17156.patch
player will get delay when:
using skill attacking receiving damage If player got delay, he must wait for
using @warp using @go get recalled by @recall get recalled by guild skill, EMERGENCY CALL
-
Cydh's post in server time was marked as the answer
uhm..
http://abdussamad.com/archives/343-CentOS-Linux:-Setting-timezone-and-synchronizing-time-with-NTP-.html
-
Cydh's post in group.conf was marked as the answer
(1) yes
(2) yes
(3)here is my edited group.conf as sample, hope it can guides you.