Jump to content
  • 0

How to properly added "extra" char slot for VIP? (SOLVED)


rakuzas

Question


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

Hello,

I'm using latest rAthena (fresh copy).. And 2017-05-17aRagexeRE client diffed with new Nemo.. 

I already edit in core.h

/// Uncomment to enable VIP system.
#define VIP_ENABLE

/// Enable VIP script changes? (requires VIP_ENABLE)
/// The primary effects of this are restrictions on non-VIP players, such as requiring
/// a Reset Stone to change into third classes, paying more for equipment upgrades, and
/// so forth. Note that the changes are based on euRO, not iRO.
#define VIP_SCRIPT 0

#ifdef VIP_ENABLE
	#define MIN_STORAGE 600 // Default number of storage slots.
	#define MIN_CHARS 15 // Default number of characters per account.
	#define MAX_CHAR_VIP 12 // This must be less than MAX_CHARS
	#defi

then, edit mmo.h

/** Max number of characters per account. Note that changing this setting alone is not enough if the client is not hexed to support more characters as well.
* Max value tested was 265 */
#define MAX_CHARS 265

 

Also edited, login_athena.conf

// Which group (ID) will be denoted as the VIP group?
// Default: 5
vip_group: 5

// How many characters are allowed per account?
// You cannot exceed the limit of MAX_CHARS slots, defined in mmo.h, or chars_per_account
// will default to MAX_CHARS.
// 0 will default to the value of MIN_CHARS. (default)
chars_per_account: 0

// Max character limit increase for VIP accounts (0 to disable)
// Increase the value of MAX_CHARS if you want to increase vip_char_increase.
// Note: The amount of VIP characters = MAX_CHARS - chars_per_account.
// Note 2: This setting must be set after chars_per_account.
// -1 will default to MAX_CHAR_VIP (src/config/core.h)
vip_char_increase: 3

 

 

But.. My problem is.. When I login, I cannot make new char with my 2017 client? It display unavailable like this picture below..

error.png.8052467787174846973941f9ac0f3fe4.png

 

But I not get any debug or error from console.. How can I properly adding extra new slot for VIP? Tried few hours trial and error also googling around and check rathena thread got from google still no luck.. 

My current working is 9 slot for normal player.. So i want to give extra slot for VIP.. 

Thanks for replying..

Edited by rakuzas
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   36
  • Joined:  04/01/13
  • Last Seen:  

in core.h

	#define MIN_CHARS 12 // Default number of characters per account.
	#define MAX_CHAR_VIP 3 // This must be less than MAX_CHARS

in mmo.h

#define MAX_CHARS 15
Edited by M4karov
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

6 hours ago, M4karov said:

in core.h


	#define MIN_CHARS 12 // Default number of characters per account.
	#define MAX_CHAR_VIP 3 // This must be less than MAX_CHARS

in mmo.h


#define MAX_CHARS 15

Finally I can get it right.. /sob Thank you a lot @M4karov.. May god bless you..

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   2
  • Joined:  02/15/13
  • Last Seen:  

#define MAX_CHARS 15
#define MIN_CHARS 12 

#define MAX_CHAR_VIP 3

#define MAX_CHAR_VIP 15 ==> 256 
ok?
Link to comment
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...