Register for your free account! | Forgot your password?

You last visited: Today at 07:04

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

Advertisement



[COEMU]a lil info plz

Discussion on [COEMU]a lil info plz within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
taylor2846's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
[COEMU]a lil info plz

are there a batter way for uid then

Item.UID = Nano.Rand.Next(1, 9999999);

for buying items from a store?
taylor2846 is offline  
Old 09/07/2009, 00:02   #2
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
what is wrong with it ?? or may u give a hint about what u need to do that might give a clear idea how to help
samehvan is offline  
Old 09/07/2009, 00:11   #3


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 793
I dunno if I`m right but there`s a small chance to generate 2 same numbers, so the UIDs will just get messed up?
KraHen is offline  
Old 09/07/2009, 00:16   #4
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,882
Create an incrementing counter.
i.e.
Code:
static uint ItemUID = 1000;
then whenever u need a new UID,
Code:
UID = ItemUID++;
InfamousNoone is offline  
Old 09/07/2009, 01:19   #5
 
taylor2846's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
so would that be the best way to do it?? to get a uid for items?

i was asking are there a batter way of geting uid then Item.UID = Nano.Rand.Next(1, 9999999);

becaz there small chance of geting the same uid from that so any way so you can not get same uid on items?
taylor2846 is offline  
Reply


Similar Threads Similar Threads
[INFO] Kleine-Update Info
02/06/2010 - WarRock - 4 Replies
Hey Leute, Ich wollte euch nur mal bescheid sagen das heute um 24:00 eine "notfallwartung" statfindet, diese soll siege war usw. updaten :D ausserdem gibt es ein neues Gewinnspiel bei Gamersfirst weiter Infos bekommt ihr hier... hoffe hab euch ein wenig auf dem neusten Stand gebracht ;)
info on coemu v2
08/13/2009 - CO2 Private Server - 4 Replies
Im a big time noob at coemu v2 and I wanna know all about it . I was able to make a coemu v1 with hamachi and masql but it was the old patch and i wanted patch 5095 , a week later I found out that coemu v2 can play patch 5095 and started looking for it but it look like every guide there is about coemu v2 don't have all the stuff that it need to make a pserver and I end up messing up my old pserver and end up deleting everything do to my mistake. This time won't mess up so I wanna ask some...
[INFO NEEDED] Simple question but where can i find all the monsters in COEMU v2
06/24/2009 - CO2 Private Server - 4 Replies
Question 1 : It is simple yes but i know how to code but i just arent used to this source:P. Info pls:P where are all the mobs located? Question 2 : Can someone pass me a lil sql file where WindSage is in? cuz i dont know how to work with my mysql that good i always screw up kthx:)
[PorousCO]Source:INFO+ServerSpeed INFO+Questions+More
08/31/2008 - CO2 Private Server - 56 Replies
Hey this is all information you need to know about the new coming private server PorousCO!!! Latest Update(1): Design Of The 130 Armors Are Done! Latest Update(2): We Coded Our Own Client!!! And The Website Is http://Phoenix-conquer.co.cc Source Information: PvP Tournaments! Every Week Other Quest Events! GuildWar Every Saturday At 17:00 Server Time



All times are GMT +2. The time now is 07:04.


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.