nelsontyh Posted February 2, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 43 Reputation: 1 Joined: 01/20/12 Last Seen: August 31, 2012 Share Posted February 2, 2012 I was told that disabling the auto warp in PvP maps after being killed twice is a source modification. I've been going through the source files and I can't seem to find anything for it. Any help on modifying this? Quote Link to comment Share on other sites More sharing options...
Aleos Posted February 3, 2012 Group: Development Manager Topic Count: 56 Topics Per Day: 0.01 Content Count: 732 Reputation: 525 Joined: 12/13/11 Last Seen: June 13, 2024 Share Posted February 3, 2012 src/map/pc.c // pvp // disable certain pvp functions on pk_mode [Valaris] if( map[sd->bl.m].flag.pvp && !battle_config.pk_mode && !map[sd->bl.m].flag.pvp_nocalcrank ) { sd->pvp_point -= 5; sd->pvp_lost++; if( src && src->type == BL_PC ) { struct map_session_data *ssd = (struct map_session_data *)src; ssd->pvp_point++; ssd->pvp_won++; } // if( sd->pvp_point < 0 ) // { // add_timer(tick+1000, pc_respawn_timer,sd->bl.id,0); // return 1|8; // } } You're going to want to comment that out and it will stop people from warping out when they die. 1 Quote Link to comment Share on other sites More sharing options...
nelsontyh Posted February 3, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 43 Reputation: 1 Joined: 01/20/12 Last Seen: August 31, 2012 Author Share Posted February 3, 2012 Ah cheers, thanks very much! It's working now. Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 3, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted February 3, 2012 beside.....you can also edit like this remove this line sd->pvp_point -= 5; Quote Link to comment Share on other sites More sharing options...
Question
nelsontyh
I was told that disabling the auto warp in PvP maps after being killed twice is a source modification.
I've been going through the source files and I can't seem to find anything for it.
Any help on modifying this?
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.