Im using Annieruru Battleground pvp scripts.. (npc\custom\battleground\bg_pvp.txt)
The script working fine.. But I got report said player can abuse to auto-win with relog their char.. So.. I tried and it did happen..
How to Abuse Relog and Instant-Win :
Player and his friends making agreement.. When they inside, opponent player relog and give autowin and spamable.. They repeat this process until both side gain enough reward to exchange their BG equipments..
My edited scripts that works when any player relogin and auto kick both teams without giving any rewards.. BUT when player killed, there are nothing happen and the killed player just spawn at save point :
// "OnQuit" eventOnRedQuit: callsub L_Quit,1;OnBlueQuit: callsub L_Quit,2;
L_Quit:
mapannounce "endless_war","- The match has ended in a draw because someone quit! -", bc_map;
bg_warp .red,"prt_cas",101,277;
bg_warp .blue,"prt_cas",87,277;
bg_destroy .red;
bg_destroy .blue;
donpcevent .rednpcname$ +"::OnStart";
donpcevent .bluenpcname$ +"::OnStart";
end;
After tried few hours and no luck.. I'm posting here to get some advise or guide.. Thank you in advance..
Question
rakuzas
Hello,
Im using Annieruru Battleground pvp scripts.. (npc\custom\battleground\bg_pvp.txt)
The script working fine.. But I got report said player can abuse to auto-win with relog their char.. So.. I tried and it did happen..
How to Abuse Relog and Instant-Win :
Player and his friends making agreement.. When they inside, opponent player relog and give autowin and spamable.. They repeat this process until both side gain enough reward to exchange their BG equipments..
Below is the original script :
I tried to edit the "OnQuit" Event and below is the original scripts :
// "OnQuit" event OnRedQuit: callsub L_Quit, 1; OnBlueQuit: callsub L_Quit, 2; L_Quit: .score[ getarg(0) ]--; bg_updatescore "guild_vs3", .score[1], .score[2]; percentheal 100, 100; while ( getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ) != getcharid(3) && .@i < getd(".team"+ getarg(0) +"count") ) .@i++; deletearray getd( ".team"+ getarg(0) +"aid["+ .@i +"]" ), 1; setd ".team"+ getarg(0) +"count", getd(".team"+ getarg(0) +"count") -1; if ( !.score[ getarg(0) ] ) awake strnpcinfo(0); end; }
My edited scripts that works when any player relogin and auto kick both teams without giving any rewards.. BUT when player killed, there are nothing happen and the killed player just spawn at save point :
After tried few hours and no luck.. I'm posting here to get some advise or guide.. Thank you in advance..
Link to comment
Share on other sites
0 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.