Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Feature request (https://forums.graalonline.com/forums/forumdisplay.php?f=194)
-   -   player.ipranges and player.folderrights (https://forums.graalonline.com/forums/showthread.php?t=134268852)

callimuc 10-20-2013 04:05 PM

player.ipranges and player.folderrights
 
Would be nice to have player.ipranges and player.folderrights added as a default players flag.

player.ipranges would return the IP range(s) set in the players rights (obviously) and
player.folderrights would return the folder rights a player got, it could look like {{"rw", "levels/*"}, {"rw", "levels/images/*"}, {"r", "backup/*"}}. Wouldn't even matter if it's only set to staff and disabled for non staff no matter what they have set.

Loading the accounts/ folder is disabled on the mobile Era which is why we couldn't make those flags on our own. Not too sure how it's on any other server though (probably just disabled on mobile servers)

xAndrewx 10-20-2013 04:06 PM

Would be cool to be able to access a lot of things from accounts as variables - just read only

dylan 10-20-2013 04:38 PM

Quote:

Originally Posted by callimuc (Post 1723494)
Loading the accounts/ folder is disabled on the mobile Era which is why we couldn't make those flags on our own. Not too sure how it's on any other server though (probably just disabled on mobile servers)

It's not disabled, it just connects to a different accounts database. It has accounts stored in SQL rather than plaintext. This is why you can't do Adventure_setUser(); (or whatever the function is) and get it to login to the same account as the PC accounts. I'll hit you up on Skype later and help if you want to pull information from accounts.

callimuc 10-20-2013 05:00 PM

Quote:

Originally Posted by dylan (Post 1723496)
It's not disabled, it just connects to a different accounts database. It has accounts stored in SQL rather than plaintext. This is why you can't do Adventure_setUser(); (or whatever the function is) and get it to login to the same account as the PC accounts. I'll hit you up on Skype later and help if you want to pull information from accounts.

Yea, knew something along those lines but wasnt too sure how to explain that. Since that's not the main topic I sticked with it being disabled


All times are GMT +2. The time now is 01:28 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.