These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
Previous page123Next page
 

Evernus Alliance Market - a nullsec alliance logistics tool

Author
Pete Butcher
The Scope
Gallente Federation
#21 - 2014-12-03 10:20:03 UTC
Shalyana Corpus wrote:
Pete Butcher wrote:


Checked and works fine too. Are you getting an error?



No i'm not getting any errors the input field for both market groups and Corporations are not populating with choices. And even when I manually finish typing out a complete option like Ice Products when I push the Add button nothing comes up. I'm going to check over all my logs and try a fresh install when i get the chance i was just curious if you had seen this issue before. All other aspects of the software are working flawlessly so i'm at a loss. My database log as well as the apache log are showing up clear as well.


The fee is not added because you need to select a type from the dropdown which is not populated. If you're using Firefox, install firebug add on and take a look at xhr request when you're typing in the box.

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Shalyana Corpus
The Grey Eagles
#22 - 2014-12-03 10:32:08 UTC  |  Edited by: Shalyana Corpus
Pete Butcher wrote:

The fee is not added because you need to select a type from the dropdown which is not populated. If you're using Firefox, install firebug add on and take a look at xhr request when you're typing in the box.


Ok so i have tracked it down. In this file

src/Evernus/AllianceMarketBundle/Resources/views/Fee/index.html.twig


on line 7 there is a variable called corps
var corps = {{ corps|json_encode }};


If i run a live console in my browser as the page is loading i get an error that says

uncaught syntax error unexpected tolken &

the raw ouput of the code looks jacked up. before every corp in that dictionary there is an "&quot"

I think perhaps the json isnt parsing out the information and thats causing the code to break with all the &quot before each name. i'm no expert in javascript but have much experiance in coding in general. I hope this information helps you. When i set the corps variable to a null the market groups load up just fine so i know its an issue with how this dictionary is getting populated. Any thoughts on why this may be?

Edit:
It almost seems like maybe an encoding error like a character is getting translated back incorrectly. like the json is coming in html and instead of getting actual quotation marks around each name its giving us the html version of the quotation mark...


Edit:

I got it figured in your code on line7 as mentioned above i needed to add the raw option to the end so it should read like this

var corps = {{ corps|json_encode|raw }};
Pete Butcher
The Scope
Gallente Federation
#23 - 2014-12-03 10:57:26 UTC
Shalyana Corpus wrote:
Pete Butcher wrote:

The fee is not added because you need to select a type from the dropdown which is not populated. If you're using Firefox, install firebug add on and take a look at xhr request when you're typing in the box.


Ok so i have tracked it down. In this file

src/Evernus/AllianceMarketBundle/Resources/views/Fee/index.html.twig


on line 7 there is a variable called corps
var corps = {{ corps|json_encode }};


If i run a live console in my browser as the page is loading i get an error that says

uncaught syntax error unexpected tolken &

the raw ouput of the code looks jacked up. before every corp in that dictionary there is an "&quot"

I think perhaps the json isnt parsing out the information and thats causing the code to break with all the &quot before each name. i'm no expert in javascript but have much experiance in coding in general. I hope this information helps you. When i set the corps variable to a null the market groups load up just fine so i know its an issue with how this dictionary is getting populated. Any thoughts on why this may be?

Edit:
It almost seems like maybe an encoding error like a character is getting translated back incorrectly. like the json is coming in html and instead of getting actual quotation marks around each name its giving us the html version of the quotation mark...


Can you give an example of a corp name which causes this error?

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Pete Butcher
The Scope
Gallente Federation
#24 - 2014-12-03 11:08:39 UTC
Nevermind, I get this error too. Change this line to:

var corps = {{ corps|json_encode|raw }};


then run:

php app/console cache:clear


and everything should work fine.

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Shalyana Corpus
The Grey Eagles
#25 - 2014-12-03 17:44:38 UTC
Pete Butcher wrote:
Nevermind, I get this error too. Change this line to:

var corps = {{ corps|json_encode|raw }};


then run:

php app/console cache:clear


and everything should work fine.


Thanks for all your help it looks like we came up with the solution at the same time😜. This is an awesome app and if I run into any other issues I'll be sure to let you know on here or bitbucket!
Shalyana Corpus
The Grey Eagles
#26 - 2014-12-03 18:12:36 UTC
There is one other thing I forgot to mention right now when someone orders a ship the m3 calculated is based on its assembled size. is there a setting or a way to change this so its based on the packaged size of ships and modules?
Pete Butcher
The Scope
Gallente Federation
#27 - 2014-12-03 18:28:59 UTC
Shalyana Corpus wrote:
There is one other thing I forgot to mention right now when someone orders a ship the m3 calculated is based on its assembled size. is there a setting or a way to change this so its based on the packaged size of ships and modules?


Not at the moment, since CPP doesn't provide that kind of data anywhere. It just needs to be expressed as ton of conditionals as you can see here and I didn't have the heart to do it yet.

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Shalyana Corpus
The Grey Eagles
#28 - 2014-12-03 18:54:00 UTC
Pete Butcher wrote:
Shalyana Corpus wrote:
There is one other thing I forgot to mention right now when someone orders a ship the m3 calculated is based on its assembled size. is there a setting or a way to change this so its based on the packaged size of ships and modules?


Not at the moment, since CPP doesn't provide that kind of data anywhere. It just needs to be expressed as ton of conditionals as you can see here and I didn't have the heart to do it yet.


Ah i see. Yeah that looks like a pain for sure.
Pete Butcher
The Scope
Gallente Federation
#29 - 2014-12-11 07:44:24 UTC
I just updated the SDE and made some php 5.3 compatibility improvements. I also added some more info to the installation instructions, since some users had problems. If anyone is getting a "class not found" error after clean install, please take special attention to points 2, 3 and 4. I can assure everything works fine when all steps are taken (tested and verified today on fresh install with the latest vendor packages).

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Julie Hawke
Center for Advanced Studies
Gallente Federation
#30 - 2014-12-12 12:25:15 UTC
This looks really interesting and quite awesome.

But i have very little programming experience ....will i be able to use this?

It seems to rely on several requirements are those free distributions and do i need to go and find them?

Pete Butcher
The Scope
Gallente Federation
#31 - 2014-12-12 12:49:29 UTC
Julie Hawke wrote:
This looks really interesting and quite awesome.

But i have very little programming experience ....will i be able to use this?

It seems to rely on several requirements are those free distributions and do i need to go and find them?



You should be able to use it. Installation only requires pasting some commands into the console and the configuration is available through the website.
Every dependency is freely available.

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Greygal
Redemption Road
Affirmative.
#32 - 2014-12-21 14:20:16 UTC  |  Edited by: Greygal
Installed this yesterday so my guys can play with it and see if it'll work for our needs. We're a small alliance of about 65 people based in lowsec; most everyone handles their own shopping needs. However, we run a large number of assorted public roams and other events and often find ourselves doing large purchases and haulings from the trade hubs. I wanted to try this out to see if it would help ease some of our public event (especially our new player roams) shopping and hauling work primarily; any internal alliance benefits would be bonus.

The most difficult part of getting this up and running was getting Symfony up and running. Since I have no experience with that framework at all, I had to crash-course myself on it, with the emphasis on lots of crashes mostly due to operator error Oops

Once I got Symfony installed, getting the Alliance Market installed and up and running went very smoothly. The only serious hiccup installing the Alliance Market itself was an issue with using PHP 5.4 and the bcrypt password encoding. If your php installation is less than 5.5, you will get a 500 error code when trying to create your first account. The error messages in the logs are verbose, and pointed me immediately to what was causing the problem and how to resolve it. Pete Butcher has already updated the readme file with what to do if you have this issue.

My alliance mates have already started playing around with the test installation of it that I set up and doing their best to break it before we decide to go "live" with it. Overall, it's smooth and stable, quite intuitive to use, and it's abundantly obvious there is a ton of work behind this already. It's really impressive, hard to believe it's "beta."

So far, here's our first impressions, our test installation has been live less than 24 hours:

Questions/Quirks:
- Coupons and fees can only be set as whole-number percentages (i.e., can do 2%, but not 2.5%)
- It doesn't seem to let you use two coupons on a single order, is that correct?
- Access settings by standings are only "blue," not light blue or dark blue.
- No commas in numbers (i.e., 1,000,000 displays as 1000000) (Note: Think I've already fixed this display issue, will push my changes once I'm sure I've not broken anything).
- Would be nice if coupons were a drop-down field in the order page.

Possible issues:
- Behaves badly when a user is logged on from multiple locations. Trying to create multiple orders on the same character from different computers causes error messages across the top.
- No way to edit a coupon once it has been created?

Comments from my guys so far:
- "Very cool, I could see myself using this as a personal shopping list."
- "Like how it works on my tablet. Would be nice to be able to browse the market with it."
- "Would be nice if we could use this to track hauling-only contracts, like when new members join and move their stuff down."
- "Add courier contracting and its perfect."
- "Tried it, love it, can we start using it for real now?"

Very impressed so far with it. It's an amazing amount of work put into it by Raikia Nardieu originally, many thanks to Pete Butcher for picking up where Raikia has left off. I look forward to seeing where it goes in the future!

GG

What you do for yourself dies with you, what you do for others is immortal.

Free weekly public roams & monthly NewBro new player roams!

Visit Redemption Road or join mailing list REDEMPTION ROAMS for information

Pete Butcher
The Scope
Gallente Federation
#33 - 2014-12-21 15:13:40 UTC
Happy to see you like it. I think it's stable enough to call it, well, stable. As for your qestions:

Quote:
- Coupons and fees can only be set as whole-number percentages (i.e., can do 2%, but not 2.5%)
- It doesn't seem to let you use two coupons on a single order, is that correct?
- Access settings by standings are only "blue," not light blue or dark blue.
- No commas in numbers (i.e., 1,000,000 displays as 1000000) (Note: Think I've already fixed this display issue, will push my changes once I'm sure I've not broken anything).
- Would be nice if coupons were a drop-down field in the order page.


  • For now, percentanges are whole numbers, but it's trivial to change it. I'll take a look at it this week.
  • An order can take only a single coupon. Adding multiple coupon support might create a new class of issues, eg. how to apply them? Sum their bonuses? Apply in series? I think this adds a layer of complication that's not really needed, but it's doable.
  • "Blue" was to mean anyone with positive standings. Making it more granular is not a problem.
  • Coupon codes were designed to be secret, more or less, that's why there's no dropdown.

Quote:
- Behaves badly when a user is logged on from multiple locations. Trying to create multiple orders on the same character from different computers causes error messages across the top.
- No way to edit a coupon once it has been created?


  • That's strange. WIll investigate.
  • IMHO, the coupons should not be changed after creation. The reasoning is suddenly changing the value of already created contracts. That could be a surprise for the buyer.

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Pete Butcher
The Scope
Gallente Federation
#34 - 2014-12-29 07:42:05 UTC
I made a little change which will adjust volumes of ships to packaged after every SDE update.

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Pete Butcher
The Scope
Gallente Federation
#35 - 2015-02-23 06:48:44 UTC
An update has been pushed which allows setting fee on an item type basis. This requires an update to database schema:
php app/console doctrine:schema:update --force

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Greygal
Redemption Road
Affirmative.
#36 - 2015-04-08 03:49:45 UTC
Feeling silly that I can't seem to figure this out, but how do I remove a user from the alliance market?

Thanks!

What you do for yourself dies with you, what you do for others is immortal.

Free weekly public roams & monthly NewBro new player roams!

Visit Redemption Road or join mailing list REDEMPTION ROAMS for information

Ikki Phoenix
Federal Navy Academy
Gallente Federation
#37 - 2015-04-08 04:19:27 UTC
Hello

I just downloaded the software. I like what I am seeing, but how can I add my corp members to the corporation market?

Thank you for the help
Pete Butcher
The Scope
Gallente Federation
#38 - 2015-04-08 04:35:39 UTC  |  Edited by: Pete Butcher
Greygal wrote:
Feeling silly that I can't seem to figure this out, but how do I remove a user from the alliance market?

Thanks!


Removing a user is such a destructive operation, you'll need to do it manually in your db (foreign keys should enforce integrity). You can consider making a user inactive instead, but you'll need the latest version for that.

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Pete Butcher
The Scope
Gallente Federation
#39 - 2015-04-08 04:37:35 UTC
Ikki Phoenix wrote:
Hello

I just downloaded the software. I like what I am seeing, but how can I add my corp members to the corporation market?

Thank you for the help


They can simply enter the site and register an account. The decision to allow them in is made on their standings towards your corp and is configurable in the settings.

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Ikki Phoenix
Federal Navy Academy
Gallente Federation
#40 - 2015-04-08 15:38:26 UTC
Thank you for the reply.

I may be doing something wrong, but when I go to the http link, I get "webpage not available: Error code: ERR_CONNECTION_TIMED_OUT"

Any ideas what I might be doing wrong?

Thanks
Previous page123Next page