[Release] DT Market 0.1

pafa7a

Well-Known Member
Joined
Jul 9, 2009
Messages
1,399
Reaction score
816
Hello friends. Today I finish my development over this market and release it for you for free.
Current modules :
Code:
Login
Warehouse view
WebWarehouse (transfer items from warehouse to webwarehouse and reverse)
Market - list of items in market
Market -> Sell Item : choose which item you want to sell from your WebWarehouse and click once over him
Market -> Sell item 2 : now you can choose between credits/stones/bless/soul/resets/zen and choose what amount of them you want
History - you can view your market history (example : test3 buyed Jewel of Soul from you for 40 credits 1 month ago)
Deposit System : you can deposit Jewels of Soul,Jewels of Bless, Stones,Zen and Resets from your WebWarehouse to your Deposit table.
When you buy/sell/deposit items the the values of current available deposited items/credits will change automatically without refresh
Best sellers
Last 5 items
Random item

Languages : PHP,MSSQL,CSS,HTML,AJAX,JavaScript

There is an readme.txt files inside the archive, where I you can found how to install,config and use it

Feel free to post a comment or report a bug/problem/question. I am here to help :)

Download Version 0.1 (latest for now) : MEGA

Update 1 :
If you dont have 'webshop' table in MuOnline db run this query and party hard MEGA (Mirror) (Mirror 2)

Update 2 :
Use this item images pack (fixed a lot of items) : items


Credits :
Savoy - ItemInfo function
Mephisto - some codes
MeMoS - some codes
pafa7a - all other xD
 

Attachments

  • Untitled-2.png
    Untitled-2.png
    671.1 KB · Views: 376
  • Untitled-3.png
    Untitled-3.png
    684.4 KB · Views: 329
  • Untitled-4.png
    Untitled-4.png
    665.9 KB · Views: 237
  • Untitled-5.png
    Untitled-5.png
    662.6 KB · Views: 221
Last edited:
Is showing an error when I try to download the file. Could you upload the file to MediaFire for example? Thank you i really aprecciate your help.

PD: I tried 3 more times, and i could download the file. Thank you sir.
 
XOQTv.jpg


The web is not showing the items I have in the vault

It only detect the zen, not items, jewels, stones, etc.
 
Last edited:
XOQTv.jpg


The web is not showing the items I have in the vault

It only detect the zen, not items, jewels, stones, etc.

I think first you need to deposit them from your ingame warehuse into web warehouse
 
I think first you need to deposit them from your ingame warehuse into web warehouse

Yes i know, i have bles souls and random items, also Zen, but the web is only detecting my zen, not the jewels and other items.
 
Yes i know, i have bles souls and random items, also Zen, but the web is only detecting my zen, not the jewels and other items.
did you have 'webshop' table in MuOnline db?
 
  • Like
Reactions: Diego^
did you have 'webshop' table in MuOnline db?

I do not :(, i'm trying to find the savoy webshop to add those tables, or I have another option to add them.

PD: If you have a link for that webshop, please post it, thank you.

PD2: I installed Savoy Webshop. Now detect items, but for example I have a Bronze Armor and shows like I have a Short Bow.

nZMOO.jpg


Also is showing rare options, maybe from another Mu version
XSwLt.jpg
 
Last edited:
What files you use? <season 2?
Edit :
BG : Първия пост е ъпдейтнат : добавен е линк за инсталиране на 'webshop' таблицата. Ако вече имате такава не ви трябва до го теглите
EN : First post updates : added link for creating 'webshop' table. If you already have this table you dont need to download this one
 
Last edited:
  • Like
Reactions: Ivaylo99
No im using 97+99 Darksteam files
So you cant use this market, because there are differences between DataType
in warehouse table. Files until season 2 use less HEX symbols than others
 
Добре е като цяло, но имам няколко въпроса/препоръки.

1. Защо използваш AJAX от 7000+ реда код, при положение, че jQuery педлага доста по-кратка алтернатива?
2. Можеш да използваш tipTip, вместо overlib-a, тъй като той е доста остарял, а и пак ще спестиш доста редове код.
3. Когато търсиш някакво число от потребителя, например:
PHP:
$bless=htmlspecialchars($_POST[blessnum]);
......
$soul=htmlspecialchars($_POST[soulnum]);
При тези случаи е добре, да не използваш ескейпващи функции, а просто да използваш кастване към число. Така, дори и потребителя да отдели 1 час, за да напише супер-мега-як инжект като резултат ще получиш "0" и няма как да стане някоя гадна врътка.
4. Когато използваш $_POST/$_GET/масиви е добре да слагаш кавички на ключовете.
5. Когато използваш нещо много пъти е добре да си го сложиш във функция (DRY), например:
PHP:
$online = mssql_num_rows(mssql_query("SELECT * FROM MEMB_STAT WHERE memb___id='$account' AND ConnectStat = 1"));

Надявам се да приемаш коментара ми като опит да ти помогна, да те насоча, а не като заяждане! :)
 
@banned - линковете са оправени
@RaFa - в следващия ъпдейт повечето работи ще бъдат както ти спомена
 
Добре е като цяло, но имам няколко въпроса/препоръки.

да добавя ще е хубаво ако разделяш PHP и HTML защото в момента всичко е мешана скара и ако някой иска да редактира нещо ще му е много трудно
 
So you cant use this market, because there are differences between DataType
in warehouse table. Files until season 2 use less HEX symbols than others

Sooo, this Market is for what versions of mu?
Im looking for a Market for 97+99...Which one do you recommend me?
 
First post updated : Added Update 2
 
pafa7a ще се караме сега прегледах маркета малко повече и 200+ if/else в iteminfo() са страшна работа :D

ето ти друг iteminfo() с малко по подредена работа

пс: то е твоя но с 1 нова функция
 

Attachments

  • iteminfo.rar
    9.6 KB · Views: 30
Last edited:
  • Like
Reactions: pafa7a
няма да е зле да оправиш депозита.. като депозирам да кажем 5 блеса и ми изпише: ти депозира 5 блеса и аз припомпя още 10 пъти след тоя надпис нз как ама с магия правя 50 блеса от нищото ;д и един withdraw ако сложиш ще е перфектен маркета ^_^ смсл закво ми е да си продавам хубавия армор за Jewels които не мога да изтегля? :Д също така направи да може да се депозират bundle of bless,jewel защото няма как да си продам да кажем армора за 300 сола и да имам място да ги withdrawna после :Д смсл тва са предложения които ще са полезни за хората според мен.. (иначе аз лично си го правя вмомента да работи и с custom jewels :D)