mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

SD # 37 Disallow custom models folder files

Open ALBANDER2022 opened this issue 2 years ago • 13 comments

Request : SD # 37 Disallow custom models folder files

i mean disallow custom files in models folder such as : cutscene.img , effects.fxp , effectsPC.txd , fonts.txd , particle.txd , misc.txd , hud.txd , player.img , fronten_pc.txd , fronten1.txd , fronten2.txd , fronten3.txd , pcbtns.txd

these files can be used for unfair advantage so i want to make SD # 37 custom detection for disallow custom models folder files

ALBANDER2022 avatar Mar 02 '22 09:03 ALBANDER2022

~~If you want to detect if a player has modified certain files, you can use onPlayerModInfo. Please use one of the scripting channels on our Discord for further assistance.~~

Edit: onPlayerModInfo seems to check only the models within the gta3.img and ignores other files such as effectsPC.txd, the wiki wasn't very clear so I apologize for not checking. However, I think it's going to be great to support these files in that event.

xLive avatar Mar 02 '22 10:03 xLive

Nope , onPlayerModInfo for gta3.img , gta_int.img only !!!

ALBANDER2022 avatar Mar 02 '22 10:03 ALBANDER2022

We can’t detect custom models files

ALBANDER2022 avatar Mar 02 '22 10:03 ALBANDER2022

If you want to detect if a player has modified certain files, you can use onPlayerModInfo. Please use one of the scripting channels on our Discord for further assistance.

Nope , onPlayerModInfo for gta3.img , gta_int.img only !!!

ALBANDER2022 avatar Mar 02 '22 10:03 ALBANDER2022

Any reply from admins ?

ALBANDER2022 avatar Mar 07 '22 14:03 ALBANDER2022

Please don't bump your issue after only 5 days.

onPlayerModInfo can probably be changed to include checking of others files. Likely this will require changes internally, by AC team, although that needs confirming (I assume PACKET_ID_PLAYER_MODINFO is being sent by netc).

However yes, if we're going to do this then another SD would be nice to separate these additions.

Lpsd avatar Mar 07 '22 18:03 Lpsd

OnPlayerModInfo event for gta3.img , gta_int.img only !

try i’m sure we can’t detect custom models files

ALBANDER2022 avatar Mar 07 '22 19:03 ALBANDER2022

That's why I said the event can be changed to include checks for other files (although this doesn't rule out creating an entirely new event instead).

Please read replies carefully before responding to them. If you're unsure about specific implementation details, don't worry - leave this up to the contributors. Thanks

Lpsd avatar Mar 07 '22 20:03 Lpsd

Yes , we are waiting ccw reply.

ALBANDER2022 avatar Mar 08 '22 08:03 ALBANDER2022

MTA Developers ! , where are you ! , 17 days ago !

please solve my issue quickly

ALBANDER2022 avatar Mar 19 '22 15:03 ALBANDER2022

MTA is maintained by contributors in their free time. This will be picked up and considered by the right people when they find that time.

I think everyone would agree this is a good idea.

For now, please don’t continue bumping this issue - when there is progress it’ll be noted.

Lpsd avatar Mar 19 '22 15:03 Lpsd

But they are too late

sorry for disturb

ALBANDER2022 avatar Mar 19 '22 15:03 ALBANDER2022

Well, then hire someone from the team to do it, if it's that urgent for you. Money is always a good motivation IMHO.

I don't represent the team's stance on this, this is just personal opinion!

Pirulax avatar Mar 22 '22 01:03 Pirulax

please add new detection SD # 37

ALBANDER2022 avatar Apr 09 '24 22:04 ALBANDER2022