Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 621 online users. » 0 Member(s) | 617 Guest(s) Google, Bing, DuckDuckGo, Yandex
|
Latest Threads |
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
1 hour ago
» Replies: 0
» Views: 9
|
What is mebendazole used ...
Forum: Questions and Suggestions
Last Post: lucasmillerfeb2022
Today, 07:25 AM
» Replies: 0
» Views: 15
|
Rosalife Gamemode [openMP...
Forum: Gamemodes
Last Post: vactidylee
Yesterday, 04:17 AM
» Replies: 5
» Views: 4,552
|
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 25
|
Offensive-Core: TDM
Forum: Gamemodes
Last Post: threezhang.cn
2024-11-21, 09:54 AM
» Replies: 5
» Views: 940
|
Outstanding Customer Serv...
Forum: Chat
Last Post: va6220902
2024-11-21, 07:52 AM
» Replies: 0
» Views: 168
|
New place
Forum: Life
Last Post: sjaardamilly
2024-11-21, 06:58 AM
» Replies: 0
» Views: 25
|
How Zhewitra Oral Jelly W...
Forum: General Discussions
Last Post: erctilenovus
2024-11-20, 08:39 AM
» Replies: 0
» Views: 31
|
Cenforce 100 Mg Medicine ...
Forum: Chat
Last Post: ezraallen45ea
2024-11-19, 10:00 AM
» Replies: 0
» Views: 40
|
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 47
|
|
|
Media Question |
Posted by: Bluman - 2019-04-13, 12:23 AM - Forum: Chat
- Replies (5)
|
|
Hello Grand Theft Auto Gods and Goddesses. Are we allowed to post youtube videos here or is that illegal?
I don't want to be banned for sharing a vevo channel?or samp dm video from YouTube!
|
|
|
TFA_SAMP - 1st two-factor authentication method for SA-MP. |
Posted by: GiamPy - 2019-04-12, 09:37 PM - Forum: Libraries
- Replies (8)
|
|
TFA_SAMP - 1st two-factor authentication method for SA-MP.
A huge thanks to Authy (https://www.authy.com/) for providing the web APIs.
Include release under GPL v2 OSL (open source license) - click here for more information.
Part of the include is made in PHP.
Hello everyone.
Recently I was thinking of a new include to release, and I thought about a two-factor authentication method for SA-MP, something like it has never existed before. This include does not directly provide the authentication method, it is just a way to communicate with the service that provides so, which in this case is Authy.
Authy provides also free-plans for development or fairly small communities.
Visit https://www.authy.com/ for more information.
If you don't know what a two-factor authentication method is, read this page.
However, here's a short description.
Quote:Multi-factor authentication (also MFA, Two-factor authentication, TFA, T-FA or 2FA) is an approach to authentication which requires the presentation of two or more of the three authentication factors: a knowledge factor ("something only the user knows"), a possession factor ("something only the user has"), and an inherence factor ("something only the user is"). After presentation, each factor must be validated by the other party for authentication to occur.
This include allows you to communicate with API requests to Authy's servers and to use your cellphone as second factor, which is the possession factor. In order to be it two-factor, thus increasing the account' security, you must ask for the password and the token sent via SMS or taken by the phone application.
So, what is Authy? Authy is what gives us the API to communicate with the server and to send the SMS / verify the token taken by your phone.
If you are worried about security, the API requests through the production method are sent through HTTPS requests, and all the information are not saved in any TFA_SAMP database but in Authy's databases which are completely safe and secure.
Available Functions
- TFASAMP_prepareConnection(host[], password[], api_key[], type[] = "production", bool:tfa_debug = false)
- TFASAMP_createUser(playerid, email[], cellphone[], area_code[] = "1")
- TFASAMP_verifyToken(playerid, user_id, token[], bool: force = true)
- TFASAMP_setPlayerUserID(playerid, userid)
- TFASAMP_getPlayerUserID(playerid)
Available Callbacks
- TFASAMP_OnTokenVerify(playerid, result)
Documentation
You may find here the updated functions documentation.
Example
You may find an example of the include here.
|
|
|
Post Your Setup |
Posted by: Southclaws - 2019-04-12, 06:25 PM - Forum: Chat
- Replies (64)
|
|
ITT: Post your desk or if you're a bit more mobile, post your travel work gear, or both!
Gear:
- Macbook Pro 2015, it has some memory and some gigahertz, not a clue how much, it works and that's the main thing.
- Logitech K380 keyboard: I chose this keyboard because it has the exact same dimensions as the keyboard on the laptop itself, so I can switch between them without typos.
- Roost Laptop Stand: I have this because it raises the laptop screen to eye height so I'm not hunched over like an old man while working, obviously this also raises the keyboard too, hence the need for a separate keyboard. It may seem like an odd setup but I'd rather avoid the neck and spine problems! Besides, it's well under 1kg for both of these pieces of hardware so it's perfect for travel.
- Logitech MX Master: My favourite wireless mouse. The wheel can spin freely so when I'm bored I try and spin it as fast as possible. It's very satisfying.
And that's it. I do everything on these 4 products (apart from SA:MP... because, well, Mac OS)
Here's my current desk in my place in London, I don't have a good photo because I'm not there right now:
[attachment=7]
And here's my setup at this moment in time - I'm back in my hometown for the weekend and this is my old room with some semi-old stuff:
[attachment=4]
The extra bits there are:
- Some kind of Asus monitor: not sure which, it's 3 years old.
- Tibo Plus 2 Active Bluetooth Speakers: Nice and loud. Shame I never use them now since they are here.
- Tascam US-2x2: back from the days of audio/video/music stuff - this is a great little interface for input of mics/instruments as well as an output device for the speakers.
- Wacom Intuos 5 Touch: I do a bit of design work every now and then and this really comes in handy for painting and manipulating bezier curves.
Share your stuff below!
|
|
|
The 2 Day CnR Project! |
Posted by: Codeah - 2019-04-12, 01:33 PM - Forum: General Discussions
- Replies (14)
|
|
This weekend (April 13th - April 14th) I will be live streaming myself for 2 days (Only during day-time) developing a Cops and Robbers server from scratch, then releasing / publishing that server once the stream is over.
You can join the projects Discord right here : https://discord.gg/Pc9shV6 !
On this Discord guild I will announce when I'm going live and post updates on the development.
I will be streaming on https://twitch.tv/codeah
|
|
|
Coding Pawn: From Useless to Y_Less. |
Posted by: Y_Less - 2019-04-12, 12:45 PM - Forum: Tutorials
- Replies (18)
|
|
I was comissioned to write a detailed curriculum for a complete beginner to learn pawn with. This is a combination of links to existing tutorials and wholly new information. It is not a tutorial in itself, but a collection of information to read and learn. Depending what you want to learn, you might not even need everything, thus various sections try to list their dependencies so you don't start reading about something without first having read the parts it relies on.
Unfortunately the forums don't support markdown (and forumfmt doesn't QUITE support the BB code used here), so it is hosted on github:
https://github.com/Y-Less/pawn-curriculum
|
|
|
|