Post Pacific  

Go Back   Post Pacific > Search Forums
FAQ Community Calendar Today's Posts Search

Notices

Showing results 76 to 100 of 120
Search took 0.07 seconds; generated 340 minute(s) ago.
Search: Posts Made By: Kenjiro
Forum: Lineage 2 Server Modifications ONLY! 06.04.2007, 14:05
Replies: 15
Views: 16
Posted By Kenjiro
Bear in mind that addslashes do not work...

Bear in mind that addslashes do not work correctly for mssql databases, you should do
str_replace ( "'", "''", $_GET [ "var" ] );
instead.

P.S. *_pconnect is not 'passive', but 'persistent' - it...
Forum: Lineage 2 Server Modifications ONLY! 06.04.2007, 06:22
Replies: 17
Views: 18
Posted By Kenjiro
It should - from l2server: ...

It should - from l2server:
CSkillEffect_p_abnormal_remove_by_hit::Pump
CSkillEffect_p_abnormal_remove_by_dmg::Pump
Anybody know how to use it?
Forum: Tutorials & Guides 09.03.2007, 07:43
Replies: 125
Views: 126
Posted By Kenjiro
You must increase flagtime, so more players can...

You must increase flagtime, so more players can get his event drop - last event items.
Forum: Lineage 2 Server Modifications ONLY! 10.01.2007, 12:18
Replies: 48
Views: 49
Posted By Kenjiro
Thanks a lot! Great work!

Thanks a lot! Great work!
Forum: Lineage 2 Server Modifications ONLY! 03.01.2007, 07:21
Replies: 1
Views: 2
Posted By Kenjiro
Please use english and correct sub-forum. Field...

Please use english and correct sub-forum. Field 'to_end_time' is not duration time, but skill using end time in format of seconds since Epoch. Check this:
select dateadd( [s], to_end_time, convert(...
Forum: Lineage 2 Server Modifications ONLY! 29.12.2006, 09:08
Replies: 35
Views: 36
Posted By Kenjiro
It should not rely on functions using regional...

It should not rely on functions using regional settings (most Delphi ones) or should replace ',' to '.' before string-to-float conversion.

P.S. We (in Poland) use , as decimal point.
Forum: Lineage 2 Server Modifications ONLY! 05.12.2006, 11:05
Replies: 29
Views: 30
Posted By Kenjiro
From this thread:...

From this thread: https://postpacific.mmorpg-game.online/forums/showthread.php?p=64631#post64631
Kudos to KciNicK for this ^^.
Forum: Lineage 2 Server Modifications ONLY! 05.12.2006, 09:32
Replies: 29
Views: 30
Posted By Kenjiro
function l2_modcharpledge ( $char_id, $new_title...

function l2_modcharpledge ( $char_id, $new_title ) {
// 17 - ModCharPledge, char_id, new_title
$cached_op = pack ( "cV", 17, $char_id );
$cached_op .= ansi2unicode ( $new_title );
...
Forum: Lineage 2 Server Modifications ONLY! 27.11.2006, 09:52
Replies: 26
Views: 27
Posted By Kenjiro
Nope, colors are set when cached loads character,...

Nope, colors are set when cached loads character, and do not reload after that - maybe there is cached function which reload char stats from db?

P.S. There is //col_setcolor l2server function, but...
Forum: Lineage 2 Server Modifications ONLY! 27.11.2006, 07:12
Replies: 26
Views: 27
Posted By Kenjiro
Only way i know is table update (SQL).

Only way i know is table update (SQL).
Forum: Lineage 2 Server Modifications ONLY! 20.11.2006, 07:11
Replies: 119
Views: 120
Posted By Kenjiro
I do not know, but without this it won't work.

I do not know, but without this it won't work.
Forum: Lineage 2 Server Modifications ONLY! 18.11.2006, 16:50
Replies: 119
Views: 120
Posted By Kenjiro
I use DelItem2: function l2_delitem2 (...

I use DelItem2:
function l2_delitem2 ( $item_id, $amount ) {
// 54 - DelItem2, char_id, item_id
$cached_op = pack ( "cVVV", 54, $item_id, $amount, 1 );
$cached_op .= ansi2unicode (...
Forum: Lineage 2 Server Modifications ONLY! 17.11.2006, 12:49
Replies: 29
Views: 30
Posted By Kenjiro
From php.ini: Code <?php is only 100%...

From php.ini:


Code <?php is only 100% working with PHP (from version 3).
Forum: Lineage 2 Server Modifications ONLY! 17.11.2006, 12:32
Replies: 9
Views: 10
Posted By Kenjiro
SELECT TOP 1 world_user FROM user_count WHERE...

SELECT TOP 1 world_user
FROM user_count
WHERE server_id = 1
ORDER BY record_time DESC

is way faster, than double select. Technically speaking query ends as soon as sorting is finished within...
Forum: Lineage 2 General 07.11.2006, 23:00
Replies: 124
Views: 125
Posted By Kenjiro
Has someone know about PledgeDeletePacket, how it...

Has someone know about PledgeDeletePacket, how it works? I use this:

function l2_pledgedelete ( $pledge_id ) {
// 38 - PledgeDelete, pledge_id
$cached_op = pack ( "cV", 38, $pledge_id );
...
Forum: Lineage 2 Server Modifications ONLY! 03.11.2006, 08:43
Replies: 26
Views: 27
Posted By Kenjiro
You could use that to save value to database: ...

You could use that to save value to database:

$color_rgb= ( hexdec ( substr ( $_GET [ "name_color" ], 0, 2 ) ) + ( hexdec ( substr ( $_GET [ "name_color" ], 2, 2 ) ) << 8 ) + ( hexdec ( substr (...
Forum: Lineage 2 Server Modifications ONLY! 03.11.2006, 08:10
Replies: 119
Views: 120
Posted By Kenjiro
Nope, try&errors method ;) From php manual: ...

Nope, try&errors method ;)

From php manual:
i signed integer (machine dependent size and byte order)
V unsigned long (always 32 bit, little endian byte order)

Option 'i' could give 64bit...
Forum: Lineage 2 Server Modifications ONLY! 02.11.2006, 07:14
Replies: 119
Views: 120
Posted By Kenjiro
Working delete2 function: function...

Working delete2 function:


function l2_delitem2 ( $item_id, $amount ) {
// 54 - DelItem2, item_id, amount
$cached_op = pack ( "cVVV", 54, $item_id, $amount, 1 );
$cached_op .=...
Forum: Lineage 2 General 31.10.2006, 10:30
Replies: 124
Views: 125
Posted By Kenjiro
$cached_ip = "127.0.0.1"; $cached_port = 2012; ...

$cached_ip = "127.0.0.1";
$cached_port = 2012;

function ansi2unicode ( $ansi_str ) {
$unicode_str = "";
for ( $i = 0; $i < strlen ( $ansi_str ); $i++ )
$unicode_str .= $ansi_str [ $i ]...
Forum: Lineage 2 General 30.10.2006, 08:05
Replies: 124
Views: 125
Posted By Kenjiro
Do not tell lies, it works as hell: function...

Do not tell lies, it works as hell:
function l2_additem2 ( $char_id, $warehouse, $item_type, $amount, $enchant, $eroded, $bless, $ident, $wished ) {
// 55 - AddItem2, char_id, warehouse,...
Forum: Lineage 2 General 27.10.2006, 07:09
Replies: 124
Views: 125
Posted By Kenjiro
Make sure You have working itemdata.txt in your...

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,...
Forum: Tutorials & Guides 12.10.2006, 04:49
Replies: 28
Views: 29
Posted By Kenjiro
Do not change lin2world database recovery model...

Do not change lin2world database recovery model if you want to have auto-recoverable database on the server crash (power/whatever). Simple recovery model works if you have 100% working server without...
Forum: Lineage 2 Help 11.10.2006, 05:57
Replies: 511
≈ AmpeDx64
Views: 512
Posted By Kenjiro
@Zuko: Learn to read: ...

@Zuko: Learn to read:
https://postpacific.mmorpg-game.online/forums/showpost.php?p=69790&postcount=314
Forum: Lineage 2 General 22.09.2006, 06:20
Replies: 124
Views: 125
Posted By Kenjiro
Any lin2error.txt? Or anything in '/err' log?

Any lin2error.txt? Or anything in '/err' log?
Forum: Lineage 2 Server Modifications ONLY! 18.09.2006, 06:36
Replies: 199
Views: 200
Posted By Kenjiro
You do not have to backup to shrink database log....

You do not have to backup to shrink database log. Just set recovery model to 'Simple' instead of 'Full' and shrink.
More here: http://www.mssqltips.com/tip.asp?tip=950
Showing results 76 to 100 of 120

 
Forum Jump

All times are GMT. The time now is 21:05.