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'
Erm, It's better to use the block flag cells...
better? as far as i know they both do the same thing, blocks the user :P
How come one is better?
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 ^.^
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
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.
can u tell me what features a php website (for admin) would need
except banning ppl etc
i guess i can make up 1
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)
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 ?
You can't unless you use L2Admin or something else that can directly influence CacheD.
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.. :|
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.
Yes it is a interesting clue, my subclass system works that way (activate subclass from webpage - not optimal but best i could do ;))