[Help] Can't fig. wtf this means

09/11/2008 00:13 Bottingpunk#1
system.NullReferenceException: Object reference not set to an instance of an object.
at COServer_Project.Character.GetEquipStats(Byte Pos, Boolean UnEquip) in C:\Documents and Settings\Owner\Desktop\Source\TCWNN Source\Character.cs:line 3334
at COServer_Project.Character.SendEquips(Boolean GetStats) in C:\Documents and Settings\Owner\Desktop\Source\TCWNN Source\Character.cs:line 4536
at COServer_Project.Client.GetPacket(Byte[] data) in C:\Documents and Settings\Owner\Desktop\Source\TCWNN Source\Client.cs:line 10131

Weirdo error i can't figure out what it means. Any idea's don't get mad at me cause i posted another thread :(
09/11/2008 02:30 taguro#2
Actually, this is a good post, as I have a few of the same errors. I posted a thread similar to this one not to long ago, and got zero help. Maybe this time it will be different.
09/11/2008 02:50 Bottingpunk#3
lol I'm thinking its coming from a certain account
09/11/2008 07:05 _Emme_#4
Character.cs:line 3334

Character.cs:line 4536


Client.cs:line 10131

Watch those three and compare them to an backup or whatever,and see if its any difference in those areas. If it is,just copy and paste from the backup to the original source.

Else,use your backup.

Emme
09/11/2008 12:46 keving#5
I got same Players, only 1 Player bring me that Error to Console :(
09/11/2008 17:18 Tw3ak#6
This happens when a player or player(s) have a bugged peice of equiptment i will not go into details on what causes it or how to fix it because you wouldn't understand anyway lol.

To temp fix the problem you need to modify your source to print player name and packet id to console with errors so you know exactly who is throwing the errors rather then the general one your getting now that tells you nothing then go to that person and find out what item there usin is bugged and destroy it and make them a new one.

Here is a example of what i am refering to..And will aid you in fixing your errors better in the future and what packets are doing it, Let me load up this garbage of a source your using real quick and add a try/catch to it and grab the first error i can force it to do ( shouldn't be hard ) lol

Code:
Character name: Tw3aktest / PacketID: 1022 / System.NullReferenceException: Object reference not set to an instance of an object.
   at COServer_Project.Character.Attack() in C:mypathsourceTCWNN SourceCharacter.cs:line 2553
As you can see the console prints out what character is throwing the error and what packetid, this was the first error i got it to throw which isn't your same one but is just a example as how it can be done for future error handling to make it a bit easier for you...If you don't know how to do this don't ask:rolleyes:

You really shouldn't be using TCWNN for a release source anyway as alex is very poor at c# and uses alot of bs code that isn't done right and eats memory usage and cpu for no reason..There is nothing done right in this source at all that he added you can learn from infact you will only learn how to code things improperly in c# using this source or any LOTF source for that matter.
09/11/2008 20:51 taguro#7
Quote:
Originally Posted by Tw3ak View Post
This happens when a player or player(s) have a bugged peice of equiptment i will not go into details on what causes it or how to fix it because you wouldn't understand anyway lol.

To temp fix the problem you need to modify your source to print player name and packet id to console with errors so you know exactly who is throwing the errors rather then the general one your getting now that tells you nothing then go to that person and find out what item there usin is bugged and destroy it and make them a new one.

Here is a example of what i am refering to..And will aid you in fixing your errors better in the future and what packets are doing it, Let me load up this garbage of a source your using real quick and add a try/catch to it and grab the first error i can force it to do ( shouldn't be hard ) lol

Code:
Character name: Tw3aktest / PacketID: 1022 / System.NullReferenceException: Object reference not set to an instance of an object.
   at COServer_Project.Character.Attack() in C:mypathsourceTCWNN SourceCharacter.cs:line 2553
As you can see the console prints out what character is throwing the error and what packetid, this was the first error i got it to throw which isn't your same one but is just a example as how it can be done for future error handling to make it a bit easier for you...If you don't know how to do this don't ask:rolleyes:

You really shouldn't be using TCWNN for a release source anyway as alex is very poor at c# and uses alot of bs code that isn't done right and eats memory usage and cpu for no reason..There is nothing done right in this source at all that he added you can learn from infact you will only learn how to code things improperly in c# using this source or any LOTF source for that matter.
Why don't you come off your high horse for 5 seconds. So what people can't code as well as you. Doesn't give you a license to be a jerk about it. I got a crazy idea... release a source we CAN learn off of and stop badgering the people who are learning something.
09/11/2008 21:14 Mouse>Pro#8
Quote:
Originally Posted by taguro View Post
Why don't you come off your high horse for 5 seconds. So what people can't code as well as you. Doesn't give you a license to be a jerk about it. I got a crazy idea... release a source we CAN learn off of and stop badgering the people who are learning something.
/Agree!!!!
09/12/2008 01:39 tao4229#9
Quote:
Originally Posted by taguro View Post
Why don't you come off your high horse for 5 seconds. So what people can't code as well as you. Doesn't give you a license to be a jerk about it. I got a crazy idea... release a source we CAN learn off of and stop badgering the people who are learning something.
To me that was a helpful post... The part about alex is true also, so I really can't complain...
09/12/2008 02:29 InfamousNoone#10
Quote:
Originally Posted by Tw3ak View Post
This happens when a player or player(s) have a bugged peice of equiptment i will not go into details on what causes it or how to fix it because you wouldn't understand anyway lol.

To temp fix the problem you need to modify your source to print player name and packet id to console with errors so you know exactly who is throwing the errors rather then the general one your getting now that tells you nothing then go to that person and find out what item there usin is bugged and destroy it and make them a new one.

Here is a example of what i am refering to..And will aid you in fixing your errors better in the future and what packets are doing it, Let me load up this garbage of a source your using real quick and add a try/catch to it and grab the first error i can force it to do ( shouldn't be hard ) lol

Code:
Character name: Tw3aktest / PacketID: 1022 / System.NullReferenceException: Object reference not set to an instance of an object.
   at COServer_Project.Character.Attack() in C:mypathsourceTCWNN SourceCharacter.cs:line 2553
As you can see the console prints out what character is throwing the error and what packetid, this was the first error i got it to throw which isn't your same one but is just a example as how it can be done for future error handling to make it a bit easier for you...If you don't know how to do this don't ask:rolleyes:

You really shouldn't be using TCWNN for a release source anyway as alex is very poor at c# and uses alot of bs code that isn't done right and eats memory usage and cpu for no reason..There is nothing done right in this source at all that he added you can learn from infact you will only learn how to code things improperly in c# using this source or any LOTF source for that matter.
I've learned a lot about conquer sources from coemu sources :rolleyes:
09/12/2008 06:32 taguro#11
Quote:
Originally Posted by InfamousNoone View Post
I've learned a lot about conquer sources from coemu sources :rolleyes:
Same here; everything I know about coding up unto this point has come from the various LOTF sources released and Future's source.