Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 04:41

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

Advertisement



How can I Remove Garment when the event end?

Discussion on How can I Remove Garment when the event end? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Soulfly25's Avatar
 
elite*gold: 0
Join Date: Mar 2006
Posts: 603
Received Thanks: 69
How can I Remove Garment when the event end?

Hello mates, I just want to ask you something:

The situation is: I created an event, which is 2 team, one will be redteam and the other will be blueteam, to be able to identify the player for which where he playing team. All I did is to wear a garment, (eg: RedPhoenix and BluePhoenix). Giving the NPC Garment is already done,


My question is, How can I remove the garment when the event is done or if the player has been disconnect or out of the Location Map?

Would you please help me in this situation,


Thank you and Have a nice day.
Soulfly25 is offline  
Old 09/13/2017, 18:20   #2
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
The way I would implement it is to create a new variable like "TemporaryGarment" that when set, sends packets to the character and its screen for equipping the temporary garment, and when unset, sends packets for reequipping the player's real garment. Don't save the temporary garment variable to the database. That way, when you unset the variable (assign null or something) or when the player disconnects, the garment doesn't stay with them.
Spirited is offline  
Old 09/15/2017, 11:25   #3
 
Soulfly25's Avatar
 
elite*gold: 0
Join Date: Mar 2006
Posts: 603
Received Thanks: 69
that's kind hard for me yet still don't know how to work on packets . I just like some
basic one. that if the event end the garment that he/she wearing will be remove.
Soulfly25 is offline  
Old 09/15/2017, 16:46   #4
 
boDil's Avatar
 
elite*gold: 0
Join Date: Apr 2017
Posts: 91
Received Thanks: 56
Quote:
Originally Posted by Soulfly25 View Post
that's kind hard for me yet still don't know how to work on packets .
Then don't try to run a ******* private server ...
boDil is offline  
Old 09/15/2017, 18:54   #5
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
Quote:
Originally Posted by Soulfly25 View Post
that's kind hard for me yet still don't know how to work on packets . I just like some
basic one. that if the event end the garment that he/she wearing will be remove.
Quote:
Originally Posted by boDil View Post
Then don't try to run a ******* private server ...
As the above comment says... don't run a private server then. If you're serious about private servers, now is a good time as any to learn about packets. Not that they're complicated, it's like writing to a binary file. That's all. If you know how to write to a binary file structure, or to a byte array, then you know how to write a packet. The packet structures for Conquer can be found here:
Spirited is offline  
Old 09/16/2017, 09:52   #6
 
Soulfly25's Avatar
 
elite*gold: 0
Join Date: Mar 2006
Posts: 603
Received Thanks: 69
Quote:
Originally Posted by boDil View Post
Then don't try to run a ******* private server ...
who say I am running a private server?
Soulfly25 is offline  
Reply


Similar Threads Similar Threads
[Trading] Flame robe garment for college suit garment
10/30/2013 - Conquer Online 2 Trading - 0 Replies
Looking to trade my flame robe garment for a college suit garment. Whisper me if you are interested.
[Request Help] Remove mobs / remove eur items / remove npc
02/15/2013 - SRO Private Server - 0 Replies
Iam sure all now saies this guy is mad :D why not remove the db i want to know how i can remove mobs from samrkand and add alex mobs there and remove eur item from npc and drobs and remove some npcs ty guys _________________________ I see that there is too much help here it's my topic no.2 without any answer
I want to make an Eudemons Garment as Conquer Garment or weps or anything but..
01/21/2010 - CO2 Weapon, Armor, Effects & Interface edits - 5 Replies
hi.. i just tried to make an Eudemons garment as an conquer gamrnet but its so confusing me becouse Eudemons garments have no head!!! lmao so when i put it as conquer garment it makes so diffrent shapes of course u understand me so if there is anyway that makes the garments look like Eudemons please tell me ... waiting for an answer :) Thanks
To Wear Garment or Not To Wear Garment
03/31/2009 - Silkroad Online - 0 Replies
hi all. I have a pure str blader currently lvl 82 with protector set and gonna have mastery 100 - bich/fire, 80 light , 20 ice. I am wondering if at 10D i should switch to garm. Now i know all the pros and cons of both garm and protector. but i have never had a pure str char in garm before, all used protector. The reason i chose protector is that i have low ice and max fire; it helps me tank pretty good against warrior / cleric , rogue and other strs my lvl; actually so far in pvps my blader...



All times are GMT +1. The time now is 04:43.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.