fiveeyz / esx_kashacter Goto Github PK
View Code? Open in Web Editor NEWThis project forked from fivem-ex/esx_kashacter
esx_kashacters fixed for latest version of ESX.
Home Page: https://github.com/KASHZIN/kashacters
This project forked from fivem-ex/esx_kashacter
esx_kashacters fixed for latest version of ESX.
Home Page: https://github.com/KASHZIN/kashacters
here my server.cfg
server.txt
This script breaks my whole server when i do the things u say to do and my character never show
Hello,
Currently trying to fix an issue where players spawn in invisible if they don't restart their client before joining the server. Once we force respawn them they get set to Michael, is there any way to fix this?
SCRIPT ERROR: @esx_kashacters/server/main.lua:82: bad argument #1 to 'decode' (string expected, got nil)
GetSpawnPos (@esx_kashacters/server/main.lua:82)
handler (@esx_kashacters/server/main.lua:27)
Hello, every time my character loads in it has no skin (apart from the first time when I set the character up)
Everything is saving and loading just fine with not a single error, so where is the code to set my characters model on reload I see SetDefaultModel but no where is my player skin set unless we walk to the clothes shop and do some shopping.
Have you got a snippet of code to put in to load the skin or does everyone just have to be default apart from the first time?...
Characters Names date of birth, height, ect are failing to save (however I do get a identifier thrown into users) and character fails to save. Anyone else get this issue? Thanks
Everytime I select a character to load it will do it but then when I loads in I will be greeted by ESX identity. This is with the newest available version that you can clone from master.
Edit: Yeah this only works on the older version of skin and identity.
Will we likely see this updated to the new version as their release is most likely imminent?
Edit: Anyone a idea how to make this work with esx_license as users are now saved in the database with license: before their identifiert.
Hello there,
I'm getting the following issues after implementing kashacters and after editing some parts of the code in es_extended, if u know the solution to those issues, please let know of it. The issues are:
I can't seem to find a solution for the problems that I'm getting and to be honest, I'm starting to give up after trying many solutions like uninstalling es_extended and reinstalling it back, installing an older version of esx_extended, installing a new version of es_extended or even installing the newest version of es_extended didn't really help. If you can help me I would really appreciate that. I really need kashacters implemented in my server as it is a roleplay server and it won't make sense for someone who wants to roleplay as a police officer and a criminal with the same name and description. He is my discord name: Estel#1999 incase If you want to add me on discord to talk more about the issues and how to solve them.
Does it work with Extendedmode?
i installed the mod and followed the steps i belive that it has to do with the permission system in es_extended not likeing haveing multi toons
commands like /car are just saying access denied desipte being an admin heck even as set as super admin they still will not be allowed to be used i think the main reason why is due to the way you identify players in this mod
i get an error when using the server side license edit
when i make my first character everything is fine no errors, but when i go to make a second character it doesnt let me hit submit and doesnt give me an error so i F8 quit, then restart fivem and the character i tried to make says undefined or something and i click on it and it works fine it allows me to make make the character and name it and goes into the database. i noticed when i try to make a second one its says my first characters name has joined the server , would that be the issue?
I have followed all the steps (https://github.com/FiveEYZ/esx_kashacter#ambulance-fix) but when the player respawn it is frozen.
I have tried to use this function in the RespawnPed function declaration but it still doesn't work.
Followed the instructions given, added/changed the code that is supposed to fix the duplicate entry with datastore...yet, I am still getting the duplicate entry errors.
Running ES_Extended 1.2
All Updated
Everything Runs, Saves and Loads Characters Right with no Issues.
However, everytime someone loads into server I get an
SCRIPT ERROR: @esx_identity/server/main.lua:198: attempt to index a nil value (local 'currentIdentity')
and Players Load in as Micheal.
Is there a step I missed or something I need to change?
I increased the Char limit on everything even the firstname and lastname.
For witch esx version this script is?
When accessing the Clotheshop or Teleporting Its puts the Camera into the sky. Only way to reset the Camera is to restart the Kashacter then we get stuck in the Selection Menu.
I have been all over the place looking for a fix and edited anything I can think of in the Client Main. Even UP the position from 255 to 500 nothing. What am I missing here?
Resource 1: FiveEYZ/esx_kashacter
Error 1: [ script:mysql-async] [MariaDB:10.3.27-MariaDB-0+deb10u1] [ERROR] [esx_kashacters] An error happens for query "UPDATE phone_messages SET owner = 'license:a7d0153920bcd1ca9922d73d743ea6df3f9bf514' WHERE owner = 'Char1:a7d0153920bcd1ca9922d73d743ea6df3f9bf514' : []": ER_TRUNCATED_WRONG_VALUE: Truncated incorrect DOUBLE value: 'Char1:a7d0153920bcd1ca9922d73d743ea6df3f9bf514'
Resource 2: es_extended
Error 2 : [ script:es_extended] SCRIPT ERROR: @es_extended/server/main.lua:101: attempt to index a nil value (field '?')
[ script:es_extended] > ref (@es_extended/server/main.lua:101)
[ script:es_extended] > (@mysql-async/mysql-async.js:15543)
I'm honestly not sure if this is an issue with Kashacter or with something else. However, while using the newest version of esx_identity and with Steam verification enabled it opens the "ESXIdentity Character Registration" menu on spawn, every time which disallows me to use Kash's own registration panel. How can I fix this? I've tried reverting the version (of esx_identity) and while that does fix this specific issue it creates other issues.
After this panel, it opens the customization screen but you cannot actually customize your character / press enter to continue.
Its not working for me, i have the newest esx_identity and es_extended v1 Final
Is there a fix for this i have install as instructions say on my esx v1 final server.
SCRIPT ERROR: Execution of native 000000002f7a49e6 in script host failed: Argument at index 1 was null.
callback (@esx_identity/server/main.lua:88)
ref (@esx_identity/server/main.lua:47)
(@mysql-async/mysql-async.js:15543)
SCRIPT ERROR: @esx_skin/server/main.lua:14: attempt to index a nil value (local 'xPlayer')
Its saving in the database, and is seperated per character doesnt apply after rejoining... 0 errors
Thank you for this great adaptation to the new esx.
it all works well only that sometimes the character selection menu does not appear when connecting, you have to reconnect often so that it works and appears.
could you help me further
Hi!
Im currently getting this error
SCRIPT ERROR: Execution of native 000000002f7a49e6 in script host failed: Argument at index 1 was null.
callback (@esx_identity/server/main.lua:88)
ref (@esx_identity/server/main.lua:47)
(@mysql-async/mysql-async.js:15543)
Followed the the guide and i get this error as soon as i hit create/submit on the esx_identity menu. I see the database updating the User_Lastcharacter table with correct license but in the USERS table nothing at all ??
Running the linked esx_kashacters,esx_identity,esx_status. Aswell as es_extended V1.
Been moving the start order around abit but no diffirence.
What am i missing ?
I think you came into my stream yesterday and helped me with the new version of esx_kashacter
I think i found a bug in your code you say to change OnPlayerJoined but you can use the logic from esx_identity
for k,v in ipairs(GetPlayerIdentifiers(playerId)) do
if string.match(v, 'steam:') then
print("esx_identity:playerConnecting STEAM key " .. k .. " Value: " .. v)
identifier = v
break
end
end
else
for k,v in ipairs(GetPlayerIdentifiers(playerId)) do
if string.match(v, 'license:') then
print("esx_identity:playerConnecting LICENSE key " .. k .. " Value: " .. v)
identifier = string.sub(v, 9)
break
end
end
end
This will let you compare the identifier differently depending on if we're using steam or rockstarID.
Just trying to help, when I get it fixed in my fork i'll send over a PR.
I can boot the server up, make a new character, make a skin for it and do /char it'll show the chars name. After relogging I select the character I made from the slot, and it loads me in as franklin and says my chars name is my steam name. If the server restarts, we are prompted to register on an already registered character and once we finish it then applies the skin we made the first time.
Latest ESX Identity
Latest ES_Extended
All the code from the tutorial has been applied where it should be. No idea why it is doing this. Gives us an error stating "@esx_identity/server/main.lua:198: attempt to index a nil value (local 'currentIdentity')"
We have been trying to get this resolved for days now and this is my last ditch effort at getting it fixed.
Seems to hang server running with esx 1.2
Will this ever be updated to work with the ESX_IDENTITY? Or if someone has gotten it working with the latest ESX_IDENTITY would be great if you could share
SCRIPT ERROR: @esx_kashacter/server/main.lua:88: attempt to index a nil value (local 'Lastchar')
Same as last post. Getting a duplicate entry as well. Any ideas? �[38;5;159m[ script:mysql-async] [ERROR] [MySQL] An error happens on MySQL for query "INSERT INTO addon_account_data (account_name, money, owner) VALUES (@account_name, @money, @owner) {@owner=license:db1bcb93747915f80e56f839e69ad58bfaa43059;@money=0;@account_name=bank_savings}": Duplicate entry 'bank_savings-license:db1bcb93747915f80e56f839e69ad58bfaa43059' for key 'index_addon_account_data_account_name_owner'
I've tried for days now, however, no luck.
Whenever I load in, I create a character, however, it doesn't add that character to our database. We get this error:
SCRIPT ERROR: Execution of native 000000002f7a49e6 in script host failed: Argument at index 1 was null.
> callback (@esx_identity/server/main.lua:88)
> ref (@esx_identity/server/main.lua:47)
> (@mysql-async/mysql-async.js:15543)```
I've had a look myself, and cannot figure it out
only occurs when I create a second char.
SCRIPT ERROR: @esx_identity/server/main.lua:198: attempt to index a nil value (local 'currentIdentity')
> cb (@es_extended/server/main.lua:227)
> cb (@async/async.lua:24)
> ref (@es_extended/server/main.lua:220)
> (@mysql-async/mysql-async.js:15543)
Hy,
so when you use the newest identity master you will be able to create a user but upon loading in it will ask you again and again to create a new char.
I keep getting kicked for missing identity after following all the steps in the post, I'm willing to share whatever information I need to.
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if NetworkIsPlayerActive(PlayerId()) then
TriggerServerEvent('esx:onPlayerJoined')
break
end
end
end)
This code doesn't exist in es_exteneded? I searched my full fivem server to find it, to replace it with the kashacters version. I couldn't find it, and that was going from es_exteneded 1.0.1 all the way to 1.1.0
Am I missing something?
[MariaDB:10.4.17-MariaDB] [ERROR] [es_extended] An error happens for query "INSERT INTO users (accounts, identifier) VALUES (?, ?) : ["{"bank":50000}","license:be9fc2ffa245cf0cde3c85d0c60e7b60354a783e"]": ER_DUP_ENTRY: Duplicate entry 'license:be9fc2ffa245cf0cde3c85d0c60e7b60' for key 'PRIMARY'
[MariaDB:10.4.17-MariaDB] [ERROR] [es_extended] An error happens for query "INSERT INTO users (accounts, identifier) VALUES (?, ?) : ["{"bank":50000}","license:be9fc2ffa245cf0cde3c85d0c60e7b60354a783e"]": ER_DUP_ENTRY: Duplicate entry 'license:be9fc2ffa245cf0cde3c85d0c60e7b60' for key 'PRIMARY'
[MariaDB:10.4.17-MariaDB] [ERROR] [es_extended] An error happens for query "INSERT INTO users (accounts, identifier) VALUES (?, ?) : ["{"bank":50000}","license:be9fc2ffa245cf0cde3c85d0c60e7b60354a783e"]": ER_DUP_ENTRY: Duplicate entry 'license:be9fc2ffa245cf0cde3c85d0c60e7b60' for key 'PRIMARY'
SCRIPT ERROR: @es_extended/server/main.lua:93: attempt to index a nil value (field '?')
ref (@es_extended/server/main.lua:93)
(@mysql-async/mysql-async.js:15543)
So I am using this version and set everything up but i cant click the register button and i know the everything is fine in the registration window as i can use it with out multi char. selection
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.