/// command register

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
User avatar
St3eT
Posts: 961
Joined: Sun Mar 07, 2010 6:50 pm

/// command register

Post by St3eT »

Hello, is possible register /// command?
I need when someone use ///cfg = kick from game for ilegal action
If i should be black sheep for sure no as punishment
Image
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: /// command register

Post by UnAfraid »

U cannot modify /// commands because they are handled in client..
Image
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: /// command register

Post by jurchiks »

I think he didn't mean to modify but to check when a player enters them.
Since ///geodata doesn't work if you're not a GM server-side, it's possible there are some checks server-side for them, but I don't know about that.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
St3eT
Posts: 961
Joined: Sun Mar 07, 2010 6:50 pm

Re: /// command register

Post by St3eT »

Same ///fly - is only for GM's ..
If i should be black sheep for sure no as punishment
Image
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: /// command register

Post by UnAfraid »

I think that's handled in UserInfo where it sends:

Code: Select all

writeD(_activeChar.isGM() ? 1 : 0); // builder level
maybe that allows you to use client dev commands..
Image
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: /// command register

Post by Zoey76 »

UnAfraid wrote:I think that's handled in UserInfo where it sends:

Code: Select all

writeD(_activeChar.isGM() ? 1 : 0); // builder level
maybe that allows you to use client dev commands..
This.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: /// command register

Post by jurchiks »

That's not a check, just a value. What if players modify that value when receiving the packet?
The question is - is it entirely client-side beside that value?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: /// command register

Post by UnAfraid »

jurchiks wrote:That's not a check, just a value. What if players modify that value when receiving the packet?
The question is - is it entirely client-side beside that value?
Alt + g is validated through the server but the /// commands are not sent to the server and they don't do anything at all.
if you type ///fly only you see it others doesnt sometimes in retail gets buggy and opens skill viwer and u can use skills but only u see them and they don't have effect on u.
Image
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: /// command register

Post by jurchiks »

sometimes in retail gets buggy and opens skill viewer
Yeah, I read those reports, iirc it first showed up when the Gracia Final came out...
if you type ///fly only you see it
Never heard of that command, does it actually make your char fly? And if yes, how does the server react to that?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: /// command register

Post by Zoey76 »

jurchiks wrote:
if you type ///fly only you see it
Never heard of that command, does it actually make your char fly? And if yes, how does the server react to that?

You don't fly, you "fly backwards", is the effect you see when Baium hits you after waking him up.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
St3eT
Posts: 961
Joined: Sun Mar 07, 2010 6:50 pm

Re: /// command register

Post by St3eT »

when u give ///fly is ,,teleport" :D
If i should be black sheep for sure no as punishment
Image
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: /// command register

Post by jurchiks »

Well, in either case, your character does change position, right? If it does, are there any MoveToLocation or similar packets sent? You could detect that one if it's true.
What does ///cfg do then?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: /// command register

Post by MELERIX »

no, is just visual and only visible for you.

///fly is just to test "fly_away" visual effect.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: /// command register

Post by jurchiks »

Doesn't it change your character's location in the end, after the animation?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: /// command register

Post by MELERIX »

yes, but visual only, you still remain in the same cords, you can notice it when you start to walk/run again.
Locked