Jump to content
  • 0

Can't use GM commands


zhiren

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  01/31/12
  • Last Seen:  

Hi,

I just switched to rAthena recently, however, I can't use any GM commands. I already applied the necessary changes in groups.conf and SQL (group_id 99), but whenever I try to use a command, it appears like a normal chat message. NPCs which are supposed to recognize GMs also ignore me. Is there anything I need to change? ( moved from eAmod)

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  218
  • Reputation:   32
  • Joined:  05/29/12
  • Last Seen:  

Are you sure you changed the value in the sql db?

relogin in your db and check the value.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  01/31/12
  • Last Seen:  

Thanks for your reply. Yes I think I have. I even tried changing group_id_to_connect to 99 and my account can login just fine. It's a freshly installed rAthena. The only files I copied are my npc/custom folder and item_db2. Only src edited are for max lvl, zeny and packetver.

I also tried using a different group_id but same results. It's weird the NPCs don't recognize my GM level as well.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  154
  • Reputation:   8
  • Joined:  05/31/12
  • Last Seen:  

If im not mistaken you are to define the gm level inside your sql database. Look for your username and and add the necessary level for your account..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  01/31/12
  • Last Seen:  

Yes, 'level' was already changed to 'group_id'. The GM account already belongs to group 99. I am wondering if I still need to update other sql tables, since I am migrating from eAmod.

bump. I still can't figure out how to fix it. Anyone got ideas?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

well...Level is actually still exist in rAthena...

but command setting is not adjust according to Level but Group ID

refer this 2 files to help you to get what is the list of available permission and command you can set.

https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/permissions.txt

https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/atcommands.txt

then here....the files for adjust the command and permission for each group

https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/conf/groups.conf

let say now we take this as example..the Group ID 0...normal player group.

id: 0 /* group 0 is the default group for every new account */
name: "Player"
level: 0
inherit: ( /*empty list*/ )
commands: {
 /* no commands by default */
}
permissions: {
 /* without this basic permissions regular players could not
 trade or party */
 can_trade: true
 can_party: true
}

as you can see from above...

ID = Group ID

Name = Name of this Group

Inherit = This Group Inherit What other Group Permissions / Commands

Command = Available Command for this Group

Permission = Permission of this Group

let say now you wanna add @go and @autoloot command to players...so you just simply add this line into the command field..

autoloot: true
go: true

True = Enable

False = Disable

and now..if you wanna add a new permission to the group...add like this in the permission field...

can_trade: true
can_party: true

and for this

log_commands: true

just what what it refer....it log the commands used by this group members in sql or any other form you specify..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  01/31/12
  • Last Seen:  

Thank you for the explanation. I changed nothing on the admin group ID, which has all_commands by default ( the account I'm using belongs to group 99). Still no progress, I might stick with eAmod for a while until I get my hands on a test server. Thanks!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   1
  • Joined:  01/22/12
  • Last Seen:  

sir Emistry Can you give me example how to listed For regular player with group_id 0 cam use Regular comand like @Mi @autoloot @ii @alootid @whodrops @whereis @duel @go @storage?

i allready Give the Command But sudenly my GM acount 99 cant do command anything to? how should i wrote ind group_conf?

Tq

groups: (

{

id: 0 /* group 0 is the default group for every new account */

name: "Player"

level: 0

inherit: ( /*empty list*/ )

commands: {

/* no commands by default */

autoloot: true

alootid: true

}

permissions: {

/* without this basic permissions regular players could not

trade or party */

can_trade: true

can_party: true

}

Like this??

},

Edited by IusReservoir
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...