View Single Post
Plugin Info:     Modification:          Category:         
LuKks
Senior Member
Join Date: Dec 2012
Location: Argentina, Santa Fe
Old 03-09-2019 , 14:49   [JavaScript & AMXX] Live Scoreboard
Reply With Quote #1

What does the plugin do?
Inside the server, nothing really.
Install the plugin and enter the following link:
https://lukks.github.io/live-scoreboard/?ip:port
* replace the ip and port.



You can install the files on your website (without database or anything, just upload the files).
It also shows when it is Vip, Dead or has C4.
In addition, it works locally: https://vgy.me/mgYU8u.jpg

Requirements:
* Sockets Async by Destro
* Port open: 65535 - server port. For example, for 127.0.0.1:27015 -> 38520.

Thank you:
@Destro for your module to handle sockets and cryptography stock.
@Milashkasiya I saw your Half-Life Main Page Simulator and then it occurred to me to replicate the scoreboard.
@Pan-Bimbo you helped me with a question with the end of line that was not working.

Ideas:
+ I plan to add in the top left, for example, "220fps 3/12 de_dust2".
+ Make the ping have a +-3 so that it does not update as many times (anyway is optimal because it's updated per player).
? It would have been perfect with ReactJS (it reduces some cpu to the browser) but I wanted everyone to be able to handle the files well.

Note:
You can't use the cryptography stock of Destro, it has to be the one attached here.
GitHub: https://github.com/LuKks/live-scoreboard

Last changes:
Replica of the say on web: now you can write bidirectionally. Idea from @levinx
Fixed who is c4. Report of @pallaroid
Small optimizations.

Spanish version: https://amxmodx-es.com/Thread-JavaSc...ive-Scoreboard
Attached Files
File Type: sma Get Plugin or Get Source (live_scoreboard.sma - 378 views - 6.9 KB)
File Type: inc live_scoreboard.inc (7.3 KB, 267 views)
File Type: zip live_scoreboard.zip (753.1 KB, 290 views)

Last edited by LuKks; 03-11-2019 at 07:19. Reason: added port open calculation
LuKks is offline