Inactive [WEB/ECON] WebAuction - Website based item market [1597]

Discussion in 'Inactive/Unsupported Plugins' started by Exote, Aug 24, 2011.

  1. Offline

    Exote

    WebAuction - Website based item market [1597]

    Moving over to bukkitdev - New Project Page
     
    nicom1997, tom, andrewkm and 2 others like this.
  2. Offline

    DemonCraft

    I have made a video on how to use this Plugin: http://www.youtube.com/watch?v=_9mSJOi9nn4
    It is for Version 2.8, I know the sound is off with the actually video, I'm using shitty Hypercam, if someone can link me to something better, or even if I have to buy it, I'll buy it and re-make this video.
    Sorry about that, ^_^
     
  3. Offline

    tom

    @Exote I know this is a really big suggestion, but what about adding some sort of a price graph of price change percentage for each item so that we know if the item is going down in price or up in price in lets say the last 30 days. That would be cool :)
     
  4. Offline

    Exote

    Funny you should say that... :p
    This is what I am working on right now. As well as reducing the amount of time it takes to load the auction list.
     
  5. Offline

    tom

    Your working on a price graph or percentage for EACH item? Oh man thats awesome.

    When do you think it will be ready.
     
  6. Offline

    Exote

    Done :D
    v0.3 now with graphs and item info.
     
    andrewkm and GmK like this.
  7. Offline

    GmK

    You know, you're very awesome. Despite small glitches here and there (Shout signs seem to cause time outs for the server for some reason, no stacktrace) this is a fantastic plugin!
     
  8. Offline

    Exote

    Thanks :D that means a lot.
    Just have to see what this update broke :p and wait for a bit so I can take some pretty screenshots of graphs.
     
    andrewkm likes this.
  9. Offline

    andrewkm

    Thank you very much as always. Great work! :)
    Only see two minor issues right now. (With brand new default installation)
    Items page, the number sold does not seem to update...nor show up at all.
    As well on the "View Graph" page the footer is out of place (Very minor issue) - below the white area on top of the background.

    @Exote
    graph.php delete </div> line 102 :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  10. Offline

    Exote

    Trying to test something odd. Have you tried looking at the website while not an admin? I get some strange errors that just started about the Admin header appearing (on index page) but no admin options. I haven't heard anyone complain about it, so it may just be my cookies or cache.

    I have no idea why the number sold are not popping up, that part works fine for me. Did you change anything there? - From the source of your website, looks like you commented out the $ref value...? :p Also check line 79 of info.php there seems to be an error with how you print the damage value (see the $_GET values passed to the graph.php page)
     
  11. Offline

    andrewkm

    @Exote
    Indeed u are right
    logging in as not admin gives:
    [​IMG]
    -
    About the numbers not popping up, i changed absolutely nothing there ... hmm

    @Exote
    Just checked the info.php....
    Redownloaded and tried a fresh copy again, still not showing number sold... hmm.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  12. Offline

    Exote

    Going to remake the whole admin system to be its own separate page, so will remove those columns for now.

    does your line 79 (info.php) look like
    Code:
    <td><a href="graph.php?name=<?php echo $name ?>&damage=<? echo $damage ?>">View Graph</a></td>
    
    Could you print lines 75 - 80?
     
  13. Offline

    andrewkm

    @Exote
    Yes 79 is as so:
    Code:
        <td><a href="graph.php?name=<?php echo $name ?>&damage=<? echo $damage ?>">View Graph</a></td>
    @Exote
    75-80
    Code:
       <tr class="gradeC">
        <td><img src="<?php echo getItemImage($name, $damage) ?>" alt="<?php echo $fullName ?>"/><br/><?php echo $fullName ?></td>
        <td><? echo $ref ?></td>
        <td><?php echo $price ?></td>
        <td><a href="graph.php?name=<?php echo $name ?>&damage=<? echo $damage ?>">View Graph</a></td>
       </tr>
    EDIT:
    Full file just incase:
    http://pastebin.com/HAzWrAqu

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  14. Offline

    Exote

    Balls I know what it is, some web servers dont recognise <? to be the same as <?php. Look both the $ref and $damage echos use <?
     
  15. Offline

    andrewkm

    Ah indeed that fixed it :) Works now :D
     
  16. Offline

    Exote

    Cool :) Updated the links on the dev home page, you will want a new copy of the index page and the server_processing to sort the admin bug.

    This might just be me, but I'm kinda looking forward to seeing some really populated graphs :p
    (oh and you know you can zoom in with the graphs by dragging a selection box. thought that was sort of cool :D, zoom out double click)

    ps. you have a similar problem on the my items pages with the quantity, same solution.
     
  17. Offline

    andrewkm

    Hmm got a new index page and server_processing but still experiencing errors if not an admin when logging in. - Admin table shows up with no cancel button there, and the above screenshotted error.
    -
    And indeed give it about a week and we should see some nice graphs there :) Cant wait :p

    Ah thank you :D Fixed :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  18. Offline

    Exote

    Try the download again. So many versions of 0.3 :p must have uploaded wrong one.

    Also I think I need to cut the precision of the market price down a bit when printing it... 15 decimal points seems a bit excessive
     
  19. Offline

    andrewkm

    @Exote
    Fixed now :D

    I was literarly just posting that, but you read my mind :p
    Was going to suggest keeping things at 2 decimal points, example in my items page, there is 11 decimals on the market price(each)/(total) - and market price (info page)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  20. Offline

    Exote

    Change line 13 - itemInfo.php to

    Code:
    return round($marketPrice, 2);
    
    See if that does anything. Will put it into a proper build tomorrow :p
     
  21. Offline

    andrewkm

    Yup, fixed for myitems page :D Awesome
     
  22. Offline

    Exote

    slap that round thing around the price on line 78 of info.php too

    Code:
    <td><?php echo round($price, 2) ?></td>
    
     
  23. Offline

    andrewkm

    :) Done and fixed.
     
  24. Offline

    Exote

    Sweet looks much better... I havn't been buying random amounts of cobblestone off people to make the graph look funny... honest... :p
     
  25. Offline

    andrewkm

    Lol! :)
    - I just super dropped it :p (well, 2 penies -_-)
     
  26. Offline

    Exote

    Haha nice!... we are too entertained by this.
     
    andrewkm likes this.
  27. Offline

    andrewkm

    @Exote
    Oh found something, damage values :p (That may be a tough one, not sure though)
    Check out the item info page. (Different damage value treated as different item)
     
  28. Offline

    Exote

    Yeah I did see that, at the moment they are treated like different items, because that's what makes sense for wool etc. But for things like tools, it would be better to just save one market price and then weight each item depending on the damage. eg. a 0% damage is worth 100, a 20% damage should automatically be worth 80.

    This shall be my next mission.
     
    andrewkm likes this.
  29. Offline

    andrewkm

    Sounds like a very good idea :D
    As well thank you very much for all the recent and constant work on this plugin. Truly is amazing!
     
    Exote likes this.
  30. Offline

    Exote

    Think I've sorted this, my maths may need a bit of checking though :p Plus you may want to remove damaged items from your market price table. Just to make it neater.
     
    andrewkm likes this.
  31. Offline

    asm0deus

    So to fix 0.3 i need to add all those lines are has it been rebuilt ?

    oh and im not getting that error just with admin, im getting a java error on all users.

    Using bukkit 1303 because 12 is utter crap - is there compatibility issues with that?

    oh see your reply... 0.3.1 ill try it :)

    edit #4: 0.3.1 still has JSON error. :(
     

Share This Page