Forum: Lineage 2 Server Modifications ONLY!
06.04.2007, 14:05
|
|
Replies: 15
Views: 16
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
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
|
Forum: Lineage 2 Server Modifications ONLY!
10.01.2007, 12:18
|
|
Replies: 48
Views: 49
|
Forum: Lineage 2 Server Modifications ONLY!
03.01.2007, 07:21
|
|
Replies: 1
Views: 2
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
|
Forum: Lineage 2 Server Modifications ONLY!
05.12.2006, 11:05
|
|
Replies: 29
Views: 30
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
|
Forum: Lineage 2 Server Modifications ONLY!
27.11.2006, 09:52
|
|
Replies: 26
Views: 27
|
Forum: Lineage 2 Server Modifications ONLY!
27.11.2006, 07:12
|
|
Replies: 26
Views: 27
|
Forum: Lineage 2 Server Modifications ONLY!
20.11.2006, 07:11
|
|
Replies: 119
Views: 120
|
Forum: Lineage 2 Server Modifications ONLY!
18.11.2006, 16:50
|
|
Replies: 119
Views: 120
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
|
Forum: Lineage 2 Server Modifications ONLY!
17.11.2006, 12:32
|
|
Replies: 9
Views: 10
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
|
Forum: Lineage 2 Server Modifications ONLY!
03.11.2006, 08:43
|
|
Replies: 26
Views: 27
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
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
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
|
Forum: Lineage 2 General
30.10.2006, 08:05
|
|
Replies: 124
Views: 125
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
|
Forum: Tutorials & Guides
12.10.2006, 04:49
|
|
Replies: 28
Views: 29
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
Views: 512
@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
|
Forum: Lineage 2 Server Modifications ONLY!
18.09.2006, 06:36
|
|
Replies: 199
Views: 200
|