Author Topic: MLink.Lib.v2.0.LUA5.X-PtokaX.lua Release Bot  (Read 3213 times)

0 Members and 1 Guest are viewing this topic.

Offline trytodealit

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
MLink.Lib.v2.0.LUA5.X-PtokaX.lua Release Bot
« on: 20 April, 2009, 12:08:28 »
hello to all....
ok... i?m just brand new in the stuff:
installed ptokax 0.3.6.0 and the release srcipt MLink.Lib.v2.0.LUA5.X-PtokaX.lua.
i did load in,  start the hub...all well
right mouse on libary...add new release...the window pops up and ask to add first a category...
ok, i type !newcat...but access denied because "Your current user level is denied access to this function".

in the hub user profile i?m regged as a master...the script says:

Code: [Select]
-- Profile Access, Allow or deny access by profile number.
--
    -- Allow = 1
--  Deny = 0
--
-- Admin Access
pAdmin = {
[-1] = 0, -- Un-Reg -- /      \
[0]  = 1, -- Master       --    /   PtokaX   \
[1]  = 1, -- OP           --  / Built-in \
[2]  = 0, -- ViP          --  \ Profiles /
[3]  = 0, -- Reg          --    \    /
--[4]  = 1, -- Moderator    -- ** Robocop/Leviathan users must uncomment **
--[5]  = 1, -- Netfounder  -- ** Robocop/Leviathan users must uncomment **
--[6]  = 1, -- Owner        -- ** Leviathan users must uncomment         **
};
-- User Access.
pUser = {
    [-1] = 0, -- Un-Reg -- /      \
[0]  = 1, -- Master       --    /   PtokaX   \
[1]  = 1, -- OP           --  / Built-in \
[2]  = 1, -- ViP          --  \ Profiles /
[3]  = 1, -- Reg --    \    /
--[4]  = 1, -- Moderator    -- ** Robocop/Leviathan users must uncomment **
--[5]  = 1, -- Netfounder  -- ** Robocop/Leviathan users must uncomment **
--[6]  = 1, -- Owner    -- ** Leviathan users must uncomment         **
};

-- Command access, Assign access types for the commands and wizards.
wAccess = {
-- Admin Access = pAdmin,
-- User Access = pUser
--
-- Wizards
----------------------------------
["AddRel"] = pUser,        -- Add a new release
["AddCat"] = pAdmin,       -- Add a new category
["DelRel"] = pUser,        -- Delete a release (users can only delete their own release)
["DelCat"] = pAdmin,       -- Delete a category
["AddReq"] = pUser,        -- Request a release
["ShowRel"] = pUser,        -- Browse through the release List
};
tAccess = {
-- Quick Commands
----------------------------------
[tCmd.qAddRel] = pUser,        -- Add a new release
[tCmd.qAddCat] = pAdmin,      -- Add a new category
[tCmd.qDelRel] = pUser,        -- Delete a release (users can only delete their own release)
[tCmd.qDelCat] = pAdmin,      -- Delete a category
[tCmd.qReq] = pUser,        -- Request a release
[tCmd.qShow] = pUser,        -- Show release details
[tCmd.qSkin] = pUser,        -- Change your prefered skin
[tCmd.qRank] = pUser, -- Show your rank and number of posts
[tCmd.qComment] = pUser, -- Show your posts that have comments
[tCmd.qMag] = pUser, -- Show all the available magnet links
[tCmd.qWeb]     = pUser, -- Show all the available web links
[tCmd.qClean] = pAdmin, -- Force the cleaner to run
[tCmd.qAddSkin] = pAdmin, -- Add a skin to the database
};

ok, what do i have to do, to controll the libary (full access ), add categories and set users level (what they are allowed to add or delete or even to see) during i am in  the hub ???

Do i have to set some in the script to get me as master accepted???

I do hope someone can help me out :)

best regards

trytodealit
« Last Edit: 20 April, 2009, 14:31:31 by trytodealit »

PtokaX forum

MLink.Lib.v2.0.LUA5.X-PtokaX.lua Release Bot
« on: 20 April, 2009, 12:08:28 »

Offline Madman

  • Scripter
  • Emperor
  • ******
  • Posts: 1 316
  • Karma: +75/-1
Re: MLink.Lib.v2.0.LUA5.X-PtokaX.lua Release Bot
« Reply #1 on: 20 April, 2009, 17:35:10 »
Install PtokaX 0.4.1.1 instead, nobody is intrested in 0.3.x.x anymore, it is to old, and the scripting API has changed alot.
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Offline trytodealit

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: MLink.Lib.v2.0.LUA5.X-PtokaX.lua Release Bot
« Reply #2 on: 23 April, 2009, 13:35:39 »
hi, ok i found it, it were the profils set in the hub soft, so i changed and all runs well...

thx anyway for thr tip

greets

Offline WhiteKnuckles

  • Junior Member
  • **
  • Posts: 14
  • Karma: +3/-3
Re: MLink.Lib.v2.0.LUA5.X-PtokaX.lua Release Bot
« Reply #3 on: 24 April, 2009, 13:33:42 »
You still should update Ptoka.  However if you do you will need to use the Converter program on this script to make it work (and it is easily the best File Requester / Announcer script out there as far as I have come across).  The other thing is that once using the converter you need to start Ptoka with the working directory being the scripts subfolder of Ptoka for this script to work properly (I am sure one of the script gurus could modify it to fix that bit but I have not seen a converted version around.  I have been running this script on the newer versions of Ptoka (after conversion) for about a year now.

PtokaX forum

Re: MLink.Lib.v2.0.LUA5.X-PtokaX.lua Release Bot
« Reply #3 on: 24 April, 2009, 13:33:42 »