Profiles.DAT
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Profiles.DAT

Started by Smulf, 11 January, 2004, 19:13:25

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Smulf

Is it posible to add a profile like "Owner" in the profile.dat without making an error?

I have tried: 0|Owner|11111111111111111111000000000000
1|Master|11111111111111111111000000000000
2|Operator|11111100011001111111000000000000
3|VIP|10000000000001111000000000000000
4|Reg|10000000000000000000000000000000

But it keeps making an error... why...?
[Smulf]

AlwaysConnected

i hae it like this

0|Master|11111111111111111111000000000000
1|Operator|11111100011001111111000000000000
2|VIP|10000000000001111000000000000000
3|Reg|10000000000000000000000000000000
4|Hubowner|11111111111111111111000000000000

raz

safe, yeah there is a way 2 add a profile u can just click on advanced options and den profile manager. owner is master anyway. why don't u add a admin profile dat might help u out mine is like dis at the moment. :D

    0|Master|11111111111111111111000000000000
    1|Operator|11110100011101110111000000000000
    2|VIP|10000000000000111000000000000000
    3|Reg|10000000000000000000000000000000
    4|Newbie|10000000000000000000000000000000
    5|Moderator|11110110011101110111000000000000
    6|Admin|11110111111111111111000000000000

raz


Smulf

Yeh, but if you are adding a profile in the "profile manager", fx. Owner... A normal OP could Kick the owner... and not the other way around...
[Smulf]

raz

lol. if that happens what u need is den is a script.lol. there is a script somewhere around dat stops a op from kicking another op. :D

Smulf

Is it posible somehow to remove those profiles that are already there...?
[Smulf]

AlwaysConnected

QuoteOriginally posted by Smulf
Is it posible somehow to remove those profiles that are already there...?

yup
open the profiles.dat
and remove it all
;)

------offf topic----
and yes i beat you all ;) lo

Smulf

Okay that was a easy sulution, but what depence on if the can't be removed in the "Profile manager"...?
[Smulf]

AlwaysConnected

QuoteOriginally posted by Smulf
Okay that was a easy sulution, but what depence on if the can't be removed in the "Profile manager"...?
nope its inbuild :(
so can't be done perhaps in ptokax 3.3.0  ?(

raz

maybe ptakzak can do it so we can also change names and delete profiles on da software without needing 2 open up profile.dat. :D

plop

you can solve this by making the script renumber the levels.
levels = {
   ["0"]=3,
   ["1"]=2,
   ["2"]=1,
   ["3"]=0,
   ["4"]=4 }

if levels[user.iProfile] > levels[victim.iProfile] then
 --do your kicking stuff here
else
   user:SendData(Bot, "bad bad boy don't try 2 kick users of a higher level then you")
end
plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Smulf

Thanks for it, but I can't get it working...If you have time it would be nice, but if u havn't it's ok.
[Smulf]

pHaTTy

well you doing it wrong anyhow just move them down by a rank, Reg is not important anyhow, so technically you cud just remove it ;)

1|Owner|11111111111111111111000000000000
2|Master|11111111111111111111000000000000
3|Operator|11111100011001111111000000000000
4|VIP|10000000000001111000000000000000
5|Reg|10000000000000000000000000000000

l8rr
Resistance is futile!

Smulf

Thanks for it UK...
[Smulf]

pHaTTy

QuoteOriginally posted by Smulf
Thanks for it UK...

np problem ;)
Resistance is futile!

Smulf

Plop it's okay I'v found it, thanks for your time...
[Smulf]

plop

QuoteOriginally posted by Smulf
Plop it's okay I'v found it, thanks for your time...
np.

and phatty all i had 2 do for the switch from icecube 2 tesdrive was alter 1 function, as i don't have more then the default levels.
i can't see the need for all those extra levels.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

SMF spam blocked by CleanTalk