You have to open: tags\nwo\TMSPSTheM wrote:Just want to try some things... but which file do I have to open when I click "Open project..." ?
thats a visual studio solution file
Moderators: Pit Crew, TM-Patrol
You have to open: tags\nwo\TMSPSTheM wrote:Just want to try some things... but which file do I have to open when I click "Open project..." ?
Code: Select all
[Header]
2009-06-07 11:22:09,937 [1] DEBUG TMSPS.Daemon.Program [(null)] - Running in console mode.
2009-06-07 11:22:09,984 [1] ERROR TMSPS.Core.PluginSystem.ConfigSettingsConfigurationSection [(null)] - Could not find ConfigSettingsSection.
2009-06-07 11:22:09,984 [1] ERROR TMSPS.Core.PluginSystem.ConfigSettingsConfigurationSection [(null)] - Error while reading ConfigSettings from config file: ConfigSettings
2009-06-07 11:22:09,984 [1] ERROR TMSPS.Daemon.Program [(null)] - Unhandled error: System.Configuration.ConfigurationErrorsException: Could not find ConfigSettingsSection.
at TMSPS.Core.PluginSystem.ConfigSettingsConfigurationSection.GetFromConfig(String sectionName) in D:\tmn\tmsps\Tags\NWO\TMSPS.Common\PluginSystem\ConfigSettingsConfigurationSection.cs:line 103
at TMSPS.Daemon.MainDaemon.ReadConfigSettings() in D:\tmn\tmsps\Tags\NWO\TMSPS.Daemon\MainDaemon.cs:line 200
at TMSPS.Daemon.MainDaemon.Start() in D:\tmn\tmsps\Tags\NWO\TMSPS.Daemon\MainDaemon.cs:line 75
at TMSPS.Daemon.Program.RunInConsoleMode() in D:\tmn\tmsps\Tags\NWO\TMSPS.Daemon\Program.cs:line 68
at TMSPS.Daemon.Program.Main(String[] args) in D:\tmn\tmsps\Tags\NWO\TMSPS.Daemon\Program.cs:line 45
Code: Select all
tmnforever is nations and united makes it special. tmnforever has united. I need united!
Code: Select all
tmnforever is nations and united makes it special. tmnforever has united. I need united!
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<Settings>
<Plugins>
<Plugin enabled="true" assemblyName="TMSPS.Core" pluginClass="TMSPS.Core.PluginSystem.Plugins.KickUnrankedPlayerPlugin" />
<Plugin enabled="true" assemblyName="TMSPS.Core" pluginClass="TMSPS.Core.PluginSystem.Plugins.NameProtectionBotPlugin" />
<Plugin enabled="true" assemblyName="TMSPS.Core" pluginClass="TMSPS.Core.PluginSystem.Plugins.LiveRanking.LiveRankingPlugin" />
<Plugin enabled="true" assemblyName="TMSPS.Core" pluginClass="TMSPS.Core.PluginSystem.Plugins.Dedimania.DedimaniaPlugin" />
<Plugin enabled="true" assemblyName="TMSPS.Core" pluginClass="TMSPS.Core.PluginSystem.Plugins.LocalRecords.LocalRecordsPlugin" />
<Plugin enabled="true" assemblyName="TMSPS.Core" pluginClass="TMSPS.Core.PluginSystem.Plugins.ChatBotPlugin" />
<Plugin enabled="true" assemblyName="TMSPS.Core" pluginClass="TMSPS.Core.PluginSystem.Plugins.SpectatorsPlugin" />
<Plugin enabled="true" assemblyName="TMSPS.Core" pluginClass="TMSPS.Core.PluginSystem.Plugins.TMX.TMXPlugin" />
<Plugin enabled="true" assemblyName="TMSPS.Core" pluginClass="TMSPS.Core.PluginSystem.Plugins.AdminPlayer.AdminPlayerPlugin" />
<Plugin enabled="true" assemblyName="TMSPS.Core" pluginClass="TMSPS.Core.PluginSystem.Plugins.Clock.ClockPlugin" />
<Plugin enabled="true" assemblyName="TMSPS.Core" pluginClass="TMSPS.Core.PluginSystem.Plugins.StaticUI.StaticUIPlugin" />
<Plugin enabled="true" assemblyName="TMSPS.Core" pluginClass="TMSPS.Core.PluginSystem.Plugins.CheckPoints.CheckPointsPlugin" />
<Plugin enabled="true" assemblyName="TMSPS.Core" pluginClass="TMSPS.Core.PluginSystem.Plugins.IdleKick.IdleKickPlugin" />
</Plugins>
</Settings>
You have to rename App_Template.config to App.config and should change the following lines to reflect your server changes:Subjaz wrote:@Scordo
If i try to run the testclient it says the application configuration file is invalid, could not find app.config...
u know how to fix this problem?
edit: found it!
edit: What do I have to enter after: Address?
Found everything!
but in debuggin mode it says:
'IPHostEntry hostEntry = Dns.GetHostEntry(host);
'host' is unknown
Not fixed yet
Now the Console mode tmsps says: Daemon socket error occured!
/Trunk/TMSPS.slnTheM wrote:Just want to try some things... but which file do I have to open when I click "Open project..." ?
the language-elements like loops, conditionals and so on are very close. But the main difference is, that every variable as a type and that all assignments are type-safe.xai wrote:I'm new to C# but I'm willing to learn it. If I think I know it well enough to help you with something I'll tell you, as far as it looks now it even looks a tiny bit like php, and I'm good at that
This is a developer-version. In a normal release the Settings.xml files would be delivered in a usable way with default-values so the user only has to change 1 file to supply his server-settings.w1lla wrote:hmm there are so many errors in debug.
if you want to make a stable release do 2 .xml files of each because it gets errors all over the place for nothing
Do you mean the the address in the app.config? You have to provide the IP-Address of your Trackmania-Server.Subjaz wrote:I still dont know what to enter after adress...
can someone tell me?
That wouldn't be a problem, cause I usually do that stuff anyway in php, since it's safer and fasterScordo wrote:the language-elements like loops, conditionals and so on are very close. But the main difference is, that every variable as a type and that all assignments are type-safe.xai wrote:I'm new to C# but I'm willing to learn it. If I think I know it well enough to help you with something I'll tell you, as far as it looks now it even looks a tiny bit like php, and I'm good at that
So you cant assign a variable of type string to a variable of type int without converting it before.
With Visual Studio you have Intellisense (AutoCompletion) everywhere because of typesafety.