plz help me i have problem in source 5517

04/04/2012 20:17 abdomiky7#1
i have problem in consol


[Only registered and activated users can see links. Click Here To Register...]


[Only registered and activated users can see links. Click Here To Register...]


[Only registered and activated users can see links. Click Here To Register...]


[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
04/04/2012 21:36 Spirited#2
[Only registered and activated users can see links. Click Here To Register...]

04/04/2012 23:45 injection illusion logic#3
exactly as fang said , if u cant even fix an error at c# then why u using a c# source ?
at the end of the error it says xxx.cs line xx
go there , check what the error means on msdn or on google and then go to fix it
i have had the same error with the same source
and try to go to the gw and check out the gates , someone fucked up the mesh at the source so gates wont close
really this source is amazing but need alot of work
04/05/2012 21:07 Kiyono#4
Quote:
Originally Posted by injection illusion logic View Post
exactly as fang said , if u cant even fix an error at c# then why u using a c# source ?
at the end of the error it says xxx.cs line xx
go there , check what the error means on msdn or on google and then go to fix it
i have had the same error with the same source
and try to go to the gw and check out the gates , someone fucked up the mesh at the source so gates wont close
really this source is amazing but need alot of work
I don't think he even has the source as the last screenshot says no source.
04/05/2012 21:40 injection illusion logic#5
Quote:
Originally Posted by Kiyono View Post
I don't think he even has the source as the last screenshot says no source.
this source has been downloaded from some egy forum after ripping it from some other forum
i know this source and some ppl fucked it up while adding shits like
consol.writeline("big thanks for [GM]m7mdxlife[PM] for donation call 4658465846584654654");
i fixed this error by tracing the error in the consol and some help from msdn
04/05/2012 22:41 pro4never#6
Lets see...

Collection being modified while looping through it.

Duplicate entries being added to database....


Sounds to me like you should really take a few days and re-work the entire collection and database system in this crap source because holy god that's a lot of really easy to fix issues that are most likely spread across the entire source.


NOTE: Here's how you loop through a collection you plan to modify.

for(int ctr = 0; ctr < Collection.Length; ctr++)
{
if(Collection[ctr] == ConditionToCheckFor)
{
Collection.RemoveAt(ctr);
ctr--;
}
}

Do NOT use

foreach(DataType value in Collection)
{
Collection.Remove(value);
}

You CANNOT do that as you're modifying what you're looping through.


</rant>
04/06/2012 00:03 Spirited#7
Quote:
Originally Posted by pro4never View Post
Lets see...

Collection being modified while looping through it.

Duplicate entries being added to database....


Sounds to me like you should really take a few days and re-work the entire collection and database system in this crap source because holy god that's a lot of really easy to fix issues that are most likely spread across the entire source.


NOTE: Here's how you loop through a collection you plan to modify.

for(int ctr = 0; ctr < Collection.Length; ctr++)
{
if(Collection[ctr] == ConditionToCheckFor)
{
Collection.RemoveAt(ctr);
ctr--;
}
}

Do NOT use

foreach(DataType value in Collection)
{
Collection.Remove(value);
}

You CANNOT do that as you're modifying what you're looping through.


</rant>
[Only registered and activated users can see links. Click Here To Register...] & [Only registered and activated users can see links. Click Here To Register...]?