learn_more wrote:if you can't read the errors the server gives you then you shouldnt even try anymore.learn_more just compressed what I said in two lines.
if you can read em, you can make anything.
[GAME MODE]SMG Warz
learn_more wrote:if you can't read the errors the server gives you then you shouldnt even try anymore.umm...I dont have server
if you can read em, you can make anything.
ummm.....when I still have....I cant see cuz its closing too fast
http://kevinmagpayo.net.tf = My Webpage
You need the slowmotion skill to become a coder.
Guns, sights and sounds:
http://buildandshoot.com/viewtopic.php?f=76&t=10941
Translated OpenSpades [German]:
http://buildandshoot.com/viewtopic.php?f=57&t=10765
http://buildandshoot.com/viewtopic.php?f=76&t=10941
Translated OpenSpades [German]:
http://buildandshoot.com/viewtopic.php?f=57&t=10765
Bux Xray wrote:if you use pysnip and it is closing too fast, it means that you are directly running run.exe. You should use run.batlearn_more wrote:if you can't read the errors the server gives you then you shouldnt even try anymore.umm...I dont have server
if you can read em, you can make anything.
ummm.....when I still have....I cant see cuz its closing too fast
.
-
learn_more
Coder
- Posts: 891
- Joined: Sun Mar 24, 2013 9:59 pm
Bux Xray wrote:are you really this thick?learn_more wrote:if you can't read the errors the server gives you then you shouldnt even try anymore.umm...I dont have server
if you can read em, you can make anything.
ummm.....when I still have....I cant see cuz its closing too fast
open a command window, run it from there....
while ur at it, load the module common sense 1.0
Or just slowmotion ;). (your body has to level up for it)
Guns, sights and sounds:
http://buildandshoot.com/viewtopic.php?f=76&t=10941
Translated OpenSpades [German]:
http://buildandshoot.com/viewtopic.php?f=57&t=10765
http://buildandshoot.com/viewtopic.php?f=76&t=10941
Translated OpenSpades [German]:
http://buildandshoot.com/viewtopic.php?f=57&t=10765
I think we can work here a bit:
See ya Guys
Bori
Code: Select all
Fixed:#SMGwar by BOYuXRAY
#Version 3
#fixed Version
from commands import add, alias, admin, name, move
from twisted.internet.task import LoopingCall
SMGWAR_ENABLED_MESSAGE = "SMGwar enabled!players must use smg now!"
SMGWAR_DISABLED_MESSAGE = "SMGwar disabled!Players can use any weapons now!"
NO_SMGWAR = "No,SMGwar enabled"
SMG_ONLY = "you cant use shotgun,rifle use SMG!"
SMGWAR = true
@alias('SMGwar')
@admin
def smgwarmode(connection)
global SMGWAR, strip
protocol = connection.protocol
SMGWAR = not SMGWAR
if SMGWAR:
protocol.send_chat(PEACE_ENABLED_MESSAGE)
else
protocol.send_chat(PEACE_DISABLED_MESSAGE)
@alias('fly')
def smgwar_fly(connection):
protocol = connection.protocol
if SMGWAR:
if connection in protocol.players:
player = connection
player.fly = not player.fly
message = 'now flying like a bird' if player.fly else 'no longer flying'
player.send_chat("You're {0}".format(message))
else:
connection.send_chat(NO_SMGWAR)
def smgwarhelp(connection):
protocol = connection.protocol
help = ["-" * 50,"Some of the commands are: /f","in smg war,you can only use smg,"good luck!", "-" * 50]
if connection in protocol.players:
for line in help:
connection.send_chat(line)
add(smgwarmode)
add(smgwarhelp)
add(smgwar_fly)
#Sorry dude but this part above is totally copied from peace.py by Kuma
#anyway when you are new at scripting then don't start with commands then
def apply_script(protocol, connection, config):
class SMGwarConnection(connection):
def spawn(self):
self.weapon = SMG_WEAPON
return connection.spawn(self)
def on_weapon_set(self, weapon):
if weapon in [RIFLE_WEAPON, SHOTGUN_WEAPON]:
self.send_chat(SMG_ONLY)
self.set_weapon(SMG_WEAPON)
return False
def on_block_destroy(self, x, y, z, mode):
if player.weapon == SMG_WEAPON:
return False
return connection.on_block_destroy(self, x, y, z, mode)
#Just added so noone can grief with Smg (I hope it is right, cuz I am a noob too :D)
class SMGwarConnection(connection):
smgwar_fly = true
#delete this shit
#2 connections lawl
class SMGwarProtocol(protocol):
game_mode = CTF_MODE#won't work delete it
return SMGwarProtocol, SMGwarConnection
Code: Select all
Maybe I made some mistakes, sorry for that#SMGwar by BOYuXRAY
#Version 3
#fixed Version
from pyspades.weapon import WEAPONS#import for using weapons
NO_SMGWAR = "No,SMGwar enabled"
def apply_script(protocol, connection, config):
class SMGwarConnection(connection):
def spawn(self):
self.weapon = SMG_WEAPON
return connection.spawn(self)
def on_weapon_set(self, weapon):
if weapon in [RIFLE_WEAPON, SHOTGUN_WEAPON]:
self.send_chat(SMG_ONLY)
self.set_weapon(SMG_WEAPON)
return connection.on_weapon_set(self, weapon)
return protocol, SMGwarConnection
See ya Guys
Bori
Bori wrote: Maybe I made some mistakes, sorry for that>fixes a script
>claims that there might be mistakes
Can't you guys test this stuff before releasing them?
>smgwarz pls noone needs the smg
0.75 Supporter
iceball best anyway
LINESPQR HAHAHAHA. SPQR AND LINES SERIOUSLY MERGED. HAHAHAHAHAHAHA #worstclan2014 #swmasterrace http://pastebin.com/CUakrvue
Who is online
Users browsing this forum: No registered users and 17 guests