Jump to content
MakeWebGames

Recommended Posts

Posted

Hello all,

[infobox] Modifaction is old and used to be paid, however now releasing for free[/infobox]

As i was tired to scroll and scroll and scroll on huge listings on other people's games item markets, i came up with myself making a not that original, but yet usefull revamped item market. Instead having a list on everything... you get a full list on items available on game (you can block categories to don't show), and user can search specifically for what he wants, either 1 item at a time or multiple categories items.

A few screenies go down for an overall on what it looks like.

im03rp9.png

im01gs7.png

im02tj1.png

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

This works as a plain replacement of itemmarket.php and ought to work without any issues!

Thanks Pudda for letting to pull this out of the closet!

  • 2 years later...
Posted

I copied and pasted the code into notepad and then put it on my test game on my pc, and I get this error.

Parse error: syntax error, unexpected $end in ***xampp\htdocs\****************\itemmarket.php on line 380

 

I re-copied the code into notetab pro and the code is alot longer than what is listed about which has 409 lines so I am guessing that the error is on line 380 on my list but since the code above is wider meaning less lines the error is on line 357

could anyone help with this please :)

Posted

got it working, looks good,

is there away I can add link in with the buy, info links that would allow staff to remove items that have been on the market for awhile say if the player has quit the game or something I would like to remove the item or delete it, I have tried a delete code which I added in but it doesn't work with this code.

Posted

I have a delete funtion working on the item market mod that comes with mc v2, but when I tried to add the same funtion to this mod the del, option does not show. I have played around with it for a bit but still can't get it to work. same with item pics, I had item pics add to the mc v2 one, but when I tried to add them to this one it just showed this {$r['itmPIC']} instead of the pic. however it is the del option I would really like if it would work so I could get rid of all the old items. it saves time from going into to database and doing it that way. when I get a little time later I will post the code for the delete funtion I have and maybe the item pic one too, see if anyone can tell me why it is not working with this code :)

thanks

Posted

at a quick glance... the delete i suppose is for staff only right? so you will need at least 2 more if's there before generating the links.

on the image thing it looks you are missing some closing ' or . to display the image properly.

Posted

i like it, yes i know its a old script but im wondering if you can improve it little with my idea?

can you make it so it only shows the ItemType dropdown menu's that has the items in the market if you know what i mean?

also make it so it doesnt show every single item in that ItemType but only show the items that are actually on the market?

also maybe add on a system where items can be sold for crystals or money and you can purchase any amount from the stock for example, someone puts 6 Medics on the market for 5 crystals each. someone can buy just 2 of them for 10 crystals leaving 4 left in stock.

my explaining is probably hard to understand, so i know you'll probably be like "what the hell is he on about". but i hope you understand.

i know its asking for a lot but you could maybe even release this idea as an updated advanced item market and sell it on the MarketPlace.

Posted

Hey Lithium,

If ya dont mind im going to have a crack at adding the suggestions from Nicholas..

I already have it so it shows only the items that are on the market ;)

Ill post it here when im done if you say its ok :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...