Team Spartan Cookies & Milk Forums

Full Version: Problem with the permission dhtml
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I have a problem with the new permission for the dhtml vgui (permissions.USE_WEB_BROWSER), the owner himself need this permission for the sf work, not like others permissions (prop spawn / player teleport / ...) who the owner don't need the permission.
All client-side permissions require the chip owner's permission. The ones you've listed are server-side, which only apply when the chip is running directly from the shared area through execute permissions.
So you don't want to grant the permission to owner only ? Because when i share something, players need to grant the permission, and its boring.
And for me, we don't need this permission.

ps : a small error :
[ERROR] addons/ulx-tscm/lua/entities/st_shield_bubble/shared.lua:409: attempt to call method 'SetShieldSize' (a nil value)
1. SetShieldScale - addons/ulx-tscm/lua/entities/st_shield_bubble/shared.lua:409
2. DrawTranslucent - addons/ulx-tscm/lua/entities/computer_core/abilities/science/aux_to_shields/shared.lua:81
3. unknown - addons/ulx-tscm/lua/entities/computer_core/shared.lua:243
(22-08-2018, 05:33 PM)Belloxy Wrote: [ -> ]So you don't want to grant the permission to owner only ? Because when i share something, players need to grant the permission, and its boring.
And for me, we don't need this permission.

ps : a small error :
[ERROR] addons/ulx-tscm/lua/entities/st_shield_bubble/shared.lua:409: attempt to call method 'SetShieldSize' (a nil value)
1. SetShieldScale - addons/ulx-tscm/lua/entities/st_shield_bubble/shared.lua:409
2. DrawTranslucent - addons/ulx-tscm/lua/entities/computer_core/abilities/science/aux_to_shields/shared.lua:81
3. unknown - addons/ulx-tscm/lua/entities/computer_core/shared.lua:243

You need to give permission to the chip to run on your own instance, so people using your chip would have to go and grant permission to it. Not that hard
They don't use my sf, but i shared it with players, and they spawn it. The problem, is to tell everyone to grant a permission.
Its just to grant a permission to your own ship i think its boring, not for other.
For other players, grant the permission, its ok, but with your own ship, i don't think its necessary
I've changed the behaviour so that any chip you own will not require permissions granted as long as you can see the source code of it (i.e. either it's saved to your machine or you have read access to it in the shared area and downloaded it).