Jump to content

mtaSTATS - Alternative for MTA Community


Orange

Recommended Posts

Why?

I was dreaming - what if we will have same stats service on every server? It will be easier to recruit members for a clan - search 20 best players without a clan and pm him. Of course, always on one website! It's nice idea.

Usage

MTA-side: Client can press a special button on the screen (or type command) to see a login gui (of course, login to mtaSTATS). He types his data, and... SHAZAM! (xD) Server sends his nick/password to mtaSTATS with API (for example: http://url_to_mtastats.net/api/login , is it possible?) and if password is ok, makes player logged-in. When player leaves server, script sends data with his death/kills stats and which gamemodes he was playing.

Request

1) I am good at PHP, but not very good at LUA. Can someone make a script which uses this API?

2) After few attempts to create a template for website, it still looks... ugly :P Can someone make a template?

Release

When I'll finish, a few clans will get lua script and test it. First supported gamemodes will be stealth and basemode.

Contact

Jabber: [email protected]

MSN: [email protected]

GG: 10086898

ICQ: I don't remember :D

Sorry for my bad english - bye

Link to comment

Problem is, differences per server.

Servers may have resources running in which it's for instance easier to kill on one server than another. Like headshots. They can also create resources to dramatically increase the kills/deaths simply for stats. Say a clan has a server and just wants to be at the top, they just create a resource in which they can just cheat the purpose of this off.

Link to comment

I already thought about that. Of course, there will be global stats, but who will use it then? Users can look for Stealth stats or, for example Basemode stats, which will be two totally other things. It's not a problem for me :) And, server must be reviewed with a special team.

Additional question: is implenting my API in MTA scripts possible?

Link to comment

Contact me. But, if you don't have any of these IMs, I can say it here:

1) Home page will contain news

2) Logo must be mta-like ("multi theft auto stats")

3) there must be admin panel (I don't want to admin it alone ;D)

4) ranks

5) profiles

6) forums (propably third-party forums, for example IPB3, if you can't do it, I will search for one)

7) style must be clean and simple

If you can, do default templates for clan/server sites.

@Sebas: moduledRP (orangeRP) is closed, we need a mta framework

Link to comment

Sorry for doublepost.

Making a API is too much work. There's a better solution. We can connect to mysql by a script which is COMPILED - script like that will be available for people who have server in my site and they must type a secret key in configuration :)

New screen:

login.png

Link to comment
...

Making a API is too much work. There's a better solution. We can connect to mysql by a script which is COMPILED - script like that will be available for people who have server in my site and they must type a secret key in configuration :)

...

And then we decompile the script, and guess what....we got your mysql information, that is very nice. Now we setup a local server and install sqlbuddy, we connect to your mysql server. We run a query: (DROP TABLE `tablename`) where tablename is the mta stat table. And bam your data is gone.

So don't compile, don't use mysql in mta for public scripts (only if the one who downloads it needs to have a mysql database on his own).

Now, you just use callRemote and it will be secure!

Link to comment

I'm just showing that it is not advisable to put important data on clientside, such as passwords, data, mysql, etc ...

Link to comment

I'm just showing that it is not advisable to put important data on clientside, such as passwords, data, mysql, etc ...

Link to comment
....

I'm just showing that it is not advisable to put important data on clientside, such as passwords, data, mysql, etc ...

Who said anything about "putting important data on clientside"? What would be the point of having such data in client-side file anyway?

Link to comment
....

I'm just showing that it is not advisable to put important data on clientside, such as passwords, data, mysql, etc ...

Who said anything about "putting important data on clientside"? What would be the point of having such data in client-side file anyway?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...