Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 03.07.2007, 08:01   #1
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default [Share] L2Auction

hi pplz..I liked auction in WoW and I have decided to make something similar in Lineage 2

[L2Auction 0.8 beta]
------INSTALL-------
Extract archive to www folder

move items.txt to drive C:

execute (install2005.sql script for 2005 server or install2000.sql for 2000 server) in sql manager

change settings in config.php

use
-----CHANGES-------
[0.8]
+added banned account checking
+added different connection for database's
+fixed more bugs..looks like stable release
+fixed items.txt again :]
[0.7]
+added install script for 2000 sql server
+recreate items.txt with tab delimited
+added char_id banning in auction
+added item back
+added buy/sell/itemback logs

[0.6.1]
+set cant sale pets
+Set, seller can only sell items in main inventory

-----FUNCTIONS-----
for banning char set banned=1 for needed char_id in l2auction..acc

column log_id (if =1 its set sell item,if =2 its buy item,if =3 its item back)
-----CREDITS-------
© Code and idea by Ra1n0 [report bugs and new ideas to [email protected]]
DONT USE IT IF U CANT
thx to hel(L2admin),Doreamon\Phantom2005(Lineage Control Panel), Zahar(L2Z)
i take some code from his project's

----------------------
code need more of optimization and clean...but its beta)in next versions i do this

my 2do for next versions:
--Add administration panel..
--Code optimization and clean..
--New ideas ?


users 2do download,install,test,post comment

sсreenshots:
http://img253.imageshack.us/img253/7269/scr2yb6.th.jpg
http://img266.imageshack.us/img266/8318/scr3wh8.th.jpg
http://img412.imageshack.us/img412/9162/scr4wd0.th.jpg
http://img266.imageshack.us/img266/5205/scr5vz0.th.jpg
http://img165.imageshack.us/img165/2083/scr6rb8.th.jpg
http://img165.imageshack.us/img165/1473/scrbc3.th.jpg

pass:_www.postpacific.com_

[ download ]
Ra1n0 is offline  
Old 03.07.2007, 11:41   #2
jencxxl
Архивный участник
 
Join Date: Apr 2005
Posts: 122
Default

interesting idea, not going to use it but thank you for the share.
jencxxl is offline  
Old 03.07.2007, 11:55   #3
Rich
Архивный участник
 
Join Date: Jun 2007
Posts: 22
Default

Nice share, I like the idea. Thanks
Rich is offline  
Old 03.07.2007, 11:58   #4
Tilluss
Архивный участник
 
Join Date: Jun 2007
Posts: 37
Default

nice, this was something we was going to look in to ourselves, but great work!

Can you show a screen shot of it in action at all?
Tilluss is offline  
Old 03.07.2007, 11:59   #5
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

I've always wanted to do something like this but never had the time!!

Excellent!

I'll be checking this out later!
khelben is offline  
Old 03.07.2007, 12:08   #6
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

download free... and antileecher pass
HF is offline  
Old 03.07.2007, 12:53   #7
emanuel
Архивный участник
 
Join Date: May 2007
Posts: 86
Default

screenshots, info, scan ? and i will download
emanuel is offline  
Old 03.07.2007, 14:59   #8
Guaresnay
Архивный участник
 
Join Date: Oct 2005
Posts: 113
Default

c'mon don't be so lazy, it can take you like 5min to dl it and test it by your self.
Thanks for the share!, i could use some of ur ideas in my proyects :P
Guaresnay is offline  
Old 03.07.2007, 15:11   #9
PyroMaker
Архивный участник
 
Join Date: Nov 2006
Posts: 277
Default

I haven't had the time to test it yet, but as soon as I do, I'll check it out. I downloaded it already, and can't wait to test this.

I won't say "good job" yet because I didn't see it, but I'll update this post soon.

Eitherway, thanks for sharing.
PyroMaker is offline  
Old 03.07.2007, 15:40   #10
Yui-Ikari
Архивный участник
 
Join Date: Jan 2006
Posts: 58
Default

Thanks for the sharing, i'll check it out tonite. Although, hope my shitty pc doesnt run out of resources xD
Yui-Ikari is offline  
Old 03.07.2007, 15:52   #11
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

We began to make something like this a while ago but never got to do it in the end, thanks I'll give it a go

Just noticed one thing
You use delitem and then additem no?...
That will mess up the pet items (the new item just won't work and will be deleted on next restart)
m4rk is offline  
Old 03.07.2007, 15:52   #12
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default

updated first post with screenshot's
Ra1n0 is offline  
Old 03.07.2007, 15:59   #13
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

Sorry for repeating myself (edited my post but ra1n0 replied)

Just noticed one thing
You use delitem and then additem no?...
That will mess up the pet items (the new item just won't work and will be deleted on next restart)
m4rk is offline  
Old 03.07.2007, 16:11   #14
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default

Quote:
You use delitem and then additem no?...
That will mess up the pet items (the new item just won't work and will be deleted on next restart)
yes i use del and add item,but i forgot about pets...need set pets id can_sale=0 in l2auction..items

Code:
update l2auction..items set can_sale=0 where item_id=4424
update l2auction..items set can_sale=0 where item_id=4423
update l2auction..items set can_sale=0 where item_id=4422
update l2auction..items set can_sale=0 where item_id=3500
update l2auction..items set can_sale=0 where item_id=3501
update l2auction..items set can_sale=0 where item_id=3502
update l2auction..items set can_sale=0 where item_id=2375
update l2auction..items set can_sale=0 where item_id=6648
update l2auction..items set can_sale=0 where item_id=6649
update l2auction..items set can_sale=0 where item_id=6650
Ra1n0 is offline  
Old 03.07.2007, 16:21   #15
Squid
Архивный участник
 
Join Date: May 2005
Posts: 123
Default

I have this errors:

Code:
Notice: Undefined offset: 10 in z:\home\localhost\www\l2auction\func.php on line 172

Notice: Undefined offset: 11 in z:\home\localhost\www\l2auction\func.php on line 172

Notice: Undefined offset: 12 in z:\home\localhost\www\l2auction\func.php on line 172

Notice: Undefined offset: 13 in z:\home\localhost\www\l2auction\func.php on line 176

Notice: Undefined offset: 14 in z:\home\localhost\www\l2auction\func.php on line 176

Notice: Undefined offset: 15 in z:\home\localhost\www\l2auction\func.php on line 176

Notice: Undefined offset: 16 in z:\home\localhost\www\l2auction\func.php on line 176

Notice: Undefined offset: 10 in z:\home\localhost\www\l2auction\func.php on line 205

Notice: Undefined offset: 11 in z:\home\localhost\www\l2auction\func.php on line 205

Notice: Undefined offset: 12 in z:\home\localhost\www\l2auction\func.php on line 205

Notice: Undefined offset: 13 in z:\home\localhost\www\l2auction\func.php on line 205

Notice: Undefined offset: 14 in z:\home\localhost\www\l2auction\func.php on line 205

Notice: Undefined offset: 15 in z:\home\localhost\www\l2auction\func.php on line 205

Notice: Undefined offset: 16 in z:\home\localhost\www\l2auction\func.php on line 205
Squid is offline  
Old 03.07.2007, 16:26   #16
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default

php version ?
and its just notice

remove comment on error_reporting(0); from index.php



PHP Code:
function encrypt($str) { 
.......
line 205
PHP Code:
$dst[$i] = $dst[$i] ^ $dst[$i-1] ^ $key[$i]; 
Ra1n0 is offline  
Old 03.07.2007, 17:41   #17
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default

first post updated, new ver 0.x.x
Ra1n0 is offline  
Old 03.07.2007, 18:50   #18
DHX
Архивный участник
 
Join Date: May 2007
Posts: 5
Default

I've always wanted to make an auction house for L2. I never liked the idea of having to keep your L2 client logged on overnight so I'll check this out.
DHX is offline  
Old 03.07.2007, 21:59   #19
Drag
Архивный участник
 
Join Date: Mar 2006
Posts: 241
Default

Lawl cool xD Thanks
Drag is offline  
Old 03.07.2007, 22:00   #20
Silentz0r
Архивный участник
 
Join Date: Apr 2005
Posts: 122
Default

Just tested, had a error in the sql query not to worry, but everything works like a charm. very good work. i just have one question.

I actually keep tracks of the items with item's unique id, there is a way to use another function to keep the same ID of the weapon to sell?
Silentz0r is offline  
Old 03.07.2007, 22:17   #21
_Untitled
Архивный участник
 
Join Date: Sep 2006
Posts: 122
Default

Quote:
Originally Posted by Silentz0r View Post
Just tested, had a error in the sql query not to worry, but everything works like a charm. very good work. i just have one question.

I actually keep tracks of the items with item's unique id, there is a way to use another function to keep the same ID of the weapon to sell?
Thers no way to keep same uID .
_Untitled is offline  
Old 03.07.2007, 22:32   #22
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default

Quote:
had a error in the sql query
please post this query
Quote:
I actually keep tracks of the items with item's unique id, there is a way to use another function to keep the same ID of the weapon to sell?
Another function ?
Ra1n0 is offline  
Old 03.07.2007, 23:13   #23
Silentz0r
Архивный участник
 
Join Date: Apr 2005
Posts: 122
Default

Quote:
Originally Posted by Ra1n0 View Post
please post this query

Another function ?

don't worry about the query was a little problem with my mssql.

i meant another function to use it in your l2auction, like

#30 MoveItemPacket("ddddd")
#40 MoveItem2Packet("ddddS")

not sure if that functions even work,i just checked this post:
https://postpacific.loc-online.com/f...31&postcount=6

i just wanted to keep the uniques ID's, that's all if isnt possible well what the heck! xD. but overall this share rocks 10/10.
Silentz0r is offline  
Old 03.07.2007, 23:35   #24
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by Silentz0r View Post
don't worry about the query was a little problem with my mssql.

i meant another function to use it in your l2auction, like

#30 MoveItemPacket("ddddd")
#40 MoveItem2Packet("ddddS")

not sure if that functions even work,i just checked this post:
https://postpacific.loc-online.com/f...31&postcount=6

i just wanted to keep the uniques ID's, that's all if isnt possible well what the heck! xD. but overall this share rocks 10/10.
Im not sure, i dont enough time to check this auction system right now but at first see and thinking about how to do... MoveItemPacket cant be used, the item need to be deleted in the same moment you add it to the auction... its a really good idea :wink: (im smashing my head into the wall because i dont have that idea by my own before :banghead: ), right now in out of my country on vacations, but the same day i return i will check it, looks very good.
FidoW is offline  
Old 03.07.2007, 23:47   #25
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default

Quote:
i meant another function to use it in your l2auction, like

#30 MoveItemPacket("ddddd")
#40 MoveItem2Packet("ddddS")
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
Ra1n0 is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:31.