Jump to content
  • 0
LearningRO

Increase Max Storage

Question

Hi, I try to change Max Storage for VIP 800
and Normal account 600
and this is my setting
core.hpp
 

#ifdef VIP_ENABLE
	#define MIN_STORAGE 600 // Default number of storage slots. I increase this from 300 to 600 for make normal account have 600 slot and VIP 800

mmo.hpp
 

#define MAX_STORAGE 800 ///Max number of storage slots a player can have

Battle.cpp
 

#ifdef VIP_ENABLE
	{ "vip_storage_increase",               &battle_config.vip_storage_increase,          100,      0,      MAX_STORAGE-MIN_STORAGE, },
#else
	{ "vip_storage_increase",               &battle_config.vip_storage_increase,          300,      0,      MAX_STORAGE, },

I change into 100 from 300 coz I'll get warning when use @reloadbattleconf 
warning like this 

][Warning]: Value for setting 'vip_storage_increase': 300 is invalid (min:0 max:200)! Defaulting to 100...

and last setting 
on import/battle.com
 

// Storage slot increase. Setting to 0 will disable.
// Give more storage slots above the MIN_STORAGE limit.
// Note: MIN_STORAGE + vip_storage_increase cannot exceed MAX_STORAGE.
// Default: 300
vip_storage_increase: 100


My Issue is about the warning when try to use @reloadbattleconf
and the warning always said my value its 300 not 100(see my battle.conf)

did i miss some step??
 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hey I suggest you to use additional storage instead of increase max value.

Because somehow I remember it crash when store high-amount of items.

(Additional storage >> You can added many many special storage like VIP Storage 01, VIP Storage 02)

Share this post


Link to post
Share on other sites
  • 0
Just now, Start_ said:

Hey I suggest you to use additional storage instead of increase max value.

Because somehow I remember it crash when store high-amount of items.

(Additional storage >> You can added many many special storage like VIP Storage 01, VIP Storage 02)

hI, for the issue make a crash i think already solved it

btw How to additional storage? 

Share this post


Link to post
Share on other sites
  • 0

conf > inter_server

image.png.d0b691e5293f650e337c60622e686801.png

 

then add storage2 table on database too. (Duplicate from storage)

 

then simple call

openstorage2 1,STOR_MODE_GET|STOR_MODE_PUT;

  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0
10 minutes ago, Start_ said:

conf > inter_server

image.png.d0b691e5293f650e337c60622e686801.png

 

then add storage2 table on database too. (Duplicate from storage)

 

then simple call

openstorage2 1,STOR_MODE_GET|STOR_MODE_PUT;

LOL i never notice this feature thx a lot bro 😄


But if somebody whould like to help my issue im still accepted 😄

Share this post


Link to post
Share on other sites
  • 0

I think this is the clue bro,

Note: MIN_STORAGE + vip_storage_increase cannot exceed MAX_STORAGE.

Your MIN_STORAGE is 600
You set MAX_STORAGE to 800

So, you only have 200 space available to use

also if you want to add more MAX_STORAGE, there is a limit for this, but i dont remember the exact number,

@Start_ suggestion is the only way for you to add more storage space.

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.