Jump to content
  • 0

Can't use GM commands


Question

Posted

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)

7 answers to this question

Recommended Posts

Posted

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.

Posted

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?

Posted

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

Posted

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!

Posted (edited)

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...