Garry's Mod

Garry's Mod

[TTT2] Coffee Cup Hunt [FEATURE]
21 条留言
Tim | Mineotopia  [作者] 2021 年 2 月 20 日 上午 11:30 
It is now 16 bit, so up to 65535
Tim | Mineotopia  [作者] 2021 年 2 月 20 日 上午 11:27 
Ah, yes, I only support values up to 255, I did not anticipate this. I'll udate it right now
Lyrel 2021 年 2 月 20 日 上午 11:25 
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  [作者] 2021 年 2 月 19 日 上午 10:57 
@dscottwilson:
TTT2 just got updated. The coffecups should work now
Tim | Mineotopia  [作者] 2021 年 2 月 18 日 下午 11:39 
See my comment about TTT2
Lyrel 2021 年 2 月 18 日 下午 1:40 
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 2021 年 2 月 17 日 上午 11:14 
Thank you! I'll give it a try later today
Tim | Mineotopia  [作者] 2021 年 2 月 16 日 上午 7:49 
@dscottwilson:
I added pointshop support. I haven't tested it, please report back!
Tim | Mineotopia  [作者] 2021 年 2 月 8 日 上午 1:40 
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  [作者] 2021 年 2 月 7 日 上午 6:35 
Thanks! BUt I want to get back into TTT2 development because I haven't done much for TTT2 in the last few months
Lyrel 2021 年 2 月 7 日 上午 6:28 
No worries! Take as long as you need!
Tim | Mineotopia  [作者] 2021 年 2 月 7 日 上午 6:22 
alright, will implement both! However I'm quite busy with exams right now
Lyrel 2021 年 2 月 7 日 上午 6:11 
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  [作者] 2021 年 2 月 7 日 上午 2:18 
Alright, thank you! Do you know the difference between the standard and premium points?
Lyrel 2021 年 2 月 6 日 下午 2:35 
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  [作者] 2021 年 2 月 6 日 下午 2:26 
do you know by chance which function is used to give PS2 points?
Lyrel 2021 年 2 月 6 日 下午 2:05 
Adding pointshop support would be great. I personally use Pointshop2. Not sure if others would have their own ways of interfacing
Tim | Mineotopia  [作者] 2021 年 2 月 6 日 下午 1:51 
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 2021 年 2 月 6 日 下午 1:43 
Hey! What do the points actually do?
Tim | Mineotopia  [作者] 2020 年 8 月 16 日 上午 3:37 
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  [作者] 2020 年 8 月 16 日 上午 3:32 
It certainly does. If you have problems with it you have to elaborate a bit