Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Default Command Level
Author Message
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #1
Default Command Level
Hi guys,

I was setting up a local sphere server and noticed that even without any PLEVEL set to my account (PLEVEL=0), I can still use some functions which doesn't even have any PLEVEL set.

What I mean is:

I have this on my sphere.INI:

Quote:// Set from 0 - 7 to set what the default plevel is to use commands.
DefaultCommandLevel=4


Although, if I script this:

Quote:[FUNCTION f_fun_pvp]
src.sysmessage lol

I can use this function, even without any PLEVEL assigned to my account or to the function.

Typing "f_fun_pvp" will return "lol" to my character.

How the hell can this be possible? And why does it only happen with f_ starting functions? If the function is "fun_pvp" only (without the f_), it does not happen, and typing the function will just display it above my head like any normal message.

Wtf?
(This post was last modified: 06-02-2016 07:00 AM by pointhz.)
06-02-2016 06:58 AM
Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #2
RE: Default Command Level
No one has a clue about this? :/
06-03-2016 10:25 PM
Find all posts by this user Like Post Quote this message in a reply
Criminal
Journeyman
*

Posts: 182
Likes Given: 38
Likes Received: 22 in 22 posts
Joined: Jun 2015
Reputation: 0

SantiagoUO.com

Post: #3
RE: Default Command Level
did you try use with a new account?

[Image: mfqAZnj.png]
Discord: SantiagoUO
Skype:
criminaluo
06-04-2016 02:49 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #4
RE: Default Command Level
Yes. Accounts have no PLEVEL but can access those functions starting with f_. It totally makes no sense lol
06-04-2016 04:24 AM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #5
RE: Default Command Level
Could be a parsing issue. Do you have any function starting with f_ under the PLEVEL1 command block?

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
06-05-2016 12:30 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)