lostmotel told me it would be useful for some arena servers when players are disabled from spading enemies through (one-block-thick) walls, so upon some testing i found out that it was not hard at all to create such a script preventing it
admins can toggle the ability on and off via the command /togglewallspading (yeah i know my choice of words is unique)
1.4.2014: uh seems like something was off before, should work fine now i hope
6.4: ok once again
[script] omgnospadingthroughwallsanymore
-
Dr.Morphman
Scripter
- Posts: 73
- Joined: Sun Feb 24, 2013 9:55 am
Attachments
omgnospadingthroughwallsanymore.py
this script is cursed i tell you, CURSED!
(1.19 KiB) Downloaded 827 times
this script is cursed i tell you, CURSED!
(1.19 KiB) Downloaded 827 times
Last edited by Dr.Morphman on Sun Apr 06, 2014 12:40 am, edited 3 times in total.
-
VladVP
Post Demon
- Posts: 1425
- Joined: Fri Dec 14, 2012 10:48 pm
Hhmmm... your code is a bit messy, but OMFG WHY HAVENT ANYONE ELSE THOUGHT OF THIS YET?!?!?!?
If I were even more cheeky, I would say that you've beat thepolm3. Scripter badge nominated.
If I were even more cheeky, I would say that you've beat thepolm3. Scripter badge nominated.
It's a Christmas miracle!
-
Kiwi
League Participant
- Posts: 752
- Joined: Wed Apr 10, 2013 12:53 pm
VladVP wrote:Hhmmm... your code is a bit messy, but OMFG WHY HAVENT ANYONE ELSE THOUGHT OF THIS YET?!?!?!?Aloha needs dis 1 dood
If I were even more cheeky, I would say that you've beat thepolm3. Scripter badge nominated.
-
thepolm3
Scripter
- Posts: 424
- Joined: Sat Feb 16, 2013 10:49 pm
I was never made aware of this bug :)
Nice job sorting it out
Nice job sorting it out
-
GamingFTW
3 Years of Ace of Spades
- Posts: 83
- Joined: Thu Nov 01, 2012 12:18 pm
-
*cries* ;) you have no idea how much this is amazing! If aloha puts this on their servers life will be amazing!

-
Kuma
Scripter
- Posts: 758
- Joined: Fri Mar 22, 2013 10:05 am
But I like spading through the wall and making people say Wall hax. 
BTW, Alias work like this
BTW, Alias work like this
Code: Select all
The order must be that, also you don't need name because "yourfunction" will act as a name (unless you have named your function something which is not acceptable as a command) So your command will be
@alias('yf')
@admin
def yourfunction(connection):
#blah blah
add(yourfunction)
Code: Select all
from commands import add, admin, alias
@alias('tws')
@admin
def togglewallspading(self):
if self.protocol.is_fluffy == True:
self.protocol.is_fluffy = False
self.protocol.send_chat(message_on)
return message_on
else:
self.protocol.is_fluffy = True
self.protocol.send_chat(message_off)
return message_off
add(togglewallspading)
-
bloxxer25052LP
Deuce - Posts: 12
- Joined: Sun Oct 13, 2013 12:46 pm
-
izzy
Head Admin / Co-founder
- Posts: 474
- Joined: Tue Oct 09, 2012 8:16 pm
Tested. Unfortunately, this script doesn't prevent spade damage through walls.
-
scrawl
Veterans
- Posts: 974
- Joined: Mon Dec 16, 2013 12:09 pm
izzy wrote:Tested. Unfortunately, this script doesn't prevent spade damage through walls.Oh, well that sucks. Someone should make a script like that then.
-
Dr.Morphman
Scripter
- Posts: 73
- Joined: Sun Feb 24, 2013 9:55 am
okay seems like something was realy off in this script (nice how long it took for anyone to notice haha),
i rewrote it and tested it thouroughly now (thx kiwi for helping out)
it should work perfectly fine now, just redownload the script
i rewrote it and tested it thouroughly now (thx kiwi for helping out)
it should work perfectly fine now, just redownload the script
-
Kiwi
League Participant
- Posts: 752
- Joined: Wed Apr 10, 2013 12:53 pm
-
izzy
Head Admin / Co-founder
- Posts: 474
- Joined: Tue Oct 09, 2012 8:16 pm
Now it prevents spading through walls, but it also prevents all bullet and nade damage in open areas. 
-
MrFritz
League Operator
- Posts: 484
- Joined: Sat Nov 10, 2012 1:57 am
Nice morph! hope the bugs in your script are fixed soon!
IGN:|SPQR|MrFritz/MistaFreetz
-
Dr.Morphman
Scripter
- Posts: 73
- Joined: Sun Feb 24, 2013 9:55 am
okay now that was embarassing, anyways it should be FIXED NOW!
(rage incoming if it still contains mistakes)
(rage incoming if it still contains mistakes)
-
izzy
Head Admin / Co-founder
- Posts: 474
- Joined: Tue Oct 09, 2012 8:16 pm
Who is online
Users browsing this forum: No registered users and 8 guests
