HomeCalendarFAQSearchMemberlistRegisterLog in

Share | 
 

 Happy new year! And my little present for Apple :)

View previous topic View next topic Go down 
AuthorMessage
Laggi

avatar

Posts : 273
Join date : 2011-08-20
Age : 30
Location : Japan

PostSubject: Happy new year! And my little present for Apple :)   Sat Dec 31, 2011 5:41 am

Hi guys! Have fun this new years night and next week! And more more fragging in the coming year! Smile

I have a little present for you Smile As you know weapon control plugin for b3 doesnt provide control for knife. This morning i decided to do a little plugin for it.

AND HERE IT IS!

My simple plugin for b3 called NoKnife (Made special for SR8 server Smile)

Some info:

How it is working: Hit with knife/psg -> force to spec + bigtext Player knife/psg is NOT allowed + warning. 3 warnings = kick

UPDATE #1
Version: 0.2
Changelog was gone to description.

BIG UPDATE #2
Currrent version: 0.3
Changelog:
- warnings work! (3 warning = kick)
- built-in psg support
- settings in config file (to disable/enable psg/knife edit noknife.xml)
- custom warning message (you can edit it in noknife.xml config file)

Future plans:
-ban for 3 days if after kick player using knife again*
-ingame commands to enable/disable psg/knife *

* hard to do, maybe later, need to learn a lot to do it

Install:
Download .zip file. >>HERE<<
Unzip to b3 folder (or manualy put .py file in /b3/extplugins and .xml file in /b3/extplugins/conf)
Edit noknife.xml by yourself. Some help inside written
Update b3.xml config file with new line (after lines with plugins):
Code:
<plugin name="noknife" config="@b3/extplugins/conf/noknife.xml"/>

And thats all!

Tested, working! Have fun!

PS: post any bugs in this topic xDDD


Last edited by Laggi on Mon Jan 02, 2012 1:22 am; edited 5 times in total
Back to top Go down
View user profile http://laggi.tk
KAS
Admin
avatar

Posts : 505
Join date : 2011-08-20
Location : Germany/Bosnia

PostSubject: Re: Happy new year! And my little present for Apple :)   Sat Dec 31, 2011 6:48 am

Laggi is da MAN!!!!!!

Very useful for Sr8 Only Server!!!!

And when the warning system is working…..then its awesome!!!
Back to top Go down
View user profile http://apple-urt.tk
SmaLL
[Apple]
avatar

Posts : 339
Join date : 2011-09-30
Location : Spain

PostSubject: Re: Happy new year! And my little present for Apple :)   Sat Dec 31, 2011 1:41 pm

Yehhh Wink beter warning Wink
Back to top Go down
View user profile http://apple-urt.net
CiRiX
[Apple]
avatar

Posts : 7
Join date : 2011-10-30
Age : 21

PostSubject: Re: Happy new year! And my little present for Apple :)   Sun Jan 01, 2012 1:46 am

Coooool! Very Happy
Back to top Go down
View user profile
Laggi

avatar

Posts : 273
Join date : 2011-08-20
Age : 30
Location : Japan

PostSubject: Re: Happy new year! And my little present for Apple :)   Sun Jan 01, 2012 4:06 am

UPDATE! LOOK THE FIRST POST
Back to top Go down
View user profile http://laggi.tk
Marzipan

avatar

Posts : 10
Join date : 2011-09-09

PostSubject: Re: Happy new year! And my little present for Apple :)   Sun Jan 01, 2012 5:42 am

they grow up so fast!!! Smile

n1 job dude!
Back to top Go down
View user profile
2BaDSoSaD
[Apple]
avatar

Posts : 329
Join date : 2011-08-23
Location : Canada

PostSubject: Re: Happy new year! And my little present for Apple :)   Sun Jan 01, 2012 4:41 pm

cool... btw kas i have rigths on none of your servers ....
Back to top Go down
View user profile
Shadow
[Apple]
avatar

Posts : 375
Join date : 2011-08-20
Age : 22
Location : Germany

PostSubject: Re: Happy new year! And my little present for Apple :)   Sun Jan 01, 2012 11:17 pm

nice laggi Very Happy
Back to top Go down
View user profile
Laggi

avatar

Posts : 273
Join date : 2011-08-20
Age : 30
Location : Japan

PostSubject: Re: Happy new year! And my little present for Apple :)   Sun Jan 01, 2012 11:45 pm

Shit, every day its easier and easier understand python errors...

BIG UPDATE #2 AND FOR 100% U WILL LIKE IT!

First post edit
Back to top Go down
View user profile http://laggi.tk
2BaDSoSaD
[Apple]
avatar

Posts : 329
Join date : 2011-08-23
Location : Canada

PostSubject: Re: Happy new year! And my little present for Apple :)   Mon Jan 02, 2012 4:14 am

Woow Laggi ur russian Oo?
Back to top Go down
View user profile
Laggi

avatar

Posts : 273
Join date : 2011-08-20
Age : 30
Location : Japan

PostSubject: Re: Happy new year! And my little present for Apple :)   Mon Jan 02, 2012 4:23 am

hi dude, welcome to apple forums!
Back to top Go down
View user profile http://laggi.tk
SmaLL
[Apple]
avatar

Posts : 339
Join date : 2011-09-30
Location : Spain

PostSubject: Re: Happy new year! And my little present for Apple :)   Mon Jan 02, 2012 12:39 pm

Wtf?
Back to top Go down
View user profile http://apple-urt.net
2BaDSoSaD
[Apple]
avatar

Posts : 329
Join date : 2011-08-23
Location : Canada

PostSubject: Re: Happy new year! And my little present for Apple :)   Mon Jan 02, 2012 1:01 pm

Laggi wrote:
hi dude, welcome to apple forums!
i just never noticed before.
Back to top Go down
View user profile
Laggi

avatar

Posts : 273
Join date : 2011-08-20
Age : 30
Location : Japan

PostSubject: Re: Happy new year! And my little present for Apple :)   Wed Jan 11, 2012 7:08 am

Hehe i found more smarter way of usage knife by adding little code in server source Razz
Back to top Go down
View user profile http://laggi.tk
KAS
Admin
avatar

Posts : 505
Join date : 2011-08-20
Location : Germany/Bosnia

PostSubject: Re: Happy new year! And my little present for Apple :)   Wed Jan 11, 2012 9:48 pm

How does it work...?
Back to top Go down
View user profile http://apple-urt.tk
Laggi

avatar

Posts : 273
Join date : 2011-08-20
Age : 30
Location : Japan

PostSubject: Re: Happy new year! And my little present for Apple :)   Wed Jan 11, 2012 11:06 pm

I tested it already, it doesnt work :/
Back to top Go down
View user profile http://laggi.tk
KAS
Admin
avatar

Posts : 505
Join date : 2011-08-20
Location : Germany/Bosnia

PostSubject: Re: Happy new year! And my little present for Apple :)   Wed Jan 11, 2012 11:29 pm

cyclops Razz
Back to top Go down
View user profile http://apple-urt.tk
Laggi

avatar

Posts : 273
Join date : 2011-08-20
Age : 30
Location : Japan

PostSubject: Re: Happy new year! And my little present for Apple :)   Wed Jan 11, 2012 11:41 pm

I did it the same like disallow dropping weapon/items, which is working fine, but noknife isnt working and thats strange

And i foung bug in save/load/goto - it saves your speed. So if you falling down and load in air, you will do lemming after teleport. I am lazy to fix it Razz
Back to top Go down
View user profile http://laggi.tk
KAS
Admin
avatar

Posts : 505
Join date : 2011-08-20
Location : Germany/Bosnia

PostSubject: Re: Happy new year! And my little present for Apple :)   Thu Jan 12, 2012 12:23 am

You cant save your position if you are moving, falling or climbing!!!
Back to top Go down
View user profile http://apple-urt.tk
Laggi

avatar

Posts : 273
Join date : 2011-08-20
Age : 30
Location : Japan

PostSubject: Re: Happy new year! And my little present for Apple :)   Thu Jan 12, 2012 4:06 am

ur right, but u dont understand me. Its loading with the same speed as before loading.. and probably goto too..

UPD: fixed with simple line for goto and load! Gonna add some more stuff


Last edited by Laggi on Thu Jan 12, 2012 5:05 am; edited 1 time in total
Back to top Go down
View user profile http://laggi.tk
Laggi

avatar

Posts : 273
Join date : 2011-08-20
Age : 30
Location : Japan

PostSubject: Re: Happy new year! And my little present for Apple :)   Thu Jan 12, 2012 4:06 am

mumble EARLIER
Back to top Go down
View user profile http://laggi.tk
Sponsored content




PostSubject: Re: Happy new year! And my little present for Apple :)   

Back to top Go down
 
Happy new year! And my little present for Apple :)
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Happy New Year everyone.
» Happy New Year V. 4710, 4.709, or 4.649
» Merry Cristmas and a happy new year
» Season’s Greetings and Happy New Year members!
» CBS-Team wishes a happy new year!

Permissions in this forum:You cannot reply to topics in this forum
[Apple] Forum :: [Apple] Public :: Apple Members & Servers-
Jump to: