Jump to content

Increase max chess wager


Recommended Posts

Hi there,

I am a eager chess player on xeno's server and would like to request the maximum wager to be increased from 16m to unlimited, like 1000m should be enough. So I and other players can bet whatever we want against eachother on the server.

Kind Regard's

Mr Chess.

Link to comment
  • 5 months later...

Alright I've taken matter into my own hands and figured out where they store the maximum wager value.

In the ent_chess_board.lua file at line 1321 there is a integer valued 16777215 which I assume is the maximum wager value, I would want that increased to a much higher value like 2 billions.

Now that I have done the job for you @phantom, would you kindly add it 🙂

Link to comment
1 hour ago, Falcon said:

Now that I have done the job for you @phantom, would you kindly add it 🙂

Not to be toxic, but you didn't 'do the job for anyone'. Not only is that line number incorrect, but you would actually have to change the value in two places, as well as change the maximum bits allowed in a Net Uint. Simply changing that number you sent would break the wagering system if someone were do use a number higher than 16777215. If you're going to go as far as to pretend to do someone's job, at least be right about it.

Link to comment
8 minutes ago, Zyngas said:

Not to be toxic, but you didn't 'do the job for anyone'. Not only is that line number incorrect, but you would actually have to change the value in two places, as well as change the maximum bits allowed in a Net Uint. Simply changing that number you sent would break the wagering system if someone were do use a number higher than 16777215. If you're going to go as far as to pretend to do someone's job, at least be right about it.

Thank you for informing me, I never actually tried to implement it since I only had that file provided by a friend of my who owned the addon, but I am sure if I actually had it I would discover the error.

Link to comment

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.