Jump to content
Returning Members: Password Reset Required ×

[HELP] - Warehouse Gold Issue


Recommended Posts

Posted

Hey everyone,

I’m running into a strange issue with my warehouse system and I’m hoping someone here has seen this before or can point me in the right direction.

Whenever I try to deposit or withdraw large amounts of gold, the action doesn’t go through. For example:

Trying to deposit/withdraw 10,000,000 gold → nothing happens

Trying to deposit/withdraw 10,000 gold → works perfectly

So the system works, but only for smaller amounts. Anything in the millions just fails silently.

Has anyone run into this before?
Is this a client-side limit, server-side limit, or something in the packet structure?

Any suggestions or guidance would be greatly appreciated.

Posted

Pretty sure there is a server side limit on your case , as far as i know client money uses uint at least ... at least on the version i worked on so far , so you shouldn't encounter such an issue for amounts less than 4.2 Billions . 

Posted (edited)

It looks like it is something issue in Conquer.exe where I don't know where to find it, I tried several in the server side but nothing happen although I manage to deposit/withdraw the max amount but never work with what amount I would like to get.

Edited by soulfly
Posted (edited)

Check if money save for warehouse is stored as UInt32 in the database

If so, values over ~4.2 billion will be truncated

Check the part in your code which handles the withdraw/deposit logic and try to print the values being withdrawn/deposited and check if they're truncated to debug further.

This is not a client side limitation, it's server side.

Edited by xFranko
Posted

@soulfly I mean this in the most sincere way I can express this: I think you could really benefit from some online programming courses or something (maybe a community college near you?). At this point, you really should learn how to debug more thoroughly, and learn more about client-server architecture, data types, data structures, and networking. I think you could really use some online supplements to bridge the gaps you're experiencing. Especially with how long you've been interested in private server development for. Feel free to ignore this advice, but it may help unblock you with a lot of the work you want to accomplish.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...