DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • November 18, 2018, 01:47:37 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1] 2   Go Down
  Print  
Author Topic: Lockdown  (Read 5365 times)
0 Members and 1 Guest are viewing this topic.
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« on: February 13, 2005, 04:22:17 PM »

A sick and twisted Admin tool. Basically, you go into a person's account, set the lockdown/temp lockdown to yes, and the next time they are in the village, it will plop them into the shades, instantly killing them.

This will happen continuously, until it is taken off. Also has temp locking, which turns off at newday. Does get removed if player resurrects, that is intentional. They just had to waste 100 favor to come back ^_^

You can also use this just for fun... if you find that sort of thing fun. Tongue

http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=57
« Last Edit: July 07, 2006, 02:25:08 PM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Eth
Member
Codemeister
****
Offline Offline

Posts: 302


Shameless Drunk


View Profile
« Reply #1 on: February 13, 2005, 06:26:47 PM »

Now this is just evil....

I like it! Tongue
Logged

Purveyor of fine cloaks, gloves, boots, gerbils, and Siamese cats.
robert
Old Dog
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« Reply #2 on: February 13, 2005, 06:38:37 PM »

Cool - I like it!  Cool

Sichae, can you make another version for 097 users?

I would make this feature available to my moderators to disable troublesome players till I can deal with them.
« Last Edit: February 13, 2005, 06:41:11 PM by robert » Logged

Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #3 on: February 13, 2005, 06:54:25 PM »

Cool - I like it!  Cool

Sichae, can you make another version for 097 users?

I would make this feature available to my moderators to disable troublesome players till I can deal with them.

Ack, I don't know how to work backwards... terribly sorry. I know 9.7 to 9.8, but not the other way around.

Feel free to do it yourself, since you would know how to do it.
« Last Edit: February 13, 2005, 06:54:56 PM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Arune
Member
Mod God
*****
Offline Offline

Posts: 718


Arune Vai - khatfield


View Profile WWW
« Reply #4 on: February 13, 2005, 07:29:58 PM »

For 0.9.7 --
Code:
ALTER TABLE accounts ADD templock int(3) unsigned not null default '0';
ALTER TABLE accounts ADD count int(11) unsigned not null default '0';
ALTER TABLE accounts ADD lockdown int(3) unsigned not null default '0';

in village.php add:
Code:
if ($session['user']['lockdown']==1){
$session['user']['alive'] = false;
$session['user']['hitpoints']=0;
redirect("shades.php");
$session['user']['count']++;
}
in newday.php add:
Code:
if ($session['user']['templock'] == 1){
$session['user']['templock'] = 0;
}

in users.php add:

Code:
"lockdown"=>"User Locked Down?,bool|0",
"templock"=>"Is this user temporarily locked down?,bool|0",
"count"=>"This user has been locked down this many times,viewonly|0",
« Last Edit: February 13, 2005, 07:41:19 PM by Arune » Logged
Imperialx
Guest
« Reply #5 on: February 13, 2005, 07:31:03 PM »

You are one evil person Sich. May I ask what inspired you to do this? Cheesy
Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #6 on: February 13, 2005, 07:34:18 PM »

You are one evil person Sich. May I ask what inspired you to do this? Cheesy

Most of the things created, are because I get bored sometimes. As well: (Enters Story Mode)

Earlier today, a little brat came onto my server, and said, "die ppl." So, I asked him to kindly refrain from using chat speak, and he replied, "bite me, you can not tell me what to do." So, I stated that I can tell him what to do, and this is warning one. He replied, "still bite me" So, that was it, the final straw.
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #7 on: February 13, 2005, 07:35:46 PM »

in newday.php add:
Code:
if ($session['user']['templock'] == 1){
$session['user']['templock'] == 0;
}

That should actually be:
Code:
if ($session['user']['templock'] == 1){
$session['user']['templock'] = 0;
}

Should it not? Tongue
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Arune
Member
Mod God
*****
Offline Offline

Posts: 718


Arune Vai - khatfield


View Profile WWW
« Reply #8 on: February 13, 2005, 07:41:52 PM »

My bad.

Typing too fast Smiley
Logged
Imperialx
Guest
« Reply #9 on: February 13, 2005, 07:43:47 PM »

Most of the things created, are because I get bored sometimes. As well: (Enters Story Mode)

Earlier today, a little brat came onto my server, and said, "die ppl." So, I asked him to kindly refrain from using chat speak, and he replied, "bite me, you can not tell me what to do." So, I stated that I can tell him what to do, and this is warning one. He replied, "still bite me" So, that was it, the final straw.

That's nothing...I got this guy multi playing on my server. Tongue

*installs lockdown and uses it on him!* mwuahaah
Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #10 on: February 13, 2005, 07:45:17 PM »

That's nothing...I got this guy multi playing on my server. Tongue

*installs lockdown and uses it on him!* mwuahaah

You can also use this in conjuction with Sneaks Mute Mod, and make it so the user can not advance AND it can not speak anywhere. Tongue
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Imperialx
Guest
« Reply #11 on: February 13, 2005, 08:14:32 PM »

You can also use this in conjuction with Sneaks Mute Mod, and make it so the user can not advance AND it can not speak anywhere. Tongue


Now that...that is the purest form of evil I have ever seen.

Does it include YOM?
Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #12 on: February 13, 2005, 08:15:41 PM »

Now that...that is the purest form of evil I have ever seen.

Does it include YOM?

No, because YOM is a basic function of the game, and should be open at all times. Sorry.
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

lonnyl
Guest
« Reply #13 on: February 14, 2005, 09:19:51 AM »

If you want to lock yom and such check out the cell, plops them in the cell (no rights to play whatsoever) and also lock yom, petitions, and motd (they could post in the motd commentary otherwise).  
Logged
enderwiggin
Guest
« Reply #14 on: February 14, 2005, 03:46:49 PM »

Why not just ban them for a week, and email them?
Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
42 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search