hthuong Posted August 7, 2013 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 39 Reputation: 0 Joined: 08/09/12 Last Seen: October 2, 2013 Share Posted August 7, 2013 Currently there is only one option to skip teleport menu lv 1. How to skip teleport menu lv 2? Quote Link to comment Share on other sites More sharing options...
Euphy Posted August 7, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted August 7, 2013 Teleport's skill level isn't adjustable, so you won't be able to randomly warp if you skip the menu on level 2. That's why there's no config for it. @Emistry: That setting is only for level 1. Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 7, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: Tuesday at 05:38 PM Share Posted August 7, 2013 conf/battle/skill.conf#L243 // Allows players to skip menu when casting Teleport level 1 // Menu contains two options. "Random" and "Cancel" skip_teleport_lv1_menu: no Quote Link to comment Share on other sites More sharing options...
Brian Posted August 7, 2013 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 August 7, 2013 If you're editing client files to make Teleport level-selectable, then I guess you could edit trunk/src/map/skill.c and change something in this section. I'm not sure exactly what to change to skip the menu. case AL_TELEPORT: case ALL_ODINS_RECALL: if(sd) { if (map[bl->m].flag.noteleport && skill_lv <= 2) { clif_skill_teleportmessage(sd,0); break; } if(!battle_config.duel_allow_teleport && sd->duel_group && skill_lv <= 2) { // duel restriction [LuzZza] char output[128]; sprintf(output, msg_txt(sd,365), skill_get_name(AL_TELEPORT)); clif_displaymessage(sd->fd, output); //"Duel: Can't use %s in duel." break; } if( sd->state.autocast || ( (sd->skillitem == AL_TELEPORT || battle_config.skip_teleport_lv1_menu) && skill_lv == 1 ) || skill_lv == 3 ) { if( skill_lv == 1 ) pc_randomwarp(sd,CLR_TELEPORT); else pc_setpos(sd,sd->status.save_point.map,sd->status.save_point.x,sd->status.save_point.y,CLR_TELEPORT); break; } clif_skill_nodamage(src,bl,skill_id,skill_lv,1); if( skill_lv == 1 && skill_id != ALL_ODINS_RECALL ) clif_skill_warppoint(sd,skill_id,skill_lv, (unsigned short)-1,0,0,0); else clif_skill_warppoint(sd,skill_id,skill_lv, (unsigned short)-1,sd->status.save_point.map,0,0); } else unit_warp(bl,-1,-1,-1,CLR_TELEPORT); break; Quote Link to comment Share on other sites More sharing options...
Question
hthuong
Currently there is only one option to skip teleport menu lv 1. How to skip teleport menu lv 2?
Link to comment
Share on other sites
3 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.