Issue information

Issue ID
#5704
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
May 6, 2012 15:08
Last Post
Mysterious
Mar 27, 2014 21:32
Confirmation
Yes (0)
No (1)

Hercules Elf Bot - May 6, 2012 15:08

Originally posted by [b]emong[/b]
Using latest revision of rA enlarge weight limit appears.

Hercules Elf Bot - May 6, 2012 15:54

Originally posted by [b]malufett[/b]
did you try the GYM npc?? it gives enlarge weight limit...

Hercules Elf Bot - May 7, 2012 8:34

Originally posted by [b]emong[/b]
nope I didn't try anything.. And I know gym npc does add enlarge weight limit but this isnt natural.

Hercules Elf Bot - May 7, 2012 11:03

Originally posted by [b]malufett[/b]
now I found out this is not a bug..

this is how it was done when you set your server to allow all skill the quest skill is save to your character(specially GM accounts) so switching back to not allowing all skills.. the quest skill remains...

this code do the trick..
[codebox] if( pc_has_permission(sd, PC_PERM_ALL_SKILL) ) {
for( i = 0; i < MAX_SKILL; i++ ) {
switch(i) {
/**
* Dummy skills must be added here otherwise they'll be displayed in the,
* skill tree and since they have no icons they'll give resource errors
**/
case SM_SELFPROVOKE:
case AB_DUPLELIGHT_MELEE:
case AB_DUPLELIGHT_MAGIC:
case WL_CHAINLIGHTNING_ATK:
case WL_TETRAVORTEX_FIRE:
case WL_TETRAVORTEX_WATER:
case WL_TETRAVORTEX_WIND:
case WL_TETRAVORTEX_GROUND:
case WL_SUMMON_ATK_FIRE:
case WL_SUMMON_ATK_WIND:
case WL_SUMMON_ATK_WATER:
case WL_SUMMON_ATK_GROUND:
case LG_OVERBRAND_BRANDISH:
case LG_OVERBRAND_PLUSATK:
case WM_SEVERE_RAINSTORM_MELEE:
case ALL_BUYING_STORE:
continue;
default:
break;
}
if( skill_get_inf2(i)&(INF2_NPC_SKILL|INF2_GUILD_SKILL) )
continue; //Only skills you can't have are npc/guild ones
if( skill_get_max(i) > 0 )
sd->status.skill[i].id = i;
}
return 0;
}[/codebox]

as the code says it was intended..but lets w8 if the author of the code is aware of this...

Hercules Elf Bot - May 7, 2012 13:08

Originally posted by [b]emong[/b]
Okay thanks for the confirmation. And yeah! I've set yes the quest skill and quest skill can be learned and that appeared :) Thanks for the confirmation again!