Register for your free account! | Forgot your password?

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

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

Advertisement



[Help] 5165 source, just 3 things that you should tell me how

Discussion on [Help] 5165 source, just 3 things that you should tell me how within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
urbansstyle's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 64
Received Thanks: 2
[Help] 5165 source, just 3 things that you should tell me how

Hello dear E-pvp comunity,
So i got my 5165 source that can be on from minute to minute but i just need to finish these things.
I would thanks +k for any person that can help me.

1)Why does my C# say this Error 1 'NewestCOServer.Game.Character' does not contain a definition for 'ClaimGWWinnings' and no extension method 'ClaimGWWinnings' accepting a first argument of type 'NewestCOServer.Game.Character' could be found (are you missing a using directive or an assembly reference?) C:\OldCODB\rikardo updated\PacketHandling\NPCDialog.cs 7002 53 NewestCOServer
and same does at VoteUsed

2)When i go in market with a PM/normal char and i want to let myself afk at sell , my character goes to the shop i select, sits, i can put the item in , type it's ammount and when i click okay , the item doesn't appear. it remains in ur inventory.

3) i tried to make a level magic box like expball, added it in itemtype, items, made it's dbc but what can i do to make it give me exp from 130 to 140 ?

Thanks for helping me , appreciate that.
urbansstyle is offline  
Old 02/25/2011, 21:34   #2
 
Arco.'s Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 335
Received Thanks: 170
Quote:
Originally Posted by urbansstyle View Post
Hello dear E-pvp comunity,
So i got my 5165 source that can be on from minute to minute but i just need to finish these things.
I would thanks +k for any person that can help me.

1)Why does my C# say this Error 1 'NewestCOServer.Game.Character' does not contain a definition for 'ClaimGWWinnings' and no extension method 'ClaimGWWinnings' accepting a first argument of type 'NewestCOServer.Game.Character' could be found (are you missing a using directive or an assembly reference?) C:\OldCODB\rikardo updated\PacketHandling\NPCDialog.cs 7002 53 NewestCOServer
and same does at VoteUsed

You must define these variables. Maybe as a uint, a ushort, a bool, some sort of value type. Read for more information.

2)When i go in market with a PM/normal char and i want to let myself afk at sell , my character goes to the shop i select, sits, i can put the item in , type it's ammount and when i click okay , the item doesn't appear. it remains in ur inventory.

Because the creator of the source made it so that staff characters CANNOT trade, or sell any item. Meaning you cannot use the shop stalls in market. I released a "fix" for trading. Read that and apply it to this problem.

3) i tried to make a level magic box like expball, added it in itemtype, items, made it's dbc but what can i do to make it give me exp from 130 to 140 ?

DBC files have nothing to do with non equip able items. But I guess you'd code it into the source. Read the other items and how they are coded. Learn a bit from that.
Thanks for helping me , appreciate that.
...
Arco. is offline  
Thanks
1 User
Old 02/26/2011, 05:48   #3
 
elite*gold: 0
Join Date: Feb 2011
Posts: 185
Received Thanks: 55
Quote:
Originally Posted by urbansstyle View Post
3) i tried to make a level magic box like expball, added it in itemtype, items, made it's dbc but what can i do to make it give me exp from 130 to 140 ?
Quote:
if (char.level >= 130)
{
char.level == 140;
}
If you are gonna do it accordingly to 1 level per use of the box, you can do:

Quote:
if (char.level >=130 && char.level <=139)
{
char.level += 1;
}
else if
{
sendmessage,"You're not eligible to use this";
}
Yup Stigs is offline  
Thanks
1 User
Old 02/26/2011, 09:51   #4
 
urbansstyle's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 64
Received Thanks: 2
Thanks Yup Arco and Thx Yup Stigs, you both helped me alot + thanks ,
But stigs may i know where to paste that code you gave me ? because i just made the item but dunno how to make it work like an xp ball.
Thanks again, waiting for any other response

okay, the C# thing i studyed and doesn't seem to work, if you could give me an exact code for it it would be great,
urbansstyle is offline  
Old 02/26/2011, 11:32   #5
 
Arco.'s Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 335
Received Thanks: 170
Quote:
Originally Posted by urbansstyle View Post
okay, the C# thing i studyed and doesn't seem to work, if you could give me an exact code for it it would be great,
No one's gonna spoon feed you mate. He gave you a PERFECT example, learn the source and how everything is defined, then you will be able to convert it for the source.

@Yup Stigs

Quote:
Originally Posted by Yup Stigs View Post
if (char.level >= 130)
{
char.level == 140;
}
Keep in mind,
== is for checks,
= is for sets.
So it'd be char.level = 40;
Arco. is offline  
Old 02/26/2011, 15:19   #6
 
urbansstyle's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 64
Received Thanks: 2
I know some coding too , but i would like to share me the information and tell me where to paste it because i don't belive that it's so hard from the moment you know and i can see that you know.
Next time please tell me exactly not things like use the search function or learn the source , because things like this aren't helpfully,
Thank you
urbansstyle is offline  
Old 02/26/2011, 17:04   #7
 
elite*gold: 0
Join Date: Feb 2011
Posts: 185
Received Thanks: 55
#search for exp potion or praying stones. should be around there I haven't played with 5165 in quite awhile so I can't pinpoint the location.
Yup Stigs is offline  
Thanks
1 User
Old 02/26/2011, 21:40   #8
 
urbansstyle's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 64
Received Thanks: 2
kay, i will thank you
urbansstyle is offline  
Reply


Similar Threads Similar Threads
A few things about 5165
08/28/2010 - CO2 Private Server - 11 Replies
Alright well I noticed that on 5165, I get lower fps then ANY other client I run. I don't know why. But anyway that's 1 thing, if anyone can provide an fps unlocker for 5165 that'd be great. And another question is about the low hp effect that comes up as an outline and blinks on your screen when you have low hp. How do I disable that effect? Thanks to anyone who is willing to help. Oh and also where can I edit the attack speed? Because I remember I told someone to change it for it to be...
How to remove a few things from 5165 client
07/13/2010 - CO2 Private Server - 4 Replies
I really don't like a few things in the 5165 client. For example, when you hit status and look at your char's gear, the button in the middle that says Check/Restore.. it's useless and looks bad. How can I remove that? Another thing is, when you say something, there's a button on the left of the chat that says the talk status so TALK or WHISPER etc.. it's useless and I want to remove it as well. And finally, when you have low hp, your screen gets surrounded in red indicating you got low hp, and...
Saving things on 5165
02/15/2010 - CO2 Private Server - 14 Replies
Where can I add this in my 5165 source? (what it does is it saves everything every 60 seconds and on the console it says "Game Saved Automatically") Thread.Sleep(60 * 1000); Database.SaveKOs(); Database.SaveEmpire(); Features.Guilds.SaveGuilds(); Features.SkillsClass.Save(); Console.WriteLine("Game Saved automatically.");



All times are GMT +2. The time now is 14: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.