Posts: 1,323
Threads: 24
Joined: Nov 2010
Reputation:
91
I don't recommend using OnServerFrame(). It's the hooked function of the server, if you execute much code in it the players' ping will grow and there may be lags. OnAddonFrame however is threaded as I already mentioned a few times.
Posts: 836
Threads: 48
Joined: Feb 2012
Reputation:
11
can you add an if map=mp_dome etc to it?
Posts: 285
Threads: 15
Joined: Nov 2011
Reputation:
12
Possible but does 1.4 work correctly?
Posts: 836
Threads: 48
Joined: Feb 2012
Reputation:
11
01-12-2013, 18:53
(This post was last modified: 01-12-2013, 19:26 by hillbilly.)
no i use previous version, i will double check though................
EDIT..
well i have 2 as i set one as a kill flag for glitch spots with extra trigger radius, so i think they are clashing in some way. It seems only one set of flags will actually show up, using 1.4 with my killflags the flags (1.4) don't show but they still trigger a tp, Is the source posted updated to 1.4?
and i keep getting this error, so using a set as a kill flag it clashing so not your fault, just needed a way to set a kill zone and this was the easiest way for me.
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at Teleport.Class1.makeflags()
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Teleport.Class1.makeflags()
Edit2..
even using just 1.4 the tp works but the flag itself doesn't show, using 1.3 flag shows ok
Posts: 285
Threads: 15
Joined: Nov 2011
Reputation:
12
1.4 doesn't show flag but teleport still works?