C:\Users\vale\DotNetWikiBot_2.101>csc /t:library /debug:full /o- DotNetWikiBot.c
s
Compilatore Microsoft (R) Visual C# 2008 versione 3.5.30729.5420
per Microsoft (R) .NET Framework versione 3.5
Copyright (C) Microsoft Corporation. Tutti i diritti riservati.
C:\Users\vale\DotNetWikiBot_2.101>csc BotScript.cs /debug:full /o- /reference:Do
tNetWikiBot.dll
Compilatore Microsoft (R) Visual C# 2008 versione 3.5.30729.5420
per Microsoft (R) .NET Framework versione 3.5
Copyright (C) Microsoft Corporation. Tutti i diritti riservati.
C:\Users\vale\DotNetWikiBot_2.101>BotScript.exe
Localized messages not found for language "it".
You can help DotNetWikiBot project by translating the messages in
"DotNetWikiBot.i18n.xml" file and sending it to developers for distribution.
Logging in...
Eccezione non gestita: System.Net.WebException: Impossibile risolvere il nome re
moto.: 'it.mylittleponyitalia.wikia.comapi.php'
in System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
in System.Net.HttpWebRequest.GetRequestStream()
in DotNetWikiBot.Site.PostDataAndGetResultHTM(String pageURL, String postData
, Boolean getCookies, Boolean allowRedirect) in c:\Users\vale\DotNetWikiBot_2.10
1\DotNetWikiBot.cs:riga 930
in DotNetWikiBot.Site.LogInViaApi() in c:\Users\vale\DotNetWikiBot_2.101\DotN
etWikiBot.cs:riga 817
in DotNetWikiBot.Site.Initialize() in c:\Users\vale\DotNetWikiBot_2.101\DotNe
tWikiBot.cs:riga 249
in DotNetWikiBot.Site..ctor(String site, String userName, String userPass, St
ring userDomain) in c:\Users\vale\DotNetWikiBot_2.101\DotNetWikiBot.cs:riga 202
in DotNetWikiBot.Site..ctor(String site, String userName, String userPass) in
c:\Users\vale\DotNetWikiBot_2.101\DotNetWikiBot.cs:riga 185
in MyBot.Main() in c:\Users\vale\DotNetWikiBot_2.101\BotScript.cs:riga 26
Premere un tasto per continuare . . .
Needless to say, I've changed the log in parameters the right way in BotScript.cs
What am I doing wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Heelo, I'm trying to use this script for http://it.mylittleponyitalia.wikia.com. When I launch the Compile&Run.bat, it returns me the following error:
Needless to say, I've changed the log in parameters the right way in BotScript.cs
What am I doing wrong?
Sorry, I forgot that part of the error message is in italian.
The error is that the script tries to log in on the site: it.mylittleponyitalia.wikia.comapi.php, while the real adress of the wiki is http://it.mylittleponyitalia.wikia.com
Yes, I see. They must have changed something at wikia again.
You can get corrected version at http://dotnetwikibot.cvs.sourceforge.net/viewvc/dotnetwikibot/framework/DotNetWikiBot.cs