ItsMods

Full Version: Flag plugin for users 1.6
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
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.
So, what should I use?
New update!
(11-04-2012, 16:49)archit Wrote: [ -> ]New update!

just tested the update and its not working, doesn't spawn flags, reload older version and works ok.
new update!
(11-05-2012, 09:48)archit Wrote: [ -> ]new update!

still some issues with it, first map flags loaded ok, from then on the flags were invisable (teleport still worked) and i also get this error...

Code:
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(
can you add an if map=mp_dome etc to it?
Possible but does 1.4 work correctly?
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
1.4 doesn't show flag but teleport still works?
Pages: 1 2 3 4 5 6 7 8