| View previous topic :: View next topic |
| Author |
Message |
phadeb Cheater
Reputation: 0
Joined: 25 Jun 2007 Posts: 35
|
Posted: Thu Dec 19, 2013 10:30 am Post subject: [Suggestion] Tables database |
|
|
Hey,
How about for the next version of CE, a new module that would be a tables database. It would be connected to the internet and every member could upload their tables for the matching games to that database. The information included could contain the OS version and the game version. People could vote for trainers with a 5-star based rating system and comment on each table. Once a table has got enough votes, it could be verified by a trusted member and flagged as verified working. There could be a way for people to say for each table, what features of the table specifically worked and how well they worked (with their OS and game versions embedded), and the uploader would have the ability to update his table accordingly. For each game there would be informations about the different versions and an MD5 for each version to make sure the table is used on the same file.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25812 Location: The netherlands
|
Posted: Thu Dec 19, 2013 7:31 pm Post subject: |
|
|
It should be possible to do this with lua and the luasocket extension (which I just uploaded an improved version of)
In an onOpenProcess callback you could check out the loaded modules, processname, read the pe header and figure out an unique id, and then use luasocket to query a database and display the results in a form
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Sat Dec 21, 2013 5:20 am Post subject: |
|
|
Vulnerability?
I'd avoid touching databases directly from a local file.
But it's still possible and quite useful (I could do it, if DB, you'd allow me to read all tables and cetrainers as a CSV like "game name, game version, last update, OS, rating").
It'd be a great add-on.
_________________
I'm rusty and getting older, help me re-learn lua. |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25812 Location: The netherlands
|
Posted: Sun Dec 22, 2013 9:26 am Post subject: |
|
|
Of course not a direct database connection but a php script that provides commands to querry it
Anyhow, since the current table database contains no link/lookup for the process I think it may be better to create your own database from scratch.
That way you could even allow games not allowed on this site (which I'm sure will be the nr1 type of game added/talked about, and I don't feel like policing that)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
Megapauloap How do I cheat?
Reputation: 0
Joined: 22 Dec 2013 Posts: 0 Location: São Paulo, Brazil
|
Posted: Sun Dec 22, 2013 3:34 pm Post subject: |
|
|
It's a good idea. It would make life easier for many users.
_________________
RIG: AMD FX-6300 3,5 GHz - 8 GB RAM - 500 GB HD - GTX 650 Ti OC 1 GB - Win 7 Home Premium 64 bits SP 1
Merry Christmas and an awesome 2014 to all the users of this forum!  |
|
| Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Tue Dec 24, 2013 11:06 am Post subject: |
|
|
I think you can keep only links. All big CT files on couple dropbox accounts.
I think four accounts should be enough (to deal with transfer limit).
Or other hosting sites similar to dropbox, like GoogleDocs, etc.
Sites with direct links.
So, users can download CT files directly from dropbox (or etc.) or by using your database. Your php script will take game name, game version, bitness and provide correct link (dropbox account picked randomly).
For bitness you can use CE Lua command: targetIs64Bit() - false for 32bit process.
As for file version, you can parse it, just search for: "FileVersion" (unicode)
between FileVersion and InternalName there should be unicode string, a file version.
_________________
|
|
| Back to top |
|
 |
|