Register for your free account! | Forgot your password?

You last visited: Today at 13:31

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

Advertisement



Help with this code

Discussion on Help with this code within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2006
Posts: 323
Received Thanks: 14
Help with this code

In other.cs I edited this
Code:
 if (Charr.Profs.Contains(WeaponType(item[0])))
                                                if ((uint)Charr.Profs[WeaponType(item[0])] >= item[2])
                                                    Returning = true;
                                                else if (Charr.MyClient.Status == 8)
                                                    Returning = true;
                                                else
                                                    Returning = false;
inside
Code:
public static bool CanEquip(string iteM, Character Charr)
To try and make GMs be able to equip any item ignoring class and prof ect.
unfortunatly it doesnt work atall... I have no idea though whether I've done this completely wrong or if the client wont let me...

I know the client not allowing me sounds strange but the Class&Profs are still red when you hover over the item and I wouldnt think other.cs could set colour of text.
killermickle is offline  
Old 08/06/2009, 16:21   #2
 
xellios's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 310
Received Thanks: 13
public static bool CanEquip(string iteM, Character Charr)
ehm i think u gotta correct iteM lol
and yes it checks clientside too
xellios is offline  
Old 08/06/2009, 16:37   #3
 
elite*gold: 0
Join Date: Aug 2006
Posts: 323
Received Thanks: 14
Ah thanks. on another note xD, do you know where the client specifies effects for armor?
like the fire thing by your feet for conquest armor.

also, do you know where the thing is for unequipping items?
i cant unequip any :/
killermickle is offline  
Old 08/06/2009, 18:43   #4
 
xellios's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 310
Received Thanks: 13
Do you mean :
3DEffect.ini and Armor.ini in the ini folder of your co folder?
and by unequipping you have to put that in server-side
xellios is offline  
Old 08/06/2009, 19:57   #5
 
elite*gold: 0
Join Date: Aug 2006
Posts: 323
Received Thanks: 14
Quote:
Originally Posted by xellios View Post
Do you mean :
3DEffect.ini and Armor.ini in the ini folder of your co folder?
and by unequipping you have to put that in server-side
If thats the one that makes the flame thingy here


I've had a look through them and I couldnt see any effects in Armor.ini,
And no textures in Armor matching ones in 3deffect
killermickle is offline  
Old 08/07/2009, 01:02   #6
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
its in effect folder (obvious)
raidenx123 is offline  
Old 08/07/2009, 01:13   #7
 
elite*gold: 0
Join Date: Aug 2006
Posts: 323
Received Thanks: 14
Quote:
Originally Posted by raidenx123 View Post
its in effect folder (obvious)
:l, I mean where is the file that sets the effect one you equip conquest armor
killermickle is offline  
Old 08/07/2009, 02:45   #8
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
3Deffect.ini is where the looptime, meshID,etc is but im pretty sure it doesnt contain when that armor equips that it happens :/ and im to lazy to check so gl with that xD
raidenx123 is offline  
Old 08/07/2009, 02:46   #9
 
elite*gold: 0
Join Date: Aug 2006
Posts: 323
Received Thanks: 14
Quote:
Originally Posted by raidenx123 View Post
3Deffect.ini is where the looptime, meshID,etc is but im pretty sure it doesnt contain when that armor equips that it happens :/ and im to lazy to check so gl with that xD
I know that xD, im asking where the armor ones are becuase in armor.ini there arnt any effects
killermickle is offline  
Old 08/07/2009, 02:54   #10
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
well duh those are the mesh,texture,and item ID's mainly
raidenx123 is offline  
Old 08/07/2009, 03:28   #11
 
elite*gold: 0
Join Date: Aug 2006
Posts: 323
Received Thanks: 14
Quote:
Originally Posted by raidenx123 View Post
well duh those are the mesh,texture,and item ID's mainly
...

so where are the effects for amor?
killermickle is offline  
Reply


Similar Threads Similar Threads
B> DriftCity CBS Code | S> War Rock Code / Bounty Bay Code etc.
10/05/2010 - Trading - 1 Replies
Hi, wie schon im Titel beschrieben. In der CBS vom November gab es Bonusodes für mehrere Spiele. Ich benötige DriftCity Codes. Kann sonst für alle anderen Spiele die Codes biten, einige auch doppelt. Hier eine Liste der Spiele und Bonusaktionen: - (2x) War Rock - (2x) War of Titans - (2x) World of Warcraft - (1x) Warhammer Online - (1x) Bounty Bay online
Gebe Vip Hack Suche Storm Code oder 5k Dinar Code
07/25/2010 - WarRock Trading - 4 Replies
blubb
WTB: Japanischer/Chinesicher Guild Wars Trial-Code und EoTn Code
02/08/2010 - Guild Wars Trading - 5 Replies
Hallo, Wie schon oben in der beschreibung steht suche ich Japanischer/Chinesicher Trial-Code + EoTn oder die einzelnen Codes! Ich würde in Platin/Ektos/ZkeYs zahlen (allerdings nur mit Treuhandhändler), man weiss ja nie was einem Verkauft wird :P. Bitte so schnell wie möglich melden, wen einer es haben sollte.



All times are GMT +2. The time now is 13:31.


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.