Page 1 of 2

ISD Droid reports and Flora

Posted: Thu Nov 19, 2015 8:29 pm
by khammicazze
Hi,

I can't import the Flora ISD Reports in the ISDroid panel, it gives me errors, can't cut and past the error, but it is something to do with Floa_resources. Here an example of the droid report:

71396250
..Interplanetary Survey Droid
Interplanetary Survey: Lok - Flora_resources
TIMESTAMP: 1447958227
Incoming planetary survey report...

\#pcontrast3 Planet: \#pcontrast1 Lok
\#pcontrast3 Resource Class: \#pcontrast1 Flora_resources

\#pcontrast3 Resources located...\#.

Greens
Lokian Vegetable Greens
\#pcontrast1 Huxechoo\#.
Evergreen Soft Wood
Lokian Evergreen Wood
\#pcontrast1 Framexyi\#.
Fruits
Lokian Fruit
\#pcontrast1 Hahyigax\#.
Domesticated Corn
Lokian Domesticated Corn
\#pcontrast1 Ixudo\#.
Wild Rice
Lokian Wild Rice
\#pcontrast1 Uzyatwewig\#.
Wild Corn
Lokian Wild Corn
\#pcontrast1 Oxyove\#.
Wild Oats
Lokian Wild Oats
\#pcontrast1 Muzeun\#.
Berries
Lokian Berry Fruit
\#pcontrast1 Oghyaque\#.
Hard Wood
Lokian Deciduous Wood
\#pcontrast1 Styilaov\#.
Flowers
Lokian Flower Fruit
\#pcontrast1 Ebip\#.
Domesticated Rice
Lokian Domesticated Rice
\#pcontrast1 Ikigryinih\#.
Domesticated Oats
Lokian Domesticated Oats
\#pcontrast1 Jenaimip\#.
Wild Wheat
Lokian Wild Wheat
\#pcontrast1 Kowyoquik\#.
Soft Wood
Lokian Conifer Wood
\#pcontrast1 Cyezaviex\#.
Fungi
Lokian Vegetable Fungus

If you need more information, don't hesitate to ask :-)

Re: ISD Droid reports and Flora

Posted: Thu Nov 19, 2015 9:01 pm
by Savacc
What server are you on that has modified ISD droids to report Flora resources? In the original game it was not possible to do that.

I am not a programmer, so Sobuno or someone else will have to give you a definitive answer, but, my guess, it is because, when SWGAid was written, you could not report Flora resources from an ISD.

Re: ISD Droid reports and Flora

Posted: Sat Nov 21, 2015 1:03 am
by khammicazze
Strange, because i can import the reports onto the swgcraft website without problems, so i think every survey device can be used with ISDs and swgcraft was designed that way.

Server is SWG-Europa

Re: ISD Droid reports and Flora

Posted: Sat Nov 21, 2015 9:10 am
by Sobuno
Take a screenshot of the error if you are unable to copy and paste it.

SWGCraft and SWGAide were developed by two different people (Former by me, latter by Zimoon), so it's quite natural that we do not use the same code and restrictions.

UPDATE: Change Flora_resources to Flora Resources in the line "\#pcontrast3 Resource Class: \#pcontrast1 Flora_resources" and it should work

Re: ISD Droid reports and Flora

Posted: Sat Nov 21, 2015 9:20 am
by Sobuno
Savacc wrote:What server are you on that has modified ISD droids to report Flora resources? In the original game it was not possible to do that.
Are you sure you are not thinking of creature resources? The SWGAide source code seems to indicate Flora Resources are possible for ISD (It is even the one used in examples).

Re: ISD Droid reports and Flora

Posted: Sat Nov 21, 2015 11:40 am
by khammicazze
Here some more info:

[Thu Nov 19 20:47:25 CET 2015 | version 0.9.8-Sobuno-0.0.9 == EXCEPTION == SWGISDroidPanel:handleISDroidReport: Invalid string: Flora_resources
java.lang.IllegalArgumentException: Invalid string: Flora_resources
at swg.crafting.resources.SWGResourceClass.rc(SWGResourceClass.java:369)
at swg.model.mail.SWGISDroidReport.newInstance(SWGISDroidReport.java:315)
at swg.model.mail.SWGMailMessage.isdroidData(SWGMailMessage.java:483)
at swg.gui.mail.SWGMailISDroidPanel.handleReportAdding(SWGMailISDroidPanel.java:789)
at swg.gui.mail.SWGMailISDroidPanel.handleReportMerging(SWGMailISDroidPanel.java:829)
at swg.gui.mail.SWGMailISDroidPanel.handleISDroidReport(SWGMailISDroidPanel.java:673)
at swg.gui.mail.SWGMailISDroidPanel.access$3(SWGMailISDroidPanel.java:668)
at swg.gui.mail.SWGMailISDroidPanel$1.run(SWGMailISDroidPanel.java:361)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

I also got this in the LOG file:
a snip ...
[Sat Nov 21 10:20:14 CET 2015] [rmgr] Updating: resource has stats but errors
[Corellian Scaley Hide:Quokia@SWG-Europa(1488284)]
Stats outside caps:
UT: 0 [ 1 - 1000]
[Sat Nov 21 10:20:14 CET 2015] [rmgr] Updating: resource has stats but errors
[Rori Animal Bones:Pefryuhaf@SWG-Europa(1491057)]
Stats outside caps:
SR: 101 [ 400 - 1000]
[Sat Nov 21 10:50:14 CET 2015] [rmgr] Updating: resource has stats but errors
[Corellian Scaley Hide:Quokia@SWG-Europa(1488284)]
Stats outside caps:
UT: 0 [ 1 - 1000]
[Sat Nov 21 10:50:14 CET 2015] [rmgr] Updating: resource has stats but errors
[Rori Animal Bones:Pefryuhaf@SWG-Europa(1491057)]
Stats outside caps:
SR: 101 [ 400 - 1000]
[Sat Nov 21 11:20:14 CET 2015] [rmgr] Updating: resource has stats but errors
[Corellian Scaley Hide:Quokia@SWG-Europa(1488284)]
Stats outside caps:
UT: 0 [ 1 - 1000]
[Sat Nov 21 11:20:14 CET 2015] [rmgr] Updating: resource has stats but errors
[Rori Animal Bones:Pefryuhaf@SWG-Europa(1491057)]
Stats outside caps:
SR: 101 [ 400 - 1000]
[Sat Nov 21 11:50:14 CET 2015] [rmgr] Updating: resource has stats but errors
[Corellian Scaley Hide:Quokia@SWG-Europa(1488284)]
Stats outside caps:
UT: 0 [ 1 - 1000]
[Sat Nov 21 11:50:14 CET 2015] [rmgr] Updating: resource has stats but errors
[Rori Animal Bones:Pefryuhaf@SWG-Europa(1491057)]
Stats outside caps:
SR: 101 [ 400 - 1000]
[Sat Nov 21 12:18:19 CET 2015] [rmgr] Updating: resource has stats but errors
[Corellian Scaley Hide:Quokia@SWG-Europa(1488284)]
Stats outside caps:
UT: 0 [ 1 - 1000]
[Sat Nov 21 12:18:19 CET 2015] [rmgr] Updating: resource has stats but errors
[Rori Animal Bones:Pefryuhaf@SWG-Europa(1491057)]
Stats outside caps:
SR: 101 [ 400 - 1000]

and the error in SWGAide is the following string: There is a problem preparing the ISDroid reports. See the log file with windows header text ISDroid preparation problem

Re: ISD Droid reports and Flora

Posted: Sat Nov 21, 2015 11:43 am
by Sobuno
Yup, see my update in the posts two posts above you - Flora_resources is supposed to be Flora Resources if they are to follow the pre-CU standard.

Re: ISD Droid reports and Flora

Posted: Sat Nov 21, 2015 12:17 pm
by khammicazze
Is it server dependent or a problem with SWGEMU? Should we open a bugreport on mantis?

Re: ISD Droid reports and Flora

Posted: Sat Nov 21, 2015 5:17 pm
by Savacc
Sobuno wrote:
Savacc wrote:What server are you on that has modified ISD droids to report Flora resources? In the original game it was not possible to do that.
Are you sure you are not thinking of creature resources? The SWGAide source code seems to indicate Flora Resources are possible for ISD (It is even the one used in examples).
Maybe :oops: :roll: :wink:

Re: ISD Droid reports and Flora

Posted: Sun Nov 22, 2015 5:21 pm
by Sobuno
khammicazze wrote:Is it server dependent or a problem with SWGEMU? Should we open a bugreport on mantis?
No idea, I have not looked further into it.

I have a bug report for other issues with ISD's here: http://www.swgemu.com/bugs/view.php?id=6673

No idea if it can be tacked onto that one

Re: ISD Droid reports and Flora

Posted: Sun Nov 22, 2015 10:45 pm
by khammicazze
I changed all Flora_resources to Flora, but still had a problem :-(

[Sun Nov 22 23:43:08 CET 2015 | version 0.9.8-Sobuno-0.0.9 == EXCEPTION == SWGISDroidPanel:handleISDroidReport: Invalid string: Flora
java.lang.IllegalArgumentException: Invalid string: Flora
at swg.crafting.resources.SWGResourceClass.rc(SWGResourceClass.java:369)
at swg.model.mail.SWGISDroidReport.newInstance(SWGISDroidReport.java:315)
at swg.model.mail.SWGMailMessage.isdroidData(SWGMailMessage.java:483)
at swg.gui.mail.SWGMailISDroidPanel.handleReportAdding(SWGMailISDroidPanel.java:789)
at swg.gui.mail.SWGMailISDroidPanel.handleReportMerging(SWGMailISDroidPanel.java:829)
at swg.gui.mail.SWGMailISDroidPanel.handleISDroidReport(SWGMailISDroidPanel.java:673)
at swg.gui.mail.SWGMailISDroidPanel.access$3(SWGMailISDroidPanel.java:668)
at swg.gui.mail.SWGMailISDroidPanel$1.run(SWGMailISDroidPanel.java:361)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Re: ISD Droid reports and Flora

Posted: Mon Nov 23, 2015 4:32 pm
by Sobuno
khammicazze wrote:I changed all Flora_resources to Flora, but still had a problem :-(
Flora Resources, not Flora

Re: ISD Droid reports and Flora

Posted: Thu Nov 26, 2015 6:49 pm
by khammicazze
Ah, ok.
So i did that and it worked for the upload, but i have the impression that all my Flora resources were uploaded as 7 days old. I will try on sunday to see if it is still the same

Re: ISD Droid reports and Flora

Posted: Sat Nov 28, 2015 1:15 am
by Savacc
Is that a problem? Are the resources not 7 days old now?

Re: ISD Droid reports and Flora

Posted: Mon Nov 30, 2015 8:43 am
by khammicazze
Ok, seems working now. Think there was some stuff left from before. Ignore the noise :-)

As i think this won't be on the priority list of the swgemu devs, can't SWGCraft be changed and accept both? I know it is the wrong way of working, but like in the security sector, you could call it a virtual patch :-)