Search the Community
Showing results for tags 'html'.
SQLITE AUTOMATIC HTML LEADERBOARDS IN COLLABORATION WITH PYTHON Rules for use You don't have to credit me for the idea (although appreciated), but if you use the python script I made then you must credit me. Advantages and Disadvantages of using this method Advantages: VERY simple. Accepts SQLite. Very customisable. Uses Python and HTML. The script tells you of any changes to the leaderboard. Disadvantages: Does not accept MySQL. Only supports Windows (you must have onedrive accessible from file manager). You must run the script at all times for the leaderboard to update. Script Automatic HTML Updater How to use It is very to simple to use. Just 10 simple steps. 1. Download the python script. 2. Open file manager. 3. There should be a "OneDrive" tab on the left. Click this. 4. Create a new, empty folder. 5. In the folder, create a HTML document. To do so, open notepad, create a new text document and save it in that same folder but with a ".html" extension. 6. Name the HTML file something like "[Your Game Name] Leaderboards". 7. Head to the online version of OneDrive. 8. Right click the HTML file (NOT folder) that you made and click share. Set the folder to have the sharing options: viewable by anyone with link. 9. Open an editable version of the python script (downloadable above). You can do this by downloading python (v2.7) or simply with notepad. Edit the configuration settings. The HTML file path is the HTML file you created in onedrive's directory in file manager, and the database is the directory of your SQLite database. DON'T USE BACKSLASHES (\) AS THEY WILL STOP THE SCRIPT FROM WORKING! Instead, replace all backslashes (\) with forward slashes (/). 10. You are done! To use the updater, just at the same time you are running your intersect server, run the python script. Keep it running - it acts like a server and updates the HTML to the up-to-date leaderboard every 20 seconds (you can modify this). For someone to find the leaderboard, you should share them the link of the HTML file. To make this link shorter, you could use tinyurl. If you are stuck on any of the steps let me know!
I do not know if I should put this here, but I just wanted to share with you, a small application in html that is a calculator, which uses the intersect server formula to cause damage, allowing you to see how much damage we would cause to a target with those statistics. The best thing about this ... is that it is done in html and does not need to download, I also add 2 languages for now that are English and Spanish, I hope it will serve many. Page Link ________________________________________________ no sé si deba colocar esto aquí, pero solo queria compartir con ustedes, una pequeña aplicacion en html que es una calculadora, que usa la formula del intersect server para causar daño, permitiendo ver cuanto daño causariamos a un objetivo con dichas estadisticas. Lo mejor de esto... es que esta hecho en html y no necesita descargarse, tambien le agregue 2 idiomas por ahora que son Ingles y Español, espero les sirva a muchos. Link de la pagina
Hi guys. I've recently been working on my first attempt at programming an online game using node.js and HTML5. Currently I have got basic movement, a basic chat system, and a login/registration system. For simplicities sake I store all user data in text files. This allows for easy manipulation both manually and automatically. Here is a video demonstrating what is done.