Git Product home page Git Product logo

esx_kashacter's People

Contributors

dioneb avatar ebensantuy avatar fiveeyz avatar koolaiddtv avatar rex2630 avatar rikodev avatar sw1ft avatar uniixx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

esx_kashacter's Issues

Step one doesn't exist in es_extended, Or i'm being dumb.

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?

commands for esx are nolonger working when esx_kashacter is installed

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

first character works the next few not so much

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?

OnPlayerJoined code issue

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.

error

i get an error when using the server side license edit

citizen:/scripting/lua/MessagePack.lua:862: extra bytes

Dears.

I followed the tutoria, but I have a lot of errors in the console and characters are not saved and nothing works .
Here the errors.
immagine

Can someone point me in the right direction in order to solve the issue?

Thank you in advance for your help

Duplicate Entry

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'

The character selection menu doesn't always work

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

Some issues with Kashacters and the edited es_extended

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:

  1. The server is not getting listed on the FiveM online servers list
  2. When a player joins, the server won't recognize or detect that player and therefor the player won't show in the tab menu nor in the server.
  3. Es_extended is not saving characters. When someone makes a character and leaves, it will not save the character that he created and therefore when he joins back, he would need to make a completely new character.
  4. Kashacters is not saving the player's data and characters.

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.

esx_identity error for currentIdentity

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.

esx_kashacter + es_extended Error. Help me

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)

unknown

Cam goes to Sky Help

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?

Duplicate entry

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.

esx_identity issue

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)

Spawning Invisible

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?

esx_kashacters ~ Identity

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')

Skin not loading apart from first time

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?...

Its not working....

Its not working for me, i have the newest esx_identity and es_extended v1 Final

Update for latest identity

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

I get this error

[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)

Issues with Registration and Customization

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.

EVERYTHINGS BROKEN

This script breaks my whole server when i do the things u say to do and my character never show

Characters wont save to database.

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 ?

Doesn't load character and open ESX Identity registering

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.

Kicked for missing identity

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.

Datastore Issue

Why, if i create a new characters and try to delete this and Play with another char, the database still error
image

I following all instruction on your tutorial, but still error

creating a identity not allowing registration.

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

Skins not applying

Its saving in the database, and is seperated per character doesnt apply after rejoining... 0 errors

Not reading charid.

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.

Creating Char does not insert into Database

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 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.