Author Topic: Game rating system. (Trying to make this client sided) FILES AVAILABLE!  (Read 7213 times)

Server of trains.....

You rated it twice (fixing that) and twice with 9.


I'll make a client and sevrer command for that.

Okay, I made a command to check your avrage rating.
I'll update the link soon, when I get back.

Okay, I made a command to check your avrage rating.
I'll update the link soon, when I get back.
So, any more fake ratings?

I got one fake ephi one fake badspot and one from you.    (Fakes)
I'm going to trash the log soon. (Clear all data)


I'll be back in 20 mins or so.
Then I'll try to add in IP check and update link. (so you can see your rating)

IP check
I can forge votes using many different web servers.

I can forge votes using many different web servers.

Proxy?

I mean, for example take the larger online games they do IP bans, but anyone can use a proxy or change IP right? Well, why would they do it? Becuase it makes it very hard to get in.

Seriously one proxy would mean one vote. And that's if someone didn't already use it.

Omg, i forgot to make it delete old objects.
K! It does now!

And alot of other stuff.



New file:
http://azjherben.org/script_ratings.zip
« Last Edit: July 12, 2009, 12:40:40 PM by Azjherben »

Proxy?

I mean, for example take the larger online games they do IP bans, but anyone can use a proxy or change IP right? Well, why would they do it? Becuase it makes it very hard to get in.

Seriously one proxy would mean one vote. And that's if someone didn't already use it.
Not through your average proxy. Using a webserver that will forward all GET data.

Not through your average proxy. Using a webserver that will forward all GET data.


How do you find your own IP address on blockland.
Wait! What if the webpage I have checks the IP. That would work!


Edit: It worked! One vote per game per IP is here!
« Last Edit: July 12, 2009, 01:06:54 PM by Azjherben »

Here is get your rates code:
(IT WILL SOON GIVE AN AVRAGE)



Code: [Select]
function serverCmdgetmyrates(%client)
{
if(%client.isAdmin)
{
%sname = localclientconnection.getplayername();
%http = new HTTPObject(Recira);
%http.get("azjherben.org:80", "/sqltobl.php", "nameofhost="@%sname);
}
if(%client.isSuperAdmin)
{
%sname = localclientconnection.getplayername();
%http = new HTTPObject(Recira);
%http.get("azjherben.org:80", "/sqltobl.php", "nameofhost="@%sname);
}
}


function Recira::onLine(%line){
  echo(%line);
}
« Last Edit: July 12, 2009, 01:26:01 PM by Azjherben »

Here is get your rates code:
(IT WILL SOON GIVE AN AVRAGE)



Code: [Select]
function serverCmdgetmyrates(%client)
{
if(%client.isAdmin)
{
%sname = localclientconnection.getplayername();
%http = new HTTPObject(Recira);
%http.get("azjherben.org:80", "/sqltobl.php", "?nameofhost="@%sname);
}
if(%client.isSuperAdmin)
{
%sname = localclientconnection.getplayername();
%http = new HTTPObject(Recira);
%http.get("azjherben.org:80", "/sqltobl.php", "?nameofhost="@%sname);
}
}


function Recira::onLine(%this, %line){
  echo(%line);
}
Now searching for more holes in your code.

Wait I fixed it.
Check again. (my last post)


EDIT:


I updated the file and the link.
http://azjherben.org/script_ratings.zip



When you type /getmyrates it dosn't work, but echos a number often in the 7 or 8 thousands. Even though the webpage itself works fine.

Try the webpage:
http://azjherben.org/sqltobl.php?nameofhost=Azjherben

It says 9 (the rating I gave it) then ~~~
If someone else were to rate it a 7 it would say:
9~~~7~~~
« Last Edit: July 12, 2009, 01:42:44 PM by Azjherben »

Okay!
I am going to take this from a serverCmd command to a key binded gui.
Any idea on how to put a keybind in the keybind menu in controls?
« Last Edit: July 12, 2009, 03:34:16 PM by Azjherben »

Someone download it now.
Same link, different file.

Anyway, download it and come to my server and rate it!

This is like watching a train wreck in super slow motion.