Grillo1995
New Member
Hello everyone.
I have a problem with my War System, I will try to explain.
See this image:
After making the declaration of war on the website, everything is fine.
On the website the player types the number of frags that is stored in the 3rd column as you can see in the image.
And after accepting the war invitation on the website, the 'status' is changed to 1 as you can see in the image.
The problem is, the war is endless! Players keep killing themselves and don't count the frags! How can I do to count this frag, and when it reaches the LIMIT that the player put it on the site, the war is over?
Thank you and I'm waiting!
Codes:
creaturescripts/scripts/playerondeath.lua = hastebin (https://hastebin.com/icikivatoy)
pages/guilds.php = hastebin (https://hastebin.com/efirodapuq)
classes/guildwar.php = hastebin (https://hastebin.com/fotakopegi)
I have a problem with my War System, I will try to explain.
See this image:
After making the declaration of war on the website, everything is fine.
On the website the player types the number of frags that is stored in the 3rd column as you can see in the image.
And after accepting the war invitation on the website, the 'status' is changed to 1 as you can see in the image.
The problem is, the war is endless! Players keep killing themselves and don't count the frags! How can I do to count this frag, and when it reaches the LIMIT that the player put it on the site, the war is over?
Thank you and I'm waiting!
Codes:
creaturescripts/scripts/playerondeath.lua = hastebin (https://hastebin.com/icikivatoy)
pages/guilds.php = hastebin (https://hastebin.com/efirodapuq)
classes/guildwar.php = hastebin (https://hastebin.com/fotakopegi)
Last edited: