Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Teleporter error
#1
System.FormatException: Input string was not in a correct format.

at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)

at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)

at System.Single.Parse(String s, NumberStyles style, NumberFormatInfo info)

at System.Convert.ToSingle(String value)

at teleport.Class1.makeflags()

Anyone?
Reply

#2
I think you have a string which is not in the correct format.
[Image: MaEIQ.png]
Reply

#3
" Input string was not in a correct format." Really ;P?

A friend just told me he had the same problem whenever he had over 100 teleport flags, any way to fix this?
Reply

#4
Post your sv_config
Reply

#5
(11-04-2012, 15:30)archit Wrote: Post your sv_config

[TELEPORTER]
flags=133
flag1=mp_terminal_cls,(513_7377_192),(1699_7007_192)
flag2=mp_terminal_cls,(2928_3792_84),(1699_7360_192)
flag3=mp_terminal_cls,(-356_4803_193),(2204_7186_192)
flag4=mp_terminal_cls,(2208_8062_192),(1760_7602_206)
flag5=mp_terminal_cls,(1855_8062_192),(511_7583_206)
flag6=mp_terminal_cls,(511_8112_206),(-559_5440_192)
flag7=mp_terminal_cls,(1760_8112_206),(-1632_5440_192)
flag8=mp_terminal_cls,(-894_4131_216),(-2141_4368_189)
flag9=mp_terminal_cls,(-2051_3873_212),(478_3564_550)
flag10=mp_terminal_cls,(-2031_3898_212),(478_3564_550)
flag11=mp_terminal_cls,(-1308_4495_216),(4576_3239_192)
flag12=mp_terminal_cls,(-483_4495_216),(4016_3924_192)
flag13=mp_terminal_cls,(3384_5064_192),(488_5968_600)
flag14=mp_terminal_cls,(3755_2292_193),(488_5968_600)
flag15=mp_terminal_cls,(479_6400_448),(-223_6664_448)
flag16=mp_terminal_cls,(529_6400_448),(-816_6047_448)
flag17=mp_terminal_cls,(-532_6399_448),(2736_6320_448)
flag18=mp_terminal_cls,(2975_3984_192),(2127_5719_448)
flag19=mp_terminal_cls,(1970_2447_40),(611_2447_549)
flag20=mp_terminal_cls,(511_4908_44),(359_4616_306)
flag21=mp_terminal_cls,(264_4636_200),(2064_2828_602)
flag22=mp_terminal_cls,(1895_4035_48),(1866_3561_310)
flag23=mp_carbon,(-2839_-6048_3945),(-2254_-5562_3755)
flag24=mp_carbon,(-2826_-6003_3922),(-2254_-5562_3755)
flag25=mp_carbon,(-2837_-5961_3898),(-2254_-5562_3755)
flag26=mp_carbon,(-2845_-5914_3909),(-2254_-5562_3755)
flag27=mp_carbon,(-2855_-5863_3922),(-2254_-5562_3755)
flag28=mp_carbon,(-2849_-5818_3933),(-2254_-5562_3755)
flag29=mp_carbon,(-2870_-5718_3921),(-2398_-5483_3682)
flag30=mp_carbon,(-2878_-5682_3912),(-2398_-5483_3682)
flag31=mp_carbon,(-2862_-5635_3901),(-2398_-5483_3682)
flag32=mp_carbon,(-3013_-5644_3746),(-2398_-5483_3682)
flag33=mp_carbon,(-3014_-5583_3765),(-2398_-5483_3682)
flag34=mp_carbon,(-3018_-5516_3785),(-2398_-5483_3682)
flag35=mp_carbon,(-3017_-5476_3797),(-2398_-5483_3682)
flag36=mp_carbon,(-2938_-5634_3680),(-2398_-5483_3682)
flag37=mp_carbon,(-3087_-5610_3603),(-2302_-5872_3753)
flag38=mp_carbon,(-3123_-5614_3600),(-2302_-5872_3753)
flag39=mp_carbon,(-2976_-5620_3609),(-2302_-5872_3753)
flag40=mp_carbon,(-3003_-5623_3606),(-2302_-5872_3753)
flag41=mp_carbon,(-2978_-5630_3677),(-2302_-5872_3753)
flag42=mp_carbon,(-2934_-5620_3781),(-2302_-5872_3753)
flag43=mp_carbon,(-1979_-5920_4071),(-2302_-5872_3753)
flag44=mp_carbon,(-1984_-5977_4075),(-2302_-5872_3753)
flag45=mp_carbon,(-3021_-5401_3820),(-2302_-5872_3753)
flag46=mp_carbon,(-3144_-5088_3604),(-2002_-6254_3936)
flag47=mp_carbon,(-2137_-2723_3758),(-2398_-5483_3682)
flag48=mp_carbon,(-2721_-4063_3600),(-1632_-5673_3752)
flag49=mp_carbon,(56_-4618_3916),(-2716_-5945_3731)
flag50=mp_carbon,(-2081_-4934_3722),(-2075_-4977_3726)
flag51=mp_carbon,(-356_5211_193),(2456_6111_192)
flag52=mp_carbon,(2137_3120_40),(2456_6111_192)
flag53=mp_carbon,(758_3224_40),(1650_4213_450)
flag54=mp_carbon,(2287_4400_80),(-204_6206_192)
flag55=mp_carbon,(2928_3984_84),(507_5024_192)
flag56=mp_carbon,(2863_2770_40),(1045_7551_436)
flag57=mp_carbon,(-2821_-5985_3750),(-2302_-5872_3753)
flag58=mp_carbon,(-2912_-5990_3691),(-2302_-5872_3753)
flag59=mp_carbon,(-1794_-6300_3952),(-2302_-5872_3753)
flag60=mp_carbon,(-1784_-6261_3952),(-2302_-5872_3753)
flag61=mp_hardhat,(2216_536_320),(728_159_376)
flag62=mp_hardhat,(-656_752_369),(728_336_376)
flag63=mp_hardhat,(-511_-1436_288),(728_159_376)
flag64=mp_hardhat,(-1108_-768_266),(728_336_376)
flag65=mp_hardhat,(2344_88_184),(728_336_376)
flag66=mp_hardhat,(-41_-1_376),(615_-843_289)
flag67=mp_hardhat,(456_-8_376),(742_-848_291)
flag68=mp_hardhat,(337_-1135_287),(1071_-656_258)
flag69=mp_hardhat,(337_-1192_287),(1246_-503_296)
flag70=mp_hardhat,(1703_-656_258),(1391_-448_320)
flag71=mp_hardhat,(1704_-511_298),(1640_-448_320)
flag72=mp_hardhat,(1391_96_407),(-703_624_304)
flag73=mp_hardhat,(1391_66_407),(-703_447_304)
flag74=mp_hardhat,(-959_752_304),(1707_944_456)
flag75=mp_hardhat,(-1136_752_304),(1707_894_456)
flag76=mp_hardhat,(-1050_752_304),(1707_815_456)
flag77=mp_hardhat,(1828_720_456),(2214_941_592)
flag78=mp_hardhat,(1707_720_456),(1710_944_592)
flag79=mp_hardhat,(1723_815_592),(1828_752_592)
flag80=mp_hardhat,(1803_815_592),(1707_752_592)
flag81=mp_hardhat,(2224_440_756),(2116_1440_329)
flag82=mp_hardhat,(2224_481_756),(2228_1440_320)
flag83=mp_hardhat,(1999_1234_329),(-1111_-1758_416)
flag84=mp_hardhat,(1999_999_329),(-1509_-849_544)
flag85=mp_hardhat,(1999_1113_320),(-1099_-839_416)
flag86=mp_hardhat,(-1183_-544_544),(-1386_-182_544)
flag87=mp_hardhat,(-1254_593_546),(-766_799_456)
flag88=mp_hardhat,(-1921_463_512),(-1344_619_560)
flag89=mp_hardhat,(-1924_495_512),(-689_1153_413)
flag90=mp_hardhat,(-1931_536_512),(-1344_619_560)
flag91=mp_hardhat,(-1937_546_512),(-689_1153_413)
flag92=mp_hardhat,(-1944_616_512),(-1344_619_560)
flag93=mp_hardhat,(-1951_653_512),(-689_1153_413)
flag94=mp_hardhat,(-1959_693_512),(-1344_619_560)
flag95=mp_hardhat,(-1966_726_512),(-689_1153_413)
flag96=mp_hardhat,(-1974_756_512),(-1344_619_560)
flag97=mp_hardhat,(-1996_911_549),(-689_1153_413)
flag98=mp_hardhat,(-1996_939_512),(-1344_619_560)
flag99=mp_hardhat,(-1996_987_512),(-689_1153_413)
flag100=mp_hardhat,(-1996_1020_512),(-1344_619_560)
flag101mp_hardhat,(-1996_1050_512),(-689_1153_413)
flag102=mp_hardhat,(-1996_1080_512),(-1344_619_560)
flag103=mp_hardhat,(-1996_1110_512),(-689_1153_413)
flag104=mp_hardhat,(-1996_1140_512),(-1344_619_560)
flag105=mp_hardhat,(-1996_1170_512),(-689_1153_413)
flag106=mp_hardhat,(-1996_1200_512),(-1344_619_560)
flag107=mp_hardhat,(-1996_1230_512),(-689_1153_413)
flag108=mp_hardhat,(-1996_1260_512),(-1344_619_560)
flag109=mp_hardhat,(-1996_1290_512),(-689_1153_413)
flag110=mp_hardhat,(-1996_1320_512),(-1344_619_560)
flag111=mp_hardhat,(-1996_1350_512),(-689_1153_413)
flag112=mp_hardhat,(-1996_1380_512),(-1344_619_560)
flag113=mp_hardhat,(-1996_1410_512),(-689_1153_413)
flag114=mp_hardhat,(-1980_1409_640),(-1344_619_560)
flag115=mp_hardhat,(-1871_1409_640),(-689_1153_413)
flag116=mp_hardhat,(-607__1696_376),(-1344_619_560)
flag117=mp_hardhat,(-607_1005_480),(-656_504_644)
flag118=mp_hardhat,(-2014_1696_638),(-2016_1743_224)
flag119=mp_hardhat,(-1556_1691_640),(272_2383_74)
flag120=mp_hardhat,(-1551_1441_597),(208_2059_648)
flag121=mp_hardhat,(-2013_1439_613),(208_1900_320)
flag122=mp_hardhat,(1295_4087_385),(-368_3000_700)
flag123=mp_hardhat,(1360_4087_385),(-368_3000_700)
flag124=mp_hardhat,(1435_4087_385),(-368_3000_700)
flag125=mp_hardhat,(1495_4087_385),(-368_3000_700)
flag126=mp_hardhat,(1550_4087_385),(-368_3000_700)
flag127=mp_hardhat,(1600_4087_385),(-368_3000_700)
flag128=mp_hardhat,(1630_4087_385),(-368_3000_700)
flag129=mp_hardhat,(2431_2383_384),(-368_3000_700)
flag130=mp_hardhat,(2431_2428_384),(-368_3000_700)
flag131=mp_hardhat,(2066_1500_384),(-368_3000_700)
flag132=mp_hardhat,(-2016_4048_32),(728_1195_370)
flag133=mp_hardhat,(-2016_3861_32),(879_-126_271)
flag134=mp_hardhat,(-1869_4048_32),(-319_-866_288)
flag135=mp_hardhat,(-1785_1409_640),(-689_1153_413)
flag136=mp_hardhat,(-1658_1714_640),(-2011_1743_224)
flag137=mp_hardhat,(-1350_1716_640),(-529_1783_32)
flag138=mp_hardhat,(-607_1328_391),(208_1799_320)
flag139=mp_hardhat,(-607_1249_392),(208_1957_650)
Reply

#6
fo this you need Flags=139 first of all ;P
Reply

#7
(11-04-2012, 15:35)W4rdan Wrote: fo this you need Flags=139 first of all ;P

Also this error may happen because you hadn't parsed string/int. ( int.Parse, or string.Parse ( i'm not sure if it exist ). )
I had same error when i was making some engine stuff in c#.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#8
(11-04-2012, 16:09)JayDi Wrote:
(11-04-2012, 15:35)W4rdan Wrote: fo this you need Flags=139 first of all ;P

Also this error may happen because you hadn't parsed string/int. ( int.Parse, or string.Parse ( i'm not sure if it exist ). )
I had same error when i was making some engine stuff in c#.

What to do then ;P
Reply

#9
Small typo
flag101mp_hardhat,(-1996_1050_512),(-689_1153_413)
should be:

flag101=mp_hardhat,(-1996_1050_512),(-689_1153_413)
and
flag116=mp_hardhat,(-607__1696_376),(-1344_619_560)
should be
flag116=mp_hardhat,(-607_1696_376),(-1344_619_560)
Reply

#10
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()

It works til i set more then 109 flags, over 109 it crashed
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help error when run mod mr.apple 9 6,637 09-24-2013, 21:49
Last Post: Nekochan
  Help COD mw3 Error Couln't load image 3_cursor3:s Paylgs 2 14,283 07-18-2013, 18:46
Last Post: Nekochan
  Mod Error! help please Brandeeno 2 4,058 07-11-2013, 21:06
Last Post: Brandeeno
  Help xkmod error Domino29 2 4,449 07-11-2013, 20:07
Last Post: Brandeeno
  Help mw3 addon error [HARD] Tony. 2 4,472 06-08-2013, 00:32
Last Post: master131
  Help Freaking weird error when starting server!!!! Misterio 5 4,946 04-23-2013, 01:47
Last Post: Misterio
  d3d9 error magnuze 3 4,343 04-09-2013, 14:26
Last Post: NyZzE
  Help Server Script Compile Error when loading ExtremeBunkerMaker lolmoon 3 3,927 04-09-2013, 03:11
Last Post: lolmoon
  error CheGuevara 2 2,924 04-07-2013, 17:39
Last Post: CheGuevara
  Help error code [HARD] Tony. 2 3,106 03-23-2013, 00:19
Last Post: 8q4s8

Forum Jump:


Users browsing this thread:
3 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.