WhatFT Posted May 20, 2012 Posted May 20, 2012 How to enable High Jump in that pvp room? (pvp_y_1-2) I already removed the High Jump in the "skill_nocast_db.txt" But still, High Jump won't work... Quote
1 Mirage25 Posted April 17, 2020 Posted April 17, 2020 Change this: //Fails on noteleport maps, except for GvG and BG maps [Skotlex] if( mapdata->flag[MF_NOTELEPORT] && !(mapdata->flag[MF_BATTLEGROUND] || mapdata_flag_gvg2(mapdata) ) Into this: //Fails on noteleport maps, except for GvG and BG maps [Skotlex] if( mapdata->flag[MF_BATTLEGROUND] && !(mapdata_flag_gvg2(mapdata)) ) { 1 Quote
Mr BrycE Posted May 20, 2012 Posted May 20, 2012 (edited) did you use @reloadskilldb? maybe you forgot haha..:-) Edited May 20, 2012 by Mr BrycE Quote
Nicko Posted May 21, 2012 Posted May 21, 2012 High Jump is a teleporting skill. Everymap where you can't use, the wings(Can't remember the name, but is the iten that teleport you on a randon place), tje High Jump won't will work. 1 Quote
WhatFT Posted May 22, 2012 Author Posted May 22, 2012 How to enable it? I already removed them in the skill_nocast_db.txt and still nothing happen Quote
WhatFT Posted May 22, 2012 Author Posted May 22, 2012 Aw ! I don't know how to configure src files... =/ Quote
Brian Posted May 22, 2012 Posted May 22, 2012 As Nicko said, TK_HIGHJUMP fails on maps with mapflag#noteleport, except for GvG and BG maps. trunk/src/map/skill.c (around line 6247) case TK_HIGHJUMP: { int x,y, dir = unit_getdir(src); //Fails on noteleport maps, except for GvG and BG maps [skotlex] if( map[src->m].flag.noteleport && !(map[src->m].flag.battleground || map_flag_gvg2(src->m) ) ) { x = src->x; y = src->y; } else { x = src->x + dirx[dir]*skilllv*2; y = src->y + diry[dir]*skilllv*2; } So options you have are: remove the 'noteleport' mapflag from pvp_y_1-2 make pvp_y_1-2 a GvG or BG map edit the source code in skill.c and allow High Jump on maps with noteleport mapflag Quote
Mystery Posted May 23, 2012 Posted May 23, 2012 Since you really don't know source codes, you're better off removing the mapflag. Quote
WhatFT Posted May 23, 2012 Author Posted May 23, 2012 What will I change or edit in the skill.c? I try to check.. Quote
Brian Posted May 23, 2012 Posted May 23, 2012 trunk/src/map/skill.c (around line 6250) Find this block: //Fails on noteleport maps, except for GvG and BG maps [skotlex] if( map[src->m].flag.noteleport && !(map[src->m].flag.battleground || map_flag_gvg2(src->m) ) ) { x = src->x; y = src->y; } else { x = src->x + dirx[dir]*skilllv*2; y = src->y + diry[dir]*skilllv*2; } and change to: //Fails on noteleport maps, except for GvG and BG maps [skotlex] x = src->x + dirx[dir]*skilllv*2; y = src->y + diry[dir]*skilllv*2; Save, and recompile. Now TK_HIGHJUMP will work on all maps, even ones with the 'noteleport' mapflag. Quote
WhatFT Posted May 23, 2012 Author Posted May 23, 2012 This is disabled in GvG right? and WoE SE? Quote
QQfoolsorellina Posted May 23, 2012 Posted May 23, 2012 (edited) How about just remove map[src->m].flag.noteleport and recompile ? Edited May 23, 2012 by QQfoolsorellina Quote
Brian Posted May 23, 2012 Posted May 23, 2012 This is disabled in GvG right? and WoE SE? High Jump is supposed to work in GvG and BG. How about just remove map[src->m].flag.noteleport and recompile ? Then what about the rest? && !(map[src->m].flag.battleground || map_flag_gvg2(src->m) Quote
QQfoolsorellina Posted May 23, 2012 Posted May 23, 2012 Then what about the rest? && !(map[src->m].flag.battleground || map_flag_gvg2(src->m) I just have one question the mmajor reason was mapflag noteleport. So, maybe ty to romove that mapflag should work in pvp map case TK_HIGHJUMP: { int x,y, dir = unit_getdir(src); //Fails on noteleport maps, except for GvG and BG maps [skotlex] if(!(map[src->m].flag.battleground || map_flag_gvg2(src->m) ) ) { x = src->x; y = src->y; } else { x = src->x + dirx[dir]*skilllv*2; y = src->y + diry[dir]*skilllv*2; } Quote
Question
WhatFT
How to enable High Jump in that pvp room? (pvp_y_1-2)
I already removed the High Jump in the "skill_nocast_db.txt" But still, High Jump won't work...
14 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.