Jetzt kostenlos registrieren! | Passwort vergessen?

Zurück   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
Dein letzter Besuch war: Heute um 07:15 Uhr

  • Registriere dich kostenlos um Beiträge zu verfassen und alle Features zu nutzen!

Advertisement



[RELEASE] 5165 attack bug fixed. and Vote npc!

Discussion on [RELEASE] 5165 attack bug fixed. and Vote npc! within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Antwort
 
Alt   #1
 
Benutzerbild von gangsta119
 
elite*gold: 0
Registriert seit: Apr 2008
Beiträge: 24
Erhaltene Thanks: 11
[RELEASE] 5165 attack bug fixed. and Vote npc!

Ok so Snow and Para (coders and owners of Conquer 3.0) are releasing a few codes to solve the bugs on all 5165 sources. The main and major bug everyone has problems with is WeaponMaster (item upgrading) seems to give every brilliant attack unless they relog. So we have coded it so it disconnects you. But you have otpion to continue upgrading so you dont have to keep dcin every single upgrade. Here it is.

Code:
                            #region WeaponMaster
                            case 7050:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("I can upgrade your items here for a DB each time. But remember for changes to take effect you need to click Finish when done."));
                                        GC.AddSend(Packets.NPCLink("Upgrade.", 10));
                                        GC.AddSend(Packets.NPCLink("Hmmmmm.", 255)); 
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                        GC.Agreed = false;
                                    }
                                    else if (Control == 10)
                                    {
                                        GC.AddSend(Packets.NPCSay("Choose the equipment you want to upgrade."));
                                        GC.AddSend(Packets.NPCLink("Headgear", 1));
                                        GC.AddSend(Packets.NPCLink("Necklace/Bag", 2));
                                        GC.AddSend(Packets.NPCLink("Armor", 3));
                                        GC.AddSend(Packets.NPCLink("Weapon", 4));
                                        GC.AddSend(Packets.NPCLink("Shield", 5));
                                        GC.AddSend(Packets.NPCLink("Ring", 6));
                                        GC.AddSend(Packets.NPCLink("Boots", 8));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 65)
                                    {
                                        GC.Disconnect();
                                    }
                                    else if (Control >= 1 && Control <= 8)
                                    {
                                        Game.Item I = GC.MyChar.Equips.Get(Control);
                                        byte PrevLevel = I.DBInfo.LevReq;

                                        Game.ItemIDManipulation IMan = new NewestCOServer.Game.ItemIDManipulation(I.ID);
                                        IMan.IncreaseLevel();

                                        DatabaseItem Di = (DatabaseItem)Database.DatabaseItems[IMan.ToID()];

                                        byte NewLevel = Di.LevReq;
                                        if (NewLevel > PrevLevel)
                                        {
                                            if (GC.MyChar.Level >= NewLevel)
                                            {
                                                if (!GC.Agreed)
                                                {
                                                    GC.AddSend(Packets.NPCSay("You need a DragonBall. Are you ready?"));
                                                    GC.AddSend(Packets.NPCLink("Upgrade it.", Control));
                                                    GC.AddSend(Packets.NPCLink("Forget it.", 255)); 
                                                    GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                                    GC.AddSend(Packets.NPCFinish());
                                                    GC.Agreed = true;
                                                }
                                                else
                                                {
                                                    GC.Agreed = false;
                                                    if (GC.MyChar.InventoryContains(1088000, 1))
                                                    {

                                                        GC.MyChar.RemoveItem(GC.MyChar.NextItem(1088000));
                                                        I.ID = IMan.ToID();

                                                        GC.MyChar.Equips.Replace(Control, I, GC.MyChar);
                                                        GC.MyChar.EquipStats(Control, true);

                                                        GC.AddSend(Packets.NPCSay("If you are done upgrading click finish for attack changes to take effect!"));
                                                        GC.AddSend(Packets.NPCLink("Finished", 65));
                                                        GC.AddSend(Packets.NPCLink("Upgrade More First", 10));
                                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                                        GC.AddSend(Packets.NPCFinish());

                                                    }
                                                    else
                                                    {
                                                        GC.AddSend(Packets.NPCSay("You don't have a DragonBall."));
                                                        GC.AddSend(Packets.NPCLink("Oh hold on.", 255));  
                                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                                        GC.AddSend(Packets.NPCFinish()); 
                                                    }
                                                }
                                            }
                                            else
                                            {
                                                GC.AddSend(Packets.NPCSay("You aren't high level enough to wear the item after upgrading."));
                                                GC.AddSend(Packets.NPCLink("Alright.", 255));
                                                GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                                GC.AddSend(Packets.NPCFinish());
                                            }
                                        }

                                    }
                                    else
                                    {
                                        GC.AddSend(Packets.NPCSay("The item cannot be upgraded anymore."));
                                        GC.AddSend(Packets.NPCLink("Alright.", 255));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    break;
                                }
                            #endregion
And thats a solution for people who dont know or dont want to spend loads of time changing the attack percentages.


THIS NEXT CODE is a VOTING NPC on a Gm Map that only gms can access. Once they click the vote link on the NPC everybody online will have a Vote page load up for your extreme top 100 URL....

Add this to NPC Dialog.cs

Code:
                            #region Vote server
                            case 98275:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Load all accounts online with vote page"));
                                        GC.AddSend(Packets.NPCLink("Yep", 1));
                                        GC.AddSend(Packets.NPCLink("Nope not right now.", 255));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());

                                    }
                                    if (Control == 1)
                                    {
                                        if (GC.MyChar.Silvers >= 0)
                                        {
                                            GC.MyChar.Silvers += 1;
                                            Game.World.SendMsgToAll("SYSTEM", "http://www.xtremetop100.com/in.php?site=1132301192", 2105, 0);
                                        }
                                        else
                                        {
                                            GC.AddSend(Packets.NPCSay("...."));
                                            GC.AddSend(Packets.NPCLink("....", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    break;
                                }
                            #endregion
ADD THIS TO NPC.txt in OLDCODB : 98275 5890 2 0 1213 395 393

LAST ADD THIS TO Chat.cs in packet handling. or copy and paste in visual c#
}
if (Cmd[0] == "/scroll")
{
}
if (Cmd[1] == "gmspot")
{
GC.MyChar.Teleport(1213, 400, 400);

Dont forget to replace our xtreme top 100 url with your own. also we are selling fully fixed sources 5165 and 5095 and are giving out free help at in return for a vote. HAVE FUN ALL !! >.>
gangsta119 ist offline  
Thanks
11 Benutzer
Alt 17.02.2010, 18:51   #2
 
elite*gold: 0
Registriert seit: Jan 2010
Beiträge: 31
Erhaltene Thanks: 13
Nice xD +thanks
paralyzer2 ist offline  
Alt 17.02.2010, 19:05   #3
 
Benutzerbild von ramix
 
elite*gold: 0
Registriert seit: Aug 2008
Beiträge: 272
Erhaltene Thanks: 61
lool that not fix the atack loool... because ppl get damage negative cause overpower...

if ppl do new item can get overpower if they not chance the damage calculation...
ramix ist offline  
Alt 17.02.2010, 19:21   #4
 
Benutzerbild von gangsta119
 
elite*gold: 0
Registriert seit: Apr 2008
Beiträge: 24
Erhaltene Thanks: 11
The attack rate is actually fine....... Not really that far out..... the problem is u need to disconnect for it to actually take effect try it yourself on 5165. so if u disconnect attack rates are perfect. Now if attack rates wasnt fine in the source then how woulkd they be fine on a relog dumb **** -.-. TAKE THE CODE OR GO TO BED. Keep your gay opinion to yourself.
gangsta119 ist offline  
Alt 17.02.2010, 19:45   #5
 
Benutzerbild von ramix
 
elite*gold: 0
Registriert seit: Aug 2008
Beiträge: 272
Erhaltene Thanks: 61
omfg

you go kick all players 30 min in 30 min because they get overpower...

go learn first -.-

in all servers i play 5165 ppl get overpower in 20 min kill player or killing guards...
ramix ist offline  
Alt 17.02.2010, 19:50   #6
 
Benutzerbild von -Shunsui-
 
elite*gold: 0
Registriert seit: Apr 2008
Beiträge: 1.152
Erhaltene Thanks: 321
@ gangsta Language,

And ramix is right Disconecting the players wount do nothing, i also have this bug. Only way the bug Can stop is Restarting the Whole Server "Console" I Really dont know if its the attack Calc's or what, so i really dont know whats causing it
-Shunsui- ist offline  
Alt 17.02.2010, 19:53   #7
 
Benutzerbild von xSynthesis
 
elite*gold: 0
Registriert seit: Feb 2010
Beiträge: 80
Erhaltene Thanks: 29
That vote server NPC seems usefull but you gotta make it much simple. Like just adding a command instead of that NPC, NPC spawn and a command to go to NPC where its located at.

All you gonna do is copy/paste this code to chat.cs

Code:
                                    if (Cmd[0] == "/vote")
                                    {
                                        Game.World.SendMsgToAll("SYSTEM", "http://www.xtremetop100.com/in.php?site=1132301192", 2105, 0);
                                    }
Didn't test it yet.
xSynthesis ist offline  
Alt 17.02.2010, 20:00   #8
 
Benutzerbild von -Shunsui-
 
elite*gold: 0
Registriert seit: Apr 2008
Beiträge: 1.152
Erhaltene Thanks: 321
Yeah i was also looking at that you Can simply Just let a PM/GM Do,

Code:
if (Cmd[0] == "/sendvote")
                            {
                                Game.World.SendMsgToAll("SYSTEM", "http://www.xtremetop100.com/in.php?site=1132301192", 2105, 0);
                            }
And to let you know on your NPC idk if you notice but that +1 Silver there under the Link it adds it to the account who talked to the NPC not everyone in the Server, Just letting you know.
-Shunsui- ist offline  
Alt 17.02.2010, 20:21   #9
 
elite*gold: 0
Registriert seit: Sep 2009
Beiträge: 321
Erhaltene Thanks: 60
Zitat:
Zitat von -Shunsui- Beitrag anzeigen
@ gangsta Language,

And ramix is right Disconecting the players wount do nothing, i also have this bug. Only way the bug Can stop is Restarting the Whole Server "Console" I Really dont know if its the attack Calc's or what, so i really dont know whats causing it
on my server its fine unless u use wepon master 0.0
or reborn but i fixed the reborn overpower .
and on weapon master im designing a timer so people can upgrade all their weapons and if its been more than 30seconds since the last weapon upgrade then it dc's them. i think its a simple fix even though it seems annoying -.-
LegalConquer ist offline  
Alt 18.02.2010, 06:06   #10
 
elite*gold: 0
Registriert seit: Jan 2010
Beiträge: 54
Erhaltene Thanks: 6
Hello gangsta119.
On my server I have the same problem with the fencing master, you must disconnect and reconnect to the damage of the item are no longer bugé.
With your code it is automatically disconnected, but it's enough for players to click on the cross in the dialog box after you level up the item so they can enjoy the bugs without being disconnected ...
Do you have a solution?
Otherwise thank you for the code and sorry for my English.
jitus2 ist offline  
Alt 18.02.2010, 19:06   #11
 
Benutzerbild von gangsta119
 
elite*gold: 0
Registriert seit: Apr 2008
Beiträge: 24
Erhaltene Thanks: 11
JESUS CHRIST. Ive been working with 5165 longer than you guys. If your disocnnect and relog attacks are set back to how they should be. Try it if you dont believe me =)

As for the vote NPC it doesnt really matter. Im gonna add alot more NPC'S in the gm spot

its cool :P

oh and as owner of Conquer 3 with paralyzer. I guess u cant critisize us as we are in top 50 pvt servers and we only been on list for half a week and server status is offline lol . HAPPY HUNTING
gangsta119 ist offline  
Alt 18.02.2010, 20:48   #12
 
elite*gold: 0
Registriert seit: Feb 2009
Beiträge: 700
Erhaltene Thanks: 79
you say "Conquer 3" and give web link to advertise. this isnt an advertising section #request remove link (as the mods have done it to me before)
copz1337 ist offline  
Alt 19.02.2010, 11:06   #13
 
Benutzerbild von gangsta119
 
elite*gold: 0
Registriert seit: Apr 2008
Beiträge: 24
Erhaltene Thanks: 11
This is the solution for people being caught cheating using the bug!

Code:
    if (Cmd[0] == "/arrest")
                            {
                                Game.Character C = Game.World.CharacterFromName(Cmd[1]);
                                if (C != null && C != GC.MyChar)
                                C.Teleport(6000, 032, 072);
                                C.PKPoints = 50;
                                C.Trading = false;
                                C.CurHP = 1;
                                C.Stamina = 0;
                                Game.World.SendMsgToAll("+ C.Name + ", "I'm a Biggest Idiot and I win 50pkp And im send to jail. Thanks" + GC.MyChar.Name + "[GM]/[PM]", 2011, 0);
                            }
As for advertising my server. I just put a link to access the site and a vote link. And ive link backed there forum. So if they wanna waste there time banning me thats fine when im trying to help the community. I can unban myself as easy as making a cup of tea =). chow
gangsta119 ist offline  
Alt 03.03.2010, 06:53   #14
 
Benutzerbild von eleven
 
elite*gold: 0
Registriert seit: Oct 2007
Beiträge: 38
Erhaltene Thanks: 4
umm the npc doesn't work. says i do not do anything useful yet, any ideas?
eleven ist offline  
Alt 03.03.2010, 06:53   #15
 
Benutzerbild von Arcо
 
elite*gold: 0
Registriert seit: Oct 2009
Beiträge: 8.783
Erhaltene Thanks: 5.304
You prolly don't have the id correct.
Make sure you double check.
Arcо ist offline  
Antwort


Ähnliche Themen Ähnliche Themen
[RELEASE] Fixed 5165 Source
28.07.2010 - CO2 PServer Guides & Releases - 27 Antworten
Hello. I found this source on another forum so I don't know if it has been released here or not. Credits go to TheHunter Fixed: Download:
[Release] Proficiency God 5165! Fixed-Must See!
18.07.2010 - CO2 PServer Guides & Releases - 10 Antworten
Okay so I got bored and I started to fiddle around with my server till I found my old 5095 source that contained the original proficiency god(well close to it or almost like it lol...) so I decided to get walmartboi to help me and he did and he helped me with the base and even more of the code...he deserves at lease 80% of credits so thank him! I converted everything else, he helped me convert the NPC actions of the NPC. I am sharing it now with you guys since I know you will like this! and...
[Release]My fixed 5165
12.06.2010 - CO2 PServer Guides & Releases - 22 Antworten
Many add ons and bug fixes which include.... Dis City map with mobs this can be accessed from the TCTeleporter also added Lab 1 -4 this can be accessed from the normal npc that would send you there. Npcs I added: Talisman Seller npc (Sells GoldCups, Pent. Amulets etc) Halo npcs Mount Officer (skills) and Steed + npcs Bless npc



Alle Zeitangaben in WEZ +1. Es ist jetzt 07:17 Uhr.


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 | Kontakt | FAQ | Werbung | Datenschutzerklärung | Nutzungsbedingungen | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.