thankyou
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: geowelcome plugin  (Read 71740 times)

Offline adam

  • Jr. Member
  • **
  • Posts: 26
Re: geowelcome plugin
« Reply #45 on: August 20, 2010, 11: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: [Select]
<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]

Offline sgt

  • B3 Contrib/Support
  • Full Member
  • *
  • Posts: 82
Re: geowelcome plugin
« Reply #46 on: August 20, 2010, 04:36:42 PM »
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]

Offline adam

  • Jr. Member
  • **
  • Posts: 26
Re: geowelcome plugin
« Reply #47 on: August 20, 2010, 11:54:54 PM »
Thanks sgt

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

Offline adam

  • Jr. Member
  • **
  • Posts: 26
Re: geowelcome plugin
« Reply #48 on: August 22, 2010, 01:53:23 PM »
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, 03:08:00 PM by adam »

Offline sgt

  • B3 Contrib/Support
  • Full Member
  • *
  • Posts: 82
Re: geowelcome plugin
« Reply #49 on: August 22, 2010, 04:03:39 PM »
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.

Offline adam

  • Jr. Member
  • **
  • Posts: 26
Re: geowelcome plugin
« Reply #50 on: August 22, 2010, 06:12:46 PM »
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 23, 2010, 09:11:33 AM by adam »

Offline sgt

  • B3 Contrib/Support
  • Full Member
  • *
  • Posts: 82
Re: geowelcome plugin
« Reply #51 on: August 23, 2010, 02:03:00 PM »
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     

Offline adam

  • Jr. Member
  • **
  • Posts: 26
Re: geowelcome plugin
« Reply #52 on: August 23, 2010, 06:41:22 PM »
Hello Sgt

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

...
*edit

Thanks you Sgt work fine with your last files good job :)
« Last Edit: August 25, 2010, 08:09:38 PM by adam »

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: geowelcome plugin
« Reply #53 on: August 30, 2010, 02:11:31 PM »
how hide city?
i want appear only state.
thank you! :-)

Offline sgt

  • B3 Contrib/Support
  • Full Member
  • *
  • Posts: 82
Re: geowelcome plugin
« Reply #54 on: August 30, 2010, 02:21:27 PM »
how hide city?
i want appear only state.
thank you! :-)

Modify conf according your needs:

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

options are:

Code: [Select]
'country_code'
'country_name'
'city'
'region'
'longitude'
'latitude'

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: geowelcome plugin
« Reply #55 on: August 30, 2010, 03:25:20 PM »
okay, so how can i use %s?
what's it?
thank you! :-D

Offline sgt

  • B3 Contrib/Support
  • Full Member
  • *
  • Posts: 82
Re: geowelcome plugin
« Reply #56 on: August 30, 2010, 03:28:57 PM »
okay, so how can i use %s?
what's it?
thank you! :-D

If you only want Country, set:

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

Format is: %(KEY)s

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: geowelcome plugin
« Reply #57 on: August 30, 2010, 06:50:00 PM »
If you only want Country, set:

Code: [Select]
<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

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: geowelcome plugin
« Reply #58 on: September 02, 2010, 02:26:57 PM »
why when do someone connect to my server is displayed from: reserved?
case of superadmin or senioradmin... etc...?

Offline sgt

  • B3 Contrib/Support
  • Full Member
  • *
  • Posts: 82
Re: geowelcome plugin
« Reply #59 on: September 02, 2010, 02:34:55 PM »
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)

 


Rate this page +1 at Google Search

anything