WhatFT Posted May 20, 2012 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Share 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 Link to comment Share on other sites More sharing options...
1 Mirage25 Posted April 17, 2020 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 37 Reputation: 6 Joined: 10/12/15 Last Seen: January 31, 2024 Share 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 Link to comment Share on other sites More sharing options...
Mr BrycE Posted May 20, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Share Posted May 20, 2012 (edited) did you use @reloadskilldb? maybe you forgot haha..:-) Edited May 20, 2012 by Mr BrycE Quote Link to comment Share on other sites More sharing options...
Nicko Posted May 21, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 15 Reputation: 1 Joined: 05/19/12 Last Seen: May 24, 2012 Share 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 Link to comment Share on other sites More sharing options...
WhatFT Posted May 22, 2012 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Author Share Posted May 22, 2012 How to enable it? I already removed them in the skill_nocast_db.txt and still nothing happen Quote Link to comment Share on other sites More sharing options...
Bahmut Posted May 22, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 382 Reputation: 39 Joined: 01/17/12 Last Seen: February 13, 2020 Share Posted May 22, 2012 I think it's hardcoded. Quote Link to comment Share on other sites More sharing options...
WhatFT Posted May 22, 2012 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Author Share Posted May 22, 2012 Aw ! I don't know how to configure src files... =/ Quote Link to comment Share on other sites More sharing options...
Brian Posted May 22, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share 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 Link to comment Share on other sites More sharing options...
Mystery Posted May 23, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted May 23, 2012 Since you really don't know source codes, you're better off removing the mapflag. Quote Link to comment Share on other sites More sharing options...
WhatFT Posted May 23, 2012 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Author Share Posted May 23, 2012 What will I change or edit in the skill.c? I try to check.. Quote Link to comment Share on other sites More sharing options...
Brian Posted May 23, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share 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 Link to comment Share on other sites More sharing options...
WhatFT Posted May 23, 2012 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Author Share Posted May 23, 2012 This is disabled in GvG right? and WoE SE? Quote Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted May 23, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 587 Reputation: 105 Joined: 11/19/11 Last Seen: July 7, 2019 Share Posted May 23, 2012 (edited) How about just remove map[src->m].flag.noteleport and recompile ? Edited May 23, 2012 by QQfoolsorellina Quote Link to comment Share on other sites More sharing options...
Brian Posted May 23, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share 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 Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted May 23, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 587 Reputation: 105 Joined: 11/19/11 Last Seen: July 7, 2019 Share 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 Link to comment Share on other sites More sharing options...
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...
Link to comment
Share on other sites
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.