Register for your free account! | Forgot your password?

You last visited: Today at 06:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Fix for WeaponMaster (5165)

Discussion on [Release] Fix for WeaponMaster (5165) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 08/21/2010, 16:44   #16
 
elite*gold: 0
Join Date: May 2006
Posts: 297
Received Thanks: 58
hehehe, nice release....
mostlikely they r missing just 1 simple line of code...

-Congratz-
pintser is offline  
Old 08/29/2010, 20:39   #17
 
elite*gold: 0
Join Date: Aug 2010
Posts: 8
Received Thanks: 0
thanks alot 12talis !!!! u saved meeee xD i gave u 5 thanks for this post lol :P
haotyca is offline  
Old 11/16/2013, 19:11   #18
 
elite*gold: 0
Join Date: Mar 2013
Posts: 44
Received Thanks: 2
Sorry for bumping old threads, just had to test this, and i see that if the character doesn't have for example boots on, and he tried to upgrade the boots, it gives error at this line:
Code:
DatabaseItem Di = (DatabaseItem)Database.DatabaseItems[IMan.ToID()];
And in the CMD window: System.NullReferenceException:
Code:
Object reference not set to an instance of an object. at NewestCOServer.PacketHandling.NPCDialog.Handle(GameClient GC, Byte[] Data, UInt32 NPC, Byte Control)
xScylez is offline  
Old 11/16/2013, 20:00   #19
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by xScylez View Post
Sorry for bumping old threads, just had to test this, and i see that if the character doesn't have for example boots on, and he tried to upgrade the boots, it gives error at this line:
Code:
DatabaseItem Di = (DatabaseItem)Database.DatabaseItems[IMan.ToID()];
And in the CMD window: System.NullReferenceException:
Code:
Object reference not set to an instance of an object. at NewestCOServer.PacketHandling.NPCDialog.Handle(GameClient GC, Byte[] Data, UInt32 NPC, Byte Control)
So before the body of code that handles the boots is called, check if the player is wearing boots to begin with. You can do that using a selection statement.
Spirited is offline  
Old 11/18/2013, 11:40   #20
 
elite*gold: 0
Join Date: Mar 2013
Posts: 44
Received Thanks: 2
Quote:
Originally Posted by Fang View Post
So before the body of code that handles the boots is called, check if the player is wearing boots to begin with. You can do that using a selection statement.
Woah, didn't think of that.. How come(?) haha!
Thanks
xScylez is offline  
Reply


Similar Threads Similar Threads
[RELEASE]TDM 5165
01/31/2012 - CO2 PServer Guides & Releases - 54 Replies
Hello, i will show you how to create a team deathmatch tournament for your 5165server (tanels). What do you need? -The source -How to copy + paste :P Features: -First blood (Give +5points):P -4Teams (Red, Blue, Black, White) -Random choose team
[Release] Offline TG [5165]
04/20/2010 - CO2 PServer Guides & Releases - 32 Replies
None of you deserve this. #request close
Code MagicArtisan or WeaponMaster
07/06/2009 - CO2 Private Server - 0 Replies
please emmethe codder, andyd123 anyone ..who know code for MAgicArtisan or Weapon Master Post Here Please ! Or New Codes FoR coemu2 :X:)
[Help]I Need Up New Item in Weaponmaster
04/28/2009 - CO2 Private Server - 4 Replies
Hello , I need up new item by WeaponMaster , i Have ring lvl 135 , Necklace 132 , Earring 120 and Boot lvl 133. Thank !



All times are GMT +2. The time now is 06:34.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.