You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Unreal Admins > Unreal Tournament > UT Server - General Chat

Reply
Thread Tools Display Modes
  #1  
Unread 7th October, 2012, 02:28 PM
SesioN SesioN is offline
Rampage
 
Join Date: May 2006
Posts: 83
Default MODOSUtilsV30 + CountryFlags

I'm searching a solution to have the MODOSUtilsV30 scoreboard features plus country flags.

Do you guys know if there is such a mod available? I don't want any extra features, no hyped score extras, stats etc.. just the efficiency and country flags.
__________________
Join the 1on1 community at irc.quakenet.org #UT1.duel and enjoy our public servers together with hundreds of other players!

Our Public (DMnw) 1on1 servers: [ #1: 80.69.87.237:8880 ] - [ #2: 80.69.87.237:4444 ]
Reply With Quote
  #2  
Unread 7th October, 2012, 03:47 PM
medor medor is offline
Holy Shit!!
 
Join Date: Nov 2006
Location: France
Posts: 1,846
Default

never seen this scoreboard have you a shot please ?
__________________
UT99 files






Reply With Quote
  #3  
Unread 8th October, 2012, 12:28 PM
sphx's Avatar
sphx sphx is offline
Unstoppable
 
Join Date: Aug 2004
Location: Split, Croatia
Posts: 224
Default

Cheers, I made the modosutilsv26pre5 (the one with country flags).

Link: http://mica.bombsquad.org/unreal/dow...ilsV26pre5.rar

During the development, I contacted the original author ([TTH]PJMODOS) and he told me that the version 25 is similar to 30, so I used 25 source and added the country flags inside.

From what I see, 3.0 has: "Setting showbunsinfo will show also accuracy for zp insta wars (working only with utpure7e/zppure7e or better)", do you actually need it?
__________________
http://www.sphx.vulturezone.com UT'99 AdminTool HomePage
Reply With Quote
  #4  
Unread 10th October, 2012, 08:35 AM
maggi maggi is offline
Dominating
 
Join Date: Dec 2005
Posts: 129
Default

hi sphx,

works modosutilsv26pre5 only with the included file iptocountry12 or with iptocountry16 too?

I cant see any flags with my working iptocountry16 and modosutilsv26pre5
Reply With Quote
  #5  
Unread 10th October, 2012, 05:19 PM
sphx's Avatar
sphx sphx is offline
Unstoppable
 
Join Date: Aug 2004
Location: Split, Croatia
Posts: 224
Default

Should work with any version, I think I made the 1.6 also

Just open the IpToCountry.ini and switch these lines:

Code:
ConfQueryServers[0]=69.72.215.10,smrtnici.eccms.net/sphx/iptocountry12.php
ConfQueryServers[1]=85.236.100.16,utgl.unrealadmin.org/iptocountry12.php
with these:

Code:
ConfQueryServers[0]=64.34.170.19,iptocountry.ut-files.com/iptocountry16.php
ConfQueryServers[1]=85.236.100.16,utgl.unrealadmin.org/iptocountry16.php
Also, the server output is the same for all server versions, you can use these examples to test the servers still work:

http://iptocountry.ut-files.com/ipto...173.194.35.178
http://iptocountry.ut-files.com/ipto...173.194.35.178
http://utgl.unrealadmin.org/iptocoun...173.194.35.178
http://utgl.unrealadmin.org/iptocoun...173.194.35.178

SoNY_scarface seems to be maintaining the ut-files.com server and IP database regularly: http://www.unrealadmin.org/forums/sh...ad.php?t=28017

P.S.: the utgl.unrealadmin.org server has its clock set incorrectly
__________________
http://www.sphx.vulturezone.com UT'99 AdminTool HomePage

Last edited by sphx : 10th October, 2012 at 05:21 PM.
Reply With Quote
  #6  
Unread 10th October, 2012, 09:00 PM
maggi maggi is offline
Dominating
 
Join Date: Dec 2005
Posts: 129
Default

hi sphx and thx for your answer

i run several servers with iptocountry16

with smartCTF (flags working)

with smartDM (flags working)

with nexgen (flags working)

tried with modosutilsv26pre5 (flags NOT working)

my iptocountry.ini is a little bit different, with more entries, like yours in your dl-file and in your example

is that the reason why it dont show the flags?

Quote:
[IpToCountry.LinkActor]
QueryServerHost[0]=iptocountry.unrealkillers.com
QueryServerHost[1]=iptocountry.ut-files.com
QueryServerHost[2]=utgl.unrealadmin.org
QueryServerHost[3]=
QueryServerFilePath[0]=/iptocountry16.php
QueryServerFilePath[1]=/iptocountry16.php
QueryServerFilePath[2]=/iptocountry16.php
QueryServerFilePath[3]=
QueryServerPort[0]=80
QueryServerPort[1]=80
QueryServerPort[2]=80
QueryServerPort[3]=80
resolvedAddress[0]=67.227.195.215
resolvedAddress[1]=64.34.170.19
resolvedAddress[2]=85.236.100.16
resolvedAddress[3]=
MaxTimeout=30
ErrorLimit=10
bNeverPurgeAddress=False
bSpawnAddon=True
Reply With Quote
  #7  
Unread 10th October, 2012, 10:58 PM
medor medor is offline
Holy Shit!!
 
Join Date: Nov 2006
Location: France
Posts: 1,846
Default

I have post somewhere on unrealadmin i can not to run it with modosutilsv26pre5
__________________
UT99 files






Reply With Quote
  #8  
Unread 11th October, 2012, 06:56 PM
sphx's Avatar
sphx sphx is offline
Unstoppable
 
Join Date: Aug 2004
Location: Split, Croatia
Posts: 224
Default

huh, seems the iptocountry 1.6 version (UT addon) is changed more than it seemed at first.

I could take a look when I catch some spare time...

quote from the readme:

HTML Code:
A NOTE ON THE HTTPCLIENT CLASS (FOR DEVS ONLY)
-------
UT's implementation of a strong, stable HTTP Client wasn't much of a success. Thankfully Rush and
AnthraX took some time and made great progress on a UScript-based solution for the original
builds of IpToCountry. Problem is: if both query servers went down, or the internet stopped working for
just a little while, the entire UT server process would often die.  In September 2008 I
(MSuLL) began working on a mod that would depend on strong HTTP communications, which became the mod
'Universal Unreal'.  I used Rush's IpToCountry HTTP Client implentation as a base, then went about refining
it and making it more stable and efficient.

One big issue with the old client was that everything was being performed from the HTTP Client class,
and that class was spawned as a ServerActor at startup. When something screws up, the HTTP Client class,
which is based off of UBrowserHTTPClient, can't re-bind a port properly.  The solution is to kill the
HTTP Client class and start another instance upon a critical bind error.

For v1.6(+future editions) of IpToCountry, I've ported (or un-ported?) my HTTP Client implementation
back into the mod where it all began.  I've separated it into three main parts.  The LinkActor class
does error handling and general data management.  The HTTPClient class does the grunt work and can be
killed off (and then restarted) when critical errors are encountered.  The third class is the Addon
class, nothing major has changed in this class though.

I'd encourage developers to make use of this improved HTTP Client implementation in your own
mods.  Even though this game is 11 years old, there's still time for cool new stuff to be built :D
The class is very modular and shouldn't be too hard to understand / modify / etc.  Feel free to
ask for help in the UnrealAdmin.org forum, and I'd be glad to help.
__________________
http://www.sphx.vulturezone.com UT'99 AdminTool HomePage
Reply With Quote
  #9  
Unread 11th October, 2012, 08:28 PM
maggi maggi is offline
Dominating
 
Join Date: Dec 2005
Posts: 129
Default

hey sphx, hope you find some free time to look over it

until that i will wait in esperance

i miss a scoreboard with countryflags for DM, that smartDM from the cowboy works, but only for ten players and the design remember strongly to smartCTF, i use it on one of our servers a funnel server

----------------------------------------------------------

and i search vainly a public scoreboard with countryflags for monsterhunt, i think there is a market niche for such a SB
Reply With Quote
  #10  
Unread 14th October, 2012, 01:59 PM
SesioN SesioN is offline
Rampage
 
Join Date: May 2006
Posts: 83
Default

So I've took your version of MODOSUtils and I can confirm that it doesn't work together with ip2country v1.6.

But I didn't use the included files of iptocountry but the official 1.6 release. From my understanding a third-party mutator can access the results that are delivered by iptocountry and for example display the flags? (in this case)

Or does one need an modded ip2country version to display the flags in MODOSUtilis?

Code:
MODOSUtils: Failed to load MODOSScoreBoard!
Code:
ServerActors=IpDrv.UdpBeacon
ServerActors=IpServer.UdpServerQuery
ServerActors=IpServer.UdpServerUplink MasterServerAddress=unreal.epicgames.com MasterServerPort=27900
ServerActors=IpServer.UdpServerUplink MasterServerAddress=master0.gamespy.com MasterServerPort=27900
ServerActors=ServerCrashFix_v11.SCFActor
ServerActors=NPLoader_v16b.NPLActor
ServerActors=AnthCheckerS_v138.ACActor
ServerActors=AntiFA46_Server.AFASA
ServerActors=MonsterAnnouncer.MA_ServerActor
ServerActors=SuperWebAdmin.SWAServer
ServerActors=UTPureRC7G.UTPureSA
ServerActors=PureStat7G.PureStat
ServerActors=MvReporter.MvReporter
ServerActors=ACEv08h_S.ACEActor
ServerActors=ACEv08h_EH.ACEEventActor
ServerActors=ipToCountry.LinkActor
ServerActors=MODOSUtilsV26pre5.MODOSSBServerActor
ServerPackages=Soldierskins
ServerPackages=CommandoSkins
ServerPackages=FCommandoSkins
ServerPackages=SGirlSkins
ServerPackages=BossSkins
ServerPackages=BotPack
ServerPackages=UTPureRC7G
ServerPackages=PureStat7G
ServerPackages=AnthCheckerC_v138
ServerPackages=AntiTweakV52
ServerPackages=AntiFA46_C
ServerPackages=BDBMapVote304
ServerPackages=NPLoader_v16b
ServerPackages=NPLoaderLLU_v16b
ServerPackages=NPLoaderLLD_v16b
ServerPackages=NPLoaderLLS_v16b
ServerPackages=ACEv08h_Cdll
ServerPackages=IACEv08c
ServerPackages=ACEv08h_C
ServerPackages=CountryFlags2
ServerPackages=IpToCountry_AOL
ServerPackages=MODOSUtilsV26pre5
I'm also looking forward to a working version, it would be great to have the flags in DM, together with eff (And yes, you are right.. I don't need the extra stuff that comes with MODS.. 3.0)

Greetings!
__________________
Join the 1on1 community at irc.quakenet.org #UT1.duel and enjoy our public servers together with hundreds of other players!

Our Public (DMnw) 1on1 servers: [ #1: 80.69.87.237:8880 ] - [ #2: 80.69.87.237:4444 ]

Last edited by SesioN : 14th October, 2012 at 02:05 PM.
Reply With Quote
  #11  
Unread 14th October, 2012, 06:38 PM
SC]-[LO]\[G_{HoF}'s Avatar
SC]-[LO]\[G_{HoF} SC]-[LO]\[G_{HoF} is offline
Godlike
 
Join Date: Aug 2004
Location: Portland,Or.
Posts: 326
Default

I have been working on a new scoreboard but its not nearly done yet like most of my other projects. I know of a couple persons(YouKnowWho & UTrustedPlayer)that have experience with scoreboards with the iptocountry built in but these mods come with custom PRI class which conflicts with other mods that use custom PRI's. Maybe they could help with this but try the alternative route that SmartDM uses.
__________________
{HoF} Clan Founder & Leader www.hofgamingclan.com



Reply With Quote
  #12  
Unread 15th October, 2012, 05:18 AM
maggi maggi is offline
Dominating
 
Join Date: Dec 2005
Posts: 129
Default

i read on the GeoIP website that in the geoip.dat is next to the country the city from your ip...

...that is a nice imagination to see the contryflags and the name of the city in a scoreboard
Reply With Quote
  #13  
Unread 15th October, 2012, 07:56 PM
sphx's Avatar
sphx sphx is offline
Unstoppable
 
Join Date: Aug 2004
Location: Split, Croatia
Posts: 224
Default

The usage is well documented in iptocountry 1.6 so I guess the implementation should't be complicated:

Code:
class IpDetails extends Actor;

var Actor IpToCountry;

function PostBeginPlay()
{
	BindIpToCountry();
}

function bool BindIpToCountry()
{
	local Actor A;
	foreach AllActors(class'Actor', A, 'IpToCountry')
		IpToCountry = A;

	// at this point, the variable 'IpToCountry' has
	// been set and can be used
}

function string GetIpInfo(string IP)
{
	if(IpToCountry != None)
		return IpToCountry.GetItemName(IP);
}
Reply With Quote
  #14  
Unread 15th October, 2012, 08:47 PM
SC]-[LO]\[G_{HoF}'s Avatar
SC]-[LO]\[G_{HoF} SC]-[LO]\[G_{HoF} is offline
Godlike
 
Join Date: Aug 2004
Location: Portland,Or.
Posts: 326
Default

Yes..... Not very complicated.
__________________
{HoF} Clan Founder & Leader www.hofgamingclan.com



Reply With Quote
  #15  
Unread 16th October, 2012, 08:42 PM
SesioN SesioN is offline
Rampage
 
Join Date: May 2006
Posts: 83
Default

Quote:
Originally Posted by sphx View Post
The usage is well documented in iptocountry 1.6 so I guess the implementation should't be complicated:

Code:
class IpDetails extends Actor;

var Actor IpToCountry;

function PostBeginPlay()
{
	BindIpToCountry();
}

function bool BindIpToCountry()
{
	local Actor A;
	foreach AllActors(class'Actor', A, 'IpToCountry')
		IpToCountry = A;

	// at this point, the variable 'IpToCountry' has
	// been set and can be used
}

function string GetIpInfo(string IP)
{
	if(IpToCountry != None)
		return IpToCountry.GetItemName(IP);
}
So hopefully you'll give it a go and release an updated version of MODOSUtils


Greetings!
__________________
Join the 1on1 community at irc.quakenet.org #UT1.duel and enjoy our public servers together with hundreds of other players!

Our Public (DMnw) 1on1 servers: [ #1: 80.69.87.237:8880 ] - [ #2: 80.69.87.237:4444 ]
Reply With Quote
  #16  
Unread 17th October, 2012, 05:13 AM
SC]-[LO]\[G_{HoF}'s Avatar
SC]-[LO]\[G_{HoF} SC]-[LO]\[G_{HoF} is offline
Godlike
 
Join Date: Aug 2004
Location: Portland,Or.
Posts: 326
Default

I might have time to patch this up for ya if all you want is the flags to work with MODOS.
__________________
{HoF} Clan Founder & Leader www.hofgamingclan.com



Reply With Quote
  #17  
Unread 17th October, 2012, 06:35 AM
medor medor is offline
Holy Shit!!
 
Join Date: Nov 2006
Location: France
Posts: 1,846
Default

Nice

Maybe add some info like ping ,netspeed , time , .... on scorbord and on play game ?
__________________
UT99 files






Reply With Quote
  #18  
Unread 17th October, 2012, 04:57 PM
SC]-[LO]\[G_{HoF}'s Avatar
SC]-[LO]\[G_{HoF} SC]-[LO]\[G_{HoF} is offline
Godlike
 
Join Date: Aug 2004
Location: Portland,Or.
Posts: 326
Default

I'll see what I can do.
__________________
{HoF} Clan Founder & Leader www.hofgamingclan.com



Reply With Quote
  #19  
Unread 17th October, 2012, 05:31 PM
medor medor is offline
Holy Shit!!
 
Join Date: Nov 2006
Location: France
Posts: 1,846
Default

example:

number player (down left )
Ping and time ( hight right )
http://unrealtournament.99.free.fr/images/showhelp3.jpg


efficiency during the paly
__________________
UT99 files






Reply With Quote
  #20  
Unread 17th October, 2012, 06:55 PM
SesioN SesioN is offline
Rampage
 
Join Date: May 2006
Posts: 83
Default

No bullshit please! Keep it plain and simple

Or well at least release at first a simple MODOS + flags version
__________________
Join the 1on1 community at irc.quakenet.org #UT1.duel and enjoy our public servers together with hundreds of other players!

Our Public (DMnw) 1on1 servers: [ #1: 80.69.87.237:8880 ] - [ #2: 80.69.87.237:4444 ]
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:23 AM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.