Register for your free account! | Forgot your password?

You last visited: Today at 15:49

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

 

[Mini-RELEASE]a lil ItemEquip fix

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
[Mini-RELEASE]a lil ItemEquip fix

**This is for CoEMU**
a lil fix for Equip items so when you equip bows or 2 handed weapons it will remove the item from your 2nd hand

ok here we go fist find
Code:
if (CSocket.Client.Equipment.ContainsKey(Location))
in Handlers/ItemEquip.cs and after
Code:
ItemUnequip(Loc2, UID2, CSocket);
add
Code:
                        if (Item.ItemID >= 500000 && Item.ItemID <= 590000)
                        {
                            if (CSocket.Client.Equipment.ContainsKey(5))
                            {
                                int UID3 = CSocket.Client.Equipment[5].UID;
                                ItemUnequip(5, UID3, CSocket);

                            }
                        }



taylor2846 is offline  
Thanks
5 Users
Old   #2
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
one more thing should be fixed there

if u have a male character it can equiped a female garment and it will disappear

so u need to add the check Gender or Garment.*** to c if the character can equip or no


samehvan is offline  
Old   #3
 
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
relly i tested it and it wont let me equip a female garment to a male
taylor2846 is offline  
Old   #4
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
if u use the Base Coemu source it surely has that bug and needs to be fixed ,


samehvan is offline  
Old   #5
 
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
ok il fix it .btw what part of it makes it so trojans cant us archer items or is it clint sided if so then wehre can i add it at same place as the resat?
taylor2846 is offline  
Old   #6
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
the client itself checks the item class if matches then can equip if no then doesn't even send the request to server unless of course it's lvl <=70 and the Character.Rb >0


samehvan is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Release] Famous Star :>
Tach zusammen, Da ich meinen Bot unter dem alten Namen nicht mehr "machen darf", hab ich hier ein "neues" Programm. :rolleyes: Info : Mit diesem...
195 Replies - Coding Releases
[Mini Release] German Egg
Hier release ich kurz das Deutschland Egg xD Hier 'n' Bild : http://i40.tinypic.com/f2mpa0.jpg ~#*Creditz*#~ Jusikid 100 % (für das...
7 Replies - Flyff PServer Guides & Releases
[Mini-Release] /command
alright, so this will be my first ever release, so please lay off if your going to be rude or comment about how easy or un-needed this is. This...
5 Replies - CO2 PServer Guides & Releases
[Mini-Release]S4 Parameter
Hallo e*pvpers :P ich hab mir mal gedacht ich release die parameter für s4^^ die parameter kann man für selbstgemachte launcher verwenden oder auch...
11 Replies - S4 League Hacks, Bots, Cheats & Exploits
[Release] A mini-shop for GMs
if (CurrentNPC == 10021) { if (Status == 3) //Change 3 to your GM Status. ...
9 Replies - CO2 PServer Guides & Releases



All times are GMT +2. The time now is 15:49.


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.