Garry's Mod

Garry's Mod

Image Tool - Your pictures in the world!
 此主题已被置顶,因此可能具有重要性
Selenter  [开发者] 2021 年 12 月 17 日 上午 10:59
Errors and problems
Write here all the troubles you encountered while using this addon. This may be due to "something is creating script errors" or your picture not working.
We will try to help everyone.
< >
正在显示第 1 - 15 条,共 34 条留言
msmr 2021 年 12 月 17 日 下午 11:35 
[Image Tool - Your pictures in the world!] lua/imagetool/sv_image.lua:101: bad argument #1 to 'min' (number expected, got no value)
1. min - [C]:-1
2. RemoveImage - lua/imagetool/sv_image.lua:101
3. RightClick - lua/weapons/gmod_tool/stools/imagetool.lua:64
4. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:239
Selenter  [开发者] 2021 年 12 月 18 日 上午 3:02 
引用自 msmr
[Image Tool - Your pictures in the world!] lua/imagetool/sv_image.lua:101: bad argument #1 to 'min' (number expected, got no value)
1. min - [C]:-1
2. RemoveImage - lua/imagetool/sv_image.lua:101
3. RightClick - lua/weapons/gmod_tool/stools/imagetool.lua:64
4. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:239

Хм... интересная ошибка. Сегодня чуть попозже исправлю. Можете дать нам немного больше информации, о том, что вызвало данную ошибку? Она начала появляться после нескольких определенных действий, или вы просто решили удалить картинку и она появилась?
Selenter  [开发者] 2021 年 12 月 18 日 上午 4:15 
Исправил, больше данной ошибки возникать не должно.
msmr 2021 年 12 月 18 日 上午 4:26 
Пасиба, мужик) :steamthis:
wawanator 2021 年 12 月 21 日 上午 3:34 
Impossible to delete big decals and stays on the map forever
Selenter  [开发者] 2021 年 12 月 21 日 上午 3:50 
引用自 wawanator
Impossible to delete big decals and stays on the map forever

To remove a picture, you must click on the place where you put it. In your case, this will be the upper left part of the picture.

This is due to the fact that this picture is not an Entity, and is shown visually for the players. It doesn't exist on the server.
Crack Potter 2021 年 12 月 22 日 下午 1:06 
Either im dumb or just unlucky

It doesnt matter how hard i try the picture wont load always just showing its downloading even after 10 min
Does it only work in multiplayer ?
Selenter  [开发者] 2021 年 12 月 22 日 下午 2:03 
引用自 Crack Potter
Either im dumb or just unlucky

It doesnt matter how hard i try the picture wont load always just showing its downloading even after 10 min
Does it only work in multiplayer ?

The picture works regardless of the set mode (Single/Multiplayer).
Picture should be loaded within 2-3 seconds. If it takes more than 10 seconds, then double-check your link that you indicate. We recommend that you use pictures that are published through Discord or Imgur.

Pictures must have the ".png | .jpg | .jfif" extension at the end. Or have the format image/png | image/jpeg

An example of a good link:
Imgur: https://i.imgur.com/4vyQ6Hl.png
Discord: https://media.discordapp.net/attachments/518844061017309186/923334397200048138/4vyQ6Hl.png
maurice gaming 2021 年 12 月 24 日 下午 10:48 
this addon is awesome, and it is so fun to use. however i went into a map and placed a picture, and for the life of me i cant delete it, I've tried going around the border with right click, clicking on it from underneath the map, and its in a pretty distruptive place, maybe it would be a good idea to have a, "clear all images on map" button?

thank you for making something so useful by the way, this is awesome for screenshots with 2D characters.
Selenter  [开发者] 2021 年 12 月 25 日 上午 7:07 
引用自 maurice gaming
this addon is awesome, and it is so fun to use. however i went into a map and placed a picture, and for the life of me i cant delete it, I've tried going around the border with right click, clicking on it from underneath the map, and its in a pretty distruptive place, maybe it would be a good idea to have a, "clear all images on map" button?

thank you for making something so useful by the way, this is awesome for screenshots with 2D characters.

Thank you very much for your feedback!

To delete an image, click exactly in the same place where you put this picture (it is always the top left corner of the image).

About the button that will clear all the pictures on the map. This is a good idea, but at the moment I don’t have time to implement it. For now, you can use the file deletion in the config. He is in: garrysmod/data/imagetool/config.txt
Duc 2022 年 1 月 20 日 下午 4:24 
Images don't seem to appear after spawning them, instead creating lua errors. More Information:

When I launch Gmod I get this lua error:

lua/imagetool/sv_hooks.lua:20: attempt to index local 'config' (a nil value)
1. v - lua/imagetool/sv_hooks.lua:20
2. unknown - lua/includes/modules/hook.lua:96

Each time I try spawning any image. For example the default image, I get these two lua errors:

lua/imagetool/sv_image.lua:69: attempt to index local 'config' (a nil value)
1. AddImage - lua/imagetool/sv_image.lua:69
2. LeftClick - lua/weapons/gmod_tool/stools/imagetool.lua;49
3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:214

and

lua/imagetool/sv_image.lua:84: attempt to index local 'config' (a nil value)
1. RemoveImage - lua/imagetool/sv_image.lua:84
2. RightClick - lua/weapons/gmod_tool/stools/imagetool.lua:64
3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:239

I've tried discord picture links and Imgur, also made sure they had the format extensions at the ends. Please Help.
Selenter  [开发者] 2022 年 1 月 21 日 上午 12:11 
引用自 Joker
Images don't seem to appear after spawning them, instead creating lua errors. More Information:

When I launch Gmod I get this lua error:

lua/imagetool/sv_hooks.lua:20: attempt to index local 'config' (a nil value)
1. v - lua/imagetool/sv_hooks.lua:20
2. unknown - lua/includes/modules/hook.lua:96

Each time I try spawning any image. For example the default image, I get these two lua errors:

lua/imagetool/sv_image.lua:69: attempt to index local 'config' (a nil value)
1. AddImage - lua/imagetool/sv_image.lua:69
2. LeftClick - lua/weapons/gmod_tool/stools/imagetool.lua;49
3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:214

and

lua/imagetool/sv_image.lua:84: attempt to index local 'config' (a nil value)
1. RemoveImage - lua/imagetool/sv_image.lua:84
2. RightClick - lua/weapons/gmod_tool/stools/imagetool.lua:64
3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:239

I've tried discord picture links and Imgur, also made sure they had the format extensions at the ends. Please Help.

A very strange error. It looks like your config file got corrupted, I no longer see any reason why the error is being raised. Try deleting the config file. He is in: garrysmod/data/imagetool/config.txt
Duc 2022 年 1 月 21 日 下午 3:02 
It works, Thanks :steamthumbsup:
scolipede 2022 年 2 月 1 日 上午 11:05 
any way on how to delete images that arent on a wall ??? i placed an image in the sky on a floating plastic part then undid it, now i cant delete them :/
Notcoke 2022 年 8 月 5 日 上午 4:50 
When i'm using "poster" command. the picture shows wrong (some part is gone)
< >
正在显示第 1 - 15 条,共 34 条留言
每页显示数: 1530 50