Thread Rating:
  • 22 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Duty loot not working?
#11
tried your files Ace, and works well now. Thx a bunch
Reply
#12
(11-22-2014, 03:14 PM)Ace Wrote:  I have a new semi-rewrite of loot that I haven't been able to test.
Replace the 2 files below in your LuaMods\ffxivminion directory with these versions if you want to test it.

https://www.dropbox.com/s/qdh2fh9tddr787...s.lua?dl=0
https://www.dropbox.com/s/248kudfbfmnx5e...y.lua?dl=0

ILY Ace! <3
Reply
#13
I tired the files but still cant get it to work, Maybe its the profile I'm using?
any help would be greatly appreciated
https://www.dropbox.com/sh/4v80ihb6jvjv8....info?dl=0
Reply
#14
(12-02-2014, 07:12 AM)Trojin Wrote:  I tired the files but still cant get it to work, Maybe its the profile I'm using?
any help would be greatly appreciated
https://www.dropbox.com/sh/4v80ihb6jvjv8....info?dl=0

Not boss id....


["lootid"] = 141;
Reply
#15
yeah I don't exactly know how to add the functions and what not, that's a Jackie profile. would you mind giving it a wack at fixing it? I would be for ever in your debt! D:
Reply
#16
(12-02-2014, 07:23 AM)Trojin Wrote:  yeah I don't exactly know how to add the functions and what not, that's a Jackie profile. would you mind giving it a wack at fixing it? I would be for ever in your debt! D:

If its jackies i would expect its right.

But open the file in a text editor.
Notepad++ word etc.

Find the loot section of the profile. Just search for loot.

Edit the section that needs editing.

In this case bossids would become lootid

Save and test.

Reload luas after every edit.
Reply
#17
I'm still having issues looting using the coill2+loot profile. I added the loot ids for the two chests but its still not working. Anybody have anymore tips?
Reply
#18
I don't know what exactly changed in the last few weeks (guessing a fix to looting issues), but formerly working scripts that were looting correctly before, even with the wrong syntax, Stopped working. I'm guessing looting worked fine before if you only put the chest location and radius, but now you need to have the lootid and chest id in order for looting to work. Follow what sebbs posted above to fix those issues.

Trojin, In your specific example, open the file in notepad, notepad ++. any editor of the sort, and look for the following:


["doWait"] = true;
["radius"] = 25;
["taskFunction"] = "ffxiv_task_loot.Create";
["waitTime"] = 3000;
["doKill"] = true;
["startPos"] = {
["General"] = {
["y"] = -1.9281771183014;
["x"] = 1.2391719818115;
["h"] = -2.9064517021179;
["z"] = -13.719116210938;
};
};
["bossIDs"] = "";


You need to change the last line. The "bossIDs" needs to be changed to "lootID" and then you put the value of the chest between the ""
How do you get the value of the lootid? click on lua modules, click on Dev, click on the arrow next to "TargetInfo". Target the chest, press the toggle at the bottom of the list, and look at the contentid or uniqueid, THAT value is what you place in the ""s for lootid.

Once you do it a few times you will get the hang of it.
Reply
#19
It needs to say ["lootid"] = ###; or ["interactid"] = ###;.

Note that the text is case-sensitive, so "lootID" or "interactID" will fail. Also note that unlike bossIDs, the text should not be surrounded by quotes, and it should only be 1 number.
1 loot task is required per chest.
Reply
#20
I'll just bring this thread back instead of wasting space with a new thread. I'm trying to add a loot function to the [farm]WP_Bosses duty file. My only programming experience consists of copy pasting code and crossing my fingers so bare with me.

Below is the file. What I gather is that there are two actions for each encounter, the first being the port to gain agro and then the second ports to the killing spot and kills the boss. Do i get a cookie? =D


Quote:["doKill"] = True;
["bossIDs"] = "1548";
["taskFunction"] = "ffxiv_duty_kill_task.Create";
["waitTime"] = 1500;
["failTime"] = 3000;
["startPos"] = {
["General"] = {
["y"] = -6.000011;
["x"] = 144.494232;
["h"] = -2.673527;
["z"] = 127.00927;
};
};
["radius"] = 24;
};
[3] = {
["doKill"] = false;
["bossIDs"] = "1549";
["taskFunction"] = "ffxiv_duty_kill_task.Create";
["waitTime"] = 1500;
["failTime"] = 3000;
["startPos"] = {
["General"] = {
["y"] = 0;
["x"] = 32.410114;
["h"] = 1.95649;
["z"] = -230.188477;
};
};
["radius"] = 24;
};
[4] = {
["doKill"] = true;
["bossIDs"] = "1549";
["taskFunction"] = "ffxiv_duty_kill_task.Create";
["waitTime"] = 1000;
["failTime"] = 5000;
["startPos"] = {
["General"] = {
["y"] = 4.0;
["x"] = 25.25;
["h"] = 1.07;
["z"] = -250.38;
};
};
["radius"] = 24;
};
[5] = {
["doKill"] = false;
["bossIDs"] = "1547";
["taskFunction"] = "ffxiv_duty_kill_task.Create";
["waitTime"] = 1000;
["failTime"] = 5000;
["startPos"] = {
["General"] = {
["y"] = 9;
["x"] = 87.937019;
["h"] = -2.629738;
["z"] = -433.427094;
};
};
["radius"] = 24;
};
[6] = {
["doKill"] = true;
["bossIDs"] = "1547";
["taskFunction"] = "ffxiv_duty_kill_task.Create";
["waitTime"] = 1000;
["failTime"] = 5000;
["startPos"] = {
["General"] = {
["y"] = 9.96;
["x"] = 106.73;
["h"] = -1.07;
["z"] = -452.076263;
};
};
["radius"] = 24;
};
};
["EncounterIndex"] = 0;
}

So, am I to assume that I just need to input the correct loot ID and coordinates in the below block of code I grabbed from another duty file, and then paste it under the file boss fight in the WP duty file?

Quote:[10] = {
["radius"] = 3;
["waitTime"] = 1000;
["failTime"] = 5000;
["taskFunction"] = "ffxiv_task_loot.Create";
["startPos"] = {
["General"] = {
["x"] = 65.195335388184;
["y"] = 32.542449951172;
["z"] = -33.248943328857;
["h"] = -0.308509349823;
};
};
["lootid"] = 94;
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products