Register for your free account! | Forgot your password?

You last visited: Today at 10:27

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

Advertisement



LOTF Coding

Discussion on LOTF Coding within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Talking LOTF Coding

Is there any Other Action or any other needed Code to make Exp Ball/Exp pots/+1 Stone Pack/Money Bags Work Cause I added all this in and For some reason when i right Click any of them They Dont Do anything!

Example Code this is The Code For Exp Ball if anyone can find something wrong or IDk

Code:
                else if (ItemParts[0] == "723700")//ExpBall
                {
                    if (Level < 100 && EPotRate == false)
                        AddExp((ulong)(1295000 + Level * 100000), false);
                    else if (Level < 110 && EPotRate == false)
                        AddExp((ulong)(1395000 + Level * 160000), false);
                    else if (Level < 115 && EPotRate == false)
                        AddExp((ulong)(1595000 + Level * 200000), false);
                    else if (Level < 120 && EPotRate == false)
                        AddExp((ulong)(1795000 + Level * 260000), false);
                    else if (Level < 125 && EPotRate == false)
                        AddExp((ulong)(2095000 + Level * 300000), false);
                    else if (Level < 130 && EPotRate == false)
                        AddExp((ulong)(2395000 + Level * 360000), false);
                    //below is rates with exppot usage.
                    else if (Level < 100 && EPotRate == true)
                        AddExp((ulong)(129500 + Level * 15000), false);
                    else if (Level < 110 && EPotRate == true)
                        AddExp((ulong)(139500 + Level * 24000), false);
                    else if (Level < 115 && EPotRate == true)
                        AddExp((ulong)(159500 + Level * 30000), false);
                    else if (Level < 120 && EPotRate == true)
                        AddExp((ulong)(179500 + Level * 39000), false);
                    else if (Level < 125 && EPotRate == true)
                        AddExp((ulong)(209500 + Level * 45000), false);
                    else if (Level < 130 && EPotRate == true)
                        AddExp((ulong)(239500 + Level * 54000), false);
                    RemoveItem(ItemUID);
                }
-Shunsui- is offline  
Old 09/01/2009, 04:19   #2
 
elite*gold: 0
Join Date: Aug 2006
Posts: 323
Received Thanks: 14
Is it removing the item when you use it?

& what is the EPotRate?
killermickle is offline  
Old 09/01/2009, 04:33   #3
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
No its not Removing The item When You Use It You Can right Click It and it wount do Nothing Just Sit there, Idk why it does this when i add something new same thing happens to NPCs Wen i code them I Debug then Build and in the Game They wount do nothing you can click on them and they will not talk add my msn ftw Maybe you can help me
-Shunsui- is offline  
Old 09/01/2009, 04:39   #4
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
what source are you using, because that happens in comy sometimes...
raidenx123 is offline  
Old 09/01/2009, 04:40   #5
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Yup CoMy D:
-Shunsui- is offline  
Old 09/01/2009, 04:42   #6
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
Oh well then your screwed unless you have backups x(
raidenx123 is offline  
Old 09/01/2009, 06:24   #7
 
elite*gold: 0
Join Date: Aug 2009
Posts: 418
Received Thanks: 37
Quote:
Originally Posted by killermickle View Post
Is it removing the item when you use it?

& what is the EPotRate?
epotrate is exp pot and how much exp you would get with an exp pot
Arco:) is offline  
Old 09/01/2009, 06:50   #8
 
elite*gold: 0
Join Date: Aug 2006
Posts: 323
Received Thanks: 14
Quote:
Originally Posted by Arco:) View Post
epotrate is exp pot and how much exp you would get with an exp pot
That's what I thought but its less than with :/.
killermickle is offline  
Reply


Similar Threads Similar Threads
Coding different between LOTF and CoEmuv2?
10/27/2009 - CO2 Private Server - 8 Replies
Is there much different on the coding in CoEmu & LOTF? And what is the different?
[HELP] Compile error with LOTF(i know LOTF sucks but just help)
06/19/2009 - CO2 Private Server - 3 Replies
It says: Loaded 254 portals. Loaded 1027 NPCs. Loaded 37 mobs. Loaded 11147 items. Loaded 172 mob spawns. System.ArgumentOutOfRangeException: 'minValue' cannot be greater then mxValue. Parameter name : minValue at System.Random.Next<Int32 minValue, Int32 maxValue> at COServer_Project.Mobs.SpawnAllMobs<> in C:\Documents and Settings\Admin\My Documents\COServerProject1\COServerProject\Entitie s.cs:line 207
I need Reborn coding for LoTF and ToaistStar Not working
05/17/2009 - CO2 Private Server - 11 Replies
Does anyone of u have reborn 1 and 2 coding for LOTF source and also for ToaistStar skill and promotion coding?? Can someone post me the guide for reborn 1 and 2 coding and also for Toaist skill and promotion. Anyway pete your Nobility coding was great
[Help]coding Arrows in lotf
12/13/2008 - CO2 Private Server - 6 Replies
can anyone help me Code the arrows in lotf when so when u us them thay go away ty if u help me...



All times are GMT +2. The time now is 10:27.


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.