dragon slayer2 submitted a new resource:

Chicken Fighting - You and a nother Player bets on a chicken.

This script was released long ago at runuo but was very buggy

I have updated it with fixes to solve half the bugs in this and I hope some one wouldn't mind lending me some help making it a better package..

Fixed so you couldn't be dead and dclicked the stone
Fixed Range of the stone to be dclicked
Fixed So same account can not bet on a chicken fight.
Also added a fix that some one else made where the winner takes the money and not both players.

Couple Bugs I need help with

If only one...

Read more about this resource...
 
"If only one person bets on a chicken and no one joins server can crash."
"If a Gm removes the one chicken and no one else betted server can crash"
Those are pretty serious bugs :)
 
I was wrong after testing this doesn't crash server.. I found out why the server was crashing when I was testing lol I looked my crash logs today had nothing to do with my cock fights so I guess I shouldn't be staying up late and working on things

But the bug does remain if a gm removes a chicken it doesn't set the account tag back to false so that player cant battle any more and it doesn't set last chicken null lol but no crash :)
 
Got this working on latest release... but does anyone know how to return the "already bet" tag to false?
 
Got this working on latest release... but does anyone know how to return the "already bet" tag to false?
You could use the RemoveTag script someone released on here as a reference.

 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back