Register for your free account! | Forgot your password?

You last visited: Today at 01:46

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

Advertisement



[Release]SaveHalos

Discussion on [Release]SaveHalos within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 01/19/2010, 07:34   #16
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by NoFatChicks View Post
Thank you. The first two steps make some errors shows up:


-First (database.cs).. the void to put under> Features.QuizShow.AllQuestions.Clear();
basicaly the errors was about theese lines (all halos):

GC.MyChar.StatEff.Add(StatusEffectEn.TopDeputyLead er);

it says the "StatusEffectEn" is incorrect, something like it.

-Second (telport.cs).. the lines to put above> if (Game.World.KOBoard[0].Name == GC.MyChar.Name)
here error too.. says some words on lines are incorrect(in all lines)



I created the folders and replaced the guild director code for urs and as far i tested its saving the top GL and GL halos (sure, DL only one saving)

Note: the source source i use isnt urs so thats can be the reason of the errors i listed cuz i noted in teleport.cs for example.. above that line is alredy a code with lines similars to urs.


Anyway, Thanks for it. Helpful release.
Fixed:
Put this at the top top top of database.cs
using NewestCOServer.Game;
Tell me if that helps.
Arcо is offline  
Thanks
3 Users
Old 01/19/2010, 07:52   #17
 
NoFatChicks's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 62
Received Thanks: 0
Quote:
Originally Posted by Hepatitis C View Post

Tell me if that helps.



grazie per l'aiuto.
Have a great day.
NoFatChicks is offline  
Old 01/19/2010, 07:53   #18
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by NoFatChicks View Post
grazie per l'aiuto.
Have a great day.

Alright.
Glad to help:]
Arcо is offline  
Thanks
3 Users
Old 01/19/2010, 11:10   #19
 
ramix's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 272
Received Thanks: 61
my friend Hepatiti C you forgot put i little think

Quote:
else if (Linkback == 2)
{
if (GC.MyChar.MyGuild == Features.GuildWars.LastWinner && (GC.MyChar.GuildRank == NewestCOServer.Features.GuildRank.GuildLeader))
{
GC.MyChar.StatEff.Add(StatusEffectEn.TopGuildLeade r);
GC.MyChar.CPs += 4500;
World.SendMsgToAll("SYSTEM", GC.MyChar.Name + " has claimed 4500 CPs and the TopGuildLeader Halo for winning GuildWar!", 2011, 0);
try
{
StreamWriter sw = new StreamWriter("C:\\OldCODB/Tops/TopLeader.txt");
sw.WriteLine("" + GC.MyChar.EntityID + "#17179869184");
sw.Close();
}
catch (Exception e)
{
Console.WriteLine(e.Message);
}
}
else
{
GC.AddSend(Packets.NPCSay("You already claimed your 4500 cps! Get out of here!"));
GC.AddSend(Packets.NPCLink("Sorry", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("You are not in the Top Guild!"));
GC.AddSend(Packets.NPCLink("Oh sorry", 255));
GC.AddSend(Packets.NPCSetFace(30));
GC.AddSend(Packets.NPCFinish());
}


and great release ty


the only away to delete the halo is the delete in Top.txt rigth?
ramix is offline  
Old 01/19/2010, 12:18   #20


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Thats overkill and really inefficient, 2 fields could be used to store everything you need, how do you determine which one is being used out of all of the possible halos available to the char?
Korvacs is offline  
Old 01/19/2010, 13:04   #21
 
elite*gold: 0
Join Date: Nov 2009
Posts: 342
Received Thanks: 17
i do it and no errors

but it will save automtic?
|xabi| is offline  
Old 01/19/2010, 14:07   #22
 
elite*gold: 0
Join Date: Feb 2009
Posts: 700
Received Thanks: 79
now it gives no errors. will test after school.
copz1337 is offline  
Old 01/19/2010, 15:11   #23
 
ramix's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 272
Received Thanks: 61
not have erros the programme

Hepatiti C i need talk to you
ramix is offline  
Old 01/19/2010, 17:04   #24
 
elite*gold: 0
Join Date: Feb 2009
Posts: 700
Received Thanks: 79
er, I awarded myself topguildleader Halo then i disconnect myself and when I relogged it was gone.
copz1337 is offline  
Old 01/19/2010, 17:14   #25
 
elite*gold: 0
Join Date: Jun 2009
Posts: 29
Received Thanks: 10
Quote:
Originally Posted by copz1337 View Post
er, I awarded myself topguildleader Halo then i disconnect myself and when I relogged it was gone.
well u did sumthing wrong then. it works perfect
.RainBow. is offline  
Old 01/19/2010, 17:16   #26
 
elite*gold: 0
Join Date: Feb 2009
Posts: 700
Received Thanks: 79
Quote:
Originally Posted by .RainBow. View Post
well u did sumthing wrong then. it works perfect
i did exactly what it says on the guide. and i get no errors, so.
copz1337 is offline  
Old 01/19/2010, 17:42   #27
 
elite*gold: 0
Join Date: Jun 2009
Posts: 29
Received Thanks: 10
well u have to add halo codes like that

Code:
                                            GC.MyChar.StatEff.Add(StatusEffectEn.TopDeputyLeader);
                                            try
                                            {
                                                StreamWriter sw = new StreamWriter("C:\\OldCODB/Tops/TopDeputy.txt");
                                                sw.WriteLine("" + GC.MyChar.EntityID + "#34359738368");
                                                sw.Close();
                                            }

instead of this

Code:
GC.MyChar.StatEff.Add(StatusEffectEn.TopDeputyLeader);
.RainBow. is offline  
Old 01/19/2010, 18:18   #28
 
.Ryu's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 583
Received Thanks: 119
Wow i thot mike was just joking when he said you released this =P

Good good job
.Ryu is offline  
Old 01/19/2010, 20:38   #29
 
elite*gold: 0
Join Date: Feb 2009
Posts: 700
Received Thanks: 79
Quote:
Originally Posted by .RainBow. View Post
well u have to add halo codes like that

Code:
                                            GC.MyChar.StatEff.Add(StatusEffectEn.TopDeputyLeader);
                                            try
                                            {
                                                StreamWriter sw = new StreamWriter("C:\\OldCODB/Tops/TopDeputy.txt");
                                                sw.WriteLine("" + GC.MyChar.EntityID + "#34359738368");
                                                sw.Close();
                                            }

instead of this

Code:
GC.MyChar.StatEff.Add(StatusEffectEn.TopDeputyLeader);
is that it?
copz1337 is offline  
Old 01/19/2010, 22:10   #30
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by copz1337 View Post
er, I awarded myself topguildleader Halo then i disconnect myself and when I relogged it was gone.
Did you do it via the npc i showed.
Or did you do some little command for it?
Arcо is offline  
Thanks
1 User
Reply




All times are GMT +2. The time now is 01:46.


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.