#tfl@irc.freenode.net logs for 10 Nov 2006 (GMT)

Archive Today Yesterday Tomorrow
tfl homepage


[00:30:32] --- Marzo is now known as Marzo_away
[02:01:48] --> wizardrydragon has joined #tfl
[02:01:48] --- ChanServ gives channel operator status to wizardrydragon
[02:02:00] <wizardrydragon> Moo
[02:02:27] <wizardrydragon> Marzo: If when you decide to come back, Im having some noob programming issues with dragonBot that I cant seem to fix :P
[02:12:59] * wizardrydragon pokes Crysta
[02:15:57] --- Marzo_away is now known as Marzo
[02:16:08] <Marzo> Summoned, I am come!
[02:16:09] <Marzo> :-)
[02:17:15] <Crysta> ow.. why did you poke me
[02:20:51] * Marzo pokes wizardrydragon repeatedly with the Death Scythe in an attempt to get a reply
[02:21:46] <wizardrydragon> Lol
[02:21:49] <wizardrydragon> Sorry
[02:21:54] <wizardrydragon> Compiling lag type stuffs
[02:22:12] <wizardrydragon> Ever use MSVC 2005, Marzo?
[02:22:21] <Marzo> Tell me: what do you think of the new icons in the site? http://seventowers.u7feudallands.com/index.php
[02:22:31] <wizardrydragon> I saw.
[02:22:34] <wizardrydragon> I liked.
[02:22:42] <Marzo> I use the express edition to edit Exult
[02:22:49] <Marzo> I compile in MinGW, though
[02:23:11] <wizardrydragon> One thoughtL you have the Exult icon there, and then a disclaimer that all the icons are from a styleset or your own - are you insinuating you made the Exult icon?
[02:23:28] <Marzo> I just edited that paragraph
[02:23:32] <wizardrydragon> Ah
[02:23:41] <wizardrydragon> So you did.
[02:23:44] <wizardrydragon> Fix'd!
[02:23:44] <Marzo> 'And there is, of course, the Exult icon.'
[02:23:48] <Marzo> :-)
[02:24:16] <wizardrydragon> Hehe
[02:24:23] <wizardrydragon> Im having compile trouble with the bot.
[02:24:46] <Marzo> I have also changed the exultmods.php and usecode.php files to use the same code
[02:24:57] <wizardrydragon> Cool :D
[02:25:00] <Marzo> They now work in exactly the same way
[02:25:14] <Marzo> (except for the extension of the files)
[02:25:17] * wizardrydragon notes that this is pretty transparent on his end, so he wouldn't've known if you didnt tell him
[02:25:35] <Crysta> still not said why you poked me, wiz T_T
[02:25:36] <Marzo> Well, they already look very nearly the same :-)
[02:26:27] <wizardrydragon> Crysta: cuz you were quiet
[02:26:31] <wizardrydragon> nd boring
[02:26:34] <wizardrydragon> and things like that
[02:27:07] <Crysta> >.>;
[02:27:10] <Crysta> i was busy
[02:27:39] <wizardrydragon> Are you familiar with the System::IO namespace in MSVC 2005, Marzo?
[02:27:48] <Marzo> I just noticed that I need to change the background map of the SI icon
[02:27:54] <Marzo> Never used it
[02:28:04] <wizardrydragon> And the TFL one when we have a map for it
[02:28:11] <Marzo> Indeed
[02:28:20] <Marzo> I think we can use the map as is
[02:28:40] <wizardrydragon> Crysta - *hint hint* *nudge nudge*
[02:28:44] * wizardrydragon ducks
[02:29:02] <Marzo> Hm
[02:29:12] <Marzo> Those black areas won't be good for the map though
[02:29:29] <wizardrydragon> Marzo: specifically I have a line as thus:
[02:29:29] <wizardrydragon> StreamWriter ^writer;
[02:29:29] <wizardrydragon> and it errors on build saying:
[02:29:29] <wizardrydragon> .\dragonBot.cpp(28) : error C3145: 'writer' : global or static variable may not have managed type 'System::IO::StreamWriter ^'
[02:29:29] <wizardrydragon> may not declare a global or static variable, or a member of a native type that refers to objects in the gc heap
[02:30:04] <Marzo> '^' O>O
[02:30:12] <Crysta> what were you hinting at
[02:30:24] <Marzo> I must say that I never used managed C++ code
[02:30:33] <wizardrydragon> Any idea what the error means?
[02:30:40] <wizardrydragon> Thats the thing, im not o_=
[02:30:49] <wizardrydragon> Crysta: TFL map!
[02:31:04] <Marzo> Not without looking at more of the code
[02:31:10] <Crysta> how can i do one when the game map isnt finished yet
[02:31:26] <wizardrydragon> I love you too
[02:31:26] <Marzo> You can base it of the minimap
[02:31:37] <wizardrydragon> Marzo: er
[02:31:43] <wizardrydragon> there isnt much more to look at
[02:31:43] <Marzo> :-)
[02:32:14] <Crysta> except for buildings
[02:32:16] <Marzo> You claim it is not managed C++, right?
[02:32:17] <Crysta> and landmarks
[02:32:20] <Crysta> bodies of water
[02:32:22] <Crysta> roads
[02:32:25] <Crysta> villages
[02:32:30] <Crysta> cemetaries
[02:32:32] <wizardrydragon> None of the code I've made anyways
[02:32:39] <Crysta> swamps
[02:32:43] <wizardrydragon> Crystas: did you miss the ocean?
[02:32:46] <wizardrydragon> Its big
[02:32:47] <wizardrydragon> blue
[02:32:49] <Crysta> forests
[02:32:53] <wizardrydragon> water-filled
[02:32:59] <Crysta> inland man
[02:33:03] <wizardrydragon> yeah
[02:33:06] <wizardrydragon> the minimap is solid
[02:33:08] <wizardrydragon> its not changing
[02:33:12] <wizardrydragon> other than cities
[02:33:16] <wizardrydragon> and cleanup
[02:33:31] <wizardrydragon> ie. the geography is there.
[02:33:36] <Crysta> and the layout of te other things i mentioned
[02:34:13] <Crysta> right now all i could do was a vague outline of the landmass
[02:34:26] <wizardrydragon> Er, fine I'll do it myself then.
[02:34:40] <Crysta> ...
[02:34:42] <wizardrydragon> marzo: Im not even sure what "managed" code is ._.
[02:34:45] <Marzo> wizardrydragon: the '^' operator is a managed C++ operator
[02:34:47] <Crysta> if you want me to do it ill do it, dammit
[02:34:52] <wizardrydragon> Oh
[02:34:53] <wizardrydragon> Really?
[02:35:03] <Crysta> yeah
[02:35:09] <Crysta> just let me complain about things
[02:35:25] <Marzo> It returns "[a] handle to an object on the managed heap points to the "whole" object, and not to a member of the object."
[02:35:26] <wizardrydragon> Thats changed from MSVC 6 I think then
[02:35:43] <Marzo> At least in that declaration it is
[02:35:47] <wizardrydragon> Thing is I changed it ommitting the '^" and it still crashes
[02:35:52] <wizardrydragon> on compile
[02:35:55] <wizardrydragon> with the same error
[02:36:00] * wizardrydragon twitch twitch
[02:36:14] <Marzo> In VC2002 and VC2003, __gc * gave the same result as ^ does in VC2005
[02:36:42] <Marzo> You can probably try using * instead
[02:36:52] <Marzo> Let me see more of the code and I can say for sure
[02:37:09] <wizardrydragon> Hold on
[02:37:22] <wizardrydragon> trying to build with ^ again (clean build this time to be sure)
[02:37:34] <wizardrydragon> Yep
[02:37:36] <wizardrydragon> same error
[02:37:37] <wizardrydragon> line: StreamWriter writer;
[02:37:48] <wizardrydragon> error: .\dragonBot.cpp(28) : error C3145: 'writer' : global or static variable may not have managed type 'System::IO::StreamWriter'
[02:37:48] <wizardrydragon> may not declare a global or static variable, or a member of a native type that refers to objects in the gc heap
[02:38:14] <Marzo> Try replacing ^ with *
[02:38:34] <Marzo> It probably won't work, but...
[02:38:40] <wizardrydragon> .\dragonBot.cpp(28) : error C3699: '*' : cannot use this indirection on type 'System::IO::StreamWriter'
[02:38:40] <wizardrydragon> compiler replacing '*' with '^' to continue parsing
[02:38:52] <wizardrydragon> then the same error
[02:38:56] * wizardrydragon twitches
[02:39:02] <Marzo> Yeah, I thought so
[02:39:46] <Marzo> I must say that System::IO::StreamWriter seems awfully like a member of the dreaded .NET CLR
[02:40:03] <Marzo> You want to use it for what, exactly?
[02:40:21] <wizardrydragon> IRC string parsing
[02:40:40] <Marzo> Hm
[02:41:12] <Marzo> You can probably do a lot better with regular expressions
[02:41:36] <wizardrydragon> Perhaps, but that involves rewriting code and Im lazy
[02:41:51] <Marzo> What is the type of strings that you need to parse generally?
[02:42:03] <Marzo> Laziness is never a good excuse :-)
[02:42:08] * Marzo ducks
[02:42:27] <wizardrydragon> IRC strings!
[02:42:30] <wizardrydragon> I said that already
[02:42:31] <wizardrydragon> @_@
[02:42:48] <Marzo> Yep, just confirmed: System::IO::StreamWriter is a member of the .NET CLR
[02:43:13] <Marzo> I don't know what format they usually come in, which is what I was asking
[02:43:22] --- wizardrydragon is now known as dragonWatcher
[02:43:37] <Marzo> Are they just regular strings, and the client does all the job of colorizing?
[02:44:00] <dragonWatcher> Theyre strings that contain formatting codes.
[02:44:30] <Marzo> Being in the CLR means that you will have to install the .NET framework in the computer where the bot will be running
[02:44:51] <dragonWatcher> irctext[String lines[char(64)]]
[02:44:54] <Marzo> (a though thing to do if the computer is not running windows)
[02:45:01] <dragonWatcher> Thats not an issue
[02:45:05] <dragonWatcher> Itll be running on this computer
[02:45:11] <dragonWatcher> and this computer has the .NET SDL
[02:45:15] <Marzo> Does the computer stay on 24/7?
[02:45:33] * Marzo feels that the answer is yes
[02:45:49] --- dragonWatcher is now known as dragonSpamWatche
[02:46:15] <Marzo> Why the name changes?
[02:46:18] --- dragonSpamWatche is now known as wizardLinkWatche
[02:46:29] --- wizardLinkWatche is now known as wiz_LinkWatcher
[02:47:03] * Marzo pokes wiz_LinkWatcher repeatedly with the Death Scythe in an attempt to get a reply
[02:48:41] <wiz_LinkWatcher> trying to set up another bot and I have to /nickserv register its name
[02:49:18] <Marzo> Oh
[02:49:50] <wiz_LinkWatcher> yep
[02:49:56] --- wiz_LinkWatcher is now known as wizardrydragon
[02:50:26] <wizardrydragon> Bots is the theme of my programming right now
[02:50:37] <wizardrydragon> It has to be something environmental
[02:50:48] <wizardrydragon> The same code worked fine for LinkWatcher
[02:52:03] <Marzo> The exact same code?
[02:53:25] <wizardrydragon> Exact same code.
[02:55:46] <wizardrydragon> Its on a bot currently working
[02:55:53] <wizardrydragon> in #wikipedia-spam
[02:56:33] <Marzo> When you created the project... did you select a CLR project or a Win32 project?
[02:57:05] <wizardrydragon> Win32
[02:57:12] <wizardrydragon> Needs to be
[02:57:14] <Marzo> That may be the problem
[02:57:14] <wizardrydragon> Uses forms
[02:57:28] <Marzo> The CLR can also use forms
[02:57:40] <Marzo> And also runs in Win32
[02:57:49] <Marzo> (although it requires the CLR)
[02:57:58] <wizardrydragon> CLR?
[02:58:07] <Marzo> Core Language Runtime
[02:58:26] <Marzo> a 20MB runtime file that is used by all .NET framework programs
[02:58:56] <Marzo> It contains the System::IO::StreamWriter class you want to use
[02:58:56] <wizardrydragon> Same errors occur on CLR Forms project compile
[02:59:35] <Marzo> Check the project options of the working bot and compare it to yours
[03:00:13] <wizardrydragon> It uses CLR forms
[03:01:22] <Marzo> Project options as in: the Project menu, go to 'Project dependencies' and '<Project> Properties'
[03:03:56] <wizardrydragon> Oh
[03:04:02] <wizardrydragon> Thats odd, it doesnt have all of them, it seems
[03:04:08] <Marzo> Bingo :-)
[03:05:26] <wizardrydragon> prolly
[03:05:28] <wizardrydragon> We'll see
[03:10:04] * wizardrydragon finds a bot programmer to pester with incessant questions
[03:21:30] <Marzo> lol
[03:21:44] <wizardrydragon> Aha
[03:21:53] <Marzo> Did it work?
[03:22:03] <wizardrydragon> The SDL is newer than the Framework publicly released
[03:22:23] <wizardrydragon> So I have to use the depreciated functions to have them function as Im trying to have them do so
[03:57:15] <Marzo> How does this look for the icon? :http://seventowers.u7feudallands.com/images/TFLMAP.png
[03:57:24] <Marzo> (this is the background only, BTW)
[03:57:30] <wizardrydragon> Neat
[03:57:56] <Marzo> Now to paste the crown in the front and make the 32x32 and 16x16 icons
[03:58:45] <wizardrydragon> :)
[04:21:59] <Marzo> http://seventowers.u7feudallands.com/images/tfl.png
[04:22:02] <Marzo> http://seventowers.u7feudallands.com/images/tfl.ico
[04:23:42] <Marzo> Well, good night to all of you
[04:23:51] <Crysta> night marzo :)
[04:24:49] <-- Marzo has left IRC ("Marzo vanishes suddenly.")
[04:29:50] <wizardrydragon> Damn.
[04:29:56] <Crysta> lol
[04:30:02] <Crysta> haha, you missed it :p
[04:30:08] <wizardrydragon> <_<
[04:43:50] <wizardrydragon> <Marzo> (when you get back, obviously) think I should stick the bot in CVS?
[05:49:14] <-- Crysta has left IRC ("Trillian (http://www.ceruleanstudios.com")
[05:50:16] <wizardrydragon> USER wizardrydragon
[05:50:18] <wizardrydragon> hmm
[06:13:36] --> Kirben has joined #tfl
[06:13:36] --- ChanServ gives voice to Kirben
[08:07:43] <wizardrydragon> Hello Kirben
[08:07:51] <Kirben> Hi
[08:07:58] <wizardrydragon> Im terribly late with that greeting, I fear :D
[08:39:50] <wizardrydragon> Its alive!
[08:39:58] <wizardrydragon> The bot actually works!
[08:40:02] <wizardrydragon> Now it just needs to do something.
[10:14:08] <-- wizardrydragon has left IRC (Connection timed out)
[14:18:16] <-- Kirben has left IRC (Read error: 145 (Connection timed out))
[16:02:51] --> Marzo has joined #tfl
[16:02:51] --- ChanServ gives channel operator status to Marzo
[16:03:01] <Marzo> Hi exultbot
[16:03:09] <Marzo> exultbot: Hi
[16:03:09] <exultbot> Hi Marzo!
[16:29:32] <-- Marzo has left IRC (lem.freenode.net irc.freenode.net)
[16:29:32] <-- ChanServ has left IRC (lem.freenode.net irc.freenode.net)
[16:29:49] --> Marzo has joined #tfl
[16:29:49] --> ChanServ has joined #tfl
[16:30:20] <-- Marzo has left IRC (lem.freenode.net irc.freenode.net)
[16:30:40] --> Marzo has joined #tfl
[17:56:07] --> wizardrydragon has joined #tfl
[17:56:07] --- ChanServ gives channel operator status to wizardrydragon
[18:00:50] <-- wizardrydragon has left IRC (Read error: 131 (Connection reset by peer))
[18:11:37] --> wizardrydragon has joined #tfl
[18:11:37] --- ChanServ gives channel operator status to wizardrydragon
[18:11:48] <wizardrydragon> moo
[18:11:54] <Marzo> Hi
[18:11:59] <wizardrydragon> Greetings
[18:12:17] <Marzo> What does the new TFL icon look like?
[18:12:28] <wizardrydragon> Hmm?
[18:12:37] <Marzo> Also, how does this look for the SI icon? : http://seventowers.u7feudallands.com/images/sifixes.png
[18:12:41] <Marzo> http://seventowers.u7feudallands.com/images/tfl.png
[18:12:56] <wizardrydragon> Neat
[18:13:19] <wizardrydragon> dragonBot lives!
[18:13:20] <Marzo> There are also 32x32 and 16x16 versions: http://seventowers.u7feudallands.com/images/tfl.ico
[18:13:23] <wizardrydragon> Doesnt do much right now though
[18:13:40] <Marzo> What do you mean?
[18:14:03] <wizardrydragon> All it can do is connect to IRC and join a channel
[18:14:11] <Marzo> Oh, you mean the bot
[18:14:18] <wizardrydragon> Yep
[18:14:31] <Marzo> I missed the 'dragonBot lives!' line
[18:15:05] <Marzo> Hm... The SI icon looks way better than the TFL icon; I think I'll redo the latter
[18:15:26] <Marzo> At least the sea does...
[18:15:34] <wizardrydragon> Heh
[18:15:50] <Marzo> But re: the bot: it is working much better now since it actually compiles :-)
[18:16:46] <wizardrydragon> Yep!
[18:16:47] <wizardrydragon> :D
[18:17:16] <Marzo> At that rate, TFL will be done before the bot is :-)
[18:18:38] <wizardrydragon> I should probably put the connection attempts in another thread
[18:18:49] <wizardrydragon> otherwise the bot gets rather unresponsive when connecting
[18:19:12] <Marzo> Good idea
[18:19:32] <Marzo> This is actually a beef I have with some linux problems
[18:19:39] <Marzo> Er... programs, not problems
[18:19:55] <Marzo> They tend to get unresponsive when doing certain things
[18:20:07] <Marzo> Looks unprofessional
[18:23:50] <wizardrydragon> Stupid question
[18:24:00] <wizardrydragon> What's the default port for IRC?
[18:24:07] <Marzo> No idea
[18:24:13] <Marzo> Lets see if Miranda does
[18:24:36] <Marzo> Miranda uses port 6667 for IRC
[18:29:43] <wizardrydragon> Hmm.
[18:29:48] <wizardrydragon> It seems to be failing auth :P
[18:34:08] <Marzo> There, much better now: http://seventowers.u7feudallands.com/images/tfl.png
[18:35:09] <Marzo> Miranda also has an 'ident' option for IRC which uses port 113
[18:35:25] <Marzo> I don't know if freenode uses it or not, though, and it is disabled here
[18:42:13] --- wizardrydragon is now known as tflBot
[18:43:08] --- tflBot is now known as wizardrydragon
[18:56:39] --> tflBot has joined #tfl
[18:57:31] --- wizardrydragon gives voice to tflBot
[18:57:31] --- ChanServ removes voice from tflBot
[18:57:59] --- wizardrydragon gives voice to tflBot
[18:58:08] <wizardrydragon> It lives!
[18:58:23] <Marzo> I thought the name was dragonBot?
[18:58:44] <Marzo> Does it do anything other than join yet?
[18:59:00] <Marzo> I found out that exultbot dodges punches in #exult
[18:59:16] <wizardrydragon> dragonBot was taken :o
[18:59:24] <Marzo> :-)
[18:59:36] <wizardrydragon> And not yet
[19:00:49] <wizardrydragon> Im working on some stuff now but it wont work of course until I restart the bot
[19:07:03] <wizardrydragon> J1s
[19:07:08] <wizardrydragon> bot will be back in a moment
[19:07:12] <-- tflBot has left IRC (Read error: 131 (Connection reset by peer))
[19:25:42] --> tflBot has joined #tfl
[19:25:42] --- ChanServ gives voice to tflBot
[19:26:23] <wizardrydragon> There we go
[19:41:05] <-- tflBot has left IRC (Read error: 131 (Connection reset by peer))
[20:04:55] --> tflBot has joined #tfl
[20:04:56] --- ChanServ gives voice to tflBot
[20:10:26] <-- Marzo has left IRC (Read error: 131 (Connection reset by peer))
[20:11:31] <-- tflBot has left IRC (Read error: 131 (Connection reset by peer))
[22:09:25] --> Marzo has joined #tfl
[22:09:25] --- ChanServ gives channel operator status to Marzo
[22:38:34] --> Kirben has joined #tfl
[22:38:34] --- ChanServ gives voice to Kirben
[23:54:54] <wizardrydragon> Hello Marzo
[23:54:58] <wizardrydragon> And Kirben as well.
[23:55:00] <Marzo> Hi
[23:55:16] <Kirben> Hi
[23:59:23] <wizardrydragon> tflBot kinda sorta does stuff now.