Jump to content
  • 0

How to Modify Level 0 Group_id/GM Commands


Marihna

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  37
  • Reputation:   0
  • Joined:  09/28/17
  • Last Seen:  

Hello! I'm having trouble editing my group commands for level 0 group_id. I would like normal players by default to be able to use autoloot and everything I have tried doesn't seem to be working. I have edited the script and reloaded everything in the game-client side, but when I try to use a command on a normal account, it just shows up as normal chat text, not "Invalid ID" or anything. 

 

This is my current script:

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
		go: true

	permissions: {
		/* without this basic permissions regular players could not 
		trade or party */
		can_trade: true
		can_party: true
		command_enable: true
	}
},
{
	id: 1
	name: "Super Player"
	inherit: ( "Player" ) /* can do everything Players can and more */
	level: 0
	commands: {
		/* informational commands */
		commands: true
		charcommands: true
		help: true
		rates: true
		uptime: true
		showdelay: true
		exp: true
		mobinfo: true
		iteminfo: true
		whodrops: true
		time: true
		jailtime: true
		hominfo: true
		homstats: true
		showexp: true
		showzeny: true
		whereis: true
		/* feature commands */
		refresh: true
		noask: true
		noks: true
		autoloot: true
		alootid: true
		autoloottype: true
		autotrade: true
		request: true
		go: true
		breakguild: true
		channel: true
		langtype: true
	}
	permissions: {
	}
},

Any help would be appreciated. Thank you!

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  333
  • Reputation:   67
  • Joined:  09/05/12
  • Last Seen:  

5 hours ago, Marihna said:

Hello! I'm having trouble editing my group commands for level 0 group_id. I would like normal players by default to be able to use autoloot and everything I have tried doesn't seem to be working. I have edited the script and reloaded everything in the game-client side, but when I try to use a command on a normal account, it just shows up as normal chat text, not "Invalid ID" or anything. 

 

This is my current script:


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
		go: true
	}
	permissions: {
		/* without this basic permissions regular players could not 
		trade or party */
		can_trade: true
		can_party: true
		command_enable: true
	}
},
{
	id: 1
	name: "Super Player"
	inherit: ( "Player" ) /* can do everything Players can and more */
	level: 0
	commands: {
		/* informational commands */
		commands: true
		charcommands: true
		help: true
		rates: true
		uptime: true
		showdelay: true
		exp: true
		mobinfo: true
		iteminfo: true
		whodrops: true
		time: true
		jailtime: true
		hominfo: true
		homstats: true
		showexp: true
		showzeny: true
		whereis: true
		/* feature commands */
		refresh: true
		noask: true
		noks: true
		autoloot: true
		alootid: true
		autoloottype: true
		autotrade: true
		request: true
		go: true
		breakguild: true
		channel: true
		langtype: true
	}
	permissions: {
	}
},

Any help would be appreciated. Thank you!

Try that. You are missing 1 right curly brace before the permissions.

  • Upvote 1
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  333
  • Reputation:   67
  • Joined:  09/05/12
  • Last Seen:  

Just now, Marihna said:

Thank you for the response. Unfortunately, that didn't appear to fix the problem either. I did add it though, so at least it is in there now. Thank you for catching it. 

Is there a specific way I should be trying to refresh the server to implement it? I've just been using @reloadscript on my GM account assuming it would refresh everything and make it work after I applied changes to the script....

You can use @reloadatcommand to refresh the groups.conf without restarting the server.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1678
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

try to

commands: true

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  37
  • Reputation:   0
  • Joined:  09/28/17
  • Last Seen:  

Thank you for the suggestion. Adding commands:true didn't seem to work either.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   53
  • Joined:  02/12/17
  • Last Seen:  

Hello, have you changed the group_id in your SQL (phpmyadmin, etc.)?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  37
  • Reputation:   0
  • Joined:  09/28/17
  • Last Seen:  

12 hours ago, Freya said:

Hello, have you changed the group_id in your SQL (phpmyadmin, etc.)?

Yes, the group_id is correct for the players. I double checked that before I posted. :)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  37
  • Reputation:   0
  • Joined:  09/28/17
  • Last Seen:  

14 hours ago, GodKnows Jhomz said:

Try that. You are missing 1 right curly brace before the permissions.

Thank you for the response. Unfortunately, that didn't appear to fix the problem either. I did add it though, so at least it is in there now. Thank you for catching it. 

Is there a specific way I should be trying to refresh the server to implement it? I've just been using @reloadscript on my GM account assuming it would refresh everything and make it work after I applied changes to the script....

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  37
  • Reputation:   0
  • Joined:  09/28/17
  • Last Seen:  

6 hours ago, GodKnows Jhomz said:

You can use @reloadatcommand to refresh the groups.conf without restarting the server.

Perfect! That seemed to do it! I really appreciate your help ^^ Thank you so much!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  333
  • Reputation:   67
  • Joined:  09/05/12
  • Last Seen:  

7 hours ago, Marihna said:

Perfect! That seemed to do it! I really appreciate your help ^^ Thank you so much!

Glad to help you out on your problem. ;)

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