User Rating Script.
 

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

User Rating Script.

Started by Flux, 26 January, 2004, 16:42:35

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Flux

I remember some time ago about one script that was made and we were waiting for updates on it. but the script maker is gone and i forgot his name.

I will try and explain what i remember about this script. Damx I am stoned too.
Any way the script rated members in the hub and if the got to a certain amount of points they get promoted to op mod admin etc.

Can't remember the rest. but do you know what i am talking about and remember from the past about a script simular to this.

Also scripters how about thinking of doing this or updating the old one... just an idea hehehe
? Official HoD Website - http://www.houseofdance.net
? Official HoD Hub Community -  hodhub.dyndns.org:2007

[NL]Pur

in vb there  was a point counting script around tho i don't know if it was ever written in lua.

i''m currently working on a user uptime stats script.
that shows from every user howlong they are , and were in the hub, with top 10.

Maby i can add stuff too it, but where do you get all points for,      Uptime? share?

maby more, you any ideas?

XPMAN

I can't remember, but i think plop or NightLitch did this. But anyways this might give a start, what this script does is enable an op or master to issua a   +give  command and give x amount of points to a member.
you give   +give member reason       in that format

-- CODE BELOW THIS --


points = {}



function Main()

points = dofile("points.dat") or {}

end



function OnExit()

local f = openfile("points.dat", "w+")

assert(f, "points.dat")



write(f, "return {\n")

for nick, value in points do

write(f, "\t"..format("[%q]", nick).." = "..value..",\n")

end; write(f, "}")

closefile(f)

end



function DataArrival(user, data)

if strsub(data, 1, 1) == "<" then

local s, e, cmd, args = strfind(data, "^%b<> %+(%a+)%s*(.*)%|$")

if s then

cmd = strlower(cmd)

if cmd == "give" and user.bOperator then

local s, e, nick, value, reason = strfind(args, "^(%S+)%s*([%d%-]*)%s*(.*)$")

if s then

if value == "" then value = 1

else value = tonumber(value) end



if reason == "" then reason = "for no reason"

else reason = "because "..reason end



points[nick] = (points[nick] or 0) + value

user:SendData(">> "..nick.." now has "..points[nick].." points")

SendToNick(nick, ">> "..user.sName.." has given you "..value.." points "..reason)

SendToAll("whoever", nick.." got "..value.." points "..reason)

else

user:SendData(">> syntax: +give [points] [reason]")

end

elseif cmd == "topusers" then

local index = {}

for nick, value in points do tinsert(index, nick) end

sort(index, function(a, b) return points[a] > points end)



local n = getn(index)

if n > 10 then n = 10 end

user:SendData(">> top "..n.." users..")

for i = 1, n do

local nick = index

local value = points[nick]

user:SendData(">>\t["..value.."]\t "..nick)

end

else return

end; return 1

end

end

end

-- END CODE --


Maybe someone can pick this up as a starting point as i would like to have such a script. Promotions within the hub in this way would really make a hub grow.  ;)

Hope this has been of some help.

Flux

thats a good start but i wish i could script and help in this way but i can only offer my ideas.

So now we have masters issue points. isn't there a way for hub to automatically give points everytime they enter the hub, with out being issued by ops or master.

and when they reach a certain level of points a pm is sent to masters to state this user has reached this level to be promoted to op. and we masters wiill do that.

next levels will be moderator.

So if possible to make a script to have lohin point essue and level status reached something like that. all other ideas alway welcome
? Official HoD Website - http://www.houseofdance.net
? Official HoD Hub Community -  hodhub.dyndns.org:2007

SaintSinner

#4
QuoteOriginally posted by Flux
thats a good start but i wish i could script and help in this way but i can only offer my ideas.

So now we have masters issue points. isn't there a way for hub to automatically give points everytime they enter the hub, with out being issued by ops or master.

and when they reach a certain level of points a pm is sent to masters to state this user has reached this level to be promoted to op. and we masters wiill do that.

next levels will be moderator.

So if possible to make a script to have lohin point essue and level status reached something like that. all other ideas alway welcome

good idea but, then youll have the problem of users
going in and out in and out, just to rack up points.
maybe hubtime and an increasing share amount would be a better thing to look at.
   


Flux

you have a point there about members going in and out to rake up the points. what aboutpoints per day hehehe

sorry just had a spliff...
? Official HoD Website - http://www.houseofdance.net
? Official HoD Hub Community -  hodhub.dyndns.org:2007

SaintSinner

QuoteOriginally posted by Flux

sorry just had a spliff...


NICE!!!
   


XPMAN

The main reason i like it where the ops or masters issue the points is the fact that you have control over who gets points and how many. I don't give points for just coming in the hub, i give points for coming in with +50 gig shares,+100 gig shares, helping with problems in chat,opening extra slots for others to download from even when their required open slots are full. Stuff like this i feel is worth rewarding for. I agree with not having points for just coming and going.

Would love to see a script with promotions built based on points, but i still say the points would be better giving by Masters and ops on an individual basis. I run a Private hub and promotions are rare because i make sure whoever gets promoted is deserving of it. One thing is for sure, this can make a hub grow alot, in the hub just like on a board such as this everyone wants "status" but everyone can't have it. But the people that does get it are people that has proven their worth and contribution.

There are alot of very smart scripters on this board, however i am not one of them.....lol , i am sure someone can come up with a way to modify this and get it to work.

Would like to see based totally on the point system without variables like entering the hub and stuff, just on the points that is issued. And when someone is promoted ,an announcement sent to main chat telling about it. This would be the script of all scripts if this can be done....

plop

QuoteOriginally posted by XPMAN
I can't remember, but i think plop or NightLitch did this. But anyways this might give a start, what this script does is enable an op or master to issua a   +give  command and give x amount of points to a member.
you give   +give member reason       in that format

-- CODE BELOW THIS --


points = {}



function Main()

points = dofile("points.dat") or {}

end



function OnExit()

local f = openfile("points.dat", "w+")

assert(f, "points.dat")



write(f, "return {\n")

for nick, value in points do

write(f, "\t"..format("[%q]", nick).." = "..value..",\n")

end; write(f, "}")

closefile(f)

end



function DataArrival(user, data)

if strsub(data, 1, 1) == "<" then

local s, e, cmd, args = strfind(data, "^%b<> %+(%a+)%s*(.*)%|$")

if s then

cmd = strlower(cmd)

if cmd == "give" and user.bOperator then

local s, e, nick, value, reason = strfind(args, "^(%S+)%s*([%d%-]*)%s*(.*)$")

if s then

if value == "" then value = 1

else value = tonumber(value) end



if reason == "" then reason = "for no reason"

else reason = "because "..reason end



points[nick] = (points[nick] or 0) + value

user:SendData(">> "..nick.." now has "..points[nick].." points")

SendToNick(nick, ">> "..user.sName.." has given you "..value.." points "..reason)

SendToAll("whoever", nick.." got "..value.." points "..reason)

else

user:SendData(">> syntax: +give [points] [reason]")

end

elseif cmd == "topusers" then

local index = {}

for nick, value in points do tinsert(index, nick) end

sort(index, function(a, b) return points[a] > points end)



local n = getn(index)

if n > 10 then n = 10 end

user:SendData(">> top "..n.." users..")

for i = 1, n do

local nick = index

local value = points[nick]

user:SendData(">>\t["..value.."]\t "..nick)

end

else return

end; return 1

end

end

end

-- END CODE --


Maybe someone can pick this up as a starting point as i would like to have such a script. Promotions within the hub in this way would really make a hub grow.  ;)

Hope this has been of some help.
was tezlo i think who made this.

how about getting kicks/bans into play. lol
+1 point for kicking a user and -50 for kicking a op.

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 <----<<

[NL]Pur

what do you think of the idea:
too store the amount connectme of every user in the hub the more connectme the user got the more popular his share is.

pHaTTy

QuoteOriginally posted by [NL]Pur
what do you think of the idea:
too store the amount connectme of every user in the hub the more connectme the user got the more popular his share is.

ouch that would cripple bandwidth lol but nevertheless a good idea :)
Resistance is futile!

[NL]Pur

nah,

bandwitdth doesn't matter the hub processes the connectme's and revconnectme's anyway, it using only
more mem and cpu

pHaTTy

QuoteOriginally posted by [NL]Pur
nah,

bandwitdth doesn't matter the hub processes the connectme's and revconnectme's anyway, it using only
more mem and cpu

nah :p
Resistance is futile!

[NL]Pur

Stat> ------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.0 build 15.18 [debug]
Uptime: 0 days, 3 hours, 19 minutes
Users (Max/Peak/Logged) : 70 / 64 / 56
Unknown commands: 0 x
PM commands: 115 x
Key commands: 1293 x
MyINFO commands: 1223 x
ValidateNick commands: 1289 x
GetINFO commands: 9908 x
Password commands: 26 x
Version commands: 739 x
UserIP commands: 1 x
GetNickList commands: 664 x
Search commands: 2209 x
SR commands: 2416 x
CTM commands: 2182 x      <=== PROOF
RevCTM commands: 1686 x  <== PROOF

------------------------------------------------------------
CPU usage (60 seconds average): 2.6%
MEM usage: 0 kB
------------------------------------------------------------
Listing end.

pHaTTy

QuoteOriginally posted by [NL]Pur
Stat> ------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.0 build 15.18 [debug]
Uptime: 0 days, 3 hours, 19 minutes
Users (Max/Peak/Logged) : 70 / 64 / 56
Unknown commands: 0 x
PM commands: 115 x
Key commands: 1293 x
MyINFO commands: 1223 x
ValidateNick commands: 1289 x
GetINFO commands: 9908 x
Password commands: 26 x
Version commands: 739 x
UserIP commands: 1 x
GetNickList commands: 664 x
Search commands: 2209 x
SR commands: 2416 x
CTM commands: 2182 x      <=== PROOF
RevCTM commands: 1686 x  <== PROOF

------------------------------------------------------------
CPU usage (60 seconds average): 2.6%
MEM usage: 0 kB
------------------------------------------------------------
Listing end.

:P

fake :P

*no comment*
Resistance is futile!

[NL]Pur

no im not lying really :P

i 've  got a certificat, and if that's not enough come see in my hub OR RTFM of dc protocol :P

pHaTTy

QuoteOriginally posted by [NL]Pur
no it's really is real :P

i 've  got a certificat, and if that's not enough come see in my hub OR RTFM of dc protocol :P

gheheh, you are teased very simply :p:p i know ur right but im not gonna believe u just for the sake of it :p
Resistance is futile!

[NL]Pur


pHaTTy

QuoteOriginally posted by [NL]Pur
whatever,

i not replying to this thread now :p
Resistance is futile!

Flux

also can the script be able to see how uploads in total a user has given in the amount of total upload maybe for points i dunno just suggesting. ur contibutions all of u to help in this script is really appreciated. so i hope more ideas will come. as i am sure in the end this idea maybe a good script in the end..
? Official HoD Website - http://www.houseofdance.net
? Official HoD Hub Community -  hodhub.dyndns.org:2007

[NL]Pur

no  you can't calculate the given upload or uploadspeed, since both aren't running thru hub. :)
and good thing it isn't lol

you can only count howmany times someone wants too connect to another

SMF spam blocked by CleanTalk