Jump to content
  • 0

about group id to connect to server.


XenaNyx

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   8
  • Joined:  02/08/12
  • Last Seen:  

// Required account group id to connect to server

// -1: disabled

// 0 or more: group id

group_id_to_connect: 1

rathena not like eathena ? i set 1 only level 1 can connect , other level can't connect

because i want to set min level to connect to server.

rathena can set like this ?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

what if i dont want normal players to connect while maintenance only gm with group id 4 and group id 99 can join the server

what will i put here:

 

Quote

// Required account group id to connect to server.
// -1: disabled
// 0 or more: group id
group_id_to_connect: 99

ive try to put 4 but gm id 99 cant login only gm group id 4 can

i want them both to have access to login in the server

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  796
  • Reputation:   101
  • Joined:  05/23/12
  • Last Seen:  

On 2/16/2022 at 10:30 AM, chadness said:

what if i dont want normal players to connect while maintenance only gm with group id 4 and group id 99 can join the server

what will i put here:

 

ive try to put 4 but gm id 99 cant login only gm group id 4 can

i want them both to have access to login in the server

Please don't reopen so old threads. It's a bit confusing cuz the date and the sort of the posts.

 

// Minimum account group id required to connect to server.

// Will not function if group_id_to_connect config is enabled.

// -1: disabled

// 0 or more: group id

min_group_id_to_connect: -1

 

 

Rynbef~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  277
  • Reputation:   76
  • Joined:  11/23/11
  • Last Seen:  

I'm sorry but, I don't understand your question!!! :<

What are you going on about?

What is it that your trying to do?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   104
  • Joined:  11/19/11
  • Last Seen:  

src/login/login.c

find

if( login_config.group_id_to_connect >= 0 && sd->group_id != login_config.group_id_to_connect )

you can try changed != to < and recompile..

that should be as you want

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   8
  • Joined:  02/08/12
  • Last Seen:  

thanks for helping :)

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