Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: PowerAdminUrt 1.4.0+ for Urban Terror!  (Read 56512 times)

Offline Fragmeister

  • Full Member
  • ***
  • Posts: 78
    • Serveur FRAG on Urban terror
Re: PowerAdminUrt 1.4.0+ for Urban Terror!
« Reply #105 on: April 07, 2013, 04:46:27 PM »
I've applied your hack for for spectator check and now it work !! Thanks  ;)
About the !bal bug this is half solved, now they are more able to !bal but i've set 1min between two balancing but it's more than 1min, regular as to wait more than 2minutes most of time. I don't know why...  ???
Website of my urt server : www.frag-urt.com/

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: PowerAdminUrt 1.4.0+ for Urban Terror!
« Reply #106 on: April 07, 2013, 07:40:50 PM »
in your config file, see :

Code: [Select]
[skillbalancer]
# minimum time in minutes between !bal or !sk for regular players, does not apply to mods or admins
min_bal_interval: 2

which means that regular players having access to the !bal command cannot use the !bal command more often that once every 2 minutes

Offline Fragmeister

  • Full Member
  • ***
  • Posts: 78
    • Serveur FRAG on Urban terror
Re: PowerAdminUrt 1.4.0+ for Urban Terror!
« Reply #107 on: April 07, 2013, 09:49:31 PM »
Yes i know for this i've already put 1min, but they can't balance after 1min... they have to wait more !   :-X
Website of my urt server : www.frag-urt.com/

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: PowerAdminUrt 1.4.0+ for Urban Terror!
« Reply #108 on: April 07, 2013, 10:17:25 PM »
you could get rid of the
Code: python [Select]
    and self.ignoreCheck()  
in the
Code: python [Select]
def cmd_pabalance
function

Offline Fragmeister

  • Full Member
  • ***
  • Posts: 78
    • Serveur FRAG on Urban terror
Re: PowerAdminUrt 1.4.0+ for Urban Terror!
« Reply #109 on: April 08, 2013, 07:18:52 PM »
It is what i was saying in my last post;)
But it didn't work, the time to wait between bal is longer than set in min_bal_interval...
Website of my urt server : www.frag-urt.com/

Offline LouK

  • Full Member
  • ***
  • Posts: 119
    • The Sni:{Per}:Jum Clan
Re: PowerAdminUrt 1.4.0+ for Urban Terror!
« Reply #110 on: April 17, 2013, 04:46:43 PM »
Hi, I'm just wondering if rotation manager reads the g_gravity cvar, I have a lowgrav server with a plugin to make auto gravity 100 when switching maps but I would like to have different gravities for each map, is this possible?

thanks :)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: PowerAdminUrt 1.4.0+ for Urban Terror!
« Reply #111 on: April 17, 2013, 05:23:34 PM »
The rotation manager will set the g_mapcycle cvar with the wanted map cycle file depending on the number of players connected to the server.

So the Urban Terror server will read you map cycle file in the same way it does when there is no B3

Offline LouK

  • Full Member
  • ***
  • Posts: 119
    • The Sni:{Per}:Jum Clan
Re: PowerAdminUrt 1.4.0+ for Urban Terror!
« Reply #112 on: April 17, 2013, 05:30:59 PM »
I'm a bit confused, I have been using this plugin with the configmanager at the same time, my medium and large mapcycles are called b3_cycle_medium and b3_cycle_large and timelimits/gametypes were working. Do you mean that if I turn off the configmanager plugin, poweradmin can "read" cvars(like g_gravity)?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: PowerAdminUrt 1.4.0+ for Urban Terror!
« Reply #113 on: April 17, 2013, 05:40:58 PM »
I'm not familiar with the configmanager plugin.

All I can say is that the poweradminurt plugin does not even read the map cycle files. It just set the g_mapcycle accordingly. It is the game server that read the cvar that might be in the map cycle files.

Offline LouK

  • Full Member
  • ***
  • Posts: 119
    • The Sni:{Per}:Jum Clan
Re: PowerAdminUrt 1.4.0+ for Urban Terror!
« Reply #114 on: April 17, 2013, 06:12:08 PM »
Okay, thanks

Offline seanbarr1988

  • Full Member
  • ***
  • Posts: 82
    • NitroServers
Re: PowerAdminUrt 1.4.0+ for Urban Terror!
« Reply #115 on: September 09, 2013, 03:36:05 AM »
you need to have "__init__.py", "iourt41.py" and "iourt42.py" in the extplugins/poweradminurt/ folder, not in the extplugins folder.

so I have done this and followed the read me and setup poweradminurt the way its supposed to according to documentation but it does not get loaded and i get no errors either, what am i doing wrong?

perhaps the documentation needs buffed because i have done everything to the letter as far as i can see but its not loading  ???
« Last Edit: September 09, 2013, 04:20:26 AM by seanbarr1988 »

Offline seanbarr1988

  • Full Member
  • ***
  • Posts: 82
    • NitroServers
Re: PowerAdminUrt 1.4.0+ for Urban Terror!
« Reply #116 on: September 10, 2013, 06:38:12 PM »
I figured out the problem (or atleast a solution to get poweradminurt to load)

When setting up a new B3 1.9.1 I used the urt "template" in the templates folder for my B3.xml file. in the template at the bottom plaugins are seperated between <plugins>  and  <extplugins>

well anythign after <extplugins> doesn't seem to get read so I simply moved all the extplugins to the <plugins> section and pointed to the correct config area still.

Now the bot loads up - tries to find poweradminurt and warns that it cannot then searchs the extplugin direct where it finds it and loads it just fine. So the problem seems to be the config file somehow is not getting parsed after <extplugins>

Offline ph03n1x

  • Sr. Member
  • ****
  • Posts: 296
    • Lovers and Haters Urban Terror
Re: PowerAdminUrt 1.4.0+ for Urban Terror!
« Reply #117 on: October 25, 2013, 09:06:27 AM »
Hi all,
I have a new installation of B3 and all plugins. I must admit that I am a bit of a n00b.
I can't get half of my commands to work, poweradminurt commands included.

My b3.log:
http://pastebin.com/PWqxBnRJ

Thanks in advanced for any assistance.


Offline LouK

  • Full Member
  • ***
  • Posts: 119
    • The Sni:{Per}:Jum Clan
Re: PowerAdminUrt 1.4.0+ for Urban Terror!
« Reply #118 on: October 26, 2013, 07:10:11 PM »
It seems that you forgot to add all files, read the readme again  ;)

Offline ph03n1x

  • Sr. Member
  • ****
  • Posts: 296
    • Lovers and Haters Urban Terror
Re: PowerAdminUrt 1.4.0+ for Urban Terror!
« Reply #119 on: October 27, 2013, 06:25:00 AM »
Oops, my bad..I had some files that were not configured properly. All good now :)
Thanks LouK!

 


Rate this page +1 at Google Search