Log in

View Full Version : Page for ban acc


Galadr0n
21.05.2005, 10:36
some one can make a page in php for ban acc, look information char and other utilities. ir is this create already, can post here.

sry for mi very bad english

rodobeban
21.05.2005, 11:06
in lin2db
update user_account set pay_stat=0 where account_name='accname'

Shawnmb
21.05.2005, 11:35
Erm, It's better to use the block flag cells...

archy
21.05.2005, 12:07
better? as far as i know they both do the same thing, blocks the user :P
How come one is better?

Shawnmb
21.05.2005, 12:49
The pay one gives you an error message relating to your subscription not being payed. Although, thinking about it, that could be modified to a custom error message...Hmmm ^.^

archy
21.05.2005, 12:57
So actually, that might just be the best ;) hehe.. gotta love it

rodobeban
22.05.2005, 02:57
yes cause u can chancge the msg ;) u learn fast :D

Shawnmb
22.05.2005, 03:13
Meh didn't think about it really when posting, my bad ^.^ ::heart::

Galadr0n
22.05.2005, 11:28
i need script for php page ^^ some one have? =P

rodobeban
22.05.2005, 12:42
make ur own baby.
i think the scripts are not shareables to ppl that dont contribute at all- sorry.

demon
22.05.2005, 13:35
can u tell me what features a php website (for admin) would need

except banning ppl etc
i guess i can make up 1

Shawnmb
22.05.2005, 13:53
I've got a user account management panel in the works ;) I'll probably post it when done. For now Id just recommend using SQL Query Analyzer ... http://katsuchronicles.org/dev/Basic_SQL/

Galadr0n
23.05.2005, 01:10
i have al script for SQL but i need script in php for admin

astranger
23.05.2005, 11:10
yeah the problem is that even if you ban an account from the sql you must restart the server in order to take effect... Haven't seen a working enforce values yet (except a chinese php site but was encrypted)

BiGBoY
23.05.2005, 13:38
yeah the problem is that even if you ban an account from the sql you must restart the server in order to take effect

astranger u r wrong about restarting server to accept block account change.
All u need to do is kick user out of game and she/he is unable to login back once u have set flag to blocked.

astranger
25.05.2005, 01:36
yeah the problem is that even if you ban an account from the sql you must restart the server in order to take effect

astranger u r wrong about restarting server to accept block account change.
All u need to do is kick user out of game and she/he is unable to login back once u have set flag to blocked.

ok what about adding adena to his character? how can you make that without server restart ?

Shawnmb
25.05.2005, 05:25
You can't unless you use L2Admin or something else that can directly influence CacheD.

archy
25.05.2005, 09:50
Shawnmb well u dont need l2admin for that, you can just open a socket to Cached and start writing commands into it ;)
(not as simple as it seems)

But i have a "php based personal l2admin-alike admin" for my server... maybe i should copyright that name PBPL2AAA, sounds kinda wicked.. ie it could be a top secret navy project.. :|

BiGBoY
25.05.2005, 14:52
you can just open a socket to Cached and start writing commands into it ;)
(not as simple as it seems)

Interesting clue indeed. I am also on developing personal php l2a like page. Gotta go play with ur hint. Thx.

archy
26.05.2005, 06:30
Yes it is a interesting clue, my subclass system works that way (activate subclass from webpage - not optimal but best i could do ;))