TitoRukas Posted September 11, 2018 Posted September 11, 2018 46 minutes ago, MrPancakers said: Looks like you got some bad code from another server, I believe you need to delete your client_resources folder Its a clean installation with your script only thats the strange thing
MrPancakers Posted September 11, 2018 Author Posted September 11, 2018 29 minutes ago, TitoRukas said: Its a clean installation with your script only thats the strange thing A clean installation of RageMP? Or clean installation of just my script? I'd suggest coming on Discord to help you a lot quicker, I haven't had anyone else run into this issue.
TitoRukas Posted September 11, 2018 Posted September 11, 2018 3 minutes ago, MrPancakers said: A clean installation of RageMP? Or clean installation of just my script? I'd suggest coming on Discord to help you a lot quicker, I haven't had anyone else run into this issue. I reinstalled RageMP and it got fixed, thank you man! You have done an awesome work with this script!
javad_iran Posted September 16, 2018 Posted September 16, 2018 On 5/25/2018 at 3:04 PM, MrPancakers said: RageMP Resource Link Github Link (Development, this will more likely have bugs) I created a basic MySQL Login/Registration script which can register new accounts and login to ones already created. Passwords are encrypted using BCrypt so they're not plain text. As of now the database only stores a username, password, position and money for testing and examples. I'll be keeping this thread open for people to post any issues or suggestions, issues and suggestions can also be put into the repo to be easily tracked. I do plan to possibly implement a small admin system, however, this won't be put into this project, it'll be a separate download as the main focus for this is to simply have an example for any newcomers to understand how it works. Any suggestions/feedback are appreciated, trying to build on my Javascript skills through this project. please send example code cmd givemoney ?
MrPancakers Posted September 16, 2018 Author Posted September 16, 2018 1 hour ago, javad_iran said: please send example code cmd givemoney ? it's in the script.
javad_iran Posted September 16, 2018 Posted September 16, 2018 30 minutes ago, MrPancakers said: it's in the script. /setmoney ? No set money for me ! example: /givemoney [id] [amount] Did you notice that I mean? sorry for bad english
MrPancakers Posted September 16, 2018 Author Posted September 16, 2018 13 minutes ago, javad_iran said: /setmoney ? No set money for me ! example: /givemoney [id] [amount] Did you notice that I mean? sorry for bad english If you want it to do exactly the same as setmoney, then just change the mp.events.addCommand line, or do you want to add money on top of what they already have? You just do 'player.money += money' it's basic JS arithmetic
tonihenkel Posted April 3, 2019 Posted April 3, 2019 (edited) Zitat Hi, Im a Programmer (Absolutly) beginner from germany. I will youse your script to build a Login for my Server. But I have the error message: Error: Cannot find module 'bcrypt-nodejs'. How I can install the bcrypt module ? http://prntscr.com/n73eac Done.. Now Its work.. Edited April 3, 2019 by tonihenkel
MrPancakers Posted April 3, 2019 Author Posted April 3, 2019 3 hours ago, tonihenkel said: Done.. Now Its work.. You skipped the `npm i` step
Zow Posted April 4, 2019 Posted April 4, 2019 Do you plan to update another small feature? like spawn position, spawn after dead, admin level, camera view on login/register etc. This resource is awesome anyway.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now