There is currently a faction war going on! View Stats
ThaCrypte
Lead Administrator
User avatar
Posts: 9953
Game name: Paul_Henderson

Future update: Item rework

November 6th, 2023, 4:18 pm

Future update: Item rework

Rather than posting vague screenshots of cargobobs in the sneak peek channel on Discord, I've decided to make a informative thread regarding a upcoming update that I've been working on. In this thread, I'll be going into details about why we're making these changes, what will change and more. This thread is also meant to gather some early feedback. You could consider this thread as some kind of "dev blog".

Why?
Simple. Currently items and item information are stored all over the place. This makes changing things involving items more difficult than it should be. I had the idea in mind for quite some time and was doubtfull to get started. However looking through certain suggestions convinced me to pull the trigger.

And before you say: "Instead of doing this you could be doing X Y instead!", the item rework is on a seperate branch and is basically something I work on when I have the time to. This means I can keep updating the current gamemode in parralel to the item rework without too much problems. The "main" branch is still taking my priority.

Commands
For the most part, commands are mostly the same. Some commands, however, might have things switched around a little. E.g. /houselocker store materials 3000 has been changed to /houselocker store 3000 materials. /houselocker now also shows you an UI that updates whenever you take/deposit an item.
Other than that, /usedrugs has been removed and replaced with /use <item name>. This command is only used for drugs as of the time of writing this thread, but will be used for other and newer items.

/inventory has also been changed, as it now shows you an UI with all your items.

Selecting an item in the new UI will present you with more information. (As seen in the screenshots below).

Items
All items become their own entitity rather than being stored randomly in the gamemode. From toolkits to bombs. Items can have different parameters, such as being tradeable, stackable (can have multiple in a single inventory slot), wether they should drop on death/disconnect, the max amount a player may have in their inventory, etc.

Item effects are now dynamic as well (cuz why not). We can easily add healing, damaging, commands, messages, to items. I also added a way to reload items whilst in-game, meaning we could essentially create new items with different effects without having to recompile the gamemode. That being said, all items can now be used through /use. Their older commands (/toolkit, etc) still work however /usedrugs is deprecated and removed.

We opted out of making weapons and ammo seperated items for now.

All the code that involves items, from buying them in businesses to using them has been changed.

Inventories
Inventories have been entirely reworked. It is now 50x easier to add an inventory to an entity(house/player e.g.) and to add interactions. You can use them mostly the same as you always used them.

Player inventory
Player inventories have a default size of 15 inventory slots. Premium (lvl 5+) members get an additional 5 slots.
Image

House locker
House lockers have a default size of 30 inventory slots. You are unable to deposit untradable items in your house locker.
Image

Frisking a player
We decided to keep frisking pretty much the same as it is now, except with more items and details.
Image

Testing
Due to the scale of this update, and how it affects the economy, we've been testing and will continue to test to ensure all works as intended. We might host a public beta in the very near future to speed up this process.

What's left?
A lot. Mostly testing to ensure everything is covered and there won't be any bugs that cause players to lose items. I'm also looking at ways to display certain item variables, such as if an item is illegal, if it is tradeable, etc.

HULK
SA Police Department
User avatar
Posts: 4695
Game name: Ragnar_Enzo, Cesare_Scagletti

Re: Future update: Item rework

November 6th, 2023, 4:43 pm

Fix war system 🚴

axe
Soldier
User avatar
Posts: 3229
Game name: Vince_Cavallo

Re: Future update: Item rework

November 6th, 2023, 4:45 pm

feels like those russian servers

Resick
Soldier
User avatar
Posts: 3642
Game name: Resick_Falzetta

Re: Future update: Item rework

November 6th, 2023, 4:52 pm

makes a few things easier like the houselocker thingy maybe u can make 2 split inventories when you're storing stuff in your houselocker or giving stuff to someone

Ralph_
Donator
User avatar
Posts: 1853
Game name: Ralph_Toretto, Raphael_TinToretto

Re: Future update: Item rework

November 6th, 2023, 5:04 pm

ui could use some rework otherwise looks good, i think it could go along well with an overhauled drug system (hoping we see that in the near future tbh)

youno
Outsider
User avatar
Posts: 194
Game name: Giuliano_Urra, Giuliano_Alvarrez

Re: Future update: Item rework

November 6th, 2023, 5:21 pm

would be nice if you made katana & bat a craftable item for 50/100 materials and make it count as a weapon instead of it dissapearing when you /takeguns or /throwgun

axe
Soldier
User avatar
Posts: 3229
Game name: Vince_Cavallo

Re: Future update: Item rework

November 6th, 2023, 5:42 pm

youno wrote: ↑
November 6th, 2023, 5:21 pm
would be nice if you made katana & bat a craftable item for 50/100 materials and make it count as a weapon instead of it dissapearing when you /takeguns or /throwgun
Why

Omar
Outsider
Posts: 53
Game name: Omar_Falcone

Re: Future update: Item rework

November 6th, 2023, 5:57 pm

Resick wrote: ↑
November 6th, 2023, 4:52 pm
makes a few things easier like the houselocker thingy maybe u can make 2 split inventories when you're storing stuff in your houselocker or giving stuff to someone

Omar
Outsider
Posts: 53
Game name: Omar_Falcone

Re: Future update: Item rework

November 6th, 2023, 6:04 pm

they say "don't change something that works", fixing war system now is more important
Last edited by Woet on November 7th, 2023, 12:26 am, edited 1 time in total.
Reason: No need to quote the entire original post

CruzTattaglia
Faction Leader
User avatar
Posts: 7691
Game name: Cruz_Tattaglia, Built_Different

Re: Future update: Item rework

November 6th, 2023, 6:16 pm

Omar wrote: ↑
November 6th, 2023, 6:04 pm
they say "don't change something that works", fixing war system now is more important
viewtopic.php?p=2558915#p2558915

Omar
Outsider
Posts: 53
Game name: Omar_Falcone

Re: Future update: Item rework

November 6th, 2023, 6:19 pm

CruzTattaglia wrote: ↑
November 6th, 2023, 6:16 pm
Omar wrote: ↑
November 6th, 2023, 6:04 pm
they say "don't change something that works", fixing war system now is more important
viewtopic.php?p=2558915#p2558915
nothing has changed, 50 percent death free difference is ridiculous

Connorious
Retired Admin
User avatar
Posts: 6432
Game name: Fabio_Leone, Fabio_Accardi, Fabio_Carvelli

Re: Future update: Item rework

November 6th, 2023, 6:24 pm

Omar wrote: ↑
November 6th, 2023, 6:19 pm
CruzTattaglia wrote: ↑
November 6th, 2023, 6:16 pm
Omar wrote: ↑
November 6th, 2023, 6:04 pm
they say "don't change something that works", fixing war system now is more important
viewtopic.php?p=2558915#p2558915
nothing has changed, 50 percent death free difference is ridiculous
stop crying please its sad to see

Omar
Outsider
Posts: 53
Game name: Omar_Falcone

Re: Future update: Item rework

November 6th, 2023, 6:26 pm

Connorious wrote: ↑
November 6th, 2023, 6:24 pm
Omar wrote: ↑
November 6th, 2023, 6:19 pm
CruzTattaglia wrote: ↑
November 6th, 2023, 6:16 pm
Omar wrote: ↑
November 6th, 2023, 6:04 pm
they say "don't change something that works", fixing war system now is more important
viewtopic.php?p=2558915#p2558915
nothing has changed, 50 percent death free difference is ridiculous
stop crying please its sad to see
you're delusional if you think something has changed.

swagb1tches
Rookie
User avatar
Posts: 3
Game name: Caesar_Rodriguez

Re: Future update: Item rework

November 6th, 2023, 7:29 pm

Good update, keep up the good work

Donald
Faction Leader
Posts: 14403
Game name: Donald_Capazzo

Re: Future update: Item rework

November 6th, 2023, 8:22 pm

looks good, ui could do some work being more neat and maybe adding some filters like sorting by amount, newest and increasing/decreasing fontsize

ThaCrypte
Lead Administrator
User avatar
Posts: 9953
Game name: Paul_Henderson

Re: Future update: Item rework

November 6th, 2023, 8:25 pm

Omar wrote: ↑
November 6th, 2023, 6:04 pm
they say "don't change something that works", fixing war system now is more important
The saying is "Don't fix something that ain't broken". There's also another saying that says "Read before you speak".

Image

There are more reasons to rewrite code other than just fixing bugs. Which yet again is in the main thread.

Omar
Outsider
Posts: 53
Game name: Omar_Falcone

Re: Future update: Item rework

November 6th, 2023, 9:35 pm

ThaCrypte wrote: ↑
November 6th, 2023, 8:25 pm
Omar wrote: ↑
November 6th, 2023, 6:04 pm
they say "don't change something that works", fixing war system now is more important
The saying is "Don't fix something that ain't broken". There's also another saying that says "Read before you speak".

Image

There are more reasons to rewrite code other than just fixing bugs. Which yet again is in the main thread.
all im saying is , its not as important for imrp people as the warring system rn which has been slightly changed or not changed at all

Gaius
Outsider
Posts: 47

Re: Future update: Item rework

November 6th, 2023, 11:56 pm

Do you really need all that money? You don't even play actively. Stop hoarding all that cash and wire it to San Andreas Police Department's slush fund

Liroy
Caporegime
User avatar
Posts: 6718
Game name: Leroy_Burke

Re: Future update: Item rework

November 7th, 2023, 12:22 am

Good work mate, keep it up

Connorious
Retired Admin
User avatar
Posts: 6432
Game name: Fabio_Leone, Fabio_Accardi, Fabio_Carvelli

Re: Future update: Item rework

November 7th, 2023, 12:49 am

Omar wrote: ↑
November 6th, 2023, 9:35 pm
ThaCrypte wrote: ↑
November 6th, 2023, 8:25 pm
Omar wrote: ↑
November 6th, 2023, 6:04 pm
they say "don't change something that works", fixing war system now is more important
The saying is "Don't fix something that ain't broken". There's also another saying that says "Read before you speak".

Image

There are more reasons to rewrite code other than just fixing bugs. Which yet again is in the main thread.
all im saying is , its not as important for imrp people as the warring system rn which has been slightly changed or not changed at all
SHUT THE FUCK UP YOU CRYING PRICK YOUR FACTION IS DOGSHIT ANYWAY WHO WILL YOU WAR ? NOOSE ?
.

nvm noose would smoke ur ass too

TuCo
SA Police Department
Posts: 3321
Game name: TuCo_Victoriano

Re: Future update: Item rework

November 7th, 2023, 8:17 am

HULK wrote: ↑
November 6th, 2023, 4:43 pm
Fix war system 🚴
Omar wrote: ↑
November 6th, 2023, 6:04 pm
they say "don't change something that works", fixing war system now is more important
what's the point of worrying about the war system if you're not getting into it? dunderheads

Omar
Outsider
Posts: 53
Game name: Omar_Falcone

Re: Future update: Item rework

November 7th, 2023, 12:56 pm

Connorious wrote: ↑
November 7th, 2023, 12:49 am
Omar wrote: ↑
November 6th, 2023, 9:35 pm
ThaCrypte wrote: ↑
November 6th, 2023, 8:25 pm
Omar wrote: ↑
November 6th, 2023, 6:04 pm
they say "don't change something that works", fixing war system now is more important
The saying is "Don't fix something that ain't broken". There's also another saying that says "Read before you speak".

Image

There are more reasons to rewrite code other than just fixing bugs. Which yet again is in the main thread.
all im saying is , its not as important for imrp people as the warring system rn which has been slightly changed or not changed at all
SHUT THE FUCK UP YOU CRYING PRICK YOUR FACTION IS DOGSHIT ANYWAY WHO WILL YOU WAR ? NOOSE ?
.

nvm noose would smoke ur ass too
fabio, you're top 5 highest iq in leone with minus 10.

CruzTattaglia
Faction Leader
User avatar
Posts: 7691
Game name: Cruz_Tattaglia, Built_Different

Re: Future update: Item rework

November 7th, 2023, 2:30 pm

Omar wrote: ↑
November 7th, 2023, 12:56 pm
fabio, you're top 5 highest iq in leone with minus 10.
Image

Connorious
Retired Admin
User avatar
Posts: 6432
Game name: Fabio_Leone, Fabio_Accardi, Fabio_Carvelli

Re: Future update: Item rework

November 7th, 2023, 3:58 pm

Omar wrote: ↑
November 7th, 2023, 12:56 pm
Connorious wrote: ↑
November 7th, 2023, 12:49 am
Omar wrote: ↑
November 6th, 2023, 9:35 pm
ThaCrypte wrote: ↑
November 6th, 2023, 8:25 pm
Omar wrote: ↑
November 6th, 2023, 6:04 pm
they say "don't change something that works", fixing war system now is more important
The saying is "Don't fix something that ain't broken". There's also another saying that says "Read before you speak".

Image

There are more reasons to rewrite code other than just fixing bugs. Which yet again is in the main thread.
all im saying is , its not as important for imrp people as the warring system rn which has been slightly changed or not changed at all
SHUT THE FUCK UP YOU CRYING PRICK YOUR FACTION IS DOGSHIT ANYWAY WHO WILL YOU WAR ? NOOSE ?
.

nvm noose would smoke ur ass too
fabio, you're top 5 highest iq in leone with minus 10.
and yet your faction is still afraid to war a congregation of retards, says it all really you pathetic neek

tisler
Consigliere
User avatar
Posts: 7872
Game name: Tommy_Caesar

Re: Future update: Item rework

November 7th, 2023, 4:04 pm

Omar wrote: ↑
November 7th, 2023, 12:56 pm

fabio, you're top 5 highest iq in leone with minus 10.
LOLLLLllllll

Ralph_
Donator
User avatar
Posts: 1853
Game name: Ralph_Toretto, Raphael_TinToretto

Re: Future update: Item rework

November 7th, 2023, 4:07 pm

Connorious wrote: ↑
November 7th, 2023, 3:58 pm
and yet your faction is still afraid to war a congregation of retards, says it all really you pathetic neek
retired useless fag now a part time keyboard warrior on 2007 community forum

how the 'mighty' has fallen

:clown:

Connorious
Retired Admin
User avatar
Posts: 6432
Game name: Fabio_Leone, Fabio_Accardi, Fabio_Carvelli

Re: Future update: Item rework

November 7th, 2023, 4:13 pm

Ralph_ wrote: ↑
November 7th, 2023, 4:07 pm
Connorious wrote: ↑
November 7th, 2023, 3:58 pm
and yet your faction is still afraid to war a congregation of retards, says it all really you pathetic neek
retired useless fag now a part time keyboard warrior on 2007 community forum

how the 'mighty' has fallen

:clown:
Image

keep going buddy soon ull be a helper

Ralph_
Donator
User avatar
Posts: 1853
Game name: Ralph_Toretto, Raphael_TinToretto

Re: Future update: Item rework

November 7th, 2023, 4:15 pm

Connorious wrote: ↑
November 7th, 2023, 4:13 pm
Ralph_ wrote: ↑
November 7th, 2023, 4:07 pm
Connorious wrote: ↑
November 7th, 2023, 3:58 pm
and yet your faction is still afraid to war a congregation of retards, says it all really you pathetic neek
retired useless fag now a part time keyboard warrior on 2007 community forum

how the 'mighty' has fallen

:clown:
Image

keep going buddy soon ull be a helper
atleast i be useful rofl - thankfully the garbage got taken out for good

blud was merely a placeholder :D

Ralph_
Donator
User avatar
Posts: 1853
Game name: Ralph_Toretto, Raphael_TinToretto

Re: Future update: Item rework

November 7th, 2023, 4:18 pm

connor on a side note im relieved someone aint gonna be fishing for logs anymore iykyk :D

vance
Outsider
User avatar
Posts: 358
Game name: Angel_Dinero

Re: Future update: Item rework

November 7th, 2023, 4:35 pm

Connorious wrote: ↑
November 7th, 2023, 3:58 pm
Omar wrote: ↑
November 7th, 2023, 12:56 pm
Connorious wrote: ↑
November 7th, 2023, 12:49 am
Omar wrote: ↑
November 6th, 2023, 9:35 pm
ThaCrypte wrote: ↑
November 6th, 2023, 8:25 pm


The saying is "Don't fix something that ain't broken". There's also another saying that says "Read before you speak".

Image

There are more reasons to rewrite code other than just fixing bugs. Which yet again is in the main thread.
all im saying is , its not as important for imrp people as the warring system rn which has been slightly changed or not changed at all
SHUT THE FUCK UP YOU CRYING PRICK YOUR FACTION IS DOGSHIT ANYWAY WHO WILL YOU WAR ? NOOSE ?
.

nvm noose would smoke ur ass too
fabio, you're top 5 highest iq in leone with minus 10.
and yet your faction is still afraid to war a congregation of retards, says it all really you pathetic neek
:lol: :lol: :lol: :lol:

Return to β€œChangelog”