jTynne Posted December 7, 2011 Group: Members Topic Count: 33 Topics Per Day: 0.01 Content Count: 399 Reputation: 199 Joined: 11/09/11 Last Seen: December 14, 2020 Share Posted December 7, 2011 Title: 4vs4 Team PVP/GVG Gateway Author: jTynne - [email protected] Version History: v0.1 (Beta): December 7th, 2011 This is the unoptimized release of a 4vs4 Team PVP/GVG Gateway script. Features: Allows players to join one of four teams with four players per team within 30 seconds of the first person signing up. After all four teams are filled, all 16 players are warped into the PVP/GVG arena (guild_vs1) in their appropriate corners to duke it out. Important: Future revisions will have additional features. Notes: This script is currently unfinished! It has been tested (Thank you Jasc @ ElysiumRO.net for testing!) in its current version, and is ready for usage, however, this is a very basic script. Use it in conjunction with other scripts (PVP Ladders / Point Systems, etc) and see what you can come up with! Feel free to adjust this script to your liking. Please do not redistribute without giving proper credit and a link back to my site. (www.justintynne.com) - Thank you! Download: http://jtynne.com/rAthena/scripts/4VS4PARTYPVP.txt Additional Notes: If you use this script or find it useful, please consider sending a small donation my way to show your thanks for the creation of this script. You may use the script without sending a donation, however, any help is appreciated as it allows me to keep my web hosting online and my internet connection online! Donations can be sent via Paypal to [email protected] -- Thank you! I will gladly list your name below and in the script's header if you send a donation in, as well as your server name/link. Thank You! The individuals listed below have sent in a donation as thanks for my writing this script. 6 Quote Link to comment Share on other sites More sharing options...
Genesis Posted December 10, 2011 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 19 Reputation: 2 Joined: 12/01/11 Last Seen: March 30 Share Posted December 10, 2011 Looks like a very promising script. I haven't been able to test it out yet but I was wondering how difficult it would be to increase the amount from 4 to something else. You could potentially add a variable that defines each team amount. Quote Link to comment Share on other sites More sharing options...
Jasc Posted December 10, 2011 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 270 Reputation: 20 Joined: 12/10/11 Last Seen: June 28, 2022 Share Posted December 10, 2011 tested this, very very good script. I altered it slightly so its just 4v4 and not 4v4v4v4, for players with a lower population, finding 16 players may be difficult at first. Quote Link to comment Share on other sites More sharing options...
jTynne Posted December 11, 2011 Group: Members Topic Count: 33 Topics Per Day: 0.01 Content Count: 399 Reputation: 199 Joined: 11/09/11 Last Seen: December 14, 2020 Author Share Posted December 11, 2011 I'm sure someone could optimize the code a bit and store the char ID's via an array, but I'm not the one to do it unfortunately. You could continue my unoptimized method of assigning individual global variables per new player you want added in, though I HIGHLY suggest storing them in an array. If I knew the proper way, I'd do it myself for ya. =( Quote Link to comment Share on other sites More sharing options...
anginputih Posted April 22, 2012 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 81 Reputation: 1 Joined: 01/06/12 Last Seen: November 19, 2012 Share Posted April 22, 2012 pleas edit pvp 4 team delay 10 hours and get prize Quote Link to comment Share on other sites More sharing options...
donkeyg Posted May 7, 2012 Group: Members Topic Count: 344 Topics Per Day: 0.07 Content Count: 1060 Reputation: 1 Joined: 02/13/12 Last Seen: November 14, 2016 Share Posted May 7, 2012 nice???? Quote Link to comment Share on other sites More sharing options...
Jhosef Posted June 19, 2012 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 299 Reputation: 5 Joined: 04/05/12 Last Seen: September 9, 2012 Share Posted June 19, 2012 i hope u update this can restrict item ... like no mini boss card upgrade rate is +4 only the restriction of item and can u please make this automated Quote Link to comment Share on other sites More sharing options...
greenieken Posted June 24, 2012 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 154 Reputation: 1 Joined: 05/02/12 Last Seen: June 5, 2020 Share Posted June 24, 2012 Hello. Can you modify this to two team participants only? Quote Link to comment Share on other sites More sharing options...
Altimage Posted December 16, 2012 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 96 Reputation: 1 Joined: 03/07/12 Last Seen: January 19, 2023 Share Posted December 16, 2012 pleas edit pvp 4 team delay 10 hours and get prize bump Quote Link to comment Share on other sites More sharing options...
nicoscene Posted December 29, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 154 Reputation: 6 Joined: 04/26/12 Last Seen: January 26, 2016 Share Posted December 29, 2012 (edited) Hello. Can you modify this to two team participants only? http://pastebin.com/raw.php?i=3eXT0m6y Edited December 29, 2012 by Euphy Quote Link to comment Share on other sites More sharing options...
Boom Posted January 15, 2013 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 182 Reputation: 22 Joined: 12/30/12 Last Seen: February 20, 2017 Share Posted January 15, 2013 Hi! I hope you can make a modification wherein the winning team will get rewards. Quote Link to comment Share on other sites More sharing options...
jTynne Posted January 15, 2013 Group: Members Topic Count: 33 Topics Per Day: 0.01 Content Count: 399 Reputation: 199 Joined: 11/09/11 Last Seen: December 14, 2020 Author Share Posted January 15, 2013 This is just a skeleton base script. The further modifications are up to you to come up with! But, perhaps I'll release something to that effect in the distant future if no one else gets to it first. Quote Link to comment Share on other sites More sharing options...
Boom Posted January 17, 2013 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 182 Reputation: 22 Joined: 12/30/12 Last Seen: February 20, 2017 Share Posted January 17, 2013 Hi sir jTynne! I read the script release guidelines, I wish i could have approval from you to edit your script. Actually I made a modification up to my knowledge [since I'm starting to learn rAthena scripting]. As I try out the script, I found some loopholes that players can abuse so... What I did was: Party security checks Changed the map to bat_b02. Modified the party battle to 2vs2 [since I'm just trying to test the script, later on I'll extend it to 4vs4 again] When a player kills a player from the opposing team, the killer get rewards [Valor Badge for the moment]. Mapwarp all players when the match ends I need your help though for the following: The players when killed are warp to the specified spot but they are still dead. I don't know how to make them alive once they are warped out of the map. When the game match ends, all players will receive a reward. This is my modification to the script. I hope anybody can help out. This is a Party Battle Royale Script that can be substituted or can be used aside from Battlegrounds. LINK: http://pastebin.com/hKEfy39R 1 Quote Link to comment Share on other sites More sharing options...
jTynne Posted January 17, 2013 Group: Members Topic Count: 33 Topics Per Day: 0.01 Content Count: 399 Reputation: 199 Joined: 11/09/11 Last Seen: December 14, 2020 Author Share Posted January 17, 2013 Great work, paopao! What I typically do when I warp players who are dead, is under an OnPCDieEvent: label, I simply add something like.. OnPCDieEvent: atcommand "@alive"; sleep2 100; warp "map",x,y; end; As for the game match end.. I suppose that could be handled one of two or more ways: Storing player data in an array, then looping at the end of the match to distribute the rewards, or storing player data in an SQL table and then looping to reward each player. Quote Link to comment Share on other sites More sharing options...
Boom Posted January 17, 2013 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 182 Reputation: 22 Joined: 12/30/12 Last Seen: February 20, 2017 Share Posted January 17, 2013 (edited) OnPCDieEvent: atcommand "@alive"; sleep2 100; warp "map",x,y; end; It worked! Now my only problems are the following: When the game match ends, all players will receive a reward. Idea please! Is there an event that triggers when the player logs off? Because the player count should also decrease when a player logs off. EDIT: Already made use of the OnPCLogout event and a timer which is the maximum time limit for the match and works too. I hope anybody can help out with this last problem: When the game match ends, all players will receive a reward. Idea please! Edited January 17, 2013 by paopao Quote Link to comment Share on other sites More sharing options...
Myth Posted July 13, 2013 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 225 Reputation: 5 Joined: 05/30/12 Last Seen: March 21 Share Posted July 13, 2013 (edited) ahmm, what if i have 4 different map? how can i change it into 7v7? Edited July 13, 2013 by Myth Quote Link to comment Share on other sites More sharing options...
Puffy Posted August 13, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 02/01/13 Last Seen: July 21, 2022 Share Posted August 13, 2013 OnPCDieEvent: atcommand "@alive"; sleep2 100; warp "map",x,y; end; It worked! Now my only problems are the following: When the game match ends, all players will receive a reward. Idea please! Is there an event that triggers when the player logs off? Because the player count should also decrease when a player logs off. EDIT: Already made use of the OnPCLogout event and a timer which is the maximum time limit for the match and works too. I hope anybody can help out with this last problem: When the game match ends, all players will receive a reward. Idea please! I am thinking on winner rewards too. If it used like Last man standing, it will need 1 players stand, instead of the last member of winner team. Yeah, we really need Idea about this. ahmm, what if i have 4 different map? how can i change it into 7v7? Maybe this will help. pvp 7vs7.txt Quote Link to comment Share on other sites More sharing options...
rqueen Posted September 11, 2013 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 82 Reputation: 1 Joined: 04/30/13 Last Seen: October 30, 2014 Share Posted September 11, 2013 (edited) Neat script. One request though, how do I add a broadcast of the winning team once the round ends? Edited September 11, 2013 by rqueen Quote Link to comment Share on other sites More sharing options...
ayennnnnnn Posted September 20, 2013 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 80 Reputation: 1 Joined: 08/20/13 Last Seen: October 20, 2018 Share Posted September 20, 2013 nice . i will try this when i back home. Quote Link to comment Share on other sites More sharing options...
rmon008 Posted November 3, 2013 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 80 Reputation: 1 Joined: 09/13/13 Last Seen: June 30, 2014 Share Posted November 3, 2013 Hi, is it possible to request for 4vs4 only two teams ? east and west only thanks in advance Quote Link to comment Share on other sites More sharing options...
Eros Posted November 21, 2013 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Share Posted November 21, 2013 Sir boom can you make it 7v7 or 10v10 Quote Link to comment Share on other sites More sharing options...
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.