Orange Posted December 29, 2009 Share Posted December 29, 2009 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! () 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 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 Sorry for my bad english - bye Link to comment
Gamesnert Posted December 29, 2009 Share Posted December 29, 2009 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
Orange Posted December 29, 2009 Author Share Posted December 29, 2009 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
Nich Posted December 29, 2009 Share Posted December 29, 2009 I could make a design, tell me what should there be etc. Link to comment
x86 Posted December 30, 2009 Share Posted December 30, 2009 First https://forum.multitheftauto.com/viewtopic.php?t=25718 And now this? .. Link to comment
Orange Posted December 30, 2009 Author Share Posted December 30, 2009 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
x86 Posted December 30, 2009 Share Posted December 30, 2009 @Sebas: moduledRP (orangeRP) is closed, we need a mta framework There is one, http://code.google.com/p/mtaframework/ Link to comment
1B0Y Posted December 31, 2009 Share Posted December 31, 2009 naa, everyone will be fighting to be the 1st one on the list *Bad idea!!* Link to comment
Orange Posted December 31, 2009 Author Share Posted December 31, 2009 @Sebas: srsly? No download for it @JBoy: What? Are you crazy or somewhat? Noobs will cry that everyone can see their noobish stats Currently I am finishing users system. EDIT: Found a good admin template Link to comment
Orange Posted December 31, 2009 Author Share Posted December 31, 2009 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: Link to comment
Woovie Posted January 3, 2010 Share Posted January 3, 2010 Piotr, do you know what SVN is ? You can get the framework through it. Link to comment
DutchCaffeine Posted January 4, 2010 Share Posted January 4, 2010 ...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
50p Posted January 4, 2010 Share Posted January 4, 2010 ...Now, you just use callRemote and it will be secure! It won't be secure. It will be more secure than "compiling" script. Link to comment
Orange Posted January 10, 2010 Author Share Posted January 10, 2010 50p: If i'll use special system of keys - it will be Link to comment
Orange Posted January 10, 2010 Author Share Posted January 10, 2010 50p: If i'll use special system of keys - it will be Link to comment
zorrigas Posted January 14, 2010 Share Posted January 14, 2010 (edited) http://penguinzoft.pl/pub/private/cbns/1/ http://penguinzoft.pl/pub/private/tutorial_html/ http://penguinzoft.pl/pub/private/top/ http://penguinzoft.pl/pub/private/main/ http://penguinzoft.pl/pub/private/voozz/ http://penguinzoft.pl/pub/private/patry ... lery=dni08 http://penguinzoft.pl/pub/ loool good security It will be more secure than "compiling" script. dont use IMPORTANT Data in clientside! Edited January 14, 2010 by Guest Link to comment
zorrigas Posted January 14, 2010 Share Posted January 14, 2010 (edited) http://penguinzoft.pl/pub/private/cbns/1/ http://penguinzoft.pl/pub/private/tutorial_html/ http://penguinzoft.pl/pub/private/top/ http://penguinzoft.pl/pub/private/main/ http://penguinzoft.pl/pub/private/voozz/ http://penguinzoft.pl/pub/private/patry ... lery=dni08 http://penguinzoft.pl/pub/ loool good security It will be more secure than "compiling" script. dont use IMPORTANT Data in clientside! Edited January 14, 2010 by Guest Link to comment
50p Posted January 14, 2010 Share Posted January 14, 2010 (edited) http://penguinzoft.pl/pub/private/cbns/1/http://penguinzoft.pl/pub/private/tutorial_html/ http://penguinzoft.pl/pub/private/top/ http://penguinzoft.pl/pub/private/main/ http://penguinzoft.pl/pub/private/voozz/ http://penguinzoft.pl/pub/private/patry ... lery=dni08 http://penguinzoft.pl/pub/ loool good security It will be more secure than "compiling" script. What are you trying to achieve here? Edited January 14, 2010 by Guest Link to comment
50p Posted January 14, 2010 Share Posted January 14, 2010 (edited) http://penguinzoft.pl/pub/private/cbns/1/http://penguinzoft.pl/pub/private/tutorial_html/ http://penguinzoft.pl/pub/private/top/ http://penguinzoft.pl/pub/private/main/ http://penguinzoft.pl/pub/private/voozz/ http://penguinzoft.pl/pub/private/patry ... lery=dni08 http://penguinzoft.pl/pub/ loool good security It will be more secure than "compiling" script. What are you trying to achieve here? Edited January 14, 2010 by Guest Link to comment
zorrigas Posted January 14, 2010 Share Posted January 14, 2010 http://penguinzoft.pl/pub/private/cbns/1/http://penguinzoft.pl/pub/private/tutorial_html/ http://penguinzoft.pl/pub/private/top/ http://penguinzoft.pl/pub/private/main/ http://penguinzoft.pl/pub/private/voozz/ http://penguinzoft.pl/pub/private/patry ... lery=dni08 http://penguinzoft.pl/pub/ loool good security It will be more secure than "compiling" script. What are you trying to achieve here? I'm just showing that it is not advisable to put important data on clientside, such as passwords, data, mysql, etc ... Link to comment
zorrigas Posted January 14, 2010 Share Posted January 14, 2010 http://penguinzoft.pl/pub/private/cbns/1/http://penguinzoft.pl/pub/private/tutorial_html/ http://penguinzoft.pl/pub/private/top/ http://penguinzoft.pl/pub/private/main/ http://penguinzoft.pl/pub/private/voozz/ http://penguinzoft.pl/pub/private/patry ... lery=dni08 http://penguinzoft.pl/pub/ loool good security It will be more secure than "compiling" script. What are you trying to achieve here? I'm just showing that it is not advisable to put important data on clientside, such as passwords, data, mysql, etc ... Link to comment
50p Posted January 14, 2010 Share Posted January 14, 2010 ....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
50p Posted January 14, 2010 Share Posted January 14, 2010 ....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
zorrigas Posted January 14, 2010 Share Posted January 14, 2010 For example, there is a post on the forum to tell a user who wants to create a door with a numpad in gui to set the password on the same clientside, where they would have to be a TriggerServerEvent to check the password. Link to comment
zorrigas Posted January 14, 2010 Share Posted January 14, 2010 For example, there is a post on the forum to tell a user who wants to create a door with a numpad in gui to set the password on the same clientside, where they would have to be a TriggerServerEvent to check the password. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now