Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 18:03

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

Advertisement



Autoloot Problem

Discussion on Autoloot Problem within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
✿¸.•❤•.❀•ilin•❀.•❤•.¸✿'s Avatar
 
elite*gold: 0
Join Date: Sep 2018
Posts: 57
Received Thanks: 5
Autoloot Problem

Hello,
i need help to fix autoloot...
PHP Code:
          public void GenerateKillBonus(MapMonster monsterToAttackBattleEntity Killer//AUTOLOOT ON
{
       
void _handleGoldDrop(DropDTO droplong maxGoldlongdropOwnershort posXshort posY)
       {
           
Observable.Timer(TimeSpan.FromMilliseconds(500)).Subscribe(=>
           {
               if (
Session.HasCurrentMapInstance)
               {
                   if (
CharacterId == dropOwner && StaticBonusList.Any(=> s.StaticBonusType == StaticBonusType.AutoLoot))
                   {
                       
double multiplier + (Session.Character.GetBuff(CardType.Item, (byte)AdditionalTypes.Item.IncreaseEarnedGold)[0] / 100D);
                       
multiplier += (Session.Character.ShellEffectMain.FirstOrDefault(=> s.Effect == (byte)ShellWeaponEffectType.GainMoreGold)?.Value ?? 0) / 100D;

                       
Gold += (int)(drop.Amount multiplier);

                       if (
Gold maxGold)
                       {
                           
Gold maxGold;
                           
Session.SendPacket(UserInterfaceHelper.GenerateMsg(Language.Instance.GetMessageFromKey("MAX_GOLD"), 0));
                       }

                       
Session.SendPacket(GenerateSay($"{Language.Instance.GetMessageFromKey("ITEM_ACQUIRED")}: {ServerManager.GetItem(drop.ItemVNum).Name} x {drop.Amount}{(multiplier > 1 ? $" + {(int)(drop.Amount multiplier) - drop.Amount}" : "")}"12));
                       
Session.SendPacket(GenerateGold());
                   }
                   else
                   {
                       
Session.CurrentMapInstance.DropItemByMonster(dropOwnerdropmonsterToAttack.MapXmonsterToAttack.MapY);
                   }
               }
           });
       } 
thanks to help :3
✿¸.•❤•.❀•ilin•❀.•❤•.¸✿ is offline  
Old 04/21/2020, 10:30   #2
 
elite*gold: 0
Join Date: May 2016
Posts: 10
Received Thanks: 1
Im not sure but its default drop, not autoloot...
Maybe search for Gardia code for it, im not sure.
(correct me if something changed to make autoloot, an way to do it wihout changing code?Of course without making every mob as boss in database )
moj333 is offline  
Old 04/21/2020, 12:53   #3
 
✿¸.•❤•.❀•ilin•❀.•❤•.¸✿'s Avatar
 
elite*gold: 0
Join Date: Sep 2018
Posts: 57
Received Thanks: 5
✿¸.•❤•.❀•ilin•❀.•❤•.¸✿ is offline  
Old 04/21/2020, 19:18   #4
 
elite*gold: 0
Join Date: Jan 2019
Posts: 37
Received Thanks: 3
Quote:
Originally Posted by ✿¸.•❤•.❀•ilin•❀.•❤•.¸✿ View Post
Enter the OldsTale discord and open pm, I am ZroIsDead (my discord name has emoticons, so it will not let you add me as a friend if I leave it here)
Zro Freaks is offline  
Reply


Similar Threads Similar Threads
[HELP] strange autoloot problem
12/18/2011 - Metin2 Private Server - 0 Replies
hello all i seems to have a autoloot and safebox problem with the 2011 daroo and kay331 server files as when i try to add the to the accounts page it wont come up when a player registers but i can add them manually fine i have done all the usual thing like use Design table adding date etc but all the others work fine like fish gold and silver as i can add dates etc any help would be great thanks
AUTOIT Autoloot (no chat interupt)
07/19/2006 - MapleStory - 7 Replies
When you hold left or right it hits zzzzz but when you release left or right it stops so that you can chat or w/e This program has no Gui ( it goes straight to system tray and starts) so plz dont reply saying this doesn't do anything. ^ prolly not worth much if the maker of prog puts the scan results but mabye it'll make one less reason for people to spam =p working on autopixel detect bots on mid-lvl things things like kitties,fireboars, evil eyes, etc. look foward to them in the...
Autoloot bot anyone??
05/11/2006 - Conquer Online 2 - 3 Replies
I would need an autolooter bot for MC? I dunno how to make it and not necessarily asking anyone to make me one, just asking if anyone would have one already and would be willing to give me for karma... since on a new server without money is shit... so someone be nice and post... no flaming please



All times are GMT +1. The time now is 18:03.


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.