Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 21:05

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

Advertisement



[FIX] Damage-Bug

Discussion on [FIX] Damage-Bug within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
AfterLife-'s Avatar
 
elite*gold: 0
Join Date: Jan 2018
Posts: 44
Received Thanks: 69
[FIX] Damage-Bug

The Damage-Bug currently used on most Server is done by using the Guri 300 8023 Packet (Open-Box Packet) to Equip Items to the Partner-Inventory.
Just check the Item you are trying to open.. If it is no (ItemType.)Box then don't use the UseItem Packet.

Change the Code in the BasicPacketHandler.cs -> Guri Function from
Code:
                else if (guriPacket.Type == 300)
                {
                    if (guriPacket.Argument == 8023 && short.TryParse(guriPacket.User.ToString(), out short slot))
                    {
                        ItemInstance box = Session.Character.Inventory.LoadBySlotAndType(slot, InventoryType.Equipment);
                        if (box != null)
                        {
                            box.Item.Use(Session, ref box, 1, new[] { guriPacket.Data.ToString() });
                        }
                    }
                }
To
Code:
                else if (guriPacket.Type == 300)
                {
                    if (guriPacket.Argument == 8023 && short.TryParse(guriPacket.User.ToString(), out short slot))
                    {
                        ItemInstance box = Session.Character.Inventory.LoadBySlotAndType(slot, InventoryType.Equipment);
                        if (box != null && box.Item.ItemType == ItemType.Box)
                        {
                            box.Item.Use(Session, ref box, 1, new[] { guriPacket.Data.ToString() });
                        }
                    }
                }
AfterLife- is offline  
Thanks
11 Users
Old 06/28/2019, 02:08   #2
 
AfterLife-'s Avatar
 
elite*gold: 0
Join Date: Jan 2018
Posts: 44
Received Thanks: 69
In case you're using a source with a different MoveItem Packet-Handle don't forget to insert the following check:

Code:
                    if (mviPacket.InventoryType == InventoryType.Wear)
                    {
                        return;
                    }
AfterLife- is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[BUG] DAMAGE BUG LCB-10 BUT X2 DAMAGE
05/16/2014 - DarkOrbit - 8 Replies
deleted
[04.09.13] GigaByte v2.6 [FIX, FIX, FIX, FIX AND FIX]
09/11/2013 - WarRock Hacks, Bots, Cheats & Exploits - 79 Replies
http://www.elitepvpers.com/forum/warrock-hacks-bot s-cheats-exploits/2843300-11-09-gigabyte-public-v2 -7-a.html
Damage Damage Damage
02/28/2012 - Mabinogi Hacks, Bots, Cheats & Exploits - 3 Replies
Because of poor English grammar may be a bit strange May I ask what damage accumulated or MOD
[Release] Fix Archer/Taoist Damage and Huge Thunder/Fire Damage
04/20/2009 - CO2 PServer Guides & Releases - 14 Replies
This is what you need to Fix Archer (Skills)/Taoist Damage and Huge Thunder/Fire Damage in LOTF source. Open Other.cs public static uint CalculateDamage(Character Attacker, Character Attacked, byte AttackType, ushort SkillId, byte SkillLvl) Replace the whole method with the following method public static uint CalculateDamage(Character Attacker, Character Attacked, byte AttackType, ushort SkillId, byte SkillLvl) {



All times are GMT +1. The time now is 21:05.


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.