View Full Version : Equipment manager
Codescafter
08-17-2016, 03:43 PM
Hello,
So I'm currently using the low level 100% afk script for port hope swamp trolls, everything is working perfectly but I just have one question.
How do I make him buy more than 4 spears every time he heads back to town? I'm bad with scripting and lua files so if there is a quick fix for that please let me know :)
Thank you in advance!
Elvang
08-17-2016, 05:25 PM
Hello,
So I'm currently using the low level 100% afk script for port hope swamp trolls, everything is working perfectly but I just have one question.
How do I make him buy more than 4 spears every time he heads back to town? I'm bad with scripting and lua files so if there is a quick fix for that please let me know :)
Thank you in advance!
Open the lua file/config and change it there.
Codescafter
08-17-2016, 05:34 PM
I tried doing that, but opening it with the notepad is very confusing.
Could you give me an idea of what to look for there exactly? Or if theres a better program than notepad to open it with.
It just looks very messy with notepad.
Elvang
08-17-2016, 06:11 PM
I tried doing that, but opening it with the notepad is very confusing.
Could you give me an idea of what to look for there exactly? Or if theres a better program than notepad to open it with.
It just looks very messy with notepad.
AmmoName = spear ; Name, or item id, of the ammunition.
AmmoMin = 7 ; The amount of ammo at which you will to go refill.
AmmoMax = 14 ; The amount of ammo you want to withdraw or buy. (0 to disable)
AmmoAlarm = 0 ; The amount of ammo to trigger an alarm. (0 to disable)
You can use basically any other text editor like sublime, or notepad++.
shadowart
08-17-2016, 06:58 PM
Note that the "/config" console command only is able to open it using notepad. If you want to use another editor you have to open the file normally via explorer.
Codescafter
08-17-2016, 07:49 PM
Worked great, thanks for the info guys :)
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.