Jump to content
  • 0

Admin not able to attack.


Elias

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   3
  • Joined:  10/24/12
  • Last Seen:  

Hello,

 

I have been looking around and... I don't understand if this is intended but as Admin of the server I can't attack mobs/players nor be attacked.

 

I am running on Revision: 17695

 
Anyone please update me ? I don't seem to find anything regarding this.
 
Kind regards.
Link to comment
Share on other sites

15 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   6
  • Joined:  06/16/13
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

Hello Elias!

 

I have few questions that can answer your questions.

 

1. Did you compile your Client's Date in src/common/mmo.h?

2. Are you using the correct packet version? (You can know what packet version you need to use, just restart your server and wait until it says that you are not using the right packet version)

3. Answer number 2 and 3.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   3
  • Joined:  10/24/12
  • Last Seen:  

Hello,

 

1 . Yes

2. Yes

 

Everything is working perfectly.

 

The rest of gms can attack normally. The only one with not able to hit be hitten problems is me. ( group id: 99)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

Hello Elias,

 

 

Please check your groups.conf if there is a id: 99

{
    id: 99
    name: "Admin"
    level: 99
    inherit: ( "Support", "Law Enforcement" )
    commands: {
        /* not necessary due to all_commands: true */
    }
    log_commands: true
    permissions: {
        can_trade: true
        can_party: true
        all_skill: false
        all_equipment: false
        skill_unconditional: false
        use_check: true
        use_changemaptype: true
        all_commands: true
        channel_admin: true
        can_trade_bounded: true
        item_unconditional: false
        /* all_permission: true */
    }
}
Edited by Microsoft
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   3
  • Joined:  10/24/12
  • Last Seen:  


id: 99

name: "Admin"

level: 99

inherit: ( "Support", "Law Enforcement" )

commands: {

/* not necessary due to all_commands: true */

}

log_commands: true

permissions: {

can_trade: true

can_party: true

all_skill: false

all_equipment: false

skill_unconditional: false

use_check: true

use_changemaptype: true

all_commands: true

channel_admin: true

can_trade_bounded: true

item_unconditional: true

view_equipment: true

all_permission: true

}

}

)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

 id: 99
        name: "Admin"
        level: 99
        inherit: ( "Support", "Law Enforcement" )
        commands: {
                /* not necessary due to all_commands: true */
        }
        log_commands: true
        permissions: {
                can_trade: true
                can_party: true
                all_skill: false
                all_equipment: false
                skill_unconditional: false
                use_check: true
                use_changemaptype: true
                all_commands: true
                channel_admin: true
                can_trade_bounded: true
                item_unconditional: true
                view_equipment: true
                all_permission: true
        }
}
)

did you disable monster attacking on other GM's?

maybe you "Inherit" their permissions

check your "Support, Law Enforcement"

if you block their attacking, you will also be block because you inherited their permission

to allow yourself to attack, you must add this permissions in your group

disable_pvm: false
disable_pvp: false
*disable_pvm

Prevents player from attacking monsters.

---------------------------------------

*disable_pvp

Prevents player from attacking other players.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   3
  • Joined:  10/24/12
  • Last Seen:  

Edited,

 

My permisions look like this now:

{
        id: 99
        name: "Admin"
        level: 99
        inherit: ( "Support", "Law Enforcement" )
        commands: {
                /* not necessary due to all_commands: true */
        }
        log_commands: true
        permissions: {
                can_trade: true
                can_party: true
                all_skill: false
                all_equipment: false
                skill_unconditional: false
                use_check: true
                use_changemaptype: true
                all_commands: true
                channel_admin: true
                can_trade_bounded: true
                item_unconditional: true
                view_equipment: true
                all_permission: true
                disable_pvm: false
                disable_pvp: false
        }
}
)

Still not working.

The rest of gms don't seem to be affected.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

what do you mean the rest? add permissions to all groups if possible.

 

EDIT: After you add, make sure to reload configuration

Edited by LuLu
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   3
  • Joined:  10/24/12
  • Last Seen:  

The admin reads from Support and Law enforcement, well the three groups ( support, law enforcement and admin) have now:

 

                disable_pvm: false
                disable_pvp: false
 
On their permissions.
 
Rest of the staff is fine. Admin group is bugged.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

reload their settings

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   3
  • Joined:  10/24/12
  • Last Seen:  

Already did!

Link to comment
Share on other sites


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

Already did!

is this solved ???if still got problem please show your complete conf/groups.conf

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  111
  • Reputation:   2
  • Joined:  05/09/13
  • Last Seen:  

i have this , i did all the above and still have the issue.

/*

Player groups configuration file
---------------------------------

This file defines "player groups" and their privileges.

Each group has its id and name, lists of available commands and other 
permissions, and a list of other groups it inherits from.


Group settings
--------------
<id>
Unique group number. The only required field.

<name>
Any string. If empty, defaults to "Group <id>". It is used in several @who 
commands.

<level>
Equivalent of GM level, which was used in revisions before r15572. You can 
set it to any number, but usually it's between 0 (default) and 99. Members of 
groups with lower level can not perform some actions/commands (like @kick) on 
members of groups with higher level. It is what script command getgmlevel() 
returns. Group level can also be used to override trade restrictions 
(db/item_trade.txt).

<commands>
A group of settings
	<command name> : <bool>
or
	<commandname> : [ <bool>, <bool> ]
First boolean value is for atcommand, second one for charcommand. If set to 
true, group can use command. If only atcommand value is provided, false is 
assumed for charcommand. If a command name is not included, false is assumed for 
both atcommand and charcommand.
For a full list of available commands, see: doc/atcommands.txt.
Command names must not be aliases.

<log_commands>
Boolean value. If true then all commands used by the group will be logged to 
atcommandlog. If setting is omitted in a group definition, false is assumed.
Requires 'log_commands' to be enabled in 'conf/log_athena.conf'.

<permissions>
A group of settings
	<permission> : <bool>
If a permission is not included, false is assumed.
For a full list of available permissions, see: doc/permissions.txt

<inherit>
A list of group names that given group will inherit commands and permissions 
from. Group names are case-sensitive.

Inheritance results
-------------------
Both multiple inheritance (Group 2 -> Group 1 and Group 3 -> Group 1) and
recursive inheritance (Group 3 -> Group 2 -> Group 1) are allowed.

Inheritance rules should not create cycles (eg Group 1 inherits from Group 2, 
and Group inherits from Group 1 at the same time). Configuration with cycles is 
considered faulty and can't be processed fully by server.

Command or permission is inherited ONLY if it's not already defined for the 
group.
If group inherits from multiple groups, and the same command or permission is 
defined for more than one of these groups, it's undefined which one will be 
inherited.

Syntax
------
This config file uses libconfig syntax: 
http://www.hyperrealm.com/libconfig/libconfig_manual.html#Configuration-Files


Upgrading from revisions before r15572
-------------------------------------
http://rathena.org/board/index.php?showtopic=58877
*/

groups: (
{
	id: 0 /* group 0 is the default group for every new account */
	name: "Player"
	level: 0
	inherit: ( /*empty list*/ )
	commands: {
		allskill: true
		pvpmode: true
		whopk: true
		mount: true
		listenbg: true
		mobinfo: true
		security: true
		iteminfo: true
		duel: true
		accept: true
		afk: true
		leave: true
		reject: true
		changegm: true
		whodrops: true
		time: true
		jailtime: true
		hominfo: true
		repairall: true
		homstats: true
		commands: true
		help: true
		warp: true
		storage: true
		guildstorage: true
		packetfilter: true
		rates: true
		autoloot: true
		autoloottype: true
		autotrade: true
		request: true
		go: true
		breakguild: true
		who: true
		order: true
		leader: true
		reportafk: true
		autorefresh: true
		jump: true
		storeall: true
		refresh: true
	}
	permissions: {
		/* without this basic permissions regular players could not 
		trade or party */
		can_trade: true
		can_party: true
	}
},
{
	id: 1
	name: "Super Player"
	inherit: ( "Player" ) /* can do everything Players can and more */
	level: 0
	commands: {
		/* informational commands */
		charcommands: true
		uptime: true
		showdelay: true
		exp: true
		showexp: true
		showzeny: true
		whereis: true
		/* feature commands */
		noask: true
		noks: true
//		alootid: true - Removed by eAmod
//		channel: true
		langtype: true
	}
	permissions: {
	disable_pvm: false
	disable_pvp: false
	
	}
},
{
	id: 2
	name: "Support"
	inherit: ( "Super Player" )
	level: 1
	commands: {
		version: true
		where: true
		jumpto: true
		who2: true
		who3: true
		whomap: true
		whomap2: true
		whomap3: true
		users: true
		broadcast: true
		localbroadcast: true
	}
	log_commands: true
	permissions: {
		receive_requests: true
		disable_pvm: false
		disable_pvp: false
	}
},
{
	id: 3
	name: "Script Manager"
	inherit: ( "Support" )
	level: 1
	commands: {
		tonpc: true
		hidenpc: true
		shownpc: true
		loadnpc: true
		unloadnpc: true
		npcmove: true
		addwarp: true
	}
	log_commands: true
	permissions: {
		any_warp: true
	}
},
{
	id: 4
	name: "Event Manager"
	inherit: ( "Support" )
	level: 1
	commands: {
		cleanmap: true
		disguise: [true, true]
		undisguise: [true, true]
		size: [true, true]
		raise: true
		raisemap: true
		day: true
		night: true
		skillon: true
		skilloff: true
		pvpon: true
		pvpoff: true
		gvgon: true
		gvgoff: true
		allowks: true
		me: true
		marry: true
		divorce: true
		refreshall: true
		blvl: true
		jlvl: true
	}
	log_commands: true
	permissions: {
		can_trade: false
		any_warp: true
	}
},
{
	id: 5
	name: "VIP"
	inherit: ( "Player" ) /* can do everything Players can */
	level: 5
	commands: {
		rates: true
		who: true
	}
	permissions: {
		/* no permissions by default */
	}
},
{
	id: 90
	name: "Law Enforcement"
	inherit: ( "Support" )
	level: 90
	commands: {
		kick: true
		pvpon: true
		pvpoff: true
		speed: true
//		ipcheck: true
		killable: true
		alive: true
		blvl: true
		jlvl: true
		mute: true
		unmute: true
		kill: true
		killer: true
		recall: true
//		revive: true
		jail: true
		unjail: true
		disguise: true
		undisguise: true
		fakename: true
		storagelist: true
		follow: true
		hide: true
		me: true
		unloadnpcfile: true
		loadnpc: true
	}
	log_commands: true
	permissions: {
		join_chat: true
		kick_chat: true
		hide_session: true
		who_display_aid: true
		hack_info: true
		any_warp: true
		view_hpmeter: true
		disable_pvm: false
		disable_pvp: false
	}
},
{
	id: 98
	name: "High GM"
	inherit: ( "Law Enforcement", "Event Manager" ) /* can do everything Players can */
	level: 98
	commands: {
		nuke: true
		item: true
		kill: true

	}
	permissions: {
		item_unconditional: false
		view_equipment: true
	}
},
{
	id: 99
        name: "Admin"
        level: 99
        inherit: ( "Support", "Law Enforcement" )
        commands: {
                /* not necessary due to all_commands: true */
        }
        log_commands: true
        permissions: {
                can_trade: true
                can_party: true
                all_skill: false
                all_equipment: false
                skill_unconditional: false
                use_check: true
                use_changemaptype: true
                all_commands: true
//                channel_admin: true
                can_trade_bounded: true
                item_unconditional: true
                view_equipment: true
                all_permission: true
        }
}
)

I have foiund the solution for me .

i added the disable_pvm and pvp to all groups , and in my case ,

 

the

 

all_permission: true

 

had to be set to

 

/* all_permission: true */

Edited by BFPkiller
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

Wow, what an old thread..

Make sure you don't have imba stat. I mean the number is ridiculously high. Try to (first) set them to 99, then to 170 or the max stat.

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