Working Kashacters for latest game version (27.6.6)

i take no credit for this at all
im sharing this because ive been hunting for weeks to find a way to get it working properly for my server and figured maybe others were having similar issues as me and were having a hard time to get it working again.

kashacters was made by kash and is a brilliant piece of work. so big thanks to kash for his hard work :slight_smile:

this version and the bits ive added with it are a mix of a bunch of scripts and bits and bobs that ive found while i have been researching and hunting for anything i could find that would get it working in my server again over the last 6 weeks. All the bits have come from a bunch of different places… if there is anything of yours in here, thank you so much. Ive been collecting lines here and there, and removing lines here and there from all over the place and its now a frankenstien from a number of places. the last few lines i needed for the essentialmode part of the scrip was sent to me from a friend who isnt sure where its from, so apologies if its yours. Let me know if you recognise any parts and ill add in your name and links :slight_smile:

What i am sharing is a working version of esx_kashacters. I know it works with the 27.6.6 version of the game.(which is the latest version that zap offers)

i got it working on a newly wiped server, after i had installed all the basics for an esx server on zap. I cant say it will work on other versions. it might, it might not.

also, certain scripts can (and prob will) make it not work properly. Over the next few weeks ill be adding scripts etc to my server to see which ones it works with, and which scripts it doesnt work with so we will have a list which i think will help with figuring out what we can and cant use with it. But its going to take me a while cause im also working on some nz mods… but once i start the list i will add it here somewhere

Installation is easy as, as long as you follow these simple instructions. If you are unable to follow basic instructions, then consider not using this. I am not even close to smart enough to be able to help you if there is an issue.

Installation
PLEASE DO IT IN THIS ORDER:

  1. open your copy of ‘essentialmode’ and go to client/main.lua.
  2. take a back up copy of your client/main.lua script and save it somewhere (just in case you need to put it back if this doesnt work for you)
  3. copy the script labeled “client-main.lua in essentialmode” from the text document in the ‘working kashacters’ file
  4. remove ALL the text in your essentialmode/client/main.lua and paste this one in its place. save and then close your essentialmode folder.
  5. add the esx_kashacters sql file into your database
  6. now add the esx_kashacters folder into your resources folder
  7. write start esx_kashacters into your server.cfg.

NOTE: make sure (in your server.cfg) that “start esx_kashacters” is written BELOW es_extended, es_admin2, mysql-async, essentialmode, esplugin-mysql, easyadmin, but ABOVE skinchanger, esx_identity and skin.
i have mine set up with the default starting resources first, then the easyadmin, essentialmode etc, then the ‘esx’ files… but i add kashacters into the esx files group in this order:

start mysql-async
start essentialmode
start esplugin_mysql
start es_admin2

From ESX Pack

start async
start cron
start es_extended
start instance
start es_camera
start esx_kashacters
start skinchanger
start esx_accessories
start esx_addonaccount
start esx_addoninventory
etc etc

  1. Restart your city and youre done.

Again, i take no credit for this, and if you have issues im not sure ill be much help, and i definitely wont be able to help if you change any parts of the scripting in this

Thank you to everyone who has contributed lines, bits, bobs and parts to this frankenstien version… without your smarts i would not have been even close to being able to get kashacters working for my server.

i hope this helps someone who has been having the same issues i have with it :smiley:

working kashacters.7z (6.3 KB)

Couple of things.

  1. If you’re going to make edits to someone’s projects, post in the original resource. [RELEASE][ESX] KASHacters Multi Character

  2. Getting kash to work with the es_extended you’re using was already in the read me included with the original resource so I have 0 clue how in the world you struggled getting it to work to the point you’re replacing essentialmode client/main.lua entirely instead of commenting out literally like 8 lines I think? https://github.com/XxFri3ndlyxX/kashacters Can see the read me here for example.

  3. You didn’t even mention the changes you have to make in server.lua as mentioned in the original resource.

  4. You didn’t specify the es_extended version. Big issue considering there’s 4 of them + extendedmode. This only works with 1.1. For 1.2 you need this fork: https://github.com/FiveEYZ/esx_kashacter

Don’t “rerelease” an update. Talk to the original creator to update it. Create a pull request on the original repository.