![]() |
guys.. i think your doing something wrong :/ i got this working 100% functional in less than 5min and aswell i get the 997 error, but it works anyways.
|
I finally dug into it a bit more. It's taking the item from the inventory of the person however it's not putting it into the l2auction db
|
I'm getting a similar error except it doesn't do anything at all.
It doesn't take the item from the inventory. Whenever a user sets up an auction it says it was successful and it also appears in the buy list but it doesn't disapear from the online inventory or the character's in-game inventory. EDIT: Does this only work after restart? I'm assuming that it works right away cause you have to be logged out. |
Polite Bump:
Also, I noticed that if I use this auction system on the server machines www all the images are displayed correctly and it seems like it works (all except for the actual ingame exchange, that doesn't work still) but when I use the exact same files on a remote web server the images don't show and I get an error that says I must be logged out of my character to buy/sell items. (Which I am) (Update: I got the images to display correct. I had the folder named /auction/ instead of /l2auction/. A simple edit of the files fixed the problem) Code:
Any ideas? (Update 2:) I get the following error in CacheD.exe when trying to use the L2Auction system: admin server closed(XX.XX.XXX.XXX) error: 258 |
I'm still not able to get the auction to work. Specifically, the items that are put up for auction are not taken out of the player's inventory (on auction page and in game). When someone buys the item in auction page the item is NOT transfered in game.
Details: The auction system is on my web server, separate from the game server. The database is named "l2auction". The URL is /auction instead of /l2auction Image sources for items are changed to /auction/img. CacheD port allows the IP of web server to connect. Getting an error: admin server closed(XX.XX.XXX.XXX) error: 258 |
Some bugs.
1. If item's name have apostrof ( for example Recipe: Zubei's Boots ) , when char try to sale it, item take from inventory but not show in item on sell list, because here sql query error... For fix this I changed function get_item_name Code:
function get_item_name($id) {2,5 and then click sell button , I see 25. If count of item have . ( for example 2.5 ) , item take from inventory but not show in item to sell list, here sql error.... I fix this so: Code:
function safe_int($str) {Small bug, in log write not count of item, that sell char, but count of item that he has in inventory.. Fix : Code:
$sale_count=safe_int($_POST['count']);Fix : func.php , function is_logged : Code:
function is_logged($name,$pass,$char){Code:
5927 Book: Basics of Giants Magic Chapter 1 etc_paper_blue_i00,1 1p.s. sorry for bad english |
thx to all for finding bugs ^^
but i'am on vacation right now i will fix this coming soon... |
first post updated...new ver. 0.8
looks like stable release.. ok,i am still on vacation..but mail me if u find critical bug.. |
I have added new function - history of sales and purchases. Thus has collided with that that in a field ‘count’ in table ‘logs’ save the rest, instead of quantity of the sold things. If you wish to write down the quantity of the sold things replace
It Code:
makelog(2,get_char_id($_SESSION['char']),$data_sale['char_id'],$data_sale['item_id'], $data_sale['count'],$data_sale['enchant'],$data_sale['db_id']);Code:
makelog(2,get_char_id($_SESSION['char']),$data_sale['char_id'],$data_sale['item_id'],safe_int($_POST['count']),$data_sale['enchant'],$data_sale['db_id']);//rus Я добавил новую функцию - историю продаж и покупок, доступную для просмотра пользовтелям. При этом столкнулся с тем, что в поле 'count' в таблице 'logs' записывается остаток, а не количество проданных вещей. Если вы хотите записать не остаток, а количество проданных вещей, то замените Это Code:
makelog(2,get_char_id($_SESSION['char']),$data_sale['char_id'],$data_sale['item_id'], $data_sale['count'],$data_sale['enchant'],$data_sale['db_id']);Code:
makelog(2,get_char_id($_SESSION['char']),$data_sale['char_id'],$data_sale['item_id'],safe_int($_POST['count']),$data_sale['enchant'],$data_sale['db_id']); |
Thanks, its amazing share ! But having problem... When i try login, it show message "Sorry, your account is banned..."... Where is problem ?
[rus]Вкусна, пасиба. Одна проблема - кем не захожу, пишет Sorry, your account is banned... В чем я протупил ?[/rus] |
Blah. I'm still having problems with this.
|
elven could you upload your edited version please.
Thank you |
[Share] L2Auction
I'm still not able to get the auction to work. Specifically, the items that are put up for auction are not taken out of the player's inventory (on auction page and in game). When someone buys the item in auction page the item is NOT transfered in game.
Details: The auction system is on my web server, separate from the game server. The database is named "l2auction". The URL is /auction instead of /l2auction Image sources for items are changed to /auction/img. CacheD port allows the IP of web server to connect. Getting an error: admin server closed(XX.XX.XXX.XXX) error: 258 Beside me such situation: items exposed on sale, but its do not disappear from char inventory. I can buy item, but it do not disappear from char inventory. Adena is not added, not deleted. Only on all this gives the error 997. I Think the problem in CacheD. In l2z I can't del/add items, and CacheD show this error. P.S. I'm used CacheD from Ra1n0 and so strange that does not work.:confused: //sorry for my bad english ) Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 23 September 2007, 11:28. Открыть источник. |
[Share] L2Auction
Beside me such situation: items exposed on sale, but its do not disappear from char inventory. I can buy item, but it do not disappear from char inventory. Adena is not added, not deleted. Only on all this gives the error 997. I Think the problem in CacheD. In l2z I can't del/add items, and CacheD show this error.
P.S. I'm used CacheD from Ra1n0 and so strange that does not work. update cached scripts. And i stop(dont have time) the project at some time,who wants to complete it-always please) Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 24 September 2007, 12:36. Открыть источник. |
[Share] L2Auction
up? :p
Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 10 October 2007, 01:46. Открыть источник. |
[Share] L2Auction
i cant get this working... there is a problem while connecting to databases. i can not connect to any database, however i can login so i assume it does connect to database at some point, but after login - load of errors about failed connection... All databases are set to use windows auth so i put windows administrator account login data into config.php. I think problem may be related to this but im stuck... Ideas?
Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 17 October 2007, 17:57. Открыть источник. |
[Share] L2Auction
reconfig databases to use WIN and standart login
Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 17 October 2007, 18:12. Открыть источник. |
[Share] L2Auction
this are old share!
Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 18 October 2007, 01:02. Открыть источник. |
[Share] L2Auction
this are old share!
and so...? Still worth it. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 18 October 2007, 01:09. Открыть источник. |
[Share] L2Auction
reconfig databases to use WIN and standart login
and how to do that? im not familar with mssql Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 18 October 2007, 10:23. Открыть источник. |
[Share] L2Auction
it's not THAT old
and even if it is, it doesn't make it worthless. You're old, are you worthless? ;p Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 18 October 2007, 12:20. Открыть источник. |
[Share] L2Auction
Is it working propertly on Interlude retail platform ?
Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 18 October 2007, 23:22. Открыть источник. |
[Share] L2Auction
its for c4...but if you create items.txt for interlude u can use it
PS Interlude retail :D:D Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 19 October 2007, 09:58. Открыть источник. |
[Share] L2Auction
Nice share, I like the idea.
Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 20 October 2007, 07:36. Открыть источник. |
[Share] L2Auction
thats very very nice
tnx Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 20 October 2007, 16:34. Открыть источник. |
| All times are GMT. The time now is 16:42. |