Virtue Posted May 11, 2012 Posted May 11, 2012 I got it installed now my problem is I can't use the GM Features, and the normal players can't use the cp features, reset position and etc.. how do i solve this?
Saix122 Posted May 11, 2012 Posted May 11, 2012 have you edited groups.conf? try to go on your mysql browser, ragnarok->login->edit group_id and make it 99
Virtue Posted May 11, 2012 Author Posted May 11, 2012 yep. done that. when i try to use those features it says unauthorized <?php // This file should control all access to specified modules and actions. return array( // Module/action permissions. // These are handled during runtime by Flux. // '*' is a default that is checked for any action that has not been // specified an access level. 'modules' => array( 'main' => array( '*' => AccountLevel::ANYONE ), 'donate' => array( 'index' => AccountLevel::ANYONE, 'notify' => AccountLevel::ANYONE, 'update' => AccountLevel::ANYONE, 'complete' => AccountLevel::ANYONE, 'history' => AccountLevel::NORMAL, 'trusted' => AccountLevel::NORMAL ), 'purchase' => array( 'index' => AccountLevel::ANYONE, 'add' => AccountLevel::ANYONE, 'clear' => AccountLevel::NORMAL, 'cart' => AccountLevel::NORMAL, 'checkout' => AccountLevel::NORMAL, 'remove' => AccountLevel::NORMAL, 'pending' => AccountLevel::NORMAL ), 'itemshop' => array( 'add' => AccountLevel::ADMIN, 'edit' => AccountLevel::ADMIN, 'delete' => AccountLevel::ADMIN, 'imagedel' => AccountLevel::ADMIN ), 'account' => array( 'index' => AccountLevel::LOWGM, 'view' => AccountLevel::NORMAL, 'create' => AccountLevel::UNAUTH, 'login' => AccountLevel::UNAUTH, 'logout' => AccountLevel::NORMAL, 'transfer' => AccountLevel::NORMAL, 'xferlog' => AccountLevel::NORMAL, 'cart' => AccountLevel::NORMAL, 'changepass' => AccountLevel::NORMAL, 'edit' => AccountLevel::ADMIN, 'changesex' => AccountLevel::NORMAL, 'confirm' => AccountLevel::UNAUTH, 'resend' => AccountLevel::UNAUTH, 'resetpass' => AccountLevel::UNAUTH, 'resetpw' => AccountLevel::UNAUTH, 'changemail' => AccountLevel::NORMAL, 'confirmemail' => AccountLevel::NORMAL, 'prune' => AccountLevel::ANYONE ), 'character' => array( 'index' => AccountLevel::LOWGM, 'view' => AccountLevel::NORMAL, 'online' => AccountLevel::ANYONE, 'prefs' => AccountLevel::NORMAL, 'changeslot' => AccountLevel::NORMAL, 'resetlook' => AccountLevel::NORMAL, 'resetpos' => AccountLevel::NORMAL, 'mapstats' => AccountLevel::ANYONE, 'divorce' => AccountLevel::NORMAL ), 'guild' => array( 'emblem' => AccountLevel::ANYONE, 'index' => AccountLevel::LOWGM, 'export' => AccountLevel::ADMIN, 'view' => AccountLevel::NORMAL ), 'castle' => array( 'index' => AccountLevel::ANYONE ), 'economy' => array( 'index' => AccountLevel::NORMAL ), 'auction' => array( 'index' => AccountLevel::LOWGM ), 'ranking' => array( 'character' => AccountLevel::ANYONE, 'guild' => AccountLevel::ANYONE, 'zeny' => AccountLevel::ANYONE, 'death' => AccountLevel::ANYONE ), 'item' => array( 'index' => AccountLevel::ANYONE, 'view' => AccountLevel::ANYONE, 'add' => AccountLevel::ADMIN, 'edit' => AccountLevel::ADMIN, 'copy' => AccountLevel::ADMIN ), 'monster' => array( 'index' => AccountLevel::ANYONE, 'view' => AccountLevel::ANYONE ), 'server' => array( 'status' => AccountLevel::ANYONE, 'status-xml' => AccountLevel::ANYONE, 'info' => AccountLevel::ANYONE ), 'logdata' => array( 'index' => AccountLevel::ADMIN, 'txnview' => AccountLevel::ADMIN, 'char' => AccountLevel::ADMIN, 'inter' => AccountLevel::ADMIN, 'command' => AccountLevel::ADMIN, 'branch' => AccountLevel::ADMIN, 'chat' => AccountLevel::ADMIN, 'login' => AccountLevel::ADMIN, 'mvp' => AccountLevel::ADMIN, 'npc' => AccountLevel::ADMIN, 'pick' => AccountLevel::ADMIN, 'zeny' => AccountLevel::ADMIN ), 'cplog' => array( 'index' => AccountLevel::ADMIN, 'paypal' => AccountLevel::ADMIN, 'login' => AccountLevel::ADMIN, 'resetpass' => AccountLevel::ADMIN, 'changepass' => AccountLevel::ADMIN, 'changemail' => AccountLevel::ADMIN, 'ban' => AccountLevel::ADMIN, 'ipban' => AccountLevel::ADMIN ), 'ipban' => array( 'index' => AccountLevel::ADMIN, 'add' => AccountLevel::ADMIN, 'unban' => AccountLevel::ADMIN, 'edit' => AccountLevel::ADMIN, 'remove' => AccountLevel::ADMIN ), 'service' => array( 'tos' => AccountLevel::ANYONE ), 'captcha' => array( 'index' => AccountLevel::ANYONE ), 'install' => array( 'index' => AccountLevel::ANYONE, 'reinstall' => AccountLevel::ADMIN ), 'test' => array( '*' => AccountLevel::ANYONE ), 'reload' => array( 'index' => AccountLevel::ADMIN, 'mobskill' => AccountLevel::ADMIN ), 'woe' => array( 'index' => AccountLevel::ANYONE ), 'mail' => array( 'index' => AccountLevel::ADMIN ), 'history' => array( 'index' => AccountLevel::NORMAL, 'cplogin' => AccountLevel::NORMAL, 'gamelogin' => AccountLevel::NORMAL, 'emailchange' => AccountLevel::NORMAL, 'passchange' => AccountLevel::NORMAL, 'passreset' => AccountLevel::NORMAL ) ), // General feature permissions, handled by the modules themselves. 'features' => array( 'ViewAccount' => AccountLevel::HIGHGM, // View another person's account details. 'ViewAccountBanLog' => AccountLevel::HIGHGM, // View another person's account ban log. 'DeleteAccount' => AccountLevel::ADMIN, // (not yet implemented) 'DeleteCharacter' => AccountLevel::ADMIN, // (not yet implemented) 'SeeAccountPassword' => AccountLevel::NOONE, // If not using MD5, view another person's password in list. 'TempBanAccount' => AccountLevel::LOWGM, // Has ability to temporarily ban an account. 'TempUnbanAccount' => AccountLevel::LOWGM, // Has ability to remove a temporary ban on an account. 'PermBanAccount' => AccountLevel::HIGHGM, // Has ability to permanently ban an account. 'PermUnbanAccount' => AccountLevel::HIGHGM, // Has ability to remove a permanent ban on an account. 'SearchMD5Passwords' => AccountLevel::NOONE, // Ability to search MD5'd passwords in list. 'ViewCharacter' => AccountLevel::HIGHGM, // View another person's character details. 'DivorceCharacter' => AccountLevel::LOWGM, // Divorce another character. 'AddShopItem' => AccountLevel::ADMIN, // Ability to add an item to the shop. 'EditShopItem' => AccountLevel::ADMIN, // Ability to modify a shop item's details. 'DeleteShopItem' => AccountLevel::ADMIN, // Ability to remove an item for sale on the shop. 'ViewGuild' => AccountLevel::ADMIN, // Ability to view another guild's details. 'SearchWhosOnline' => AccountLevel::ANYONE, // Ability to search the "Who's Online" page. 'ViewOnlinePosition' => AccountLevel::HELPER, // Ability to see a character's current map on "Who's Online" page. 'EditAccountLevel' => AccountLevel::ADMIN, // Ability to edit another person's account level. 'EditAccountBalance' => AccountLevel::ADMIN, // Ability to edit another person's account balance. 'ModifyAccountPrefs' => AccountLevel::ADMIN, // Ability to modify another person's account preferences. 'ModifyCharPrefs' => AccountLevel::ADMIN, // Ability to modify another person's character preferences. 'IgnoreHiddenPref' => AccountLevel::HELPER, // Ability to see users on "Who's Online" page, hidden or not. 'IgnoreHiddenPref2' => AccountLevel::HELPER, // Ability to see users on "Who's Online" page, hidden by app config or not. 'SeeHiddenMapStats' => AccountLevel::HELPER, // Ability to see hidden map statistics. 'ChangeSlot' => AccountLevel::LOWGM, // Level required to change another character's slot. 'ModifyIpBan' => AccountLevel::ADMIN, // Level required to modify an existing IP ban. 'RemoveIpBan' => AccountLevel::ADMIN, // Level required to remove an existing IP ban. 'HideFromZenyRank' => AccountLevel::NORMAL, // Ability to set "Hide from zeny ranking" pref. 'SeeItemDbScripts' => AccountLevel::ANYONE, // Ability to see item_db scripts in view page. 'SeeItemDb2Scripts' => AccountLevel::ADMIN, // Ability to see item_db2 scripts in view page. 'ViewRawTxnLogData' => AccountLevel::ADMIN, // Level required to view Raw Transaction Log in txnview page. 'ResetLook' => AccountLevel::LOWGM, // Level required to reset another character's look. 'ResetPosition' => AccountLevel::LOWGM, // Level required to reset another character's position. 'ViewWoeDisallowed' => AccountLevel::LOWGM, // Level required to bypass WoE-disabled page security check. 'SeeCpLoginLogPass' => AccountLevel::NOONE, // Level required to see password in CP login log (also requires CpLoginLogShowPassword in application.php) 'SearchCpLoginLogPw' => AccountLevel::NOONE, // Level required to search through passwords in the CP login log. 'SeeCpResetPass' => AccountLevel::NOONE, // Level required to see passwords in CP log's "password resets" page. 'SearchCpResetPass' => AccountLevel::NOONE, // Level required to search passwords in CP log's "password resets" page. 'SeeCpChangePass' => AccountLevel::NOONE, // Level required to see passwords in CP log's "password changes" page. 'SearchCpChangePass' => AccountLevel::NOONE, // Level required to search passwords in CP log's "password changes" page. 'SeeAccountID' => AccountLevel::LOWGM, // Level required to see Account ID on account view and character view pages. 'SeeUnknownItems' => AccountLevel::LOWGM, // Level required to see unidentified items as identified. 'EditHigherPower' => AccountLevel::NOONE, 'BanHigherPower' => AccountLevel::NOONE ) ); ?> my access code i think something about this is causing my cp to not work properly. I keep getting unauthorized errors when i try to uses the modules this is what I keep on getting when I try to use the other modules like reset position, search for characters, accounts, etc.
Asura Posted May 11, 2012 Posted May 11, 2012 Hi mnjfx, I would recommend turning error reporting on by editing '/config/error.php', and also turning on debug in '/config/application.php'. Then try to reset again, see what error it states when you try to do it. 1
Virtue Posted May 12, 2012 Author Posted May 12, 2012 Alright Thanks fixed. only problem left is the mob database and itemdatabase not showing anything. but thanks to what you've said i can tell whats wrong with it will be fixing it now thanks alot
Question
Virtue
I got it installed now my problem is I can't use the GM Features, and the normal players can't use the cp features, reset position and etc.. how do i solve this?
4 answers to this question
Recommended Posts