Urban Terror Forums: [Need help] B3 plugin - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Need help] B3 plugin Rate Topic: -----

No idea if what I did is good

#1 User is offline   GcBrothers Icon

  • Account: gcbrothers
  • Main tag: |LcD|
  • Country:
  • Joined: 22-August 12
  • Posts: 25

Posted 10 May 2014 - 12:56 PM

Hi all,

I started to work on a B3 plugin called "VIP", and as it's the first b3 i'm working on, i ask if someone used to plugin development can tell me if my code is (or seems ^^) working, or if I need to change everything :).

What I want it to do (and it should do) :

The VIP is a player who is protected by the server : when a player hits him, the server slaps the attacker.
2 ways to configure : random : the server chooses a player, and it changes when he dies or disconnects
admin chosen : admin indicates what player he wants to protect
(there is an "off" argument to turn off plugin)

(I don't know if it's the correct section, please move it if it's not)

Source code :

https://github.com/G...b/master/vip.py

Thanks !

This post has been edited by GcBrothers: 10 May 2014 - 12:58 PM


#2 User is offline   Mingus Icon

  • Account: mingus
  • Country:
  • Joined: 01-March 10
  • Posts: 16

Posted 10 May 2014 - 03:21 PM

I advise you http://www.bigbrothe...mmunity_support

#3 User is offline   Fenix Icon

  •   former FS member   
  • Account: fenix
  • Country:
  • Joined: 06-December 10
  • Posts: 425

Posted 10 May 2014 - 05:14 PM

View PostGcBrothers, on 10 May 2014 - 12:56 PM, said:

Hi all,

I started to work on a B3 plugin called "VIP", and as it's the first b3 i'm working on, i ask if someone used to plugin development can tell me if my code is (or seems ^^) working, or if I need to change everything :).

What I want it to do (and it should do) :

The VIP is a player who is protected by the server : when a player hits him, the server slaps the attacker.
2 ways to configure : random : the server chooses a player, and it changes when he dies or disconnects
admin chosen : admin indicates what player he wants to protect
(there is an "off" argument to turn off plugin)

(I don't know if it's the correct section, please move it if it's not)

Source code :

https://github.com/G...b/master/vip.py

Thanks !


There are a couple of errors in your plugin. As Mingus said it's better to ask on B3 forums

This post has been edited by Fenix: 10 May 2014 - 05:14 PM


#4 User is offline   GcBrothers Icon

  • Account: gcbrothers
  • Main tag: |LcD|
  • Country:
  • Joined: 22-August 12
  • Posts: 25

Posted 10 May 2014 - 05:26 PM

I just did it, thanks.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942