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)

Ra1n0 07.07.2007 09:29

Quote:

/rus/
все проверил персонаж и аккаунт в оффлайне,но заметил баг связанный с этим.когда я пробую купить соул шоты у того кто продает,выдает ту ошибку, но после того как я захожу на аакаунт и на чара продовца на нем также остаетсья 1500 соул шотов но деньги переводяться.ТОесть получаетсья остаеться и товар и и деньги за него прходят.Если знаете в чем проблема помогите.
i tested auction work perfect..
see pm..

Silentz0r 07.07.2007 10:03

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

Ra1n0 07.07.2007 10:11

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

Lucifer 07.07.2007 10:35

Quote:

Originally Posted by Lirix (Post 90979)
/rus/
Надо сделать список вещей, запрещенных для продажи. А то так сосками и другим расходным мериалом халява. Кончились соски, вышел из игры, зашел на аукцион купил, зашел в игру и дальше мобов бить.

/rus/
А не проще после удачной покупки слать пакет sendhome?
Quote:

Originally Posted by Silentz0r (Post 91000)
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

lin2db.dbo.block_flag & lin2db.dbo.block_flag2 - if any of them = 1 can't login ;)

Lirix 07.07.2007 10:48

I suggest to move all string in a separate file and add skins funtion

Lirix 07.07.2007 10:50

Quote:

Originally Posted by Lucifer (Post 91003)
/rus/
А не проще после удачной покупки слать пакет sendhome?

hmm. good idea. but need to make this function on an option.

m4rk 07.07.2007 11:01

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.

Ra1n0 07.07.2007 11:38

Quote:

/rus/
А не проще после удачной покупки слать пакет sendhome?
for what ?
Quote:

I suggest to move all string in a separate file and add skins funtion
in 2do

Lucifer 07.07.2007 12:02

Quote:

Originally Posted by Lirix (Post 90979)
/rus/
Надо сделать список вещей, запрещенных для продажи. А то так сосками и другим расходным мериалом халява. Кончились соски, вышел из игры, зашел на аукцион купил, зашел в игру и дальше мобов бить.

Ra1n0
for fix this problem, but not forbidding them to sell...

Lirix 07.07.2007 20:45

Quote:

Originally Posted by Ra1n0 (Post 91011)
for what ?

for option. :)

katso 11.07.2007 03:51

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?

Silentz0r 11.07.2007 04:05

Quote:

Originally Posted by katso (Post 91499)
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.

Ra1n0 11.07.2007 07:27

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 11.07.2007 08:09

and question..

Who know what means columns in user_item.(eroded,bless,ident,wished) maybe problem here?

khelben 11.07.2007 09:24

Additional Request:
Support Different Connection Addresses/DNS Names for all databases.

i.e. Auth(lin2db) = 10.0.0.1, World(lin2world) = 10.0.0.2, Auction(l2auction) = 10.0.x.x

katso 11.07.2007 17:26

Quote:

Originally Posted by Silentz0r (Post 91501)
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.

Ra1n0 11.07.2007 18:11

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);
} 


katso 13.07.2007 16:36

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]

Bash 15.07.2007 14:05

Quote:

Originally Posted by Ra1n0 (Post 91574)
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;
} 


paul 15.07.2007 22:41

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?

Kenjiro 16.07.2007 10:02

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 :).

paul 16.07.2007 10:30

Uh considering this script doesn't work because of the 997 errors, i don't worry but its kinda a stopper :p

radio 16.07.2007 11:43

Quote:

Originally Posted by khelben (Post 91524)
Additional Request:
Support Different Connection Addresses/DNS Names for all databases.
i.e. Auth(lin2db) = 10.0.0.1, World(lin2world) = 10.0.0.2, Auction(l2auction) = 10.0.0.3

YES !!!....

goodtimeshaxor 17.07.2007 03:12

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

katso 17.07.2007 03:15

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]


All times are GMT. The time now is 16:39.