The chat server is activated, but only those with GM or higher authority can use it.
How to edit so that general users can also use it?
Printable View
The chat server is activated, but only those with GM or higher authority can use it.
How to edit so that general users can also use it?
Currently, version 4.6 is using the server pack shared by Robson,
and the chat server was also tested with version 4.3 of Robson.
It doesn't seem to be a problem with the chat server.
However, there seems to be a problem somewhere in the game server,
but I have no idea where to fix it.
There are no error messages.
When /1, /2, /3 is input, it is activated but not output.
However, only when the access_level is 3 or higher, the output is displayed.
I want to make it available to normal users with access_level 0 as well.
It is the same symptom even when testing with a different version of the chat server.
So, I guessed that the access_level of the chat server was set somewhere in the game server,
and I checked various files, but I couldn't find it due to my lack of skills.
Please clear my doubt and test these files,
check if you have the same problem or if it was solved.
https://mega.nz/file/0AhlWTBJ#DjOeMp...xEewAxb9NzBRZc
I really appreciate Robson's help. However, there is an error in the file you shared, and the symptoms are the same.Quote:
ERROR [InstantPool-6] com.aionemu.commons.scripting.impl.javacompiler.ErrorListener [ErrorListener.java:62] Java Compiler
ERROR: cannot find symbol symbol: variable CUSTOMTAG_ACCESS6 location: class com.aionemu.gameserver.configs.administration.AdminConfig Source: /C:/Aion4.6/Aion4.6_Emu/AL-Game/./data/scripts/system/handlers/playercommands/cmd_gmlist.java Line: 79 Column: 127
ERROR [InstantPool-6] com.aionemu.commons.scripting.impl.javacompiler.ErrorListener [ErrorListener.java:62] Java Compiler
ERROR: cannot find symbol symbol: variable CUSTOMTAG_ACCESS6 location: class com.aionemu.gameserver.configs.administration.AdminConfig Source: /C:/Aion4.6/Aion4.6_Emu/AL-Game/./data/scripts/system/handlers/playercommands/cmd_gmlist.java Line: 79 Column: 84
WARN [InstantPool-4] com.aionemu.commons.utils.concurrent.ExecuteWrapper [ExecuteWrapper.java:51] Exception in a Runnable execution: com.aionemu.gameserver.GameServerError: Can't initialize chat handlers.
at com.aionemu.gameserver.utils.chathandlers.ChatProcessor.init(ChatProcessor.java:115) ~[AL-Game.jar:na]
at com.aionemu.gameserver.utils.chathandlers.ChatProcessor.load(ChatProcessor.java:62) ~[AL-Game.jar:na]
at com.aionemu.gameserver.GameServer$2.run(GameServer.java:197) ~[AL-Game.jar:na]
at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:48) ~[al-commons.jar:na]
at com.aionemu.commons.utils.concurrent.RunnableWrapper.run(RunnableWrapper.java:40) [al-commons.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_80]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_80]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80]
Caused by: java.lang.RuntimeException: Error while compiling classes
at com.aionemu.commons.scripting.impl.javacompiler.ScriptCompilerImpl.doCompilation(ScriptCompilerImpl.java:196) ~[al-commons.jar:na]
at com.aionemu.commons.scripting.impl.javacompiler.ScriptCompilerImpl.compile(ScriptCompilerImpl.java:165) ~[al-commons.jar:na]
at com.aionemu.commons.scripting.impl.ScriptContextImpl.init(ScriptContextImpl.java:143) ~[al-commons.jar:na]
at com.aionemu.commons.scripting.scriptmanager.ScriptManager.load(ScriptManager.java:97) ~[al-commons.jar:na]
at com.aionemu.gameserver.utils.chathandlers.ChatProcessor$1.run(ChatProcessor.java:100) ~[AL-Game.jar:na]
... 5 common frames omitted
As a result of some more tests with the existing server file,
if you log in with your GM account and log in with a general account without closing the client,
you can use the chat channel.
It's a really strange phenomenon.
im sure you have same issue what i have fixed long time ago try this goto \config\administration\admin.properties of GameServer
and change line
# GM Panel
# Default: 3
gameserver.administration.gmpanel = 3
to
# GM Panel
# Default: 3
gameserver.administration.gmpanel = 0
and your chat should work again but i hope you dont have GMPanel implented
issue is into SM_ACCOUNT_PROPERTIES
this is my
public class SM_ACCOUNT_PROPERTIES extends AionServerPacket {
private boolean isGM;
public SM_ACCOUNT_PROPERTIES(boolean isGM) {
this.isGM = isGM;
}
@Override
protected void writeImpl(AionConnection con) {
writeH(this.isGM ? 3 : 0);
writeH(0x00);
writeD(1536);
writeD(0x00);
writeD(0x00);
writeD(0x00);
writeC(0x00);
writeD(0x00);
writeD(0x00);
}
}
and ofc i use
# GM Panel
# Default: 3
gameserver.administration.gmpanel = 3
If you are using AionGer 4.6 https://github.com/KarLLMoX/Aion-Server-4.6
so the correct name to check is SM_ACCOUNT_ACCESS_PROPERTIES.java.