Page 1 of 2

[script] omgnospadingthroughwallsanymore

Posted: Mon Oct 07, 2013 12:26 pm
by Dr.Morphman
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

Re: [script] omgnospadingthroughwallsanymore

Posted: Mon Oct 07, 2013 1:12 pm
by VladVP
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.

Re: [script] omgnospadingthroughwallsanymore

Posted: Tue Oct 08, 2013 3:20 pm
by Kiwi
VladVP wrote:
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.
Aloha needs dis 1 dood

Re: [script] omgnospadingthroughwallsanymore

Posted: Fri Oct 11, 2013 9:46 pm
by thepolm3
I was never made aware of this bug :)
Nice job sorting it out

Re: [script] omgnospadingthroughwallsanymore

Posted: Fri Oct 18, 2013 9:14 pm
by GamingFTW
*cries* ;) you have no idea how much this is amazing! If aloha puts this on their servers life will be amazing!

Re: [script] omgnospadingthroughwallsanymore

Posted: Sun Oct 20, 2013 5:41 am
by Kuma
But I like spading through the wall and making people say Wall hax. Blue_Normal

BTW, Alias work like this
Code: Select all
@alias('yf')
@admin
def yourfunction(connection):
    #blah blah
add(yourfunction)
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
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)       


Re: [script] omgnospadingthroughwallsanymore

Posted: Fri Nov 08, 2013 11:31 am
by bloxxer25052LP
Can i see screenshots?

Re: [script] omgnospadingthroughwallsanymore

Posted: Tue Mar 25, 2014 11:41 pm
by izzy
Tested. Unfortunately, this script doesn't prevent spade damage through walls.

Re: [script] omgnospadingthroughwallsanymore

Posted: Wed Mar 26, 2014 11:04 am
by scrawl
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.

Re: [script] omgnospadingthroughwallsanymore

Posted: Mon Mar 31, 2014 1:09 pm
by Dr.Morphman
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

Re: [script] omgnospadingthroughwallsanymore

Posted: Mon Mar 31, 2014 1:36 pm
by Kiwi
there a video in 1440p so you can see that it actually works: http://youtu.be/9X0QIwWdjS0

gj

Re: [script] omgnospadingthroughwallsanymore

Posted: Mon Mar 31, 2014 8:10 pm
by izzy
Now it prevents spading through walls, but it also prevents all bullet and nade damage in open areas. Blue_NotHappy

Re: [script] omgnospadingthroughwallsanymore

Posted: Mon Mar 31, 2014 8:29 pm
by MrFritz
Nice morph! hope the bugs in your script are fixed soon!

Re: [script] omgnospadingthroughwallsanymore

Posted: Tue Apr 01, 2014 12:40 pm
by Dr.Morphman
okay now that was embarassing, anyways it should be FIXED NOW!
(rage incoming if it still contains mistakes)

Re: [script] omgnospadingthroughwallsanymore

Posted: Wed Apr 02, 2014 8:43 am
by izzy
Works like a charm! Green_Wink1

Script validated/approved.