Register for your free account! | Forgot your password?

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

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

Advertisement



Giving random stuff Albetros Source

Discussion on Giving random stuff Albetros Source within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 67
Received Thanks: 3
Giving random stuff Albetros Source

Hi there,

I know how to make a NPC, but I don't know how to give random stuff away. I use the Albetros source.

Kind regards,
Warzie005
warzie005 is offline  
Old 03/14/2012, 10:08   #2
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
Random stuff? Like items? o.o
I don't have a username is offline  
Old 03/14/2012, 18:20   #3
 
elite*gold: 0
Join Date: Mar 2009
Posts: 67
Received Thanks: 3
Quote:
Originally Posted by I don't have a username View Post
Random stuff? Like items? o.o
Yes, everytime you click that box you will get another item.
warzie005 is offline  
Old 03/14/2012, 18:51   #4
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
I assume there is something like Client.AddItem(ITEM_ID_HERE); just use System.Random or whatever Random-Generator the source is using and then make an array of the item ids and then do something like:
Code:
uint[] ItemIds = new uint[] { 410339, 420339 };//blade 130, sword 130
Client.AddItem(ItemIds[Rnd.Next(ItemIds.Length - 1)]);
^^
I don't have a username is offline  
Reply


Similar Threads Similar Threads
Albetros Source Register successful but not in db
03/08/2012 - CO2 Private Server - 6 Replies
When i register it says register seccessful but dont show in db? i trying App Server 2.6.0 Xampp 7.7.1 and Xampp 7.1.1 Any ideas
[Question]5518 Albetros Source
03/03/2012 - CO2 Private Server - 3 Replies
Hi guys! As some of you guys know, I started on creating a Conquer P-server recently.. using Albetros Source (Thanks to Pro4never):handsdown: But still I got lots to learn about creating a p-server :o I got lots of Question and I hope lots of good guys help me out with it :) I somehow manage to make it inside the game, but I encountered lots of things that arent working.:( Question: *How do I add Tower and Fan on Albetros Source and In-game? *How do I remove the the Quest In-game?
Need albetros source help ... Pro4ever[pls come here,thx]
02/17/2012 - CO2 Private Server - 1 Replies
iwant make 100+ static AIPlayer in market map or another map from database characters table when the user no in the game... it mean the AIPlayer didn't do anything -_-~ how can i do ... i read your code ... like duelist .... can you teach me how to code -_-!
pro4ever .. albetros source cheat???
02/03/2012 - CO2 Private Server - 9 Replies
why did the albetros source , some player can cheat,add much statpoint and cps .....i'm in trouble ,how can i do , in the server didn't saw any Exception.. but some player can make statpoint up to 10000+ and cps add 1,000,000,000 + how can i prevent that cheat again help me ....
albetros source question!!!
01/30/2012 - CO2 Private Server - 3 Replies
ok ... i only have one question ... what is the IrcBot? how can i use it fully ??



All times are GMT +2. The time now is 02:14.


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.