-
Content Count
500 -
Joined
-
Last visited
-
Days Won
5
Posts posted by kyeme
-
-
-
status.c
find:
status->IconChangeTable[SC_MOVHASTE_INFINITY] = SI_MOVHASTE_INFINITY;
replace
status->IconChangeTable[SC_MOVHASTE_INFINITY] = SI_MOVHASTE_POTION;
-
hmmm ~ nice ~ learn some thing newall thoes s_xxxx.. annoying warnings in my plugin projects were disabled by me , coz I hate those
now tell the whole world to remove that warning like your did ... not gonna happen
actually the problem is not on msvc ... can remind them to ignore it
its 'Debian GNU/Linux 6.0.5' that Hadeszeus using that was giving me headache
if you have a method that it doesn't throw error for Hadeszeus, I'm willingly to know too
but I'll probably stick to calculate the string
.
make sense actually>I'll be trying the released version for rathena svn soon.
while nobody in hercules forum willingly to convert this patch into rathena format
but its logical to ask someone over rathena forum to convert hercules patch into rathena
after all, we already have so many stuffs there was taken from rathena forum anyway
.
.
I just noticed a minor bug that
while you can't create a clone having a chat room open
but still can open a chat room after having a market clone
I should fix this or not ?
logical thinking, people are creating this clone and left it in town, so the player would be off questing in other maps
so I think should allow them so a clone is in town, while allow them to open a chat room inside a dungeon or something
Maybe make an option in player.conf?
-
-
Thanks AnnieRuru!
-
-
https://github.com/HerculesWS/Hercules/blob/master/src/config/core.h#L68
core.h
/// Comment to disable autotrade persistency (where autotrading merchants survive server restarts)#define AUTOTRADE_PERSISTENCY
-
I've made a pull request with it =) hope it gets added soon, if you guys have a git account and want to support or comment anything to be improved, just post there:
If my character is set on 'disable_pickup' and have a party with party share items. Will it be possible for me to have a loot via party members picking up the loot?
yes, the disable_pick up is strictly made to prevent only ground picking for use in events or whatsoever
Ohh I see, I hope you have a settings for disable party share item
-
try OnPClogoutEvent
- script checkmapkick -1,{OnPCLogoutEvent: getmapxy(.@map$,.@x,.@y,0); if ( .@map$ == "geffen" || .@map$ == "guild_vs1" || .@map$ == "guild_vs1-1" || .@map$ == "guild_vs1-2" || .@map$ == "guild_vs1-3" || .@map$ == "guild_vs1-4" ) { set #DOMINATION, #DOMINATION - 1; } end;}
-
I've made a pull request with it =) hope it gets added soon, if you guys have a git account and want to support or comment anything to be improved, just post there:
If my character is set on 'disable_pickup' and have a party with party share items. Will it be possible for me to have a loot via party members picking up the loot?
-
---------------------------------------*getitembound <item id>,<amount>,<bound type>{,<account ID>};*getitembound "<item name>",<amount>,<bound type>{,<account ID>};This command behaves identically to 'getitem', but the items created will bebound to the target character as specified by the bound type. All items createdin this manner cannot be dropped, sold, vended, auctioned, or mailed, and insome cases cannot be traded or stored.Valid bound types are: 1 - Account Bound 2 - Guild Bound 3 - Party Bound 4 - Character Bound
https://github.com/HerculesWS/Hercules/blob/master/doc/script_commands.txt#L4636
-
We have:
---------------------------------------*getitembound <item id>,<amount>,<bound type>{,<account ID>};*getitembound "<item name>",<amount>,<bound type>{,<account ID>};This command behaves identically to 'getitem', but the items created will bebound to the target character as specified by the bound type. All items createdin this manner cannot be dropped, sold, vended, auctioned, or mailed, and insome cases cannot be traded or stored.Valid bound types are: 1 - Account Bound 2 - Guild Bound 3 - Party Bound 4 - Character Bound
@itembound <item name/ID> <amount> <bound_type>Creates the specified item and bounds it to the account.bound_type: 1 = Account, 2 = Guild, 3 = Party, 4 = Character
-
{ /* All zone is a dynamic (very special) zone that is forcebly inherited by ALL maps automatically */ name: "All" /* changing this name requires MAP_ZONE_ALL_NAME to also be changed in src/map/map.h file */ disabled_skills: { //both examples below disable napalm beat (id 11) to players //MG_NAPALMBEAT: "PLAYER" //ID11: "PLAYER" } disabled_items: { //Both examples below disable apple (id 501) //Apple: true //ID501: true } mapflags: ( "nocashshop", ) /* "command:min-group-lv-to-override" e.g. "heal: 70" */ disabled_commands: { //Example Below makes @heal be used in maps within this zone only by those group lv 70 and above //heal: 70 } skill_damage_cap: { //Exemple Below caps firebolt damage in maps within this zone to a maximum 50 damage, // (depends on HMAP_ZONE_DAMAGE_CAP_TYPE in src/config/core.h) // when cast vs players and monsters. //MG_COLDBOLT: (50,"PLAYER | MONSTER") }},
mapflags: (
"nocashshop",
)
-
Nicee
-
-
well not that he said official server has it
though in official server
i can see kafra points on kafra in alde
Well yeah, Kafra Points for sure… but I don't think it'd hurt to have such variables shown in the command… if there's use for it.
The official server is using Cash Points/Rok Points by that i hope it will be included in @accinfo.
Do you really want to purchase these items? You will spend %d Regular Cash Points and %d Free Cash Points.#
if i use @accinfo, it will show how many Cash Points do i have ?
Yes
-
well not that he said official server has it
though in official server
i can see kafra points on kafra in alde
Well yeah, Kafra Points for sure… but I don't think it'd hurt to have such variables shown in the command… if there's use for it.
The official server is using Cash Points/Rok Points by that i hope it will be included in @accinfo.
Do you really want to purchase these items? You will spend %d Regular Cash Points and %d Free Cash Points.#
-
~ up ~
http://herc.ws/board/topic/3100-nobanking-mapflag/?hl=bank
Index: conf/messages.conf===================================================================--- conf/messages.conf (revision 13307)+++ conf/messages.conf (working copy)@@ -1560,6 +1560,8 @@ 1496: Item types on your autoloottype list: 1497: Your autoloottype list has been reset. +//Banking mapflag+1498: Banking is disabled in this map //Custom translations import: conf/import/msg_conf.txtIndex: db/const.txt===================================================================--- db/const.txt (revision 13307)+++ db/const.txt (working copy)@@ -367,6 +367,7 @@ mf_reset 52 mf_notomb 53 mf_nocashshop 54+mf_nobanking 55 cell_walkable 0 cell_shootable 1Index: db/pre-re/map_zone_db.conf===================================================================--- db/pre-re/map_zone_db.conf (revision 13307)+++ db/pre-re/map_zone_db.conf (working copy)@@ -92,6 +92,7 @@ mapflags: ( "nocashshop",+ "nobanking", ) },@@ -168,6 +169,7 @@ "long_damage_rate 80", "short_damage_rate 80", "nocashshop",+ "nobanking", ) },Index: db/re/map_zone_db.conf===================================================================--- db/re/map_zone_db.conf (revision 13307)+++ db/re/map_zone_db.conf (working copy)@@ -90,9 +90,9 @@ Greed_Scroll: true } - /* cashshop disabled in pvp maps */ mapflags: (- "nocashshop",+ "nocashshop", //cashshop disabled in pvp maps+ "nobanking", //banking disabled in pvp maps ) }, {@@ -168,6 +168,7 @@ "long_damage_rate 80", "short_damage_rate 80", "nocashshop",+ "nobanking", ) },Index: src/map/atcommand.c===================================================================--- src/map/atcommand.c (revision 13307)+++ src/map/atcommand.c (working copy)@@ -7475,7 +7475,7 @@ CHECKFLAG(nojobexp); CHECKFLAG(nomobloot); CHECKFLAG(nomvploot); CHECKFLAG(nightenabled); CHECKFLAG(nodrop); CHECKFLAG(novending); CHECKFLAG(loadevent); CHECKFLAG(nochat); CHECKFLAG(partylock); CHECKFLAG(guildlock); CHECKFLAG(src4instance);- CHECKFLAG(notomb); CHECKFLAG(nocashshop);+ CHECKFLAG(notomb); CHECKFLAG(nocashshop); CHECKFLAG(nobanking); clif->message(sd->fd," "); clif->message(sd->fd,msg_txt(1312)); // Usage: "@mapflag monster_noteleport 1" (0=Off | 1=On) clif->message(sd->fd,msg_txt(1313)); // Type "@mapflag available" to list the available mapflags.@@ -7512,7 +7512,7 @@ SETFLAG(nojobexp); SETFLAG(nomobloot); SETFLAG(nomvploot); SETFLAG(nightenabled); SETFLAG(nodrop); SETFLAG(novending); SETFLAG(loadevent); SETFLAG(nochat); SETFLAG(partylock); SETFLAG(guildlock); SETFLAG(src4instance);- SETFLAG(notomb); SETFLAG(nocashshop);+ SETFLAG(notomb); SETFLAG(nocashshop); SETFLAG(nobanking); clif->message(sd->fd,msg_txt(1314)); // Invalid flag name or flag. clif->message(sd->fd,msg_txt(1312)); // Usage: "@mapflag monster_noteleport 1" (0=Off | 1=On)@@ -7524,7 +7524,7 @@ clif->message(sd->fd,"nozenypenalty, notrade, noskill, nowarp, nowarpto, noicewall, snow, clouds, clouds2,"); clif->message(sd->fd,"fog, fireworks, sakura, leaves, nobaseexp, nojobexp, nomobloot,"); clif->message(sd->fd,"nomvploot, nightenabled, nodrop, novending, loadevent, nochat, partylock,");- clif->message(sd->fd,"guildlock, src4instance, notomb, nocashshop");+ clif->message(sd->fd,"guildlock, src4instance, notomb, nocashshop, nobanking"); #undef CHECKFLAG #undef SETFLAGIndex: src/map/clif.c===================================================================--- src/map/clif.c (revision 13307)+++ src/map/clif.c (working copy)@@ -17881,7 +17881,12 @@ clif->colormes(fd,COLOR_RED,msg_txt(1483)); return; }- ++ if( map->list[sd->bl.m].flag.nobanking ) {+ clif->colormes(fd,COLOR_RED,msg_txt(1498)); //Banking is disabled in this map+ return;+ }+ money = (int)cap_value(p->Money,0,INT_MAX); pc->bank_deposit(sd,money);@@ -17896,6 +17901,12 @@ return; } ++ if( map->list[sd->bl.m].flag.nobanking ) {+ clif->colormes(fd,COLOR_RED,msg_txt(1498)); //Banking is disabled in this map+ return;+ }+ money = (int)cap_value(p->Money,0,INT_MAX); pc->bank_withdraw(sd,money);@@ -17908,7 +17919,12 @@ clif->colormes(fd,COLOR_RED,msg_txt(1483)); return; }- ++ if( map->list[sd->bl.m].flag.nobanking ) {+ clif->colormes(fd,COLOR_RED,msg_txt(1498)); //Banking is disabled in this map+ return;+ }+ p.PacketType = banking_checkType; p.Money = (int)sd->status.bank_vault; p.Reason = (short)0;Index: src/map/map.c===================================================================--- src/map/map.c (revision 13307)+++ src/map/map.c (working copy)@@ -4404,6 +4404,15 @@ else if( map->list[m].flag.nocashshop ) map_zone_mf_cache_add(m,"nocashshop"); }+ } else if (!strcmpi(flag,"nobanking")) {+ if( state && map->list[m].flag.nobanking )+ ;/* nothing to do */+ else {+ if( state )+ map_zone_mf_cache_add(m,"nobankingtoff");+ else if( map->list[m].flag.nobanking )+ map_zone_mf_cache_add(m,"nobanking");+ } } return false;Index: src/map/map.h===================================================================--- src/map/map.h (revision 13307)+++ src/map/map.h (working copy)@@ -647,6 +647,7 @@ unsigned noknockback : 1; unsigned notomb : 1; unsigned nocashshop : 1;+ unsigned nobanking : 1; } flag; struct point save; struct npc_data *npc[MAX_NPC_PER_MAP];Index: src/map/npc.c===================================================================--- src/map/npc.c (revision 13307)+++ src/map/npc.c (working copy)@@ -3504,6 +3504,8 @@ map->list[m].flag.src4instance = (state) ? 1 : 0; } else if ( !strcmpi(w3,"nocashshop") ) { map->list[m].flag.nocashshop = (state) ? 1 : 0;+ } else if ( !strcmpi(w3,"nobanking") ) {+ map->list[m].flag.nobanking = (state) ? 1 : 0; } else ShowError("npc_parse_mapflag: unrecognized mapflag '%s' in file '%s', line '%d'.n", w3, filepath, strline(buffer,start-buffer)); Index: src/map/script.c===================================================================--- src/map/script.c (revision 13307)+++ src/map/script.c (working copy)@@ -10472,6 +10472,7 @@ case MF_RESET: script_pushint(st,map->list[m].flag.reset); break; case MF_NOTOMB: script_pushint(st,map->list[m].flag.notomb); break; case MF_NOCASHSHOP: script_pushint(st,map->list[m].flag.nocashshop); break;+ case MF_NOBANKING: script_pushint(st,map->list[m].flag.nobanking); break; } } @@ -10589,6 +10590,7 @@ case MF_RESET: map->list[m].flag.reset = 1; break; case MF_NOTOMB: map->list[m].flag.notomb = 1; break; case MF_NOCASHSHOP: map->list[m].flag.nocashshop = 1; break;+ case MF_NOBANKING: map->list[m].flag.nobanking = 1; break; } } @@ -10675,6 +10677,7 @@ case MF_RESET: map->list[m].flag.reset = 0; break; case MF_NOTOMB: map->list[m].flag.notomb = 0; break; case MF_NOCASHSHOP: map->list[m].flag.nocashshop = 0; break;+ case MF_NOBANKING: map->list[m].flag.nobanking = 0; break; } } Index: src/map/script.h===================================================================--- src/map/script.h (revision 13307)+++ src/map/script.h (working copy)@@ -297,7 +297,8 @@ MF_BATTLEGROUND, MF_RESET, MF_NOTOMB,- MF_NOCASHSHOP+ MF_NOCASHSHOP,+ MF_NOBANKING }; /**
-
06guild_01 mapflag nodrop
nodrop is to disable dropping items from your inventory.
use:
06guild_01 mapflag nomobloot06guild_01 mapflag nomvploot
-
-
Latest Rev na ba gamit mo? Na fix na sya..
Nareport ko na to noong March 25, pero hindi ko pa na try kung ok na..
http://herc.ws/board/tracker/issue-8122-sc-groomy-sc-weakness-and-sc-ignorance/ -
That's a good idea, and it wouldn't be difficult to implement either. I've changed the names of those config options.
Open src/map/battle.c and find:{ "case_sensitive_aegisnames", &battle_config.case_sensitive_aegisnames, 1, 0, 1, },
Add below:{ "guild_castle_invite", &battle_config.guild_castle_invite, 0, 0, 1, },{ "guild_castle_expulsion", &battle_config.guild_castle_expulsion, 0, 0, 1, },
Open src/map/battle.h and find:int case_sensitive_aegisnames;
Add below:int guild_castle_invite; int guild_castle_expulsion;
Finally open src/map/guild.c and find (@guild_invite):if( tsd->status.guild_id > 0 || tsd->guild_invite > 0 || ((map->agit_flag || map->agit2_flag) && map->list[tsd->bl.m].flag.gvg_castle)
Replace it with:if( tsd->status.guild_id > 0 || tsd->guild_invite > 0 || ((map->agit_flag || map->agit2_flag) && map->list[tsd->bl.m].flag.gvg_castle && !battle_config.guild_castle_invite)
Find (@guild_leave):if( sd->status.account_id != account_id || sd->status.char_id != char_id || sd->status.guild_id != guild_id || ((map->agit_flag || map->agit2_flag) && map->list[sd->bl.m].flag.gvg_castle)
Replace it with:if( sd->status.account_id != account_id || sd->status.char_id != char_id || sd->status.guild_id != guild_id // Can't leave inside castles || ((map->agit_flag || map->agit2_flag) && map->list[sd->bl.m].flag.gvg_castle && !battle_config.guild_castle_expulsion)
Find (@guild_expulsion):if ((tsd = map->id2sd(account_id)) && tsd->status.char_id == char_id && ((map->agit_flag || map->agit2_flag) && map->list[tsd->bl.m].flag.gvg_castle)
Replace it with:if ((tsd = map->id2sd(account_id)) && tsd->status.char_id == char_id && ((map->agit_flag || map->agit2_flag) && map->list[sd->bl.m].flag.gvg_castle && !battle_config.guild_castle_expulsion)
In your conf/battle/guild.conf add:// Can guild members invite/expel members inside guild castles in WoE/GvG? (Note 1)// default noguild_castle_invite: noguild_castle_expulsion: no
Up~
-
upon on testing.
my client crashed using 2010-07-30aRagexeRE with hercules emulator.
same way on how to produce the bug.
but when i try eathena emulator with 2010-07-30aRagexeRE client.
no client crashed.
maybe it is because of the character animation right after you make a asura strike.
Thank you for your time!
I think this is the culprit?.. http://rathena.org/board/tracker/issue-6688-when-using-asura-strike-skill/?gopid=14410#entry14410
-
Card X icon when compound
in Client-Side Support
Posted
Or check these files (i forgot):
carditemnametable.txt
cardpostfixnametable.txt
cardprefixnametable.txt