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!

Pages: 1 2 3 [4] 5 6 ... 8   Go Down
  Print  
Author Topic: geowelcome plugin  (Read 12495 times) Bookmark and Share
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: cod
Posts: 26
Offline Offline
« Reply #45 on: August 20, 2010, 01:19:55 AM »

hello
i try again now when i'm connect just write my name and number of play... no country.

ps:i don't understand priority i add priority but load in the same order in b3xml

my b3xml plug



Code:
<plugins>
<!-- plugin order is important. Plugins that add new in-game commands all
depend on the admin plugin. Make sure to have the admin plugin before
them. -->
<plugin name="censor" priority="14" config="@conf/plugin_censor.xml" />
<plugin name="spamcontrol" priority="3" config="@conf/plugin_spamcontrol.xml" />
<plugin name="admin" priority="1" config="@conf/plugin_admin.xml" />
<plugin name="tk" priority="4" config="@conf/plugin_tk.xml" />
<plugin name="stats" priority="5" config="@conf/plugin_stats.xml" />
<plugin name="pingwatch" priority="6" config="@conf/plugin_pingwatch.xml" />
<plugin name="adv" priority="7" config="@conf/plugin_adv.xml" />
<plugin name="status" priority="8" config="@conf/plugin_status.xml" />
<plugin name="punkbuster" priority="9" config="@conf/plugin_punkbuster.xml" />

<!--
This is a non-standard plugin, and quite resource heavy. Please take
a look in the B3 forums (look for XLR Extensions) for more
information before enabling this. Extra database tables are
necessary. -->
      <plugin name="xlrstats" priority="10" config="@b3/extplugins/conf/xlrstats.xml"/>
<plugin name="ctime" priority="11" config="@b3/extplugins/conf/plugin_ctime.xml"/>
<plugin name="spree" priority="12" config="@b3/extplugins/conf/plugin_spree.xml"/>
<plugin name="openbanter" priority="13" config="@b3/extplugins/conf/openbanter.xml"/>
<plugin name="geowelcome" priority="2" config="@b3/extplugins/conf/geowelcome.xml"/>
</plugins>

log in attached files

thanks for your help


[attachment deleted by maintenance]
Logged


B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 63
Offline Offline
« Reply #46 on: August 20, 2010, 06:36:42 AM »

According to the attached log file, the plugin is working

Quote
100820 08:55:34   DEBUG   GeowelcomePlugin: Connected 82.x.x.x from Montigny-les-metz (France)

Maybe something specific to cod, can't help you on that, I tested on urt servers only.

I'm guessing here, but maybe cod doesn't show the messages that are written directly to the console.

I did a little change to see if works, but this is not the way I intended. At least in urt the welcome messages is show at the bottom, and the location in the upper left corner. With this change, I suspect both will be shown in the same place.




[attachment deleted by maintenance]
Logged
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: cod
Posts: 26
Offline Offline
« Reply #47 on: August 20, 2010, 01:54:54 PM »

Thanks sgt

i try with your attached files if its work this week...
Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: cod
Posts: 26
Offline Offline
« Reply #48 on: August 22, 2010, 03:53:23 AM »

Hello Sgt

i try your new files

now its ok for country ..but now no write last visit count visit etc....
its a good way ...



thanks

*edit
i try again and now write nothing..!!?? after server and bot restart.....


*reedit finally its ok i try again whith different allias and write just country.-( i try !wis work to  )
i join last log....

if its possible to add last visit count visit etc...


[attachment deleted by maintenance]
« Last Edit: August 22, 2010, 05:08:00 AM by adam » Logged

B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 63
Offline Offline
« Reply #49 on: August 22, 2010, 06:03:39 AM »

Hello Sgt

i try your new files

now its ok for country ..but now no write last visit count visit etc....
its a good way ...

if its possible to add last visit count visit etc...


It's not showing last visit because of this:

Quote
GeowelcomePlugin: LastVisit: 02:54PM CEST 08/22/10
GeowelcomePlugin: Client already welcomed in the past hour

It should work if you connect after 60' of your last connection.
Logged
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: cod
Posts: 26
Offline Offline
« Reply #50 on: August 22, 2010, 08:12:46 AM »

Hello Sgt

ok but after 2 hours he just write connected Adam from montigny ....with no other informations

last log in attached files..


*edit

i test yesterday with different player  from different country its ok write connected from etc...all round
and sometimes write last visit  count visit ( i think just for new becomer)

thanks a lot Sgt.


[attachment deleted by maintenance]
« Last Edit: August 22, 2010, 11:11:33 PM by adam » Logged

B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 63
Offline Offline
« Reply #51 on: August 23, 2010, 04:03:00 AM »

Hello Sgt

ok but after 2 hours he just write connected Adam from montigny ....with no other informations

last log in attached files..


*edit

i test yesterday with different player  from different country its ok write connected from etc...all round
and sometimes write last visit  count visit ( i think just for new becomer)

thanks a lot Sgt.


Check the flags setttings in your conf file:

Quote
who to welcome           
1 = welcome newb         
2 = welcome announce_user
4 = welcome first         
8 = welcome announce_first
16 = welcome user         
32 = custom greetings     
add numbers, 63 = all     
Logged
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: cod
Posts: 26
Offline Offline
« Reply #52 on: August 23, 2010, 08:41:22 AM »

Hello Sgt

yes i check and is allready on 63
Code:
<set name="flags">63</set>

...
*edit

Thanks you Sgt work fine with your last files good job Smiley
« Last Edit: August 25, 2010, 10:09:38 AM by adam » Logged

Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: UrT
Posts: 123
Offline Offline
« Reply #53 on: August 30, 2010, 04:11:31 AM »

how hide city?
i want appear only state.
thank you! :-)
Logged
B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 63
Offline Offline
« Reply #54 on: August 30, 2010, 04:21:27 AM »

how hide city?
i want appear only state.
thank you! :-)

Modify conf according your needs:

Code:
<set name="country_format">%(city)s (%(country_name)s)</set>

options are:

Code:
'country_code'
'country_name'
'city'
'region'
'longitude'
'latitude'
Logged
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: UrT
Posts: 123
Offline Offline
« Reply #55 on: August 30, 2010, 05:25:20 AM »

okay, so how can i use %s?
what's it?
thank you! :-D
Logged
B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 63
Offline Offline
« Reply #56 on: August 30, 2010, 05:28:57 AM »

okay, so how can i use %s?
what's it?
thank you! :-D

If you only want Country, set:

Code:
<set name="country_format">%(country_name)s</set>

Format is: %(KEY)s
Logged
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: UrT
Posts: 123
Offline Offline
« Reply #57 on: August 30, 2010, 08:50:00 AM »

If you only want Country, set:

Code:
<set name="country_format">%(country_name)s</set>

Format is: %(KEY)s


okay thank you so much! this plugin praise many options! hard to understand everything! :-D
Logged
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: UrT
Posts: 123
Offline Offline
« Reply #58 on: September 02, 2010, 04:26:57 AM »

why when do someone connect to my server is displayed from: reserved?
case of superadmin or senioradmin... etc...?
Logged
B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 63
Offline Offline
« Reply #59 on: September 02, 2010, 04:34:55 AM »

why when do someone connect to my server is displayed from: reserved?
case of superadmin or senioradmin... etc...?

The plugin relays on an external service for geo lookup ( http://ipinfodb.com ). Maybe that IP is flagged as reserved for some reason (ie government IP)
Logged
Tags:
Pages: 1 2 3 [4] 5 6 ... 8   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal