Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 27.10.2006, 07:09   #1
Kenjiro
Архивный участник
 
Join Date: Apr 2006
Posts: 120
Default

Make sure You have working itemdata.txt in your CachedScript directory. My additem2 php code:

$cached_op = pack ( "cVVVVVVVVVV", 55, $char_id, $warehouse, $item_type, $amount, $enchant, $eroded, $bless, $ident, $wished, 1 );
$cached_op .= ansi2unicode ( "yourwebuserorwhatever" );
$ret_string = l2_cached_push ( pack ( "s", strlen ( $cached_op ) + 2 ) . $cached_op );

It works.
Kenjiro is offline  
Old 27.10.2006, 14:49   #2
sct
Архивный участник
 
Join Date: Nov 2005
Posts: 70
Default

Quote:
Originally Posted by Kenjiro View Post
Make sure You have working itemdata.txt in your CachedScript directory. My additem2 php code:

$cached_op = pack ( "cVVVVVVVVVV", 55, $char_id, $warehouse, $item_type, $amount, $enchant, $eroded, $bless, $ident, $wished, 1 );
$cached_op .= ansi2unicode ( "yourwebuserorwhatever" );
$ret_string = l2_cached_push ( pack ( "s", strlen ( $cached_op ) + 2 ) . $cached_op );

It works.
Yeah I am pretty confident there is nothing wrong with my code. It has to be something on the cache side but I cant figure out what. Cache still reports no error... so I dont know what to do xD
sct 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 20:09.