SA-MP Forums Archive
How To Make UCP? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: How To Make UCP? (/showthread.php?tid=532649)



How To Make UCP? - Atyender - 19.08.2014

Hi,
How to make a User Control Panel that streams with the Server?
It should contain, score, money, ban/unban status, etc. of each player.
Thanks!


Re: How To Make UCP? - Macluawn - 19.08.2014

Since you have to ask.. this might be relevant to you http://www.w3schools.com/


Re: How To Make UCP? - Atyender - 19.08.2014

Quote:
Originally Posted by Macluawn
Посмотреть сообщение
Since you have to ask.. this might be relevant to you http://www.w3schools.com/
What is that?
Its not opening.


Re: How To Make UCP? - Pravin - 19.08.2014

Thats a website where you can learn php coding.


Re: How To Make UCP? - MicroD - 19.08.2014

I'm not sure why 90% of this community does not use ******/forum search engine? You can find so much information just typing in what you need... And if you want to create something by yourself you got to think about leaks and erros you could make which can affect someone's private information such as passwords, mail and so on.


Re: How To Make UCP? - NewerthRoleplay - 19.08.2014

Give this a go


Re: How To Make UCP? - iFarbod - 19.08.2014

I Suggest to code it by yourself.


Re: How To Make UCP? - rymax99 - 19.08.2014

You'll need to learn PHP, MySQL, HTML, CSS to make a UCP, as well as your game mode already being in MySQL.


Re: How To Make UCP? - NewerthRoleplay - 19.08.2014

Quote:
Originally Posted by rymax99
Посмотреть сообщение
You'll need to learn PHP, MySQL, HTML, CSS to make a UCP, as well as your game mode already being in MySQL.
You can do it with an FTP based gamemode..


Re: How To Make UCP? - rymax99 - 19.08.2014

Quote:
Originally Posted by NewerthRoleplay
Посмотреть сообщение
You can do it with an FTP based gamemode..
You could do it with a file based gamemode, but it's a much better practice to store and retrieve structured data in SQL.


Re: How To Make UCP? - Mandrakke - 20.08.2014

the best way to create a UCP is writing it in Nodejs (Javascript based), since it is very light and you can trade informations from server and client via TCP sockets.

my UCP project in nodejs: (under development stage)
https://github.com/pedropapa/BrazucasExodus

Classes that might be useful:
https://github.com/pedropapa/Brazuca...cketService.js
https://github.com/pedropapa/Brazuca...cketService.js

an example of how fast it is: (real-time kill events being sent to UCP)
https://www.youtube.com/watch?v=nLAWkR9tETI

watch it in 1080p.


Re: How To Make UCP? - SanAndreasMP - 20.08.2014

That's very easy, you can make one by trying your hands with HTML and PHP, mysql also.


Re: How To Make UCP? - Sn00Py - 20.08.2014

I would help you if you want (for free I think). PM me with more details.


Re: How To Make UCP? - iFarbod - 21.08.2014

If you want use MySQL For the UCP, I Really suggest to use MySQLi library, or PDO_MySQL, They are very good and safe to use. If you got questions during development, feel free to ask me via PM.