Gravestone Posted September 6, 2016 Share Posted September 6, 2016 (edited) Hello community fellows, today I'm going to introduce you a Clan War System made by me. This clan war system uses SQLite to save clan data and a GUI to challenge clans. Here is a list of current features and some screenshots: Features: - Uses GUI to challenge online clans - Uses SQLite to save clan data when the clan is destroyed or the resource is stopped - Clan war starts when the following things are successful: Spoiler 1- If the player is in a team 2- The clan has been found 3- The bet has been selected 4- If both the teams have enough money, this is checked using a special function: ((Bet amount / 2) / Number of players in team) 5- If the maximum number of kills are selected 6- If the location is selected 7- If a primary weapon (Ak47 or M4) is selected 8- If both teams have more than 3 players 9- If the challenged team is not the player's team 10- If the location selected is not being used in another clan war - When a clan wins, each player in the team gets ((bet amount / by the num ber of players)*2) and the lost clan's players get taken (bet amount / the number of players) - If a player tries to go out of boundaries, he will be killed and a message will be shown - A GUI window containing the list of maps - If the challenge remains un accepted for 45 seconds, it expires. - Contains 5 different locations and 20 spawnpoints for each location. - When a player is wasted, he respawns at in the sky after 4 seconds at random spawnpoint in the specific location - If a new team is created and it's winnings and losts are more than 0, it will be automatically added to the gridlist. Commands: Spoiler - /clanwar to show the GUI for challenging clans - /startwar to accept the clan war challenge - /giveupwar to give up the clan war - /deletedata [Clan name] to remove the clan data from the database (Note that the clan must be destroyed first and if the source has permission to function.startResource) - /getdata [Clan name] to get data of online or offline clan (If the source has permission to function.startResource) - /getalldata to get all the data of clans in the database (If the source has permission to function.startResource) Screenshots: Spoiler Main window Ranking gridlist: Map list gui: Location, bet, max kills combo boxses Weapon comboboxes: Challenge message in chatbox: NOTE: Don't destroy a team because the resource gets all the teams which are online and if one of them is destroyed while the resource is running, there will be lots of errors. However if you still do something like this, you can restart the resource and it won't be bugging again. - If you find any bugs or require help regarding the clan war system, please reply to this topic or contact me via PM. - Also if you are willing to have more custom maps, contact me via PM and I'll edit the resource for you. - You can also send me some maps if you wish to. I will be adding more maps in this soon. - Will be making a clan system and only the clan leader would be able to send challenges. Download this resource from here Edited October 31, 2016 by Gravestone UPDATED 1 Link to comment
Rohit123 Posted September 6, 2016 Share Posted September 6, 2016 link not working, provide another link ? Link to comment
Gravestone Posted September 7, 2016 Author Share Posted September 7, 2016 The link was working fine for me, if this doesn't work either, try refreshing the page. Here's the updated link, previous one has been removed. [UPDATES] Spoiler - Fixed a bug where the opponent team players failed to spawn when the challenge was accepted - Fixed some GUI Alignments - Updated Map List GUI Link to comment
KariiiM Posted September 9, 2016 Share Posted September 9, 2016 Why did not you upload your resource on the community? I see It better Link to comment
Gravestone Posted September 10, 2016 Author Share Posted September 10, 2016 12 hours ago, Rudransh said: Good Job mate Thanks. 11 hours ago, KariiiM said: Why did not you upload your resource on the community? I see It better Well, I don't know xd. Link to comment
Gravestone Posted September 20, 2016 Author Share Posted September 20, 2016 UPDATES: - Combined multiple functions into one. - Fixed a bug where the opponent wasn't removed when the clan war stopped. - Added a feature to end the clan war when the players of a team quit and there were less than 3 players. Updated download link is in the main post. Link to comment
Gravestone Posted September 24, 2016 Author Share Posted September 24, 2016 On 9/20/2016 at 8:11 PM, Gold9 said: Good Job mate. Thanks. UPDATES: - Changed colors and output format for the messages which were sent on challenge sent/challenge accepted/war ended - Fixed a bug where the location didn't show for the challenged team members - Fixed a bug where the location data wasn't removed when the war had ended Link updated. Link to comment
iPrestege Posted September 24, 2016 Share Posted September 24, 2016 Good work keep up. Link to comment
Gravestone Posted September 25, 2016 Author Share Posted September 25, 2016 UPDATES: - Changed input mode for the gui - Fixed a major bug with the challenge timer ended very fast (Now the timer ends after 45 seconds) - Updated the clan war drawing when there was a war being held Screenshot: Spoiler 1 Link to comment
Storm-Hanma Posted October 25, 2016 Share Posted October 25, 2016 I got the same from community also lol check in Link to comment
Gravestone Posted October 30, 2016 Author Share Posted October 30, 2016 Updated the download link. (Uploaded resource in the community) Link to comment
Gravestone Posted October 31, 2016 Author Share Posted October 31, 2016 (edited) Soon will be uploading a de-compiled version. Please report bugs if you find any. Edited October 31, 2016 by Gravestone Link to comment
Storm-Hanma Posted October 31, 2016 Share Posted October 31, 2016 4 hours ago, Gravestone said: Soon will be uploading a de-compiled version. Please report bugs if you find any. Will u wrk with me in new server !! I need a scripter !! Pm me Link to comment
fargot.. Posted November 1, 2016 Share Posted November 1, 2016 What modem operates Why? Link to comment
Gravestone Posted November 3, 2016 Author Share Posted November 3, 2016 On 11/2/2016 at 0:14 AM, Ad[N]a[N]e said: What modem operates Why? What do you mean? I don't understand. Link to comment
fargot.. Posted November 3, 2016 Share Posted November 3, 2016 My brother, I have a modem does not work. Why? Link to comment
Gravestone Posted November 5, 2016 Author Share Posted November 5, 2016 On 11/4/2016 at 2:48 AM, Ahmed Ly said: good job :") Thanks. On 11/3/2016 at 8:43 PM, Ad[N]a[N]e said: My brother, I have a modem does not work. Why? I still don't get you man ._. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now