Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 07.07.2007, 09:29   #1
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default

Quote:
/rus/
все проверил персонаж и аккаунт в оффлайне,но заметил баг связанный с этим.когда я пробую купить соул шоты у того кто продает,выдает ту ошибку, но после того как я захожу на аакаунт и на чара продовца на нем также остаетсья 1500 соул шотов но деньги переводяться.ТОесть получаетсья остаеться и товар и и деньги за него прходят.Если знаете в чем проблема помогите.
i tested auction work perfect..
see pm..
Ra1n0 is offline  
Old 07.07.2007, 10:03   #2
Silentz0r
Архивный участник
 
Join Date: Apr 2005
Posts: 122
Default

New Idea:

would be good if you add a check ban, if ppl are banned trought l2db like "This account is banned from the Server" or something like that.

DB: lin2db, user_account pay_stat

1= can login
0= can't login
Silentz0r is offline  
Old 07.07.2007, 10:11   #3
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default

Quote:
New Idea:

would be good if you add a check ban, if ppl are banned trought l2db like "This account is banned from the Server" or something like that.
added in 2do
Ra1n0 is offline  
Old 07.07.2007, 10:48   #4
Lirix
Архивный участник
 
Join Date: Nov 2006
Posts: 203
Default

I suggest to move all string in a separate file and add skins funtion
Lirix is offline  
Old 07.07.2007, 11:01   #5
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

Quote:
lin2db.dbo.block_flag & lin2db.dbo.block_flag2 - if any of them = 1 can't login
lin2db.dbo.block_flag & lin2db.dbo.block_flag2 - if any of them >= 1 can't login

In fact, depending on wich flag it is set (2,4,6...) it shows different message when you try to login ingame.
m4rk is offline  
Old 07.07.2007, 11:38   #6
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default

Quote:
/rus/
А не проще после удачной покупки слать пакет sendhome?
for what ?
Quote:
I suggest to move all string in a separate file and add skins funtion
in 2do
Ra1n0 is offline  
Old 07.07.2007, 20:45   #7
Lirix
Архивный участник
 
Join Date: Nov 2006
Posts: 203
Default

Quote:
Originally Posted by Ra1n0 View Post
for what ?
for option.
Lirix is offline  
Old 11.07.2007, 03:51   #8
katso
Архивный участник
 
Join Date: Mar 2006
Posts: 70
Default

I have a problem, attempt to enter with my account and the name of my char, entrance the security code, and when I do click in login, reset all the fields and the security code changes. That I am making bad?
katso is offline  
Old 11.07.2007, 04:05   #9
Silentz0r
Архивный участник
 
Join Date: Apr 2005
Posts: 122
Default

Quote:
Originally Posted by katso View Post
I have a problem, attempt to enter with my account and the name of my char, entrance the security code, and when I do click in login, reset all the fields and the security code changes. That I am making bad?
I noticed a problem with capital letters password won't get log. Raino, u should check that.
Silentz0r is offline  
Old 11.07.2007, 17:26   #10
katso
Архивный участник
 
Join Date: Mar 2006
Posts: 70
Default

Quote:
Originally Posted by Silentz0r View Post
I noticed a problem with capital letters password won't get log. Raino, u should check that.
Yes, my password contains capital letters. It is a problem that cannot be entered with password of this type.
katso is offline  
Old 11.07.2007, 07:27   #11
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default

Quote:
/rus/
нашёл баг. выставляю на продажу short sword, он выставляется, но при этом остаётся в инвентаре. дюп? меч в руках у персонажа.
зы. не удалялся даже через админку. а в игре удалился спокойно.
кстати полностью перевёл на русский. кому надо - могу выложить.
/rus/
/eng/
small bug
/eng/
maybe problem in CacheD ?cached returns "1" mean all is good..if cached returns not "1" auction dont set item on sell.
Ra1n0 is offline  
Old 11.07.2007, 08:09   #12
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default

and question..

Who know what means columns in user_item.(eroded,bless,ident,wished) maybe problem here?
Ra1n0 is offline  
Old 11.07.2007, 18:11   #13
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default

some mistake for me..

find in func.php
PHP Code:
function safe($str) {
    
$banwords = array ("'", ",", ";", "-");
    if ( 
eregi ( "[a-zA-Z0-9]+", $str ) ) {
        
$str = str_replace ( $banwords, '', strtolower ( $str ) );
    } else {
        
$str = '';
    }
    return 
trim($str);
} 
replace to
PHP Code:
function safe($str) {
    
$banwords = array ("'", ",", ";", "-");
    if ( 
eregi ( "[a-zA-Z0-9]+", $str ) ) {
        
$str = str_replace ( $banwords, '', $str  );
    } else {
        
$str = '';
    }
    return 
trim($str);
} 
Ra1n0 is offline  
Old 15.07.2007, 14:05   #14
Bash
Архивный участник
 
Join Date: May 2007
Posts: 6
Default

Quote:
Originally Posted by Ra1n0 View Post
some mistake for me..

find in func.php
PHP Code:
function safe($str) {
    
$banwords = array ("'", ",", ";", "-");
    if ( 
eregi ( "[a-zA-Z0-9]+", $str ) ) {
        
$str = str_replace ( $banwords, '', strtolower ( $str ) );
    } else {
        
$str = '';
    }
    return 
trim($str);
} 
replace to
PHP Code:
function safe($str) {
    
$banwords = array ("'", ",", ";", "-");
    if ( 
eregi ( "[a-zA-Z0-9]+", $str ) ) {
        
$str = str_replace ( $banwords, '', $str  );
    } else {
        
$str = '';
    }
    return 
trim($str);
} 
I think so it will be more effective

PHP Code:
function safe($str)
{
        
$banwords = array ("'", ",", ";", "--","drop", "select", "update", "create", "delete", "insert");
        if (!
eregi("^[A-Z0-9._%@*-]+",$str))
                
$str = NULL;
        else
        {
                
$str2 = str_replace($banwords, '', strtolower($str));
                if(
strtolower($str2) != strtolower($str)) $str = NULL;
        }
    return 
$str;
} 
Bash is offline  
Old 15.07.2007, 22:41   #15
paul
Архивный участник
 
Join Date: Feb 2005
Posts: 390
Default

Okay this is probably something retarded i'm missing buuut

I get a cached: 997 error everytime someone tries to place an auction (or even when its trying to check to see if they are logged in but i removed that check hehe) Any ideas on what could be causing it?
paul is offline  
Old 17.07.2007, 03:15   #16
katso
Архивный участник
 
Join Date: Mar 2006
Posts: 70
Default

Whenever somebody puts an item on sale, it indicates me that the transaction was successful, but when seeing that items I have for sale, does not appear nothing and the items disappear of the inventory, as it can be the error?

[esp]
Cada vez que alguien pone a la venta un item, me indica que la transaccion fue exitosa, pero al ver que items tengo en venta, no aparece nada y los items desparecen del inventario, cual puede ser el error?
[/esp]
katso is offline  
Old 13.07.2007, 16:36   #17
katso
Архивный участник
 
Join Date: Mar 2006
Posts: 70
Default

I have the following problem, I install l2auction in my web server and I form so that it is connected to the IP of of the server of l2, enter the page, complete all the fields, and do click in login, and nothing happens, disappear the data that enters the fields of the page and the security code changes, without no message of error. Try with the modification for the capital letters and nothing happens, the problem persists, somebody can help me.
Greetings.

[esp]
Tengo el siguiente problema, instalo l2auction en mi web server y configuro para que se conecte al ip de del server de l2, ingreso a la pagina, completo todos los campos, y hago click en login, y no sucede nada, desaparecen los datos que ingrese en los campos de la pagina y se cambia el codigo de seguridad, sin ningun mensaje de error. Intente con la modificacion para las letras mayusculas y nada sucede, el problema persiste, alguien me puede dar una ayuda?.
Saludos.
[/esp]
katso is offline  
Old 16.07.2007, 10:02   #18
Kenjiro
Архивный участник
 
Join Date: Apr 2006
Posts: 120
Default

It's normal, every connection to cached admin port, make some and then disconnect results in 997 (sometimes other) error.
I suppose there is some function to disconnect, or some another way to 'nicely' close connection.

In other words, do not worry .
Kenjiro is offline  
Old 16.07.2007, 10:30   #19
paul
Архивный участник
 
Join Date: Feb 2005
Posts: 390
Default

Uh considering this script doesn't work because of the 997 errors, i don't worry but its kinda a stopper
paul is offline  
Old 17.07.2007, 03:12   #20
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default

When I saw this I was really excited because I was working on something like this but gave up but I'm wondering if it works and if it does what problems it has if any.

Thanks
goodtimeshaxor is offline  
Old 17.07.2007, 03:52   #21
Silentz0r
Архивный участник
 
Join Date: Apr 2005
Posts: 122
Default

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.
Silentz0r is offline  
Old 17.07.2007, 06:23   #22
paul
Архивный участник
 
Join Date: Feb 2005
Posts: 390
Default

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
paul is offline  
Old 17.07.2007, 06:41   #23
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default

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.
goodtimeshaxor is offline  
Old 17.07.2007, 14:47   #24
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default

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:

Warning: fwrite(): supplied argument is not a valid stream resource in C:\www\auction\func.php on line 275

Warning: fread(): supplied argument is not a valid stream resource in C:\www\auction\func.php on line 276

Warning: unpack() [function.unpack]: Type v: not enough input, need 2, have 0 in C:\www\auction\func.php on line 276

Warning: fread(): supplied argument is not a valid stream resource in C:\www\auction\func.php on line 276

Warning: unpack() [function.unpack]: Type c: not enough input, need 1, have 0 in C:\www\auction\func.php on line 276

Warning: fclose(): supplied argument is not a valid stream resource in C:\www\auction\func.php on line 278
Info
Okay the above error was caused by my firewall. Port 2012 (CacheD) wasn't allowing connections from the web server. I opened this port to the web server's IP and now these errors do not show; however, I am still not able to transfer the items in game.
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
goodtimeshaxor is offline  
Old 19.07.2007, 01:48   #25
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default

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
goodtimeshaxor is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 19:20.