Go to Page... |
Compatibility: | Craglorn (1.1) Live (1.0) Beta (0.18) |
Updated: | 06/25/14 03:46 PM |
Created: | 03/01/14 08:55 PM |
Monthly downloads: | 80 |
Total downloads: | 28,935 |
Favorites: | 71 |
MD5: |
File Name |
Version |
Size |
Uploader |
Date |
1.0.3 |
28kB |
Xrystal |
05/25/14 05:02 AM |
|
1.0.2 |
28kB |
Xrystal |
05/15/14 05:43 PM |
|
1.0.1 |
28kB |
Xrystal |
05/11/14 07:30 PM |
|
1.0.0 |
26kB |
Xrystal |
04/25/14 11:03 PM |
|
0.0.9a |
15kB |
Xrystal |
04/13/14 05:54 PM |
|
0.0.9 |
15kB |
Xrystal |
04/13/14 05:09 AM |
|
0.0.8 |
11kB |
Xrystal |
04/05/14 03:31 PM |
|
0.0.7 |
8kB |
Xrystal |
03/30/14 04:59 PM |
|
0.0.6 |
7kB |
Xrystal |
03/15/14 03:19 PM |
|
0.0.5 |
6kB |
Xrystal |
03/15/14 10:21 AM |
|
0.0.4 |
5kB |
Xrystal |
03/15/14 05:33 AM |
|
0.0.3 |
4kB |
Xrystal |
03/14/14 05:13 PM |
|
0.0.2 |
4kB |
Xrystal |
03/04/14 03:34 PM |
|
0.0.2 |
3kB |
Xrystal |
03/01/14 08:55 PM |
Comment Options |
Xrystal |
View Public Profile |
Send a private message to Xrystal |
Send email to Xrystal |
Find More Posts by Xrystal |
Add Xrystal to Your Buddy List |
05/12/14, 03:35 PM | ||
|
I think my issue is that for some reason it is never detecting the looting stage in InteractUpdate. It is never entering any block related to INTERACTION_LOOT. |
|
|
skyraker |
View Public Profile |
Send a private message to skyraker |
Send email to skyraker |
Find More Posts by skyraker |
Add skyraker to Your Buddy List |
05/12/14, 02:51 PM | |
|
Hmm, I'll give it another test myself tonight. But I don't think I changed anything after my test was final and working, but I might have missed something and added it afterwards.
isHarvesting should only be true at the actual harvesting stage wasHarvesting should only be true at the looting stage after harvesting isLooting should be true from looting stage until the next harvesting session, or next test for interaction I was consistently getting verbose output last night but just in case I'll check again. Thanks for going to the trouble of throwing it the extra debug messages. edit: In receiveloot and slotupdate were you testing for wasHarvesting or isHarvesting ? edit2: Well with the latest files I am receiving feedback. Are you two still near to each other when this happens ? InteractUpdate: Harvesting but not Looting ................... In 2st INTERACTION_HARVEST block InteractUpdate-Harvesting: Getting InteractionInfo and Timestamp .................. In 2nd INTERACTION_HARVEST block after receiving player position InteractUpdate: Finished Harvesting and now Looting ................. In the first INTERACTION_LOOT block after wasHarvesting = false, isLooting = true InteractUpdate-Looting: Getting LootTargetInfo and Lootable Items .............. added before GetNumLootItems block InteractUpdate-Looting: No Longer Harvesting and got the loot information needed for processing ........... added under wasHarvesting = true near bottom of function block SlotUpdate: Receiving Loot from a harvest node ..................... added after wasHarvesting test SlotUpdate: rough maple looted ........... Added just before OldItemData block -- The debugOther block ReceiveLoot: rough maple received ReceiveLoot ( via SlotUpdate): Woodworking, Raw Materials, Materials ReceiveLoot ( via NodeInteract) : Auridon (0.498,0.584) Maple ReceiveLoot: Updating Saved Variables .............. Added just after the SVData update block ReceiveLoot: Creating Pin Info .......................... Added just after the pin creation block New Node Woodworking [Raw Materials] - Maple - Auridon (0.50, 0.58) I'll keep testing but that was the first node I came across tonight.
Last edited by Xrystal : 05/12/14 at 03:44 PM.
|
|
Xrystal |
View Public Profile |
Send a private message to Xrystal |
Send email to Xrystal |
Find More Posts by Xrystal |
Add Xrystal to Your Buddy List |
05/12/14, 02:35 PM | |
|
Xrystal, something to check:
I made up my own little debug message window and added message calls to the functions in NodeInteract.lua to see if I could see why I wasn't getting any verbose output. From my preliminary findings, XrysGatherer_InteractUpdate is not working quite right. It detects interactions okay, but it is as if something goes wrong. Screenshot for reference Debug results First Harvest Starts Line 1: In InteractUpdate, isInteracting is true, interactMode is INTERACTION_HARVEST, isHarvesting is false, isHarvesting is set to true Line 2-3: InteractUpdate has recorded position, interactMode is INTERACTION_HARVEST, timestamp is recorded While harvesting, ticks detect isHarvesting as true until harvesting action ends, still remains true but nothing further in InteractUpdate occurs (doesn't reach elseif interactMode == INTERACTION_LOOT and isHarvesting then block where wasHarvesting is made true) Line 4: In SlotUpdate, wasHarvesting is false and function ends at that point Line 5: In ReceiveLoot, wasHarvesting is false and function ends Second Harvest Before Line 6: In InteractUpdate, isInteracting is true, interactMode is INTERACTION_HARVEST, isHarvesting is true. Function ends. No location data is detected, no timestamp is recorded. Line 6: In SlotUpdatewasHarvesting is false and function ends at that point Line 7: In ReceiveLoot, wasHarvesting is false and function ends
Last edited by skyraker : 05/12/14 at 02:36 PM.
|
|
skyraker |
View Public Profile |
Send a private message to skyraker |
Send email to skyraker |
Find More Posts by skyraker |
Add skyraker to Your Buddy List |
05/12/14, 01:33 AM | |||
|
Re: Re: Version 1.0.1 Uploading as I type
Hmm weird. I don't remember that output in the addon.
Are you saying she wasn't harvesting and she got the info that you or another name looted the items ? And despite you harvesting you didn't get any output at all? Can you try again but this time as far apart as possible to make sure that she doesn't get that output. What I would expect to see when you are close together is that you both get the looted info display which is before the test for who looted and the actual looter get the verbose output about the node and item looted. So, yes, I'm confused as to why that is happening.
|
||
|
Xrystal |
View Public Profile |
Send a private message to Xrystal |
Send email to Xrystal |
Find More Posts by Xrystal |
Add Xrystal to Your Buddy List |
05/11/14, 08:52 PM | ||
|
Re: Version 1.0.1 Uploading as I type
Not harvesting Not looted by self I, on the other hand, am not getting any verbose output. Checked my settings in the saved vars and everything is set to true. My wife is getting that info though, so that is odd. |
|
|
skyraker |
View Public Profile |
Send a private message to skyraker |
Send email to skyraker |
Find More Posts by skyraker |
Add skyraker to Your Buddy List |
05/11/14, 07:37 PM | |
|
Version 1.0.1 Uploading as I type
This includes the various changes made in the mini git updates since version 1.0.0.
It also adds additional debug code for those that wish to test out the possibilities of sharing harvest information as you harvest. You may have to be near each other, grouped or guilded to work but I have as yet been unable to test this out myself. skyraker, I would be appreciated if you try this testing out every now and then with your wife and see what sort of information you get and what you were expecting to see. I pretty much display the information the pin data uses to plot the map and compass icons. The map,x,y,node data should be of the node the person harvesting is gathering and their location while gathering and the item data should be of the loot they received from it ( which the other person can see from the ReceiveLoot event function ). edit: Just in case you don't see it amongst the text in the changelog page the value you need to change is in the nodeinteract.lua file near the top called debugOtherLoot. By default it is set to false but changing it to true will add those 3 lines of debug text that may highlight the possibility of sharing harvest nodes.
Last edited by Xrystal : 05/11/14 at 08:29 PM.
|
|
Xrystal |
View Public Profile |
Send a private message to Xrystal |
Send email to Xrystal |
Find More Posts by Xrystal |
Add Xrystal to Your Buddy List |
05/11/14, 04:59 PM | |||
|
But I have noticed a hiccough whereby if you choose not to loot or you run out of inventory space it obviously doesn't record a map pin for the item. Information goes into the history about the node and what item you looted but not the nitty gritty details that the pins need to work. This is what I am working on at the moment. Thanks for confirming that my changes in that patch resolved the additional unexpected change. |
||
|
Xrystal |
View Public Profile |
Send a private message to Xrystal |
Send email to Xrystal |
Find More Posts by Xrystal |
Add Xrystal to Your Buddy List |
05/11/14, 04:03 PM | ||
|
I think if you wanted to add that as a feature, all you would have to do is parse out from ReceiveLoot (though I could be wrong because I just skimmed it).
Last edited by skyraker : 05/11/14 at 04:06 PM.
|
|
|
skyraker |
View Public Profile |
Send a private message to skyraker |
Send email to skyraker |
Find More Posts by skyraker |
Add skyraker to Your Buddy List |
05/11/14, 11:43 AM | |
|
Sky,
There actually isn't an event for harvesting. You have to use the interaction functions during the update routine. It's annoying as hell but here's how it works in its basic form. function update() is player interacting with object ? YES is this interaction a harvest interaction ? YES is this interaction a loot interaction and it was a harvest interaction before ? YES get the information needed about the node and player's location and the name of the object lootable update the saved variables with the node/location information end function SlotUpdate(bagID,slotID,isNew) is this a new item ? YES have we been harvesting ? YES get the information regarding the item based on which bag and slot it was put into store into memory end function ReceiveLoot(receivedBy, item, quantity, itemSound, lootType, self) have we been harvesting ? YES was this looted by self ? YES process loot and update database with item information end It looks like SlotUpdate event may trigger when someone nearby receives an item. ReceiveLoot definitely does but at least it gives a way to check this. So that is what I have done. Now it validates that the person that has received the loot and thus did the harvesting gets their data updated accordingly. Until I can confirm that the correct information is passed over to the ReceiveLoot event/function properly I don't want to risk the wrong information going into someone else's data. So if you can confirm that she no longer gets a database update/map pin when you harvest that would be great. The message that appears to say you harvested is the test to see whether you get the map pin or whether she does. She shouldn't if you harvest and vice versa. |
|
Xrystal |
View Public Profile |
Send a private message to Xrystal |
Send email to Xrystal |
Find More Posts by Xrystal |
Add Xrystal to Your Buddy List |
05/11/14, 09:59 AM | ||||
|
Re: Re: Re: Mini update on Git Repository for testing ...
|
|||
|
skyraker |
View Public Profile |
Send a private message to skyraker |
Send email to skyraker |
Find More Posts by skyraker |
Add skyraker to Your Buddy List |
05/11/14, 06:02 AM | |
|
The occasional lack of recording problem
Okay, have figured out why sometimes it doesn't report an item.
If there is more than 1 item in the loot window and the 2nd one it reads is not a tradeskill item it doesn't record the details. Why it is skipping that information on the first item I don't know as yet. Order of process : Interaction: Get Node information and location of player Slot Update: Get Item information Receive Loot: Get Loot Receiver information Update database: With item details if it is a tradeskill item If there are 2 or more items in the loot window it somehow skips the update database part on the first items. edit: Seeing as the 2nd item is usually bait for fishing and it looks like I may be able track this with TradeSkill = 0 (Not a tradeskill) and filterType = 5 (miscellaneous). Will monitor further.
Last edited by Xrystal : 05/11/14 at 06:08 AM.
|
|
Xrystal |
View Public Profile |
Send a private message to Xrystal |
Send email to Xrystal |
Find More Posts by Xrystal |
Add Xrystal to Your Buddy List |
05/11/14, 03:42 AM | |||
|
Re: Re: Mini update on Git Repository for testing ...
|
||
|
Xrystal |
View Public Profile |
Send a private message to Xrystal |
Send email to Xrystal |
Find More Posts by Xrystal |
Add Xrystal to Your Buddy List |
05/11/14, 03:39 AM | ||
|
Once I know it is all working as it should be I'll be posting up a proper update to the site. |
|
|
Xrystal |
View Public Profile |
Send a private message to Xrystal |
Send email to Xrystal |
Find More Posts by Xrystal |
Add Xrystal to Your Buddy List |
05/10/14, 10:13 PM | ||
|
Re: Mini update on Git Repository for testing ...
|
|
|
skyraker |
View Public Profile |
Send a private message to skyraker |
Send email to skyraker |
Find More Posts by skyraker |
Add skyraker to Your Buddy List |