Garry's Mod

Garry's Mod

CS 1.6 Shop menu Mod
 This topic has been pinned, so it's probably important
BOT Opie  [developer] 27 Nov, 2016 @ 6:36am
EXPLAIN YOUR PROBLEM / BUGS HERE
If you have issues with this mod you can post it here

BEFORE POSTING PLEASE :

- TRY TO UNABLES OTHER MOD BEFORE (tell it if there is a compatibilty issue)

- copy the script error

- explain what have you do before the bug is comming

- explain what happends

all these information are nessecary for me for fixing and updating the mod
thanks :)
< >
Showing 1-15 of 47 comments
Spearra 9 Dec, 2016 @ 4:17pm 
[CS 1.6 Shop Menu Mod] lua/autorun/client/cl_moneyweapon.lua:93: attempt to perform arithmetic on global 'nbclip' (a nil value)
1. func - lua/autorun/client/cl_moneyweapon.lua:93
2. unknown - lua/includes/extensions/net.lua:32

I disabled all other mods and left only this one enabled to be sure it wasn't anything else.

Now buying any weapon and equipment work as intended, but when I attempt to purchase ammo with any gun, including the standard HL2 weapons, this error occurs and nothing happens.

TLDR: Can't buy ammo but I can buy everything else.
BOT Opie  [developer] 10 Dec, 2016 @ 3:31am 
Originally posted by Spearra:
[CS 1.6 Shop Menu Mod]

when I attempt to purchase ammo with any gun, including the standard HL2 weapons, this error occurs and nothing happens.

TLDR: Can't buy ammo but I can buy everything else.

is this errors occurs when you give a weapon from the spawnmenu and give ammo from the buy menu ?

also, try to register the weapon on the shop menu (spawnmenu -> option -> weapon management) and retry (don't forget to fill all the fields)


EDIT : i have found my mistake, i will update
Last edited by BOT Opie; 10 Dec, 2016 @ 3:45am
Crybaby Gunman 15 Dec, 2016 @ 10:33am 
Can you unbind drop?
BOT Opie  [developer] 19 Dec, 2016 @ 1:11pm 
Originally posted by Suffering™:
Can you unbind drop?
dropping weapons feature will be (probably) removed
TheApexProtocol 23 Jan, 2017 @ 11:54am 
i seem to have unbinded the menu mod, how do i rebind it to the "b" key? i know the "bind x "Wot do I put here to get the menu to pop up again"" command but im not sure what the open menu command is.
BOT Opie  [developer] 24 Jan, 2017 @ 3:39am 
Originally posted by -_=Alo41x=_-:
i seem to have unbinded the menu mod, how do i rebind it to the "b" key? i know the "bind x "Wot do I put here to get the menu to pop up again"" command but im not sure what the open menu command is.

open menu is unbindable, so it cannot be unbinded
try the command "buymenumod_buytime 0"


if its doen't work try to re-install the mod ( you will not lose your setting)
if its doesn't work again tell me
Last edited by BOT Opie; 24 Jan, 2017 @ 3:39am
Galds. 17 Feb, 2017 @ 4:27am 
I have a problem when I try to add weapons.
It shows this message in the console
[CS 1.6 Shop Menu Mod] lua/autorun/client/cl_menuweaponoption.lua:108: Calling net.Start with unpooled message name! [http://goo.gl/qcx0y]
1. Start - [C]:-1
2. reloadList - lua/autorun/client/cl_menuweaponoption.lua:108
3. func - lua/autorun/client/cl_menuweaponoption.lua:13
4. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:100
5. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:89
6. ActivateTool - lua/includes/modules/spawnmenu.lua:270
7. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:73
8. unknown - lua/vgui/dlabel.lua:232
I disabled all other addons except the needed ones and it doesn't change anything.
BOT Opie  [developer] 23 Feb, 2017 @ 1:39am 
Originally posted by Maestro:
I have a problem when I try to add weapons...

i will update in a few days

i need to search what is the problem :)
Xzain Key 19 May, 2017 @ 9:10am 
This addon works fine on singleplayer, but when I put it on my dedicated server, I get two problems.

This when I try to open the buy menu:

[CS 1.6 Shop Menu Mod] lua/autorun/client/cl_buymenumod.lua:32: attempt to index global 'ply' (a nil value)
1. fn - lua/autorun/client/cl_buymenumod.lua:32
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:179

And this when I click (spawnmenu > option > CS 1.6 shop mod > Manage weapons)

[CS 1.6 Shop Menu Mod] lua/autorun/client/cl_menuweaponoption.lua:11: attempt to index global 'ply' (a nil value)
1. func - lua/autorun/client/cl_menuweaponoption.lua:11
2. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:100
3. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:89
4. ActivateTool - lua/includes/modules/spawnmenu.lua:270
5. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:73
6. unknown - lua/vgui/dlabel.lua:232

THanks in advance.
BOT Opie  [developer] 19 May, 2017 @ 3:56pm 
Originally posted by Xzain Key:
This addon works fine on singleplayer, but when I put it on my dedicated server, I get two problems.

This when I try to open the buy menu:

[CS 1.6 Shop Menu Mod] lua/autorun/client/cl_buymenumod.lua:32: attempt to index global 'ply' (a nil value)
1. fn - lua/autorun/client/cl_buymenumod.lua:32
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:179

And this when I click (spawnmenu > option > CS 1.6 shop mod > Manage weapons)

[CS 1.6 Shop Menu Mod] lua/autorun/client/cl_menuweaponoption.lua:11: attempt to index global 'ply' (a nil value)
1. func - lua/autorun/client/cl_menuweaponoption.lua:11
2. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:100
3. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:89
4. ActivateTool - lua/includes/modules/spawnmenu.lua:270
5. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:73
6. unknown - lua/vgui/dlabel.lua:232

THanks in advance.
very weird bug, this happend when you want to add weapons in the context menu ( right side of the spawn menu) do you have other addons in your server ?
i will investigave to solve this problem

also are you adlmin of your server in game (rcon password authenticaed or ulx mod reconization...) ? maybe this can happend.
Last edited by BOT Opie; 19 May, 2017 @ 3:58pm
Xzain Key 19 May, 2017 @ 4:07pm 
Originally posted by BALIST0N xd:
Originally posted by Xzain Key:
This addon works fine on singleplayer, but when I put it on my dedicated server, I get two problems.

This when I try to open the buy menu:

[CS 1.6 Shop Menu Mod] lua/autorun/client/cl_buymenumod.lua:32: attempt to index global 'ply' (a nil value)
1. fn - lua/autorun/client/cl_buymenumod.lua:32
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:179

And this when I click (spawnmenu > option > CS 1.6 shop mod > Manage weapons)

[CS 1.6 Shop Menu Mod] lua/autorun/client/cl_menuweaponoption.lua:11: attempt to index global 'ply' (a nil value)
1. func - lua/autorun/client/cl_menuweaponoption.lua:11
2. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:100
3. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:89
4. ActivateTool - lua/includes/modules/spawnmenu.lua:270
5. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:73
6. unknown - lua/vgui/dlabel.lua:232

THanks in advance.
very weird bug, this happend when you want to add weapons in the context menu ( right side of the spawn menu) do you have other addons in your server ?
i will investigave to solve this problem

also are you adlmin of your server in game (rcon password authenticaed or ulx mod reconization...) ? maybe this can happend.


I have a few addons on my server; some weapons and npc's, (I have these in my singleplayer game and there is no issue.) and I'm an admin through ULX mod, (Super Admin).
BOT Opie  [developer] 19 May, 2017 @ 5:55pm 
Originally posted by Xzain Key:
I have a few addons on my server; some weapons and npc's, (I have these in my singleplayer game and there is no issue.) and I'm an admin through ULX mod, (Super Admin).

okay thanks, apparently, i have no problem at my side, what your Server Ip ? , i will test it personnaly
Xzain Key 19 May, 2017 @ 6:01pm 
Originally posted by BALIST0N xd:
Originally posted by Xzain Key:
I have a few addons on my server; some weapons and npc's, (I have these in my singleplayer game and there is no issue.) and I'm an admin through ULX mod, (Super Admin).

okay thanks, apparently, i have no problem at my side, what your Server Ip ? , i will test it personnaly

I'll add you
BrainyPepper 18 Jun, 2017 @ 11:59am 
Originally posted by BOT Opie:
Originally posted by -_=Alo41x=_-:
i seem to have unbinded the menu mod, how do i rebind it to the "b" key? i know the "bind x "Wot do I put here to get the menu to pop up again"" command but im not sure what the open menu command is.

open menu is unbindable, so it cannot be unbinded
try the command "buymenumod_buytime 0"


if its doen't work try to re-install the mod ( you will not lose your setting)
if its doesn't work again tell me
If you have so many people with this problem, why don't you just add a command to open the menu? If you add a command to open the menu, people can rebind a button to it, and my primary problem with this mod would be gone.
Last edited by BrainyPepper; 18 Jun, 2017 @ 12:18pm
BOT Opie  [developer] 18 Jun, 2017 @ 5:10pm 
Originally posted by Miga Smull:
If you have so many people with this problem, why don't you just add a command to open the menu? If you add a command to open the menu, people can rebind a button to it, and my primary problem with this mod would be gone.

Simply because it's been too long since I have not worked on this mod, I forgot how it works,moreover, technicaly i don't know how to do it,

if someone want to re-work on it, its open source : https://github.com/BALIST0N/GarrysMod-CS_ShopMenu


i'm very sorry, but i don't have time (busy with school finals) ... :/
< >
Showing 1-15 of 47 comments
Per page: 1530 50