|
You last visited: Today at 12:08
Advertisement
looking for code like this ..
Discussion on looking for code like this .. within the CO2 Private Server forum part of the Conquer Online 2 category.
06/06/2018, 23:31
|
#1
|
elite*gold: 0
Join Date: Dec 2006
Posts: 83
Received Thanks: 3
|
looking for code like this ..
i have this code in an event "CTF"
Code:
#region Equip
Item Garment = GC.MyChar.Equips.Get(9);
Garment.ID = 181825;
Garment.UID = (uint)GC.MyChar.Rnd.Next(10000000);
Garment.MaxDur = Garment.DBInfo.Durability;
Garment.CurDur = Garment.MaxDur;
if (Garment.UID == 0)
{
Garment.UID = (uint)GC.MyChar.Rnd.Next(10000000);
}
GC.MyChar.MyClient.AddSend(Packets.AddItem(Garment, 9));
#endregion
am ask about code to remove this garment after the event done ...
any help plz ?
|
|
|
06/07/2018, 02:10
|
#2
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 706
|
Give me $20 and I will fix it for you
|
|
|
06/07/2018, 09:57
|
#3
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
|
Quote:
Originally Posted by turk55
Give me $20 and I will fix it for you
|
I will do it for $19.99
|
|
|
06/07/2018, 16:19
|
#4
|
elite*gold: 0
Join Date: Mar 2006
Posts: 603
Received Thanks: 69
|
hahaha. Dude, you should remove thaat code, and use some packets....
|
|
|
06/07/2018, 16:52
|
#5
|
elite*gold: 0
Join Date: Apr 2017
Posts: 91
Received Thanks: 56
|
Quote:
Originally Posted by Soulfly25
hahaha. Dude, you should remove thaat code, and use some packets....
|
Yeah, just "use some packets". Holy ****, what an intelligent reply.
|
|
|
06/07/2018, 17:17
|
#6
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
|
Just never save the item to the database... and remove it after the event.
|
|
|
06/07/2018, 22:12
|
#7
|
elite*gold: 0
Join Date: Dec 2006
Posts: 83
Received Thanks: 3
|
ummm
Quote:
Originally Posted by Spirited
Just never save the item to the database... and remove it after the event.
|
if u the owner of source projectX
that mean this code it urs anywhy
i mean the CTF or TDM event start it give player the garments
but after the event finish the players still have the garm.
and this code under the signup for the event
i just need to add code or something to remove the garment before the player join cuz " player lose the garment if they do signup "
and need code to remove the event garment after the event finish ,,
thanks
|
|
|
06/08/2018, 00:26
|
#8
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
|
Quote:
Originally Posted by traplx
if u the owner of source projectX
that mean this code it urs anywhy
i mean the CTF or TDM event start it give player the garments
but after the event finish the players still have the garm.
and this code under the signup for the event
i just need to add code or something to remove the garment before the player join cuz " player lose the garment if they do signup "
and need code to remove the event garment after the event finish ,,
thanks
|
I'm not the owner of any live project, and hell no is that code mine. Yuck.
|
|
|
06/08/2018, 09:30
|
#9
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
|
Quote:
Originally Posted by traplx
if u the owner of source projectX
that mean this code it urs anywhy
i mean the CTF or TDM event start it give player the garments
but after the event finish the players still have the garm.
and this code under the signup for the event
i just need to add code or something to remove the garment before the player join cuz " player lose the garment if they do signup "
and need code to remove the event garment after the event finish ,,
thanks
|
LOL that is my code from like 2010.
I don't know why you are anyone would want to use it, especially considering all the newer sources I've made afterwards that trash.
Take a look at this:
And this:
That way you should get an idea how to do it properly.
Could also look at:
|
|
|
06/09/2018, 06:14
|
#10
|
elite*gold: 0
Join Date: Mar 2006
Posts: 603
Received Thanks: 69
|
Quote:
Originally Posted by boDil
Yeah, just "use some packets". Holy ****, what an intelligent reply.
|
Thank you thank you. Haha, I think you didn't know what I mean, since I put little information.
But I've been working on the packet part. So that I won't need to wear/remove any garment on my equipment area, coz I've been working on TeamDeathMatch Event, so It need to be organize each team through a color garment. So you need to work on the Packet part.
So you might try to work on the COPACKETS.cs I guess you are working on 5165 source NCOS.
|
|
|
06/11/2018, 00:02
|
#11
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 706
|
Quote:
Originally Posted by Soulfly25
Thank you thank you. Haha, I think you didn't know what I mean, since I put little information.
But I've been working on the packet part. So that I won't need to wear/remove any garment on my equipment area, coz I've been working on TeamDeathMatch Event, so It need to be organize each team through a color garment. So you need to work on the Packet part.
So you might try to work on the COPACKETS.cs I guess you are working on 5165 source NCOS.
|
Try again but this time in english
|
|
|
06/13/2018, 11:15
|
#12
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
|
Quote:
Originally Posted by Soulfly25
Thank you thank you. Haha, I think you didn't know what I mean, since I put little information.
But I've been working on the packet part. So that I won't need to wear/remove any garment on my equipment area, coz I've been working on TeamDeathMatch Event, so It need to be organize each team through a color garment. So you need to work on the Packet part.
So you might try to work on the COPACKETS.cs I guess you are working on 5165 source NCOS.
|
I like your signature, because it's ironic that you're still at Hello World.
|
|
|
All times are GMT +1. The time now is 12:09.
|
|