Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 11.11.2006, 08:30   #1
Drag
Архивный участник
 
Join Date: Mar 2006
Posts: 241
Default L2 Admin Script Manager

Since Hel created L2 Admin i decided to make something easier to use... You can add/remove scripts in admin folder (will be added to menu by itself too).
Dont remove files started by 'x_'.

This time script is protected by 2 passwords (good for users with dynamic IP like me)... It might be brute-forced too so keep script address only for staff (add img code to repeat by your own if need... or i will do it later xD)

You can also copy&paste function from Hel's L2 Admin and make to it form - very easy to do just check functions which are ready in admin folder.

Test it please Im still learning PHP so all annoying comments are welcome :P

Later I will add more scripts... Best regards.

ps. Dont forget to modify config.php
ps2. Thanks to all people which are listed on first page on script :P

// EDIT //

Here we go... Just cuz i was bored...


Вложения из исходного сообщения (сами файлы в копии отсутствуют):
l2admin.rar — 28619 байт
Drag is offline  
Old 11.11.2006, 16:08   #2
Xoleum
Архивный участник
 
Join Date: Jan 2006
Posts: 125
Default

I'm pretty much a n00b to php and stuff but i'll see if i can port the functions from hel script to this one. =)
Xoleum is offline  
Old 11.11.2006, 16:26   #3
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

Seems very interest.
Design is more better, than my.
Thanks.
Don't think, if it's easiest script. :\
hel is offline  
Old 11.11.2006, 17:06   #4
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

very interest job man
kepler001 is offline  
Old 11.11.2006, 20:03   #5
Drag
Архивный участник
 
Join Date: Mar 2006
Posts: 241
Default

hel... its easier to manage scripts... just work at form, function and paste file.
Drag is offline  
Old 11.11.2006, 20:05   #6
AHTUKULLEP
Архивный участник
 
Join Date: Feb 2006
Posts: 57
Default

xm, cool tnx, but the dont work, only start page, no scripts. WHO??
AHTUKULLEP is offline  
Old 14.11.2006, 22:43   #7
twzenit
Архивный участник
 
Join Date: Nov 2006
Posts: 15
Default

It shows only a white page...
twzenit is offline  
Old 15.11.2006, 15:17   #8
Drag
Архивный участник
 
Join Date: Mar 2006
Posts: 241
Default

It works. I use it. So You did something wrong.
Drag is offline  
Old 15.11.2006, 20:02   #9
empathon
Архивный участник
 
Join Date: Feb 2006
Posts: 136
Default

gratz Drag gj
empathon is offline  
Old 16.11.2006, 04:35   #10
Ranma12
Архивный участник
 
Join Date: Nov 2006
Posts: 7
Default

Quote:
Originally Posted by twzenit View Post
It shows only a white page...
Change first line <? to <?php in all php files. At least here is it working now At least main page, not functions
Ranma12 is offline  
Old 16.11.2006, 05:42   #11
Drag
Архивный участник
 
Join Date: Mar 2006
Posts: 241
Default

Maybe u dont have globals enabled... For me it works perfect :]
Drag is offline  
Old 16.11.2006, 05:43   #12
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

<?php is for PHP 4 and before, if I remember properly. <? should work fine on all newer versions.

I guess <?php is better coding style, but it should still work on PHP 5 afaik.
mcrabben7 is offline  
Old 16.11.2006, 08:09   #13
Charis
Архивный участник
 
Join Date: Feb 2006
Posts: 39
Default

Some one knows what means error 029 from Cashed when moving char?

Thanks.
Charis is offline  
Old 17.11.2006, 10:46   #14
KDG
Архивный участник
 
Join Date: Nov 2006
Posts: 1
Default

thnx alot.
KDG is offline  
Old 17.11.2006, 12:49   #15
Kenjiro
Архивный участник
 
Join Date: Apr 2006
Posts: 120
Default

Quote:
Originally Posted by mcrabben7 View Post
<?php is for PHP 4 and before, if I remember properly. <? should work fine on all newer versions.

I guess <?php is better coding style, but it should still work on PHP 5 afaik.
From php.ini:
Quote:
; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
; be supported on the target server. For portable, redistributable code,
; be sure not to use short tags.
short_open_tag = On
Code <?php is only 100% working with PHP (from version 3).
Kenjiro is offline  
Old 17.11.2006, 13:07   #16
Drag
Архивный участник
 
Join Date: Mar 2006
Posts: 241
Default

well... i have php 4 and works...
Drag is offline  
Old 05.12.2006, 02:23   #17
DevilsAssociate
Архивный участник
 
Join Date: Jul 2006
Posts: 81
Default

i got easyphp 1.8
== EasyPHP 1.8
== www.easyphp.org
== apache 1.3.33 - php 4.3.10 - mysql 4.1.9 - phpmyadmin 2.6.1

and when i click the lick to the function at the bottom nothing happens.
does it not work with easyphp?
DevilsAssociate is offline  
Old 05.12.2006, 05:48   #18
RumanticK
Архивный участник
 
Join Date: Feb 2006
Posts: 66
Default

Is there any cashed-packet for changing the nickname? Seems to be not convinient changing it via DB...

Trying to complete your work. Nice idea =)
RumanticK is offline  
Old 05.12.2006, 09:32   #19
Kenjiro
Архивный участник
 
Join Date: Apr 2006
Posts: 120
Default

Code:
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 );
  $cached_op .= ansi2unicode ( "webadmin" );
  $ret_string = l2_cached_push ( pack ( "s", strlen ( $cached_op ) + 2 ) . $cached_op );
  return ( $ret_string );
}
Kenjiro is offline  
Old 05.12.2006, 09:41   #20
RumanticK
Архивный участник
 
Join Date: Feb 2006
Posts: 66
Default

Where are you getting that packages? =)
RumanticK is offline  
Old 05.12.2006, 11:05   #21
Kenjiro
Архивный участник
 
Join Date: Apr 2006
Posts: 120
Default

From this thread: https://postpacific.loc-online.com/f...4631#post64631
Kudos to KciNicK for this ^^.
Kenjiro is offline  
Old 16.12.2006, 12:55   #22
SkyFabrik
Архивный участник
 
Join Date: Dec 2006
Posts: 3
Default

:thumbleft: good and perfect working job. Dont stop !
SkyFabrik is offline  
Old 16.12.2006, 19:28   #23
Drag
Архивный участник
 
Join Date: Mar 2006
Posts: 241
Default

updated
Drag is offline  
Old 16.12.2006, 20:52   #24
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

Quote:
Originally Posted by Ranma12 View Post
Change first line <? to <?php in all php files. At least here is it working now At least main page, not functions
zzz

open php.ini and
short_open_tag = Off
make that shit ON..noobs
demon is offline  
Old 17.12.2006, 05:21   #25
koala
Архивный участник
 
Join Date: Nov 2005
Posts: 11
Default

It seems to be a very nice script, but I still cant use it, Im having some problems to connect to cached... its not connecting =/

I tryed port 2012 (as you set)
tryed 2006 (used by l2server)

none worked

I'm using php4 over IIS (win 2003)


and a little Suggestion:
its better to use isset($_POST['name']) than $_POST['name']<>''

you r using $_POST['name']<>'' and it gives Warnings

obs2: added $notconnected = 'Cant connect to cached.'; on config.php (used by hel function)
koala is offline  
 


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 21:02.