[Release] Market System for Low Versions

Deadman

Banned
Joined
Mar 17, 2014
Messages
323
Reaction score
282
Привет ,реших да направя нещо доста странно и то е маркет система за стари версии.
Системата е взета от DT WEB 0.1 на MeMoS и общо взето съм преправил самия сайт да е една маркет система.
Доста хора качиха подобни системи наскоро та викам и аз да не остана по-назад.
Скъсил съм повечето ненужни неща ,сложил съм хубав дизайн и съм преправил тук там.
- Системата вади предметите от WebShop таблиците т.е трябва да имате инсталиран webshop за да работи.


234324352.png


352352352.png


Няма "троянски коне" в сайта или изненади -.- ...
Ето скан от virus total.


66666666666666666666666.png


Tnx DarkMaster for fixing the bugs and adding md5 support.
Ползвайте си я със здраве и ако имате проблем/въпрос пишете тук.
 

Attachments

  • Market System + Dupe fix + MD5 support + Login fix.rar
    906.7 KB · Views: 371
Last edited:
хубав е сайта на мемос ама ейтова /themes/mod/theme.php
 
хубав е сайта на мемос ама ейтова /themes/mod/theme.php

Ей това си го променяш в лоадера на /иван/themes.php и готово, като не ти харесва
 
is that really works on low versions like 97d?
what happen after 7 days if you dont sell your item and you dont have free room on warehouse?
 
Една малка проверка, която проверява дали акаунта е в игра ще реши проблема. ;):
 
  • Like
Reactions: satanism
something like..

PHP:
$statusaq = mssql_query("select * from MEMB_STAT where memb___id='$account' and connectstat='1'");
$statusa = mssql_num_rows($statusaq);
if($statusa != 0) { $statusq = mssql_query("select GameIDC From AccountCharacter where Id='$account'"); $statusr = mssql_fetch_row($statusq); }

if($statusr[0] == $character) { echo"<tr><td align='center' class='modules'><b>Error:</b> Character $character Is Online ! Please Log Off !</td></tr>"; $error=1; }
we need to add this on market_sell.php also will be good if we do it on market_buy to, so we can avoid possible bugs/dupes when you buy something and you are ingame online..

but if the market has problems like this..im sure will have many other problems :/
 
Last edited:
  • Like
Reactions: satanism

you need to make webshop on your db this system use webshop

yes yes my wrong i fix it.. thanks i have added savoy webshop

After testing.. this market is extremely bad, not recommended when you take back 1 item it will replace your jewels or any 1x1 item you have on warehouse.
They are a lot of problems with that system dont use it.
 
Last edited:
something like..

PHP:
$statusaq = mssql_query("select * from MEMB_STAT where memb___id='$account' and connectstat='1'");
$statusa = mssql_num_rows($statusaq);
if($statusa != 0) { $statusq = mssql_query("select GameIDC From AccountCharacter where Id='$account'"); $statusr = mssql_fetch_row($statusq); }

if($statusr[0] == $character) { echo"<tr><td align='center' class='modules'><b>Error:</b> Character $character Is Online ! Please Log Off !</td></tr>"; $error=1; }

Nope. Use this:
PHP:
$statusaq = mssql_query("select * from MEMB_STAT where memb___id='$account' and connectstat=1");
if(mssql_num_rows($statusaq) !== 0) { echo"Your account is online, please log off."; $error=1; }

The system is using the account warehouse, not the character's storage :)
 
Updated files:
inc\market_buy.php
inc\market_sell.php

#edit
@Рафаелас, с теб май пишем по едно и също време. (xax)


PHP:
$online = mssql_fetch_row(mssql_query("SELECT ConnectStat FROM MEMB_STAT WHERE memb___id='$username'"));
        
if($online[0] != 0)
{
     show_msg('You should log off first!');
}
 

Attachments

  • Market System + Dupe fix.rar
    906.6 KB · Views: 53
Like i said.. when you have 1 bless or anything 1x1 item on warehouse and you choose to take back your item from market for example gloves, the gloves will replace the jewel or any other item 1x1 so your 1x1 item will be lost..

btw thanks for fix..
 

Attachments

  • 2s79efs.jpg
    2s79efs.jpg
    150.8 KB · Views: 175
Last edited:
Like i said.. when you have 1 bless or anything 1x1 item on warehouse and you choose to take back your item from market, the item will replace the jewel or any other item 1x1 so your 1x1 item will be lost..

btw thanks for fix..
They are most likely missing from the webshop's and/or market's database.
 
They are most likely missing from the webshop's and/or market's database.

yes but this is still something like bug..? (think) that 'bug' happened by adding that market.. :p

EDIT: fixed..
you just need to change the
// Market Setings
$market['multiplier'] = 1; // Item credits multiplier.

from inc folder market.php
it was 1.0 i have added 1 without .0 and now it works very well
 
Last edited: