Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [Share] L2Auction (https://postpacific.mmorpg-game.online/showthread.php?t=7964)

l2serverfull 03.07.2007 23:59

no work in mssql 2000 ?

Ra1n0 04.07.2007 00:12

work..but need to create install.sql for 2000 server..

http://rapidshare.com/files/40880639...l2000.sql.html

Silentz0r 04.07.2007 04:39

Quote:

Originally Posted by Ra1n0 (Post 90425)
no way...i all day think of how to create auction system..
moveitem cant be used

if u need keep uid for viewing game logs..i create auction logs..like who sell,who buy,date-time,uid,etc

Perfect idea, i was thinking in that too. if you can do it would be awsome. Thank you for the share.

Zil 04.07.2007 12:13

Hmm, maybe need function to stop selling item? Cause if u set item on auction then u can't back this item in inventory if them not selled :)

sorry for bad english :p

khelben 04.07.2007 14:21

One thing i noticed is in Item.txt, the comma delimiter causes problems.

Some items have a comma in their name, causing the bulk insert to proceed to the next field

Book: Basics of Giants Magic, Chapter 5

error: Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 5927, column 5 (can_sale).

I'm changing my item.txt to be tab delimited. (Works better for excel exporting anyway if i add my own items)

So far other than that small issue seems to be working great.

Logs would be a welcome addition, as well as the ability to cancel a sale, or for a sale to 'time out' after x days

Ra1n0 04.07.2007 14:24

Quote:

Cause if u set item on auction then u can't back this item in inventory if them not selled
added in 2do
Quote:

I'm changing my item.txt to be tab delimited.
recreate this file in next version

khelben 04.07.2007 16:24

Here, hope this saves some time.

Tab Delimited SQL 2005 Installer and Tab delimited items.txt

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
l2auction_sql_items_tab_delimited.rar — 51905 байт

Ra1n0 04.07.2007 18:42

good,thx....

Ra1n0 04.07.2007 23:39

first post updated..new ver x.x

Zil 05.07.2007 05:42

Very good stuff, I like it :)
Hmm, new Idea :
Maybe drop items by groups? as weapons, armors, etcitems and etc?:)

jekin 05.07.2007 08:41

Very nice tool, thanks.
Yet another idea:
Currently, you can deny certain char_id's from participating in auction. I suppose, it could be a good idea to allow only certain char_id's to participate.

olmer2002 05.07.2007 09:16

Whether it is vulnerable for sql injection? =) I think yes, there are no filters on inquiries

Ra1n0 05.07.2007 09:23

Quote:

there are no filters on inquiries
download and see code

/rus/ Вот нахера что то говорить когда ты даже не потрудился скачать и посмотреть? /rus/

Ra1n0 05.07.2007 09:24

Quote:

Maybe drop items by groups? as weapons, armors, etcitems and etc?
maybe in next version

Ra1n0 05.07.2007 09:52

Quote:

[rus]
Можно сделать так, что бы при добавлении вещи на продажу, отсылался аннонс типа: На аукцион добавлено то то за столько то.
[/rus]
i dont think is that good idea..if auction use 1k users...1 sec=1 announce ?))

olmer2002 05.07.2007 10:43

ok. im understand u, good luck, see u later =)

DukeGr 05.07.2007 11:19

someone should warn people not to use this on live servers,no protection whatsoever.

Ra1n0 05.07.2007 11:29

Quote:

no protection whatsoever
no protection ? wtf u download and check code?

smeli 05.07.2007 13:21

>no protection ? wtf u download and check code?

calm down, look at this men's avatar - he just smoked too much marihuana

supersword 05.07.2007 15:50

I don't have use for this, but it is a great bit of work.

I'm being nosey and having a read through the code now however. Well done mate.

didu 06.07.2007 20:31

Hi

I have a problem with the code, i don't see the picture:

http://www.ultimegames.com/l2auction/

Ra1n0 06.07.2007 20:37

enable gd in php.ini

;extension=php_gd2.dll

remove comment

extension=php_gd2.dll

didu 06.07.2007 21:41

thx that work :)

Ra1n0 07.07.2007 06:52

post here in english plz..
Quote:

/rus/
Надо сделать список вещей, запрещенных для продажи. А то так сосками и другим расходным мериалом халява. Кончились соски, вышел из игры, зашел на аукцион купил, зашел в игру и дальше мобов бить.
column can_sale in l2auction..items, if =0 then cant sale, if =1 then can sale

Ra1n0 07.07.2007 07:51

nothing to worry,allright

auction connect to cached ( admin server create socket )
auction check character (offline or online) (check character:char_id)
auction packet manupulation :D
auction disconnect from cached (admin server closed)


All times are GMT. The time now is 15:52.