Garry's Mod

Garry's Mod

[TTT2] Coffee Cup Hunt [FEATURE]
21 Comments
Tim | Mineotopia  [author] 20 Feb, 2021 @ 11:30am 
It is now 16 bit, so up to 65535
Tim | Mineotopia  [author] 20 Feb, 2021 @ 11:27am 
Ah, yes, I only support values up to 255, I did not anticipate this. I'll udate it right now
Lyrel 20 Feb, 2021 @ 11:25am 
It works! It awards the correct amount of points but the only issue is that it displays the wrong value in the top and is usually very low. I made it give me 1000 points but it said 232 and 9999 says 15. The points system usually works with quite high values such as 500 is a very low value and 10000 is quite a bit
Tim | Mineotopia  [author] 19 Feb, 2021 @ 10:57am 
@dscottwilson:
TTT2 just got updated. The coffecups should work now
Tim | Mineotopia  [author] 18 Feb, 2021 @ 11:39pm 
See my comment about TTT2
Lyrel 18 Feb, 2021 @ 1:40pm 
Seems to be an issue. Whenever I try to pick up a cup, it does nothing other than spit out a Lua error on the server but it might just be what you were talking about in your previous comment:

[[TTT2] Coffee Cup Hunt [FEATURE]] lua/terrortown/events/coffeecup.lua:11: attempt to call method 'AddAffectedPlayers' (a nil value)
1. Trigger - lua/terrortown/events/coffeecup.lua:11
2. Trigger - lua/ttt2/libraries/events.lua:178
3. PickupCup - lua/terrortown/autorun/shared/sh_coffecup_handler.lua:82
4. unknown - gamemodes/terrortown/entities/entities/ent_ttt_coffeecup/shared.lua:29
Lyrel 17 Feb, 2021 @ 11:14am 
Thank you! I'll give it a try later today
Tim | Mineotopia  [author] 16 Feb, 2021 @ 7:49am 
@dscottwilson:
I added pointshop support. I haven't tested it, please report back!
Tim | Mineotopia  [author] 8 Feb, 2021 @ 1:40am 
There currently is a bug that prevents you from picking up coffeecups. This bug is on the TTT2 side and already fixed in dev. You'll have to wait for 0.8.1b
Tim | Mineotopia  [author] 7 Feb, 2021 @ 6:35am 
Thanks! BUt I want to get back into TTT2 development because I haven't done much for TTT2 in the last few months
Lyrel 7 Feb, 2021 @ 6:28am 
No worries! Take as long as you need!
Tim | Mineotopia  [author] 7 Feb, 2021 @ 6:22am 
alright, will implement both! However I'm quite busy with exams right now
Lyrel 7 Feb, 2021 @ 6:11am 
Premium points are usually acquired from donating to the server as such they're called "donator points" in the menu visible to players but it's not explicitly for donations. They allow to buy certain skins that either can't be aquired with regular points or you might be able to get a different price on skins you can already buy. Allowing the server owner to choose would be a really good alternate way of earning unique skins, I think.
Tim | Mineotopia  [author] 7 Feb, 2021 @ 2:18am 
Alright, thank you! Do you know the difference between the standard and premium points?
Lyrel 6 Feb, 2021 @ 2:35pm 
Not sure exactly as I'm not a GMod dev myself but this looks promising http://pointshop2.kamshak.com/en/latest/developer/points.html
Tim | Mineotopia  [author] 6 Feb, 2021 @ 2:26pm 
do you know by chance which function is used to give PS2 points?
Lyrel 6 Feb, 2021 @ 2:05pm 
Adding pointshop support would be great. I personally use Pointshop2. Not sure if others would have their own ways of interfacing
Tim | Mineotopia  [author] 6 Feb, 2021 @ 1:51pm 
the score in the scoreboard. If you don't care for those points they do nothing

I thought about adding pointshop support. But I have to check how it works
Lyrel 6 Feb, 2021 @ 1:43pm 
Hey! What do the points actually do?
Tim | Mineotopia  [author] 16 Aug, 2020 @ 3:37am 
Do you have CS:S mounted on your server? The last person having this problem did not mount CS:S on the server
Tim | Mineotopia  [author] 16 Aug, 2020 @ 3:32am 
It certainly does. If you have problems with it you have to elaborate a bit