IpToCountry

Post all UT Building, Coding, Modding, Tutorials and Non-Mapping content here!
Post Reply
User avatar
*POTS*
Posts: 2233
Joined: Fri Oct 17, 2008 8:50 pm

IpToCountry

Post by *POTS* » Thu May 27, 2010 1:05 pm

Hi all,
I was trying to install IpToCountry on my server, but for some arcane reason I can't get the flags to show up on the Nexgen console. I also added the CountryFlags2 to the ServerPackages and I tried changing the MaxTimeout limit to 20 seconds in the IpToCountry.ini, but still no success. Any ideas?

On a side note, I'm using the latest version of IpToCountry (version 1.6) and both the "mutate iptocountry" and "mutate iptohost" commands work, but this seems to be a common issue:
http://www.unrealadmin.org/forums/showt ... p?p=154676

Anyway here's a copy of the relevant parts of my INIs:

Code: Select all

[Engine.GameEngine]
CacheSizeMegs=4
UseSound=True
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=IpServer.UdpServerUplink MasterServerAddress=master.mplayer.com MasterServerPort=27900
ServerActors=UWeb.WebServer
ServerActors=Nexgen111.NexgenActor
ServerActors=NexgenX111.NexgenX
ServerActors=ipToCountry.LinkActor
ServerActors=ActorCLP.ActorCLP
ServerActors=ServerAdds.ServerAdds
ServerActors=StealthAdmin.StealthActor
ServerActors=VAbeta2.VAServer
ServerPackages=NexgenCC
ServerPackages=Nexgen111
ServerPackages=NexgenX111
ServerPackages=CountryFlags2
ServerPackages=IpToCountry_AOL
ServerPackages=VAbeta2
ServerPackages=BodenX2
ServerPackages=SoldierSkins
ServerPackages=CommandoSkins
ServerPackages=FCommandoSkins
ServerPackages=SGirlSkins
ServerPackages=BossSkins
ServerPackages=Botpack
ServerPackages=MapVoteLA13
ServerPackages=MultiMesh
ServerPackages=Relics
ServerPackages=EpicCustomModels
ServerPackages=TCowMeshSkins
ServerPackages=TNaliMeshSkins
ServerPackages=TSkMSkins
ServerPackages=SkeletalChars
ServerPackages=2j34k5h6bh
ServerPackages=MonsterHunt
ServerPackages=MonsterHunt2v1
ServerPackages=NoBoostv4a
ServerPackages=mutForceMover
ServerPackages=DoubleEnforcersMute
ServerPackages=FCommando_MHMteamV3
ServerPackages=Soldier_MHMmachine
ServerPackages=Soldier_Mhmteam
ServerPackages=tnalimeshskins_MHMNaliV1
ServerPackages=BPak
ServerPackages=UTMHpack

Code: Select all

[ipToCountry.LinkActor]
QueryServerHost[0]=iptocountry.ut-files.com
QueryServerHost[1]=www.ut-slv.com
QueryServerHost[2]=utgl.unrealadmin.org
QueryServerHost[3]=
QueryServerFilePath[0]=/iptocountry16.php
QueryServerFilePath[1]=/iptocountry/iptocountry16.php
QueryServerFilePath[2]=/iptocountry16.php
QueryServerFilePath[3]=
QueryServerPort[0]=80
QueryServerPort[1]=80
QueryServerPort[2]=80
QueryServerPort[3]=80
resolvedAddress[0]=64.34.170.212
resolvedAddress[1]=
resolvedAddress[2]=
resolvedAddress[3]=
MaxTimeout=20
ErrorLimit=5
bNeverPurgeAddress=False
bSpawnAddon=True
IPData[0]=
IPData[1]=
[...]
IPData[254]=
IPData[255]=
IPDataIndex=0
Plain Old Telephone Service

User avatar
*POTS*
Posts: 2233
Joined: Fri Oct 17, 2008 8:50 pm

Re: IpToCountry

Post by *POTS* » Sun Jun 13, 2010 4:13 pm

Done! Works fine now, the problem was the IpToCountry ServerActor, it must be placed before the Nexgen actor, but it's not written anywhere in the ReadMe.

Thanks very much KillerBee for your help!


P.S. If you're a BunnyTrack server admin, IpToCountry v1.6 is not compatible with BunnyTrack_v097:
http://www.unrealadmin.org/forums/showt ... 924&page=2

So unless someone rebuilds the code of the BT mod you're stuck using the older version of IpToCountry.
Plain Old Telephone Service

User avatar
mars007
Posts: 59
Joined: Sat Jul 03, 2010 11:18 am
Location: Croatia

Re: IpToCountry

Post by mars007 » Tue Nov 02, 2010 3:54 pm

Hy *POTS*
This is your post, and helped me in setting IpToCountry v1.6.
Thanks.
:wink:
- Monster Hunt -
Image

Image

Post Reply