Jump to content
  • 0
Tutti

Command #changesex !

Question

English!
Player uses #changesex command, the other players that attic logged keeps seeing it as it was.
 
How to fix it already diffei other hexed to see if the problem was the hexed continued the same thing has somewhere in the Source who might be taking a look
 
Portugues!
Player usa comando #changesex , os outros players que stão logado continua vendo ele como estava.
 
Como arrumar isto ja diffei outro HEXED para ver se o problema era no HEXED continuou a mesma coisa tem algum lugar na Source que possa estar dando uma olhada 

Share this post


Link to post
Share on other sites

19 answers to this question

Recommended Posts

  • 0

Groups.conf

You might have line as

changesex: [true, true]

Change it to

changesex: true

The second true allows to use # command.

Share this post


Link to post
Share on other sites
  • 0

Friend searched here and found command #changesex.

 

 

/*

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

Unique group number. The only required field.


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


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


A group of settings
 
:
or
: [ , ]
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.


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/logs.conf'.


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


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
*/

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 */
commands: true
go: true
warp: 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
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

breakguild: true
channel: true
}
permissions: {
}
},
{
id: 2
name: "Support"
inherit: ( "Super Player" )
level: 1
commands: {
version: true
where: true
jumpto: true
who: true
who2: true
who3: true
whomap: true
whomap2: true
whomap3: true
users: true
broadcast: true
localbroadcast: true
}
log_commands: true
permissions: {
receive_requests: true
view_equipment: true
}
},
{
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: {
monster: true
monstersmall: true
monsterbig: true
killmonster2: true
cleanarea: true
cleanmap: true
item: [true, true]
zeny: [true, 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
}
log_commands: true
permissions: {
can_trade: false
any_warp: true
}
},
{
id: 10
name: "Law Enforcement"
inherit: ( "Support" )
level: 2
commands: {
hide: true
follow: true
kick: true
disguise: true
fakename: true
option: true
speed: true
kill: true
recall: true
ban: true
block: true
jail: true
jailfor: true
mute: true
storagelist: true
cartlist: true
itemlist: true
stats: 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
}
},
{
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_trade_bound: false
can_party: true
all_skill: false
all_equipment: false
skill_unconditional: false
use_check: true
use_changemaptype: true
all_commands: true
hchsys_admin: true
}
}
)

 

Share this post


Link to post
Share on other sites
  • 0

@@Tutti

Do you have any custom script which uses bindatcmd and have changesex in it?

Or maybe gm are doing #changesex instead of players?

Share this post


Link to post
Share on other sites
  • 0

maybe related to this?

No, since that's fix for conflict between char based and account based genders.

 

The topic starter is saying that players can use #changesex, which they shouldn't be able to unless its used on groups.conf or bindatcmd script command.

Share this post


Link to post
Share on other sites
  • 0

I made this item!

 

 

 

// --------- TROCA DE SEXO ---------------
{
Id: 13974
AegisName: "TW_Scroll01"
Name: "Troca de Sexo"
Type: 0
Buy: 20
Weight: 10
Script: <" atcommand "@changesex"; ">
},

 

 

 



English!

I mean that the player use this item I posted in the post above it usually works.
 
Only the player who's logged into the server keeps seeing it with the sex he was not already as just become the player who used the item ve it with the already transformed into account other sex and not the other players

 

 

Portugues!

Estou querendo dizer que ao player usar este item que eu postei no post acima ele funciona normalmente.
 
Só que os player que esta logado no servidor continua vendo ele com o sexo que ele estava  e não ja como transformado apenas o player que usou o item ve ele com a conta ja transformada em outro sexo e os outros players nao
Edited by Tutti

Share this post


Link to post
Share on other sites
  • 0

 

maybe related to this?

No, since that's fix for conflict between char based and account based genders.

 

The topic starter is saying that players can use #changesex, which they shouldn't be able to unless its used on groups.conf or bindatcmd script command.

 

actually his problem is that player's view is not being updated for logged in characters

Share this post


Link to post
Share on other sites
  • 0
 English!
This same player uses the item in the account that was used it will be normal as the exchange of SEX was now made to other players will be normal like you're not used to exchange sex.
 
already tried everything to see if I could tidy and nothing
 Did you know it has something to do with the SOURCE
 
 
Portugues!
Isso mesmo player usa o item na conta que foi usada ela aparece normal como foi feita a troca de SEXO agora para outros players aparece normal como se nao estivesse usado a troca de sexo .
 
ja tentei de tudo para ver se conseguia arruma e nada 
Queria sabe se tem algo a ver com a SOURCE

Share this post


Link to post
Share on other sites
  • 0

English!

friend my project is already all OK wanted a solution to be able to put away without me having to change emulator.

 

Portugues !

amigo meu projeto ja esta tudo OK queria uma solução para poder arrumar sem eu ter que trocar de emulador .

Share this post


Link to post
Share on other sites
  • 0

English!

friend my project is already all OK wanted a solution to be able to put away without me having to change emulator.

 

Portugues !

amigo meu projeto ja esta tudo OK queria uma solução para poder arrumar sem eu ter que trocar de emulador .

There was a fix committed to Hercules yesterday, so updating the Hercules will solve your problem.

Share this post


Link to post
Share on other sites
  • 0

 

English!

friend my project is already all OK wanted a solution to be able to put away without me having to change emulator.

 

Portugues !

amigo meu projeto ja esta tudo OK queria uma solução para poder arrumar sem eu ter que trocar de emulador .

There was a fix committed to Hercules yesterday, so updating the Hercules will solve your problem.

When you finish will be getting in touch with me?

Share this post


Link to post
Share on other sites
  • 0

English!

when they finish watching this bug will be communicating me how to solve this ??

 

Portugues!

quando terminarem de ver este bug vao estar me comunicando de como resolver isto ??

Share this post


Link to post
Share on other sites
  • 0

all changes in that link, or just download latest hercules and update your server

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.