In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsInstallation Support (Moderator: MordyT)getting my local time in the ad plugin
Pages: [1]   Go Down
  Print  
Author Topic: getting my local time in the ad plugin  (Read 1689 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: cod4
Posts: 43
Offline Offline
« on: March 13, 2010, 10:12:51 PM »

Let me first thank all in the dev team for the coolest piece of open source software for games ..ever.
Although it took me a couple of days to configure it but i now have a cod4 internet server running from my PC using b3.
now  I confront 3 problems
1. I cant display the local time of my machine,instead it displays a time,which is set by default(that one is like 10 hrs off my time ).

2. Whenever i warn a player the console displays "Auto kick for warnings if not cleared" and eventually kicks the player out,even if it may be his first.I have to clear his warnings for him to be able to play.

3.  Not quiet sure if this is the rt place to ask this as its a game specific issue(Cod4)....a name changer once crept inside and i did a !list command to figure out that the guy at (6) was the one...now he doesn't have his real name so i cant kick him...and  the command !k @6 wont work either as it would kick the player in database at position 6..now how do I grab this name changers' cojones.
 
Logged


B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #1 on: March 13, 2010, 10:18:22 PM »

only for question #1
Code:
/b3/conf/b3.xml
line 9 ish
Code:
<set name="time_zone">HERE</set>
find your time zone and put it there also if your area does daylight savings you will need to change it when that time comes around

Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3477
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #2 on: March 14, 2010, 02:45:59 AM »

Hi sherinkapotein

1. Ryry46d9 is pointing you to the right place  Wink I might add you can find timezone codes at http://www.timeanddate.com/library/abbreviations/timezones/

2. maybe you played with the admin plugin settings. What do you have for :
Code:
<settings name="warn">
<!-- This setting determines whether the warning is sent to the the whole server, or just the player and admin, to reduce chatbox spam.
0 is whole server, 1 is private.
-->
<set name="pm_global">0</set>
<!-- THESE APPEAR TO BE OBSOLETE - DO NOT USE - mindriot - 10/20/2008
<set name="ban_reason">^7too many warnings ^1BANNED: $reason</set>
<set name="ban_num">5</set>
<set name="kick_num">3</set>
<set name="kick_duration">2</set>
<set name="ban_duration">1h</set>
<set name="kick_reason">^7too many warnings: $reason</set>
-->

<set name="alert_kick_num">3</set>
<set name="instant_kick_num">5</set>
<set name="tempban_num">6</set>
<set name="tempban_duration">1d</set>
<set name="max_duration">1d</set>
<set name="message">^1WARNING^7 (^3$warnings^7): $reason</set>
<set name="warn_delay">15</set>
<set name="reason">^7too many warnings: $reason</set>
<set name="duration_divider">30</set>
<set name="alert">^1ALERT^7: $name^7 auto-kick from warnings if not cleared (^3$warnings^7) $reason</set>
</settings>

3. The !list command gives you the slot where players are connected, not the players' database id. In your case, you should have used
Code:
!k 6
instead of
Code:
!k @6
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: cod4
Posts: 43
Offline Offline
« Reply #3 on: March 14, 2010, 06:39:34 AM »

Code:
quote author=Courgette link=topic=1577.msg10726#msg10726 date=1268563559]
Hey guys a myriad thanks as issues 1 and 3 have been hit right on ::)


but i couldn't comprehend what you meant here
/////////////

2. maybe you played with the admin plugin settings. What do you have for :[ somecode]

////////// ???

of course i played with admin settings...!!?? and those settings remain untouched by me


« Last Edit: March 14, 2010, 06:42:41 AM by sherinkapotein » Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3477
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #4 on: March 14, 2010, 06:55:38 AM »

maybe you run the multiple times simultaneously
Logged

B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #5 on: March 14, 2010, 08:20:26 AM »

Do you have echelon installed ? If not I recommend it. It's nice to keep track of who and why some one is getting kicked (oh and by who Wink

http://www.bigbrotherbot.com/forums/xlr-releases/echelon-web-investigation-tool-for-b3/
Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: cod4
Posts: 43
Offline Offline
« Reply #6 on: March 14, 2010, 11:42:52 AM »

maybe you run the multiple times simultaneously


 I think what u mean here is that i run "B3_run" multiple times simultaneously...
that i do not...but anyways good news i edited some file dunno which and the warning system's on track....
also one more thing i installed the  votekick plugin (only for the votemap feature) and the console says to all my registered users that they do not have sufficient permission..inspite of mine having changed the min_level_vote to 2(which i suppose corresponds to registered use) .Thirdly isin't  there an option by which players can vote for the gametype.. Cool

THANk you for all your help so far and beyond this Kiss


<configuration plugin="votekick">
   <settings name="settings">
      <set name="min_level_vote">2</set>
      
      <set name="vote_times">3</set>
      <set name="vote_interval">3</set>
   </settings>
   
   <settings name="votekick">
      <set name="min_level_kick">100</set>
      
      <set name="tempban_minvotes">3</set>
      <set name="tempban_interval">3</set>
      <set name="tempban_percent">75</set>
   </settings>   
   
   <settings name="votemap">
      <set name="min_level_map">1</set>      
      <set name="mapfile">@b3/conf/maplist.txt</set>
   </settings>
   
</configuration>
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3477
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #7 on: March 14, 2010, 12:29:11 PM »

that's because 2 is the 'regular' group  Wink

have a look at this page in the doc
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: cod4
Posts: 43
Offline Offline
« Reply #8 on: March 16, 2010, 11:00:09 AM »

that's because 2 is the 'regular' group  Wink

have a look at this page in the doc

I'm out of words to express my gratitude towards you guys and your work here.Only thing I'm left with is ...Thanks.
cant express gratitude in monetary terms as I don't get any pocket money.  Embarrassed
But I surely have eased your task making you answer one less query of my friends'  which just installed b3 with my support(should I  say)  Wink

Overwhelmed I "managed" a server which I plan to use from game hosting 24*7 and a clan website.
Now the problem here is that b3 comes with apache already and if i type my ip in my friends browser what I get is my Xampp homepage..
Is there a way by which, when connected through game console my ip resolves to game server and when entered in a browser it directs them to my web page (not the xampp one but the one that of my website) ..what I could get was to forward ports as required.But if I forward the port in such a manner that for http queries the url to my server resolves to my webpage then that will also be my localhost....?? and in that case the line in the b3.xml that says

set name="database">mysql://****:*******@localhost/b3</set>

will be rendered useless as the localhost now directs to my webpage and not to database.

I understand that this problem doesn't directly come under domain of B3 but believe me I've searched the web and nothing relevant could be found.Now your team is my only reprise, if nothing else ,atleast if you could give me some links which may be of some help in this context.
i have a dynamic ip at home so i use Dyndns for all above mentioned stuff.   Huh

many of my sentences may not be technically sound but that's all i could assimilate with my tryst with web-technology..  Roll Eyes
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3477
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #9 on: March 16, 2010, 11:06:04 AM »

Thanks sherinkapotein for your support.

regarding your xammp issue, I would create a web redirection page as the default page of your xammp installation.
Search the web for "web redirection php"
Logged

Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal