logo
Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

4 Pages<1234>
Options
Go to last post Go to first unread
Gray  
#41 Posted : Wednesday, January 30, 2013 8:20:51 PM(UTC)
Gray

Rank: Advanced Member

Groups: Gray, Registered
Joined: 2/13/2011(UTC)
Posts: 637

Thanks: 42 times
Was thanked: 35 time(s) in 23 post(s)
Originally Posted by: ferox2552 Go to Quoted Post
Released another version with new features:

Trade support:
-_directEve.CreateTrade(charid) - initial run will return false as it needs to start the trade service
-Add(directitem)
-Offermoney(double)
-ToggleAccept()

attribs: HerAccepted, MyAccepted, HerOfferedIsk, MyOfferedIsk, HerTradeItems, MyTradeItems, HerName, HerCharacterId

Tried to add support for this in Questor... and failed miserably LOL I mean, I've downloaded the newest DE, I can see DirectTradeWindow in object browser, but I fail to see how can I use it. There has to be some kind of method which returns an object of this class, like "DirectTradeWindow DirectEve.GetTradeWindow()" or smth?
ferox2552  
#42 Posted : Wednesday, January 30, 2013 8:32:01 PM(UTC)
ferox2552

Rank: Advanced Member

Groups: Developer, Administrators, Registered
Joined: 9/16/2011(UTC)
Posts: 290

Thanks: 12 times
Was thanked: 53 time(s) in 39 post(s)
Originally Posted by: Gray Go to Quoted Post
Originally Posted by: ferox2552 Go to Quoted Post
Released another version with new features:

Trade support:
-_directEve.CreateTrade(charid) - initial run will return false as it needs to start the trade service
-Add(directitem)
-Offermoney(double)
-ToggleAccept()

attribs: HerAccepted, MyAccepted, HerOfferedIsk, MyOfferedIsk, HerTradeItems, MyTradeItems, HerName, HerCharacterId

Tried to add support for this in Questor... and failed miserably LOL I mean, I've downloaded the newest DE, I can see DirectTradeWindow in object browser, but I fail to see how can I use it. There has to be some kind of method which returns an object of this class, like "DirectTradeWindow DirectEve.GetTradeWindow()" or smth?


try DirectEve.Windows.OfType<DirectTradeWindow>.FirstOrDefault()
thanks 1 user thanked ferox2552 for this useful post.
Gray on 1/30/2013(UTC)
BaconLord  
#43 Posted : Sunday, February 3, 2013 4:54:15 PM(UTC)
BaconLord

Rank: Advanced Member

Groups: Registered
Joined: 8/8/2011(UTC)
Posts: 31

Was thanked: 1 time(s) in 1 post(s)
Any plans to add full market support (create buy/sell order, modify orders...)?

edit: you can modify orders already, but cant create one

Edited by user Sunday, February 3, 2013 5:50:18 PM(UTC)  | Reason: Not specified

bbday  
#44 Posted : Sunday, February 3, 2013 6:29:05 PM(UTC)
bbday

Rank: Advanced Member

Groups: Registered
Joined: 11/4/2011(UTC)
Posts: 313

Thanks: 9 times
Was thanked: 36 time(s) in 28 post(s)
Originally Posted by: BaconLord Go to Quoted Post
Any plans to add full market support (create buy/sell order, modify orders...)?

edit: you can modify orders already, but cant create one


wrong you can.
BaconLord  
#45 Posted : Sunday, February 3, 2013 7:53:34 PM(UTC)
BaconLord

Rank: Advanced Member

Groups: Registered
Joined: 8/8/2011(UTC)
Posts: 31

Was thanked: 1 time(s) in 1 post(s)
After checking the code, the only way to create order is adding DirectOrder object to BuyOrder/SellOrders. Is that it or is there another way?

Code:
Cache.Instance.MarketWindow.BuyOrders.Add(new DirectOrder{Duration = , IssuedOn = , Jumps = .....});

ferox2552  
#46 Posted : Sunday, February 3, 2013 8:05:52 PM(UTC)
ferox2552

Rank: Advanced Member

Groups: Developer, Administrators, Registered
Joined: 9/16/2011(UTC)
Posts: 290

Thanks: 12 times
Was thanked: 53 time(s) in 39 post(s)
Originally Posted by: BaconLord Go to Quoted Post
After checking the code, the only way to create order is adding DirectOrder object to BuyOrder/SellOrders. Is that it or is there another way?

Code:
Cache.Instance.MarketWindow.BuyOrders.Add(new DirectOrder{Duration = , IssuedOn = , Jumps = .....});



This will definately not work as intended, you just add a new order object to the list of buyorders. Nothing in the client will happen.

Try:
DirectEve.Buy( params )
DirectEve.Sell ( params )
Echu  
#47 Posted : Monday, February 11, 2013 9:22:24 PM(UTC)
Echu

Rank: Advanced Member

Groups: Registered
Joined: 4/16/2011(UTC)
Posts: 83

Thanks: 11 times
Was thanked: 1 time(s) in 1 post(s)
Now possible to make a direct transfer from wallet to corpwallet or other character?
Gray  
#48 Posted : Monday, February 11, 2013 11:50:08 PM(UTC)
Gray

Rank: Advanced Member

Groups: Gray, Registered
Joined: 2/13/2011(UTC)
Posts: 637

Thanks: 42 times
Was thanked: 35 time(s) in 23 post(s)
I'd like to request a minor bug fix. Sometimes, when you dock in station, a bug appears (due to lag, most probably), which results in the following output:

Code:
Exception during event execution: System.InvalidOperationException: Sequence contains no elements
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   at DirectEve.DirectContainerWindow..ctor(DirectEve ,  )
   at DirectEve.DirectWindow.(DirectEve ,  )
   at DirectEve.DirectWindow.(DirectEve )
   at DirectEve.DirectEve.get_Windows()
   at EAR.EAR.OnFrame(Object sender, EventArgs e)
   at DirectEve.DirectEve.(Object , EventArgs )
   at DirectEve.InnerSpaceFramework.FrameHook(Object sender, EventArgs e)
   at LavishScriptAPI.LavishScript.Events.Event.Target(Int32 argc, UInt32 argvToken, Int32 ThisObject)

This happens on the first DirectEve.Windows check (which is performed on each frame to close modal windows) sometimes. To reproduce it, just use traveler/gotobase several times, paying attention to the output after successful dock attempt. Not that it affects anything real (I hope), just attracts attention and makes Questor to lose a single frame (until station loads its windows, I think).
bbday  
#49 Posted : Tuesday, February 12, 2013 11:47:58 AM(UTC)
bbday

Rank: Advanced Member

Groups: Registered
Joined: 11/4/2011(UTC)
Posts: 313

Thanks: 9 times
Was thanked: 36 time(s) in 28 post(s)
Originally Posted by: Gray Go to Quoted Post
I'd like to request a minor bug fix. Sometimes, when you dock in station, a bug appears (due to lag, most probably), which results in the following output:

Code:
Exception during event execution: System.InvalidOperationException: Sequence contains no elements
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   at DirectEve.DirectContainerWindow..ctor(DirectEve ,  )
   at DirectEve.DirectWindow.(DirectEve ,  )
   at DirectEve.DirectWindow.(DirectEve )
   at DirectEve.DirectEve.get_Windows()
   at EAR.EAR.OnFrame(Object sender, EventArgs e)
   at DirectEve.DirectEve.(Object , EventArgs )
   at DirectEve.InnerSpaceFramework.FrameHook(Object sender, EventArgs e)
   at LavishScriptAPI.LavishScript.Events.Event.Target(Int32 argc, UInt32 argvToken, Int32 ThisObject)

This happens on the first DirectEve.Windows check (which is performed on each frame to close modal windows) sometimes. To reproduce it, just use traveler/gotobase several times, paying attention to the output after successful dock attempt. Not that it affects anything real (I hope), just attracts attention and makes Questor to lose a single frame (until station loads its windows, I think).


this is not a DE bug, is a questor bug, there is in isee version lastsessioninspace for fix this thing.
Gray  
#50 Posted : Saturday, February 16, 2013 11:48:38 PM(UTC)
Gray

Rank: Advanced Member

Groups: Gray, Registered
Joined: 2/13/2011(UTC)
Posts: 637

Thanks: 42 times
Was thanked: 35 time(s) in 23 post(s)
Originally Posted by: bbday Go to Quoted Post
this is not a DE bug, is a questor bug, there is in isee version lastsessioninspace for fix this thing.

Did you mean check for "if (!InStation && !inSpace) return;" which goes before windows check? It won't work for obvious reasons: such windows as disconnect message should be checked before everything else!

But oh well, another request for bug fix for now. DirectContainer.Add() doesn't work when container is set to freight container, and multiple items are provided as an argument. I.e. "lootHangar.Add(lootToMove)" works, while "lootContainer.Add(lootToMove.Where(i => i.GroupId != 281))" does not, while

Code:

                        foreach (var i in lootToMove.Where(i => i.GroupId != 281))
                            lootContainer.Add(i);

works again. Sidenote: items of the group 281 (livestock), which can not be put in freight container, are irrelevant here - I've just kept the code without changes. It doesn't move things even if there are just two stacks of common ammo in the loot... Moving stacks one by one works, as I've said, but to me it looks like pretty much inhuman thing - to move some 50 stacks of loot one by one in less than second OhMyGod
evelover  
#51 Posted : Friday, March 15, 2013 1:53:24 PM(UTC)
evelover

Rank: Advanced Member

Groups: Registered
Joined: 6/6/2011(UTC)
Posts: 31

Thanks: 16 times
Hello can you add option in panic.cs when not have station in system jump to safespot not to the star.
bbday  
#52 Posted : Friday, March 15, 2013 2:23:10 PM(UTC)
bbday

Rank: Advanced Member

Groups: Registered
Joined: 11/4/2011(UTC)
Posts: 313

Thanks: 9 times
Was thanked: 36 time(s) in 28 post(s)
Originally Posted by: evelover Go to Quoted Post
Hello can you add option in panic.cs when not have station in system jump to safespot not to the star.


this is thead about DE request not questor.
Gray  
#53 Posted : Friday, April 5, 2013 11:23:31 PM(UTC)
Gray

Rank: Advanced Member

Groups: Gray, Registered
Joined: 2/13/2011(UTC)
Posts: 637

Thanks: 42 times
Was thanked: 35 time(s) in 23 post(s)
Any chance you fix DE such way so it starts to return correct values for NOS-type modules range? Both OptimalRange and FallOff return 0 atm...
ferox2552  
#54 Posted : Saturday, April 13, 2013 8:27:26 PM(UTC)
ferox2552

Rank: Advanced Member

Groups: Developer, Administrators, Registered
Joined: 9/16/2011(UTC)
Posts: 290

Thanks: 12 times
Was thanked: 53 time(s) in 39 post(s)
Originally Posted by: Gray Go to Quoted Post
Any chance you fix DE such way so it starts to return correct values for NOS-type modules range? Both OptimalRange and FallOff return 0 atm...


That's because they dont have an optimal range and no falloff. Afaik no skills can increase the range so you can use a static value. You can also try to fetch the right attribute from the source code (https://github.com/ferox2552/eve/tree/master/eve-8.21.494548) via DirectModule.Attributes.TryGet<double>("maxRange") where maxRange is the right attribute!
Gray  
#55 Posted : Monday, April 15, 2013 1:33:37 AM(UTC)
Gray

Rank: Advanced Member

Groups: Gray, Registered
Joined: 2/13/2011(UTC)
Posts: 637

Thanks: 42 times
Was thanked: 35 time(s) in 23 post(s)
Originally Posted by: ferox2552 Go to Quoted Post
DirectModule.Attributes.TryGet<double>("maxRange") where maxRange is the right attribute!

Thank you, but it doesn't work :( both "maxRange" and "MaxRange" return 0...
bugcoin  
#56 Posted : Monday, April 15, 2013 2:44:04 AM(UTC)
bugcoin

Rank: Member

Groups: Registered
Joined: 4/25/2011(UTC)
Posts: 25

Why not to define NOS metrics as config entity in weapon section of .xml?
Pluckyduck  
#57 Posted : Monday, April 15, 2013 2:52:48 AM(UTC)
Pluckyduck

Rank: Advanced Member

Groups: Registered
Joined: 5/15/2011(UTC)
Posts: 157

Thanks: 20 times
Was thanked: 8 time(s) in 5 post(s)
<!-- MaxRange we should use NOS / Neuts -->
<NosDistance>38000</NosDistance>


Taken from the setting file? did i miss something or did the rest of you ask for something that was "already" there.

PD
bugcoin  
#58 Posted : Monday, April 15, 2013 3:53:22 AM(UTC)
bugcoin

Rank: Member

Groups: Registered
Joined: 4/25/2011(UTC)
Posts: 25

have question about new feature: I used to travel by changing agent in character.xml. Now I am in trouble because DE or Q remember last agent dealt with. Like on very beginning of initialisation Q retrieves CurrentAgent from Cache. So, cache lives as long as DE is online. I agree this is good feature but is it possible somehow to avoid this behaviour? I was really confused using QuestorManager to travel as EVE just stopped respond every time (perhaps because of last security procedures of CCP)
ferox2552  
#59 Posted : Monday, April 15, 2013 6:59:58 PM(UTC)
ferox2552

Rank: Advanced Member

Groups: Developer, Administrators, Registered
Joined: 9/16/2011(UTC)
Posts: 290

Thanks: 12 times
Was thanked: 53 time(s) in 39 post(s)
Originally Posted by: Gray Go to Quoted Post
Originally Posted by: ferox2552 Go to Quoted Post
DirectModule.Attributes.TryGet<double>("maxRange") where maxRange is the right attribute!

Thank you, but it doesn't work :( both "maxRange" and "MaxRange" return 0...


maxRange is the optimal range :P
Gray  
#60 Posted : Tuesday, April 16, 2013 1:43:19 AM(UTC)
Gray

Rank: Advanced Member

Groups: Gray, Registered
Joined: 2/13/2011(UTC)
Posts: 637

Thanks: 42 times
Was thanked: 35 time(s) in 23 post(s)
Originally Posted by: Pluckyduck Go to Quoted Post
<!-- MaxRange we should use NOS / Neuts -->
<NosDistance>38000</NosDistance>


Taken from the setting file? did i miss something or did the rest of you ask for something that was "already" there.

PD

That's what I did too, myself (my fork is based on a 2-year old version of Questor, you know). Though, while we are at it, why don't we add settings-defined web range? tractor range?

My point is: this value exists in the game. It is shown when you hover mouse over fitted NOS-module in space. There HAS to be a way to retrieve it automatically from EVE, as well as we retrieve tractor/webifier range!

Originally Posted by: ferox2552 Go to Quoted Post

maxRange is the optimal range :P

Well, but maybe there is some other property which contains NOS range? I mean, EVE client retrieves it somehow, right?
Users browsing this topic
4 Pages<1234>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.