Donations
|
If you wish to make a donation you can by clicking the image below.
|
|
|
|
|
7th October, 2012, 02:28 PM
|
Rampage
|
|
Join Date: May 2006
Posts: 83
|
|
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 ]
|
7th October, 2012, 03:47 PM
|
Holy Shit!!
|
|
Join Date: Nov 2006
Location: France
Posts: 1,846
|
|
never seen this scoreboard have you a shot please ?
|
8th October, 2012, 12:28 PM
|
|
Unstoppable
|
|
Join Date: Aug 2004
Location: Split, Croatia
Posts: 224
|
|
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?
|
10th October, 2012, 08:35 AM
|
Dominating
|
|
Join Date: Dec 2005
Posts: 129
|
|
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
|
10th October, 2012, 05:19 PM
|
|
Unstoppable
|
|
Join Date: Aug 2004
Location: Split, Croatia
Posts: 224
|
|
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
Last edited by sphx : 10th October, 2012 at 05:21 PM.
|
10th October, 2012, 09:00 PM
|
Dominating
|
|
Join Date: Dec 2005
Posts: 129
|
|
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
|
|
10th October, 2012, 10:58 PM
|
Holy Shit!!
|
|
Join Date: Nov 2006
Location: France
Posts: 1,846
|
|
I have post somewhere on unrealadmin i can not to run it with modosutilsv26pre5
|
11th October, 2012, 06:56 PM
|
|
Unstoppable
|
|
Join Date: Aug 2004
Location: Split, Croatia
Posts: 224
|
|
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.
|
11th October, 2012, 08:28 PM
|
Dominating
|
|
Join Date: Dec 2005
Posts: 129
|
|
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
|
14th October, 2012, 01:59 PM
|
Rampage
|
|
Join Date: May 2006
Posts: 83
|
|
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.
|
14th October, 2012, 06:38 PM
|
|
Godlike
|
|
Join Date: Aug 2004
Location: Portland,Or.
Posts: 326
|
|
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.
|
15th October, 2012, 05:18 AM
|
Dominating
|
|
Join Date: Dec 2005
Posts: 129
|
|
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
|
15th October, 2012, 07:56 PM
|
|
Unstoppable
|
|
Join Date: Aug 2004
Location: Split, Croatia
Posts: 224
|
|
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);
}
|
15th October, 2012, 08:47 PM
|
|
Godlike
|
|
Join Date: Aug 2004
Location: Portland,Or.
Posts: 326
|
|
Yes..... Not very complicated.
|
16th October, 2012, 08:42 PM
|
Rampage
|
|
Join Date: May 2006
Posts: 83
|
|
Quote:
Originally Posted by sphx
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 ]
|
17th October, 2012, 05:13 AM
|
|
Godlike
|
|
Join Date: Aug 2004
Location: Portland,Or.
Posts: 326
|
|
I might have time to patch this up for ya if all you want is the flags to work with MODOS.
|
17th October, 2012, 06:35 AM
|
Holy Shit!!
|
|
Join Date: Nov 2006
Location: France
Posts: 1,846
|
|
Nice
Maybe add some info like ping ,netspeed , time , .... on scorbord and on play game ?
|
17th October, 2012, 04:57 PM
|
|
Godlike
|
|
Join Date: Aug 2004
Location: Portland,Or.
Posts: 326
|
|
I'll see what I can do.
|
17th October, 2012, 06:55 PM
|
Rampage
|
|
Join Date: May 2006
Posts: 83
|
|
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 ]
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|