Register for your free account! | Forgot your password?

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

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

Advertisement



[Help]Monster give cp directly in invo lotf?

Discussion on [Help]Monster give cp directly in invo lotf? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
ØnëwïngëÐ's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 96
Received Thanks: 22
[Help]Monster give cp directly in invo lotf?

#Request Close
ØnëwïngëÐ is offline  
Old 10/21/2009, 20:31   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,379
I don't code lotf but simply go to where it has the drop calculations and have it add cp to your character and save database.

You can also do random chance in there if you wanted (to control chance of gaining cp or random amount of cp gained)

Should be exact same code as it is to add/remove cp via npc or using item but simply use that as the drop calculation then add your random chance and percent calculation parts for amounts and stuff.
pro4never is offline  
Old 10/22/2009, 03:51   #3
 
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
yeah fairly easy but i'd prefer the random chance. haha
.Guru is offline  
Old 10/22/2009, 04:14   #4
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,379
Quote:
Originally Posted by Prot0type View Post
yeah fairly easy but i'd prefer the random chance. haha
You can do both under the drop calculations. Use a drop calculation to control how often you gain cp from a monster (so it's not every kill) and then inside that drop rule do a random number between 1-x and have that random number be the actual amount given. I did the exact same thing with cp awarding items on my server so they give random cp rewards + rare chance of winning a 'cp lotto' type thing. works quite nicely.
pro4never is offline  
Old 10/22/2009, 04:52   #5
 
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
what source do you use? @pro4never
.Guru is offline  
Old 10/22/2009, 05:34   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,379
I used coemu, I haven't worked on any sources in a while because I just started university + my server was having some stability issues at the time and I was sorta burned out. I was doing the project originally as a way to teach myself basic scripting and coding principles so that adjusting to university would be a bit easier. The project kinda turned into a public server though when I opened it for testing and I spent far too much time dealing with players instead of adding new features and fixes to the server which lead to a burnout and lack of fun from the project.

When you are spending like 10 hours a day online doing player events, tracking down player bugs/complaints and basically trying to keep people happy, you don't get much actual coding done.
pro4never is offline  
Reply


Similar Threads Similar Threads
what do i need to give to a host? im using LOTF
07/07/2009 - CO2 Private Server - 6 Replies
ok. my problem is.. my friend is willing to host but i dont know what stuff i need to give to him so its like he cant change anything or he cant steal my source ..please help!
SOMEONE PLEASE GIVE ME SITE TO DOWNLOAD ORIGINAL LOTF SOURCE
11/12/2008 - CO2 Private Server - 6 Replies
i need the original lotf source so i can code, someone plz help, and emme, if you reply something rude, ill report you, dont even say anything. thnx guys. emme is a annoying dude
who can give me 2moons expedetion new info.csv and monster.csv
09/07/2008 - Dekaron - 8 Replies
who can give me 2moons expedetion new info.csv and monster.csv files
Can Someone Give me a LOTF Source
08/20/2008 - Conquer Online 2 - 5 Replies
Can someone give me please a LOTF Source that working good THX!:)



All times are GMT +1. The time now is 06:28.


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