Closed moepi2k closed 5 days ago
If you are running MMORPG game then you can get user level from a database, you may find which character is sending command by using the sender value, then find user level by character's user id
its not the problem to get user level. the proble is that characterEntity is null across map server. the userlevel thing works fine on same mapserver
Yes, characterEntity
will be null so I told you to get it from database by using sender
parameter
Yea i get this, but why we have characterentity in the argument then, when its not working.is it something u will change in future?
For better performance and convenience but if it is really not be able to get character entity because it is in difference server then you must get info from database.
Ok thx for clarify that helped
default gm command now works across map server but there is still a problem when wnat to modify e.g this
added logic so player with lower level cant perform commands on higher level gm. but the problem is across map server the characterEntity is always null which means this function would work only when both player are on same mapserver