Register for your free account! | Forgot your password?

Go Back   elitepvpers > Conquer Online 2 > CO2 PServer - Discussions / Questions
You last visited: Today at 16:07

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

 

How can I Remove Garment when the event end?

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2006
Posts: 357
Received Thanks: 33
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   #2

 
elite*gold: 0
Join Date: Jul 2011
Posts: 6,539
Received Thanks: 3,173
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   #3
 
elite*gold: 0
Join Date: Mar 2006
Posts: 357
Received Thanks: 33
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   #4
 
elite*gold: 0
Join Date: Apr 2017
Posts: 56
Received Thanks: 37
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   #5

 
elite*gold: 0
Join Date: Jul 2011
Posts: 6,539
Received Thanks: 3,173
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   #6
 
elite*gold: 0
Join Date: Mar 2006
Posts: 357
Received Thanks: 33
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



« Previous Thread | Next Thread »

Similar Threads
[Trading] Flame robe garment for college suit garment
Looking to trade my flame robe garment for a college suit garment. Whisper me if you are interested.
0 Replies - Conquer Online 2 Trading
[Request Help] Remove mobs / remove eur items / remove npc
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...
0 Replies - SRO PServer Ask the Experts
I want to make an Eudemons Garment as Conquer Garment or weps or anything but..
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...
5 Replies - CO2 Weapon, Armor, Effects & Interface edits
To Wear Garment or Not To Wear Garment
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...
0 Replies - SRO Main - Discussions / Questions



All times are GMT +1. The time now is 16:07.


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

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