Register for your free account! | Forgot your password?

You last visited: Today at 16:11

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


[Release] Fix for WeaponMaster (5165)

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
 
elite*gold: 12
Join Date: Jul 2011
Posts: 7,084
Received Thanks: 3,396
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



« BigShow-Co Website [5730+] | Upgrade Quality Calculation »

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 PServer - Discussions / Questions - 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 PServer - Discussions / Questions - 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 +1. The time now is 16:11.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.