Petit Computer Wiki:Chat/Logs/17 November 2013

 [11:55]  Click. [11:55]  dangit [11:55]  who here [11:55]  would love [11:55]  an rpg maker like system for ptc [11:56]  I'm trying to make the "Detect string or variable" program in C#, but it keeps throwing exceptions with Convert.ToInt32 and Convert.ToString [11:56]  My internet is acting up [11:56]  hmm... I think I would. Probably wouldn't use it myself [11:56]  You don't need "Convert.ToString", just use .ToString on the variable in question [11:57]  I don't know about the other one, it could be that you have poorly formed strings [11:57]  here's my code [11:57]  using System; [11:57]  [11:57]  class Program [11:57]  { [11:57] <IAmAPersson> public static void Main(String[] args) [11:57] <IAmAPersson> { [11:57] <IAmAPersson> Console.Write("Enter a string or a variable, and I will figure out which one it is!\n"); [11:57] <IAmAPersson> string inp = Console.ReadLine; [11:57] <IAmAPersson> if (Convert.ToString(Convert.ToDouble(inp)) == inp) [11:57] <IAmAPersson> { [11:57] <IAmAPersson> Console.Write("You entered a variable!\n"); [11:57] <IAmAPersson> } [11:57] <IAmAPersson> else [11:57] <IAmAPersson> { [11:57] <IAmAPersson> Console.Write("You entered a string!\n"); [11:57] <IAmAPersson> } [11:57] <IAmAPersson> Console.ReadKey; [11:57] <IAmAPersson> } [11:57] <IAmAPersson> } [11:57] <IAmAPersson> [11:57] <IAmAPersson> it works fine until you enter anything with letters [11:57] <Randomouscrap98> Oh, that's why [11:57] <Randomouscrap98> You need the "TryParse" method, not just straight up conversion [11:57] <IAmAPersson> I know why it's acting up [11:57] <IAmAPersson> oh [11:58] <Randomouscrap98> You only use Convert if you KNOW what the input will be [11:58] <Randomouscrap98> In your program, you don't, so you "Try" to parse it [11:58] <Randomouscrap98> http://msdn.microsoft.com/en-us/library/f02979c7(v=vs.110).aspx [11:58] <Randomouscrap98> If it can parse it as an integer (or double, if you want), then it's an integer. Otherwise it's a string [12:00] <SmokedSausage> Do i have enough of the communities approval Mr. Randomous? [12:00] <Randomouscrap98> I don't know, I need to talk to the other admins lol [12:00] <Randomouscrap98> Like Brian [12:00] <IAmAPersson> I'm fone with it [12:00] <IAmAPersson> fine* [12:01] <Randomouscrap98> I know he said yes, but I need him to confirm before we do that [12:01] <Randomouscrap98> In the meantime, do you want to do you test page cleanup? [12:02] <Lumage> *jokingly* I guess that's a no then. [12:02] <IAmAPersson> his internet is really poopy [12:02] <IAmAPersson> this is normal [12:02] <Lumage> I know. [12:03] <Lumage> *elevator music* [12:03] <IAmAPersson> if I'm getting 16 errors from 3 lines of code, am I doing something wring? [12:03] <Randomouscrap98> Absolutely lol [12:03] <Lumage> XD no, not at all. [12:04] <IAmAPersson> make that 16 errors from 1 line of code [12:05] <Lumage> Change == to = [12:06] <IAmAPersson> lol I'm fixing it [12:06] <Randomouscrap98> Hey person [12:06] <IAmAPersson> yes? [12:06] <Randomouscrap98> How many cores do you have? [12:06] <IAmAPersson> I think only 1 [12:06] <IAmAPersson> maybe 2 [12:06] <Randomouscrap98> ...1??? [12:07] <Randomouscrap98> How old is the computer? [12:07] <IAmAPersson> I'm not sure [12:07] <Randomouscrap98> Is it a laptop? [12:07] <IAmAPersson> no [12:07] <IAmAPersson> I don't know how many cores [12:07] <Randomouscrap98> Oh. Do you know what the processor is called? [12:07] <IAmAPersson> All I know is that my dad made it [12:07] <IAmAPersson> and that it is really fasty [12:07] <IAmAPersson> fast* [12:07] <Randomouscrap98> Do CTRL-ALT-DELETe and go to the performance tab [12:08] <Randomouscrap98> How many graphs are there on the first line? [12:08] <IAmAPersson> 3 [12:08] <IAmAPersson> 3 cores [12:08] <IAmAPersson> ok [12:08] <Randomouscrap98> Ok, that's good [12:08] <SmokedSausage> Ehrmagurd [12:08] <Randomouscrap98> As long as you don't have 1; this code I'm making wouldn't work very well [12:09] <IAmAPersson> am i using TryParse wrong? [12:09] <IAmAPersson> I* [12:09] <Randomouscrap98> Is it not working? Look at the example given on that page I sent [12:09] <SmokedSausage> Hi Kiby [12:09] <TriforceOfKirby> Hi [12:09] <Lumage> So... bored... [12:10] <GimmeMoreCoinz> o.0 [12:10] <GimmeMoreCoinz> this si so interesting. [12:10] <GimmeMoreCoinz> is* [12:10] <GimmeMoreCoinz> i'll have to be able to see the finished code later :D [12:10] <IAmAPersson> using System; [12:10] <IAmAPersson> [12:10] <IAmAPersson> class Program [12:10] <IAmAPersson> { [12:10] <IAmAPersson> public static void Main(String[] args) [12:10] <IAmAPersson> { [12:10] <IAmAPersson> Console.Write("Enter a string or a variable, and I will figure out which one it is!\n"); [12:10] <IAmAPersson> string inp = Console.ReadLine; [12:10] <IAmAPersson> public static bool TryParse(string inp, out int result) { } [12:10] <IAmAPersson> } [12:10] <IAmAPersson> } [12:10] <GimmeMoreCoinz> I learn by others code to [12:10] <SmokedSausage> Randomous do I have enough of the wiki's approval? [12:10] <Lumage> &gt;.&lt; [12:10] <IAmAPersson> I'm pretty sure that's wrong [12:10] <Randomouscrap98> I've already said, I need to talk to Brian [12:11] <Randomouscrap98> And would you like to try your cleanup page? [12:11] <SmokedSausage> I would [12:11] <Randomouscrap98> OK [12:12] <SmokedSausage> Please don't take me asking as me trying to push you, I am just curious is all. I'm really sorry if that's what it feels like [12:12] <Randomouscrap98> No, it's no problem! [12:13] <SmokedSausage> Okay [12:14] <Randomouscrap98> OK, before we do this, I'd like to talk to the Admins that are on right now [12:14] <Randomouscrap98> We need to stop putting the downloads into a gallery [12:14] <TriforceOfKirby> Ok [12:14] <Randomouscrap98> Because this happens: [12:14] <IAmAPersson> Ok [12:14] <Randomouscrap98> [12:14] <Randomouscrap98> Go to page 2 [12:14] <Randomouscrap98> Beat the clock and Bug fire both have a picture for their game [12:15] <Randomouscrap98> But instead, the gallery overrides this and shows the QR as the thumbnail [12:15] <Randomouscrap98> This isn't good [12:15] <IAmAPersson> That's what's been going on with my page [12:15] <IAmAPersson> oohhhhh........... [12:15] <IAmAPersson> I'll get mine tomorrow [12:15] <Randomouscrap98> This is why I was against it in the first place [12:15] <Randomouscrap98> But everyone seemed to want it lol [12:15] <Randomouscrap98> I think the thumbnails are important though [12:15] <TriforceOfKirby> So it that the wikis fault? [12:16] <TriforceOfKirby> is* [12:16] <Randomouscrap98> Well, yes. But it makes sense, doesn't it? [12:16] <TriforceOfKirby> Yes [12:16] <Randomouscrap98> It would rather use a Gallery image than some image floating around [12:16] <Randomouscrap98> It sounds better [12:16] <IAmAPersson> The problem with that is [12:16] <IAmAPersson> a gallery slider can only hold 4 images [12:16] <SmokedSausage> So what page do you want me to clean? [12:16] <Randomouscrap98> Errr I don't know yet [12:16] <IAmAPersson> and it can be pesky with sizing [12:17] <Randomouscrap98> Don't use a slider either [12:17] <Randomouscrap98> Why can't the pictures just sit on the page? [12:17] <SmokedSausage> That bugs me too [12:17] <TriforceOfKirby> I don't see why not [12:17] <Randomouscrap98> I do it in Village lol: Village [12:18] <Randomouscrap98> Here, read this: http://community.wikia.com/wiki/User_blog:Kirkburn/How_images_are_picked_to_represent_articles [12:19] <TriforceOfKirby> I wish you could choose which image shows up [12:19] <IAmAPersson> YES [12:19] <IAmAPersson> I AGREE [12:19] <IAmAPersson> 100% [12:19] <Randomouscrap98> That would be nice [12:19] <Lumage> I think I'm going to go to the library now. [12:19] <Lumage> Or soon. [12:19] <TriforceOfKirby> Ok [12:19] <Randomouscrap98> We should contact Wikia like it says on that page and tell them that their system is not working for us [12:20] <TriforceOfKirby> Ok, want me to? [12:20] <TriforceOfKirby> Or do you want to? [12:21] <Randomouscrap98> I'm looking into it [12:21] <Lumage> Clck. [12:21] <TriforceOfKirby> Ok [12:27] <IAmAPersson> it's not working [12:27] <IAmAPersson> :( [12:27] <IAmAPersson> using System; [12:27] <IAmAPersson> [12:27] <IAmAPersson> public class StringParsing [12:27] <IAmAPersson> { [12:27] <IAmAPersson> public static void Main [12:27] <IAmAPersson> { [12:27] <IAmAPersson> Console.WriteLine("Enter a string or a variable, and I will figure out which one it is!"); [12:27] <IAmAPersson> string inp = Console.ReadLine; [12:27] <IAmAPersson> } [12:27] <IAmAPersson> [12:27] <IAmAPersson> private static void TryToParse(string inp) [12:27] <IAmAPersson> { [12:27] <IAmAPersson> int number; [12:27] <IAmAPersson> bool result = Int32.TryParse(inp, out number); [12:27] <IAmAPersson> if (result) [12:27] <IAmAPersson> { [12:27] <IAmAPersson> Console.WriteLine("You entered a variable!"); [12:27] <IAmAPersson> } [12:27] <IAmAPersson> else [12:27] <IAmAPersson> { [12:27] <IAmAPersson> Console.WriteLine("You entered a string"); [12:27] <IAmAPersson> } [12:27] <IAmAPersson> [12:27] <IAmAPersson> Console.ReadKey; [12:27] <IAmAPersson> } [12:27] <IAmAPersson> } [12:28] <IAmAPersson> I'll do it later [12:28] <TriforceOfKirby> Hmm. what are you doing? [12:28] <IAmAPersson> testing for a string or variable [12:29] <IAmAPersson> from user input [12:29] <TriforceOfKirby> Oh ok that makes sense [12:29] <TriforceOfKirby> C# right? [12:29] <IAmAPersson> like if he inputted "43" then it would say he entered a variable [12:29] <IAmAPersson> yes [12:29] <IAmAPersson> and if he did "fdjbalfa" it would say string [12:29] <TriforceOfKirby> ok [12:29] <TriforceOfKirby> and its not working? [12:30] <IAmAPersson> but the console wont stay open after the public static void Main{} [12:30] <IAmAPersson> after I input my number, it closes unexpectedly [12:30] <IAmAPersson> when it's supposed to stay open [12:30] <TriforceOfKirby> so you have anyhting that makes it stay ope? [12:30] <TriforceOfKirby> so* [12:30] <TriforceOfKirby> do* [12:30] <TriforceOfKirby> open* [12:30] <IAmAPersson> lol [12:31] <TriforceOfKirby> typing fail [12:31] <IAmAPersson> should I make [12:31] <IAmAPersson> private static void TryToParse(string inp) [12:31] <IAmAPersson> into [12:31] <IAmAPersson> public static void TryToParse(string inp) [12:31] <GimmeMoreCoinz> you have to have a loop... [12:31] <IAmAPersson> ? [12:31] <GimmeMoreCoinz> do a while loop [12:31] <IAmAPersson> oh [12:31] <IAmAPersson> where [12:31] <GimmeMoreCoinz> do int X=10; [12:31] <GimmeMoreCoinz> while (x==10){} [12:31] <GimmeMoreCoinz> because [12:31] <GimmeMoreCoinz> inside the main [12:31] <TriforceOfKirby> or SYSTEM("PAUSE&gt;NUL") [12:31] <GimmeMoreCoinz> it just closes after all code reaches the exit param [12:31] <GimmeMoreCoinz> system("PAUSE&gt;NULL") is unproffesional [12:32] <GimmeMoreCoinz> use a whlie loop or some other construct [12:32] <GimmeMoreCoinz> hardly anyone in real development uses systempause [12:32] <IAmAPersson> everything inside the code is inside the class StringParsing [12:32] <TriforceOfKirby> Yeah it is, while is probably bettter [12:33] <GimmeMoreCoinz> sorry for the typos the chat lags when I type [12:34] <TriforceOfKirby> Hi [12:34] <TobuKatsu> I am a portrait (doge) [12:34] <IAmAPersson> more errors [12:34] <IAmAPersson> i gtg [12:34] <TriforceOfKirby> bye [12:35] <IAmAPersson> if randomous asks for me, tell him to post it on my message wall, please [12:35] <TriforceOfKirby> Ok [12:35] <IAmAPersson> thanks [12:35] <IAmAPersson> why [12:35] <IAmAPersson> bye* [12:35] <Lumage> Bye [12:35] <TriforceOfKirby> bye [12:35] <Randomouscrap98> Bye [12:35] <IAmAPersson> oh hai [12:35] <IAmAPersson> bye [12:35] <Randomouscrap98> So guys, what should do about the gallery thing? [12:36] <Randomouscrap98> I already sent a message to Wikia, but they're probably not going to do anything [12:36] <SmokedSausage> Probably not [12:36] <TriforceOfKirby> Hmm, I'm not sure [12:36] <SmokedSausage> I really don't know [12:36] <Randomouscrap98> I mean, the gallery DOES make the images look better [12:36] <SmokedSausage> Sorry I can't be of help [12:36] <Randomouscrap98> But there are problems with the gallery as well [12:36] <Randomouscrap98> Don't worry about it! [12:37] <SmokedSausage> Sorry I was away though, You can thank Kirby for that one [12:37] <Randomouscrap98> There are other ways to make the images work better, but they require more knowledge of Wikia [12:37] <Randomouscrap98> And I don't think everyone is willing to do that [12:37] <TriforceOfKirby> Wait why were you away? [12:37] <SmokedSausage> Ball [12:37] <TriforceOfKirby> Oh, lol [12:37] <Randomouscrap98> Who? [12:38] <TriforceOfKirby> Sausage [12:38] <SmokedSausage> Have you tried Kirby's "Ball" Program? [12:38] <Randomouscrap98> Yes [12:38] <SmokedSausage> I Haven't played anything else today [12:39] <TriforceOfKirby> lol, I found it very addicting as well [12:39] <SmokedSausage> Except VVVVVVV Thanks to Randomous [12:39] <SmokedSausage> I <3 Physics [12:40] <Lumage> Turtles. [12:40] <SmokedSausage> Turtles are alright [12:40] <Randomouscrap98> No problem! [12:41] <SmokedSausage> VVVVVVV Is the only reason I switched to windows today [12:41] <SmokedSausage> And I find Linux very good for C develpment btw [12:41] <GimmeMoreCoinz> randomous i"m willing to learn about the wikia api [12:42] <TriforceOfKirby> Yeah I am too [12:42] <GimmeMoreCoinz> I want to branch into web development at some point so this would be a decent start. [12:42] <GimmeMoreCoinz> i mean were programmer.s :3 [12:42] <GimmeMoreCoinz> it's what we do best is solve issues [12:44] <BuGgErHAX> Heyyyyyy [12:44] <TriforceOfKirby> Hi [12:44] <TobuKatsu> Im getting a book on programming for christmas (awesome) [12:44] <TriforceOfKirby> Cool [12:44] <BuGgErHAX> COINZ! The sprites in PSB are on the fritz bro [12:44] <BuGgErHAX> (lol) [12:45] <TobuKatsu> (fast) (disco) (NUKE) (nyancat) (banana) (tails) (sparky) [12:45] <SmokedSausage> Back [12:46] <TriforceOfKirby> Hi [12:46] <SmokedSausage> Hi [12:47] <SmokedSausage> I has Ice cream [12:47] <TriforceOfKirby> lol me too [12:47] <TobuKatsu> Hey sausage [12:47] <SmokedSausage> Hi Tobu [12:48] <TobuKatsu> https://www.youtube.com/watch?v=4GWJZNvjF6w [12:49] <TriforceOfKirby> Hey what would happen if I changed all my "Font Substitutes" in my registry to the same font? [12:51] <TobuKatsu> (NUKE) BROWNIES (NUKE) [12:51] <TobuKatsu> (NUKE) (N64) (NUKE) [12:51] <SmokedSausage> Oh lord not again [12:52] <SmokedSausage> Please don't let it turn into spam [12:52] <TobuKatsu> (spam) [12:52] <SmokedSausage> And I can't answer that question kirby Sorry [12:52] <TriforceOfKirby> Ok [12:52] <Lumage> All the frozen [12:53] <TriforceOfKirby> You can try it if you want, type regedit into the run window to acess the registry [12:54] <SmokedSausage> I'm not using windows though...I have messed around with that though [12:54] <TriforceOfKirby> Ok [12:55] <SmokedSausage> That's when i messed around and installed WinXP SP3 [12:55] <TriforceOfKirby> I changed the MS SHELL DIG font to consolas and now my system font is that [12:55] <SmokedSausage> Trying to install Visual Studio 2010 [12:55] <TobuKatsu> i did [12:55] <TobuKatsu> i have 2010 [12:56] <SmokedSausage> Yeah but To install it on XP It requires SP3 [12:56] <TriforceOfKirby> I'm gonna go play minecraft, see ya [12:56] <SmokedSausage> Bye [12:56] <TriforceOfKirby> Bye [12:56] <Lumage> Bye [12:56] <TobuKatsu> (NUKE) BYE (NUKE) [12:59] <SmokedSausage> Hi everybody! [01:00] <SmokedSausage> Welcome to the Gangban-errr....Party [01:00] <BrianXP7> hi [01:00] <TobuKatsu> (NUKE) BROWNIES (NUKE) [01:01] <BrianXP7> -_- [01:01] <SmokedSausage> No [01:01] <TobuKatsu> (lol) [01:01] <SmokedSausage> lol [01:01] <BrianXP7> coinz? [01:01] <SmokedSausage> She is away [01:01] <BrianXP7> oh [01:01] <BrianXP7> aw... [01:01] <BrianXP7> i gotta go [01:01] <BrianXP7> sorry [01:01] <BrianXP7> phone hacking [01:01] <BrianXP7> :p [01:01] <BrianXP7> bye [01:01] <GimmeMoreCoinz> sorry. i'm away [01:01] <SmokedSausage> Bye? [01:01] <GimmeMoreCoinz> i was helping a friend [01:01] <TobuKatsu> (NUKE) (BANANA) (NUKE) [01:01] <BrianXP7> oh hi [01:02] <SmokedSausage> xD [01:02] <BrianXP7> geneious writing ftw! [01:02] <SmokedSausage> Right when ur about to leave [01:02] <BrianXP7> i gotta go [01:02] <BrianXP7> bye [01:06] <TobuKatsu> (NUKE) (banana) (NUKE) [01:07] <SmokedSausage> Wait a sec... [01:08] <Lumage> You forgot to ask him? [01:08] <Randomouscrap98> OH, I'm sorry! [01:09] <Randomouscrap98> I'm REALLY busy with a whole bunch of stuff! People keep asking me to do things... I haven't even cooked dinner yet, and I was supposed to work on essays and whatnot lol. [01:09] <Lumage> -, '-' ,- [01:09] <SmokedSausage> I'm really sorry Randomous [01:10] <Randomouscrap98> Don't be sorry! [01:10] <SmokedSausage> But [01:10] <SmokedSausage> Bacon [01:10] <SmokedSausage> So Who What When Where Why How? [01:10] <Lumage> I wonder if BrianXP7 knows... I mean, I'm fairly certain he saw the thread. [01:11] <SmokedSausage> which thread? [01:12] <Lumage> Yours. [01:13] <SmokedSausage> Oh, Thanks for the Cleanup page Randomous [01:13] <Randomouscrap98> NP [01:17] <Lumage> *Radio crackle* Random, we've got an empty page, operating system and noob user. [01:17] <Randomouscrap98> We do? [01:18] <Randomouscrap98> Oh [01:18] <Lumage> *radio crackle* at the corner of [01:18] <Lumage> Nickos [01:18] <SmokedSausage> Well, Okay then [01:19] <Lumage> XD they tried to put the description in the middle of the "put info here" text. [01:19] <TobuKatsu> Anyone know how to make a platformer? [01:20] <Lumage> No [01:20] <Randomouscrap98> OK, there you go Lumage [01:20] <Randomouscrap98> Testing [01:20] <Randomouscrap98> Thanks for alerting me [01:21] <Lumage> Note to self: don't make an empty page near randomous or he will jump on you and devour you like... a hyena or somethin. [01:22] <Randomouscrap98> Oh, I guess I should have given them more time lol [01:25] <TobuKatsu> (NUKE) [01:27] <Lumage> To the casual observer it probably looks like we are really harsh to new users... [01:27] <Randomouscrap98> Well, we are [01:27] <Randomouscrap98> I ain't toleratin' nothin' [01:28] <Randomouscrap98> ...which is mean [01:28] <SmokedSausage> Nuttin' [01:28] <Lumage> * Lumage hands Randomouscrap a hat. [01:29] <Randomouscrap98> * Randomouscrap98 puts on the hat [01:29] <SmokedSausage> Randomous Do you want me to use the gallery for QR Codes? [01:30] <SmokedSausage> Btw That's a nice hat [01:30] <Randomouscrap98> Lol [01:30] <Randomouscrap98> Uhh, no, don't use the gallery [01:30] <SmokedSausage> Ok [01:30] <Lumage> Just make it look nice. [01:31] <Lumage> *sighs* they tried to remove the deletion notice. [01:31] <Randomouscrap98> They did it twice? Jeez [01:32] <Lumage> It really isn't that hard to do it right... I did, or almost did once. [01:34] <Randomouscrap98> Ugh, well, third time's the charm. If they do it again, the page is gone. It's harsh, but I don't take crap. [01:39] <SmokedSausage> What the Nick OS? [01:39] <Randomouscrap98> Hmm? [01:42] <Lumage> Well, I doubt much anyone else is going to see my request for adminship, so I guess that's not happening. [01:42] <Randomouscrap98> That's not true! [01:42] <Randomouscrap98> Just get yourself out there more. I'll totally make you an admin lol. Sometimes it takes a few days for people to notice the request [01:44] <Lumage> IAmAPersson made 3 forum/blog posts to get promoted, but everyone likes him because they play too much minecraft. [01:44] <Randomouscrap98> Lol [01:44] <Randomouscrap98> They like you too, trust me [01:45] <Randomouscrap98> Plus, I just noticed, you already have a lot of approval [01:45] <Randomouscrap98> I really just need Brian's vote, and it should be fine [01:45] <Lumage> Sparky kind of already approved me, if it matters. [01:46] <Randomouscrap98> Lol [01:46] <Randomouscrap98> I noticed [01:48] <TobuKatsu> did someone make pac-man for ptc?I seen sometin about somewhere but i cant find QRs [01:48] <Lumage> Well, Brian should be no problem, when he was on the wiki more, we talked often. [01:48] <Randomouscrap98> I'm sure it'll be fine [01:49] <Lumage> I do not recall seeing a pacman clone/port... [01:50] <Lumage> Maybe you are thinking of Mr. Do!, which didn't have QRs released. [01:52] <TobuKatsu> Hey coinz [01:53] <TobuKatsu> Your LTTP PTC project video was posted on a facebuk page [01:54] <Lumage> Facebuk buk buk bagawk! [01:55] <TobuKatsu> I dont use fasebuk [01:56] <Lumage> Me neither. [01:56] <Lumage> Fishbuk [01:56] <SmokedSausage> What the heck!?!? I selected a couple things to delete, And it deleted more than I selected [01:58] <Lumage> Fishbulk [01:58] <Lumage> Bulk fish [02:00] <GimmeMoreCoinz> sorry guys earlier much earlier my computer reset [02:00] <Lumage> Wut [02:00] <GimmeMoreCoinz> what tobu? it was?? [02:03] <Lumage> *tumbleweed drifts past* [02:05] <SmokedSausage> Lol [02:05] <SmokedSausage> wut? [02:05] <Lumage> Did you lose anything? [02:07] <Lumage> And she's gone again. [02:12] <Lumage> Does the wiki record how many times a user has been kicked or banned? [02:13] <TobuKatsu> she goes afk on and off [02:13] <Randomouscrap98> I'm pretty sure [02:13] <TobuKatsu> we were talking one time and she took a 2 hour nap _(. 3 .)_ [02:13] <Randomouscrap98> I know I can see a log, so Wikia can definitely see a log [02:15] <Lumage> Okay. I was going to ask if you could kick me because I am so bored, but nevermind. [02:16] <Lumage> I have been in chat since 9:30 or so, about nine hours. [02:17] <Randomouscrap98> Ohhh, those [02:17] <Randomouscrap98> I don't actually think those are logged lol [02:17] <Randomouscrap98> Bans are lgoged, but kicks, I don't think so [02:18] <Randomouscrap98> SmokedSausage, I can't do PMs [02:18] <Lumage> Are you saying that because you really want to do something right now? [02:18] <Randomouscrap98> In fact, whenever someone PMs me, the logger breaks [02:18] <Randomouscrap98> So please don't do it [02:18] <Randomouscrap98> Seriously [02:18] <SmokedSausage> Oh I'm so sorry... [02:18] <Randomouscrap98> If you pm me, the logger restarts [02:18] <SmokedSausage> I won't do it again [02:18] <Randomouscrap98> Which is fine, but then I lose a few messages. You didn't know though lol, don't worry about it [02:19] <SmokedSausage> Ok [02:19] <Randomouscrap98> I just wanted to let you know because I can't read your pm [02:19] <PTC Wikia Bot> Send it to this guy [02:19] <Lumage> He's done editing [02:19] <PTC Wikia Bot> Ohhh ok [02:20] <Lumage> CHRdius [02:20] <Randomouscrap98> I see it [02:20] <Randomouscrap98> It looks good Sausage! [02:20] <Randomouscrap98> Just remember to link the name to the user in the future, and link the genre to the category. [02:20] <Lumage> That was supposed to be a link, oops. [02:20] <Randomouscrap98> But yeah, it looks great [02:21] <SmokedSausage> Okay I will Remember that Next Time [02:21] <Randomouscrap98> This is all I did: CHRdius [02:22] <Randomouscrap98> So yeah, great job! Let me just wait for brian to OK it (I think Kirby already said OK too, but I don't remember) [02:22] <Lumage> It looks good. I would change "translation to read in english" to "translation to be read in english". [02:23] <Randomouscrap98> Ehh, that's just a nitpicky thing lol [02:23] <SmokedSausage> lol [02:23] <SmokedSausage> But thanks for the suggestion [02:23] <Randomouscrap98> There you go lumage [02:23] <Lumage> Also whereas should probably be where. [02:24] <SmokedSausage> Idk [02:24] <Randomouscrap98> I think that was the old description lol [02:24] <SmokedSausage> Naw I put Whereas [02:24] <SmokedSausage> It is a word I have seen it used a million times [02:24] <Randomouscrap98> Oh lol. Well yes, it's where [02:24] <Lumage> Which is incorrect. [02:25] <Randomouscrap98> Whereas is used when comparing things [02:25] <SmokedSausage> Eh, Never really thought of it that way [02:25] <Randomouscrap98> "This banana tastes great! Whereas this banana is a pile of donkey poo" [02:25] <Lumage> "Unless you are using SmileBasic Turbo++, whereas you would..." [02:26] <SmokedSausage> Wow, What a graphic comparison [02:26] <Lumage> Thank you : P [02:28] <SmokedSausage> ... [02:30] <SmokedSausage> I just realized something... [02:30] <Lumage> :þ [02:31] <SmokedSausage> Colon flat? [02:31] <Lumage> Yes? [02:31] <SmokedSausage> xD I just realized how bad that sounds [02:31] <SmokedSausage> Annyway...I say "Sorry" a lot [02:31] <Lumage> IDK what that symbol is. [02:31] <SmokedSausage> Flat [02:32] <SmokedSausage> As In B Flat E Flat (Music/Band) [02:32] <SmokedSausage> I play french horn [02:32] <Randomouscrap98> OHHH YEAH [02:32] <Randomouscrap98> You play an instrument? Awesome [02:32] <SmokedSausage> I love band [02:33] <Randomouscrap98> I played the clarinet in school [02:33] <Randomouscrap98> I played it for 10 years [02:33] <SmokedSausage> Awesome [02:33] <SmokedSausage> Band buddies for life (Akward in some ways) [02:33] <Randomouscrap98> And now I don't play it anymore... and it makes me sad [02:33] <SmokedSausage> I have played for 5 [02:33] <Randomouscrap98> Lol high five! [02:34] <SmokedSausage> ... [02:34] <SmokedSausage> Gives Randomous High-5 [02:34] <Randomouscrap98> Lol I was going to say, you were going to leave me hanging? [02:34] <SmokedSausage> No, I just had an itch on my nose beforehand [02:35] <SmokedSausage> hehe [02:35] <Randomouscrap98> lo [02:35] <Randomouscrap98> l [02:35] <SmokedSausage> I just realized I say Sorry alot [02:35] <Randomouscrap98> I do too [02:35] <Randomouscrap98> It's a band thing lol [02:35] <SmokedSausage> And my cat is moaning in heat (Sighs) [02:36] <SmokedSausage> It's gonna be a long night [02:36] <SmokedSausage> And lol [02:37] <SmokedSausage> I wonder if Brian is playing anything on steam brb [02:39] <LeviCelJir> hi [02:39] <LeviCelJir> :/ [02:41] <LeviCelJir> everyones away! [02:41] <LeviCelJir> ... [02:43] <LeviCelJir> anyone here [02:44] <GimmeMoreCoinz> i'm here [02:45] <LeviCelJir> hi [02:45] <SmokedSausage> Hi [02:45] <LeviCelJir> hi [02:46] <SmokedSausage> I passed the "Page cleanup" Test [02:46] <LeviCelJir> yay [02:46] <SmokedSausage> Took an hour and a half [02:46] <LeviCelJir> lol persson takes 3 seconds [02:47] <SmokedSausage> Cuz he doesn't really edit it [02:47] <SmokedSausage> Well he does [02:47] <SmokedSausage> Just theres not much to change [02:48] <LeviCelJir> ... [02:48] <SmokedSausage> i don't know how to put it [02:50] <GimmeMoreCoinz> everyone... [02:51] <GimmeMoreCoinz> I think pokemon are real.. or SOMETHING... [02:51] <GimmeMoreCoinz> http://news-hound.net/world-largest-tortoise-found-in-amazon-basin-800lb/ [02:51] <SmokedSausage> Yes? [02:51] <SmokedSausage> xD [02:51] <GimmeMoreCoinz> just blastoise [02:51] <GimmeMoreCoinz> xD [02:51] <LeviCelJir> hey its my buddy [02:51] <SmokedSausage> It's* [02:51] <SmokedSausage> Hi [02:51] <MEGAMON2.0> hi [02:52] <SmokedSausage> Hey Uhh...Megamon [02:56] <LeviCelJir> OMG u know what i just quit find it yourself [02:56] <GimmeMoreCoinz> GCC if your into command line [02:56] <MEGAMON2.0> codeblocks? [02:56] <MEGAMON2.0> [02:56] <GimmeMoreCoinz> yeah [02:56] <GimmeMoreCoinz> it's a java based coding tool [02:56] <MEGAMON2.0> imma go see what its is [02:56] <GimmeMoreCoinz> you could also try installing devkit+ [02:56] <GimmeMoreCoinz> which is like [02:57] <GimmeMoreCoinz> the thing most console and homebrewers use [02:57] <SmokedSausage> For Java I would use the Netbeans IDE [02:57] <Lumage> It looks like not much happened while I was gone. [02:58] <SmokedSausage> Nothing [02:58] <MEGAMON2.0> well on ptc i just learned how to make music and stuff [02:58] <SmokedSausage> MML? [02:58] <MEGAMON2.0> yeah [02:58] <GimmeMoreCoinz> no codeblocks works for mor ethan just java [02:58] <GimmeMoreCoinz> i was saying that it's made in java [02:58] <SmokedSausage> Oh [02:59] <SmokedSausage> I know Java :3 My favorite language [02:59] <SmokedSausage> Java Javascript and basic are the only ones i know [03:00] <Lumage> I don't know java. Is my least favorite language. Btw typing alm-I can't see my typing. [03:00] <Pixel-Voxel> WOAH, this place is FILLED! [03:01] <SmokedSausage> Yeah... [03:01] <Lumage> There, now it's working. [03:01] <Lumage> But the one place at least three of us are waiting for isn't here. [03:02] <Lumage> *person [03:03] <Lumage> I have to go for a little bit. [03:03] <SmokedSausage> Bye [03:03] <Pixel-Voxel> Bye. [03:04] <SmokedSausage> I'm gonna go ahead and go to bed G'Night ya'll [03:04] <Pixel-Voxel> Bye... [03:04] <TobuKatsu> (NUKE) BROWNIES (NUKE) [03:06] <TobuKatsu> (NUKE) SEINWORB (NUKE) [03:06] <Pixel-Voxel> ( '_'; ) [03:06] <TobuKatsu> Byehyyyye [03:06] <TobuKatsu> ? [03:06] <Pixel-Voxel> Bye... [03:07] <GimmeMoreCoinz> hi pixel voxel [03:07] <Pixel-Voxel> Hi. [03:08] <Pixel-Voxel> Okay, it's official, there is no way to have a detailed background sprite in the normal 8x8 size. [03:09] <GimmeMoreCoinz> xd [03:09] <Pixel-Voxel> I'm going to have to change my level generation. [03:11] <Pixel-Voxel>. . . [03:15] <Pixel-Voxel> Biya. [03:17] <Lumage> Hello again. [03:29] <TobuKatsu> https://www.youtube.com/watch?v=yQ6utTt1TcE [03:33] <Lumage> Is anyone still here? [03:42] <Lumage> No?... [03:45] <Lumage> I am trying to calculate when I can get the next 1000th edit. [03:46] <Lumage> Greetings, Calc84maniac [03:47] <Calc84maniac> hallo [03:47] <Lumage> Does anyone know off the top of their head who got it last? [03:48] <Calc84maniac> no clue [03:48] <Lumage> As you can see, everyone is dead. [03:50] <Calc84maniac> heh [03:51] <Calc84maniac> it's been a while since I used Petit Computer, but I'm dropping in just because :P [03:51] <Randomouscrap98> Hi calc [03:51] <GimmeMoreCoinz> i'm not dead [03:52] <GimmeMoreCoinz> i has a treat for everyone. [03:52] <GimmeMoreCoinz> http://imgur.com/FmydiqT [03:53] <Randomouscrap98> What is it? [03:54] <GimmeMoreCoinz> a random idea for a chareacter/enemy in game [03:54] <GimmeMoreCoinz> think of waddle dee but with a mining helmet colored blue, wearing brown boots in a mine shaft [03:54] <GimmeMoreCoinz> that shoots red projectile circles out it's mouth [03:54] <GimmeMoreCoinz> my friend thought the black and white stuff wa a panda o.0 [03:55] <GimmeMoreCoinz> i was like noooo [03:55] <Randomouscrap98> Ahhh [03:55] <GimmeMoreCoinz> my keyboard hates me [03:55] <GimmeMoreCoinz> it stalls then i've typed the next letter [03:55] <GimmeMoreCoinz> and I have typos [04:03] <Calc84maniac> so what I've actually been working on recently is my other clone of Steins;Gate 8-bit [04:03] <Calc84maniac> the one that's on a real 8-bit machine :P [04:03] <GimmeMoreCoinz> whoa LOL [04:03] <GimmeMoreCoinz> I'm seeing what's better... [04:04] <GimmeMoreCoinz> a generic object handler to which phyiscs objects are passed to... [04:04] <GimmeMoreCoinz> or a physics function contained within each object so each object is self handling of it's own physics [04:04] <GimmeMoreCoinz> ie [04:04] <GimmeMoreCoinz> if bouncing==true then this.y=this.y-bounce_left [04:04] <GimmeMoreCoinz> something like that [04:04] <GimmeMoreCoinz> contained within the object's function (handle_physics [04:04] <GimmeMoreCoinz> i just need to start getting into physics coding for games [04:04] <GimmeMoreCoinz> since newer projects will require alot of vector physics [04:05] <GimmeMoreCoinz> but i wont use vectors yet [04:05] <GimmeMoreCoinz> o.0 [04:05] <GimmeMoreCoinz> i need sdl to render things for me first nicely [04:07] <MEGAMON2.0> bye bye [04:12] <Lumage> Thread:4853 [04:18] <TobuKatsu> Calc [04:18] <TobuKatsu> CalcCalcCalcCalcCalcCalcCalcCalcCalcCalcCalcCalcCalcCalcCalcCalcCalcCalcv [04:18] <TobuKatsu> NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOo [04:19] <GimmeMoreCoinz> -creates circle physics code in SDL- [04:21] <TobuKatsu> Coinz [04:23] <LeviCelJir> i think my computer freezes this page everytime i full screen a youtube video... [04:33] <TobuKatsu> How come i find the most morbid things interesting? .-. [04:34] <TobuKatsu> (banana) [04:35] <GimmeMoreCoinz> can somone help me with this [04:35] <GimmeMoreCoinz> int hello[1]; [04:35] <GimmeMoreCoinz> int x; [04:35] <GimmeMoreCoinz> x*=0; [04:35] <GimmeMoreCoinz> x=*hello[1]; [04:35] <GimmeMoreCoinz> //The images [04:35] <GimmeMoreCoinz> SDL_Surface* hello[1] = NULL; [04:35] <GimmeMoreCoinz> SDL_Surface* screen = NULL; [04:35] <GimmeMoreCoinz> I want to use an array [04:35] <GimmeMoreCoinz> to store SDL surfaces.. [04:35] <GimmeMoreCoinz> o.0 [04:35] <GimmeMoreCoinz> the compiler really doesn't like it [04:36] <Randomouscrap98> Umm [04:36] <GimmeMoreCoinz> i can't figure out how to make a pointer because it says pointers are acceptable [04:36] <Randomouscrap98> That's because you didn't declare it as a pointer [04:36] <GimmeMoreCoinz> c:\users\programming\documents\sdl_lessons\lesson01\lesson01.cpp(11): error C2040: 'hello' : 'SDL_Surface *[1]' differs in levels of indirection from 'int [1]' [04:36] <GimmeMoreCoinz> 1&gt;c:\users\programming\documents\sdl_lessons\lesson01\lesson01.cpp(11): error C2440: 'initializing' : cannot convert from 'int' to 'SDL_Surface *[1]' [04:36] <GimmeMoreCoinz> 1&gt; There are no conversions to array types, although there are conversions to references or pointers to arrays [04:36] <GimmeMoreCoinz> 1&gt;c:\users\programming\documents\sdl_lessons\lesson01\lesson01.cpp(21): error C2440: '=' : cannot convert from 'SDL_Surface *' to 'int' [04:36] <GimmeMoreCoinz> 1&gt; There is no context in which this conversion is possible [04:36] <GimmeMoreCoinz> 1&gt;c:\users\programming\documents\sdl_lessons\lesson01\lesson01.cpp(24): error C2664: 'SDL_UpperBlit' : cannot convert parameter 1 from 'int' to 'SDL_Surface *' [04:36] <GimmeMoreCoinz> 1&gt; Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast [04:36] <GimmeMoreCoinz> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== [04:36] <GimmeMoreCoinz> I uhm forgot how to declare it as a pointer... [04:36] <GimmeMoreCoinz> I dont want to individually declare 100 pointers to image frames [04:36] <GimmeMoreCoinz> then fill the arrays with pointers to each individual image [04:36] <Randomouscrap98> int x[10]; [04:36] <Randomouscrap98> int * y; [04:36] <Randomouscrap98> y = &amp;x[1] [04:36] <GimmeMoreCoinz> wait uhm ok let' me try that btw this is CPP [04:36] <Randomouscrap98> Or something [04:37] <Randomouscrap98> &amp; stands for address, and it's how you get the pointer to a value [04:37] <Randomouscrap98> * creates a pointer [04:37] <Randomouscrap98> * also dereferences a pointer so you can get the value it points at [04:37] <GimmeMoreCoinz> I knew that XD [04:37] <Randomouscrap98> Oh [04:37] <GimmeMoreCoinz> but i can't get the compiler to let me use an array of the type [04:37] <GimmeMoreCoinz> SDL SURFACE [04:37] <GimmeMoreCoinz> like it wont let me [04:37] <GimmeMoreCoinz> i'm using a library [04:37] <Randomouscrap98> But you didn't declare the one as a pointer [04:37] <GimmeMoreCoinz> and because there's a type mis match between int and sdl_surface (a pointer to sdl surface) [04:37] <Randomouscrap98> int hello[1]; int x; x*=0; x=*hello[1]; [04:38] <Randomouscrap98> Look [04:38] <GimmeMoreCoinz> ohh I see [04:38] <Randomouscrap98> You're also accessing hello wrong [04:38] <Randomouscrap98> There is nothing at [1] [04:38] <Randomouscrap98> The array is only 1 large, so the first and only element is [0] [04:38] <LeviCelJir> gtg [04:38] <Randomouscrap98> Bye! [04:38] <LeviCelJir> bye [04:41] <GimmeMoreCoinz> this sucks randomous!!! help... [04:41] <GimmeMoreCoinz> I read a post about this and I dont like this limitation [04:41] <GimmeMoreCoinz> Sure, as already answered, what you're doing is building up [04:41] <GimmeMoreCoinz> an array of SDL_Surface, and you're trying to set NULL to [04:41] <GimmeMoreCoinz> an SDL_Surface, which doesn't make sense since SDL_Surface [04:41] <GimmeMoreCoinz> is not an integer but an aggregate type (struct). That's why the [04:41] <GimmeMoreCoinz> C++ compiler is expecting for a special operator from int to SDL_Surface. [04:41] <GimmeMoreCoinz> What you want is to have an array of SDL_Surface* (addresses). [04:41] <GimmeMoreCoinz> this is what i'm trying to bypass [04:41] <GimmeMoreCoinz> -.- [04:41] <GimmeMoreCoinz> I want to directly store the image in an array not store the pointer to it.. [04:41] <GimmeMoreCoinz> o.0 [04:41] <GimmeMoreCoinz> unless I can dynamically return a list of pointers without having to know each pointer by hand [04:41] <GimmeMoreCoinz> &gt;.&lt; [04:41] <GimmeMoreCoinz> because I'll want to do this [04:43] <GimmeMoreCoinz> for (t=0; T&lt;8; T++){ [04:43] <GimmeMoreCoinz> gameframe[t] = SDL_LoadBMP( "frame%t"+".bmp" ); [04:43] <Randomouscrap98> Uhh hang on, I need to look up SDL_surfaces [04:43] <GimmeMoreCoinz> or something like that [04:43] <GimmeMoreCoinz> }; [04:43] <GimmeMoreCoinz> okay [04:43] <GimmeMoreCoinz> ^.^ [04:43] <GimmeMoreCoinz> basically i'm trying to load frame1.bmp -&gt;frame8.bmp [04:43] <Randomouscrap98> What is this, c++? [04:43] <GimmeMoreCoinz> into an array called frames[] [04:43] <Randomouscrap98> What are you trying to do? [04:43] <GimmeMoreCoinz> that are sdl_surfaces [04:43] <GimmeMoreCoinz> the array itself IS the sdl surface [04:43] <GimmeMoreCoinz> directly [04:43] <Randomouscrap98> What are you trying to do? [04:43] <GimmeMoreCoinz> or somehow... I dont need to make the array a pointer [04:43] <Randomouscrap98> In the application [04:43] <GimmeMoreCoinz> because you cant load an sdl image [04:43] <GimmeMoreCoinz> into a pointer [04:43] <Randomouscrap98> Gimme, I'm sorry, you're going too fast [04:43] <GimmeMoreCoinz> you'd have to load it then make a pointer. [04:43] <GimmeMoreCoinz> SORRY [04:44] <GimmeMoreCoinz> -takes a breath- [04:44] <Randomouscrap98> What are you trying to do in the application [04:44] <Randomouscrap98> What is the goal [04:44] <GimmeMoreCoinz> I just want to load 8 frames, and draw them on screen to test sdl frame rendering on my laptop. [04:44] <GimmeMoreCoinz> in an animated sequence. [04:44] <GimmeMoreCoinz> and then add input, and slowly expand to a platformer engine. [04:44] <Randomouscrap98> OK, let me look up SDL frame rendering [04:44] <GimmeMoreCoinz> kay [04:44] <GimmeMoreCoinz> btw I dont want to use frame sheets. [04:44] <Randomouscrap98> Why not do this in XNA instead? [04:44] <GimmeMoreCoinz> I want to load each frame from a seperate file. [04:44] <GimmeMoreCoinz> Because [04:44] <GimmeMoreCoinz> SDL is cross platform friendly. [04:44] <GimmeMoreCoinz> and XNA isn't. [04:44] <Randomouscrap98> Oh [04:45] <GimmeMoreCoinz> and SDL ties into opengl more nicely [04:45] <GimmeMoreCoinz> which means i can create a definer later to choose the renderer [04:45] <GimmeMoreCoinz> and just have different function sets that do the same thing, both in sdl or opengl [04:45] <GimmeMoreCoinz> that way in the future I can take advantage of video accelerated hardware [04:45] <GimmeMoreCoinz> and include for instance nvidia or other specific driver code plugins [04:46] <GimmeMoreCoinz> because I need to as a developer begin adapting to video systems [04:46] <Randomouscrap98> OK, again you're going too fast [04:46] <GimmeMoreCoinz> i'm only just getting back into this stuff. -stops- [04:46] <Randomouscrap98> I'm really sorry Gimme, but I work on one thing at a time. I'm really sorry! [04:46] <GimmeMoreCoinz> it's ok i understand [04:46] <TobuKatsu> are you doing college or sometin? &lt;-&lt; [04:46] <GimmeMoreCoinz> no [04:46] <GimmeMoreCoinz> this is all self taught tobu [04:46] <Randomouscrap98> I'm still just looking into SDL lol [04:46] <GimmeMoreCoinz> shure randomous take your time [04:47] <TobuKatsu> then your an indie developer &gt;-&gt; [04:47] <Randomouscrap98> This is just how I work: I make sure I fully understand what I'm looking at before moving on to the next thing. I'm sorry it's so different from what you're used to doing lol [04:47] <GimmeMoreCoinz> -nods- [04:47] <Randomouscrap98> Not saying that you don't understand what you're doing, you just go so fast lol [04:47] <GimmeMoreCoinz> I'm used to learning all over the place. [04:47] <GimmeMoreCoinz> most learning in schools is too slow for me [04:47] <GimmeMoreCoinz> &gt;.&lt; [04:47] <Randomouscrap98> OK, so you have an SDL_Surface which represents an image [04:48] <GimmeMoreCoinz> unless it's challenging. [04:48] <GimmeMoreCoinz> yeah that's right. [04:48] <Randomouscrap98> OK [04:48] <Randomouscrap98> You want to load 8 SDL_Surfaces, right? [04:48] <TobuKatsu> i wanna be a fast learner, but i cant [04:49] <GimmeMoreCoinz> yeah. [04:49] <Randomouscrap98> From 8 files, and then make an animation [04:49] <GimmeMoreCoinz> the image files i'm trying to load are labelled frame1-&gt;frame8.bmp [04:49] <GimmeMoreCoinz> that's right. [04:49] <Randomouscrap98> OK [04:51] <Randomouscrap98> OK, so are you familiar with SDL animation? [04:52] <GimmeMoreCoinz> no not really. [04:52] <GimmeMoreCoinz> i plan to just do this [04:52] <Randomouscrap98> Oh. Well then you're going too fast! Lol [04:52] <Randomouscrap98> OK, let's start with just loading an image. [04:52] <Randomouscrap98> Well, OK, we'll go fast [04:52] <Randomouscrap98> Let's load ALL the images [04:53] <GimmeMoreCoinz> SDL_BlitSurface( frames[current_frame], NULL, screen, NULL ); [04:53] <Randomouscrap98> No [04:53] <Randomouscrap98> Lol [04:53] <GimmeMoreCoinz> that's how I do it in playbasic [04:53] <Randomouscrap98> You said you had them in different files, so you're not bliting [04:53] <GimmeMoreCoinz> drawimage frame_images(currentframe), playerx, player, 0 [04:53] <GimmeMoreCoinz> but this command draws hello.bmp [04:53] <GimmeMoreCoinz> from an example file [04:53] <Randomouscrap98> OK, wait [04:53] <GimmeMoreCoinz> if I can blit that image i can blit any image [04:55] <Randomouscrap98> I got blitting mixed up with something else lol. I have to keep reading [04:55] <GimmeMoreCoinz> http://pastebin.com/dB6CaKY2 [04:55] <GimmeMoreCoinz> here randomous. [04:55] <GimmeMoreCoinz> this is from lazyfoo [04:55] <Randomouscrap98> I'm looking at that right now lol. Before you sent it [04:56] <Randomouscrap98> So this works, I'm guessing. You've done this part already? [04:56] <GimmeMoreCoinz> yeah [04:56] <Randomouscrap98> OK, so I'd do this [04:56] <GimmeMoreCoinz> I have the hello image drawing. [04:56] <GimmeMoreCoinz> but it wont let me turn it into an array [04:56] <Randomouscrap98> SDL_Surface * hello[8]; [04:56] <GimmeMoreCoinz> i wanted to see if it's possible. xD [04:57] <GimmeMoreCoinz> ooh o.0 [04:57] <Randomouscrap98> If you wanted to have an 8 frame animation or something [04:57] <Randomouscrap98> And then [04:57] <Randomouscrap98> Wait [04:57] <GimmeMoreCoinz> ok [04:57] <Randomouscrap98> for(int i = 0; i &lt; 8; i++) [04:57] <Randomouscrap98> { [04:58] <Randomouscrap98> Well, you'll need to build the file name [04:58] <Randomouscrap98> So let me get that part typed up too lol [04:58] <GimmeMoreCoinz> ok sure thanks randomous your so helpful [04:58] <Randomouscrap98> Lol no problem! Do you know what a stringstream is? [04:58] <GimmeMoreCoinz> no. [04:59] <GimmeMoreCoinz> well sort of [04:59] <Randomouscrap98> Do you know what cout is and how it works? [04:59] <GimmeMoreCoinz> it's of type STD:stringstream [04:59] <GimmeMoreCoinz> right? [04:59] <Randomouscrap98> Yes [04:59] <GimmeMoreCoinz> I know what cout is [04:59] <GimmeMoreCoinz> I've done laot of C++ begginer stuff. [04:59] <GimmeMoreCoinz> alot* [04:59] <Randomouscrap98> OK, it's basically cout that puts stuff in a string instead of to the console [04:59] <Randomouscrap98> It's very handy [04:59] <GimmeMoreCoinz> cout&gt;&gt; CIN&lt;&lt; [04:59] <Randomouscrap98> So I'll give you an example [04:59] <GimmeMoreCoinz> ok [05:00] <Randomouscrap98> Suppose you want to construct your filename frame?.bmp [05:00] <Randomouscrap98> Where ? is 1-8 [05:00] <GimmeMoreCoinz> yes [05:00] <Randomouscrap98> If you wanted to print that string to the console, you'd do cout &lt;&lt; "frame" &lt;&lt; i &lt;&lt; ".bmp"; [05:00] <GimmeMoreCoinz> right [05:00] <Randomouscrap98> But if you want it in a string, you just replace cout with a stringstream. [05:00] <Randomouscrap98> I'll give you the entire code since you like to do things fast lol. Hang on [05:01] <GimmeMoreCoinz> thanks [05:01] <Randomouscrap98> stringstream ss; [05:01] <Randomouscrap98> ss.clear; [05:01] <Randomouscrap98> [05:01] <Randomouscrap98> for(int i = 0; i &lt; 8; i++) [05:01] <Randomouscrap98> { [05:01] <Randomouscrap98> ss &lt;&lt; "frame" &lt;&lt; i + 1 &lt;&lt; ".bmp"; [05:01] <Randomouscrap98> [05:01] <Randomouscrap98> hello[i] = SDL_LoadBMP(ss.str); [05:01] <Randomouscrap98> [05:01] <Randomouscrap98> ss.clear; [05:01] <Randomouscrap98> } [05:02] <Randomouscrap98> Anything need explaining? [05:03] <GimmeMoreCoinz> shouldn't it be STD::stringstream ss; [05:03] <GimmeMoreCoinz> xD [05:03] <Randomouscrap98> I'm assuming you've done "using std::stringstream" at the top to save yourself trouble [05:03] <Randomouscrap98> I don't like typing std every time lol [05:03] <GimmeMoreCoinz> would I need STD:ss to reference ss without using [05:03] <GimmeMoreCoinz> i've been told it's newbish so i dont bother [05:03] <Randomouscrap98> No, not if you put "using std::stringstream" at the top [05:03] <GimmeMoreCoinz> and that 'real' developers dont use it [05:03] <Randomouscrap98> And it's absolutely not noobish and don't listen to anybody about that [05:04] <GimmeMoreCoinz> ok [05:04] <Randomouscrap98> They just want to make it hard on themselves lol [05:04] <GimmeMoreCoinz> XD oh [05:04] <Randomouscrap98> If they're naming their classes the same as the standard library, they need to stop lol [05:04] <Randomouscrap98> There's no need to type std:: in front of EVERY SINGLE THING lol. [05:04] <Randomouscrap98> Of course, you'll find people who disagree, so you know [05:05] <Randomouscrap98> So what's going on? [05:05] <GimmeMoreCoinz> I'm just trying to get it working. [05:05] <Randomouscrap98> OK [05:06] <Randomouscrap98> Well now, hang on. It's not going to work by just copying what I did [05:06] <Randomouscrap98> You also need to set up the animation lol [05:07] <GimmeMoreCoinz> I have a lot of errors. The first one is caused by 1&gt;c:\users\programming\documents\sdl_lessons\lesson01\lesson01.cpp(13): error C2040: 'hello' : 'SDL_Surface *[1]' differs in levels of indirection from 'int [1]' [05:07] <Randomouscrap98> You're still using int? Why? [05:07] <Randomouscrap98> I didn't use int anywhere lol [05:07] <GimmeMoreCoinz> I'm not. [05:07] <GimmeMoreCoinz> :/ [05:07] <Randomouscrap98> What does you code look like? [05:07] <GimmeMoreCoinz> I'll pastebin it [05:07] <Randomouscrap98> OK [05:08] <GimmeMoreCoinz> http://pastebin.com/3Pvv4c2t [05:09] <Randomouscrap98> It's the "SDL_FreeSurface" [05:09] <Randomouscrap98> You're trying to free an "array" of surfaces with a single call [05:09] <Randomouscrap98> You have to put it in a for loop [05:09] <Randomouscrap98> for(int i = 0; i &lt; 8; i++) [05:09] <Randomouscrap98> SDL_FreeSurface(hello[i]); [05:10] <GimmeMoreCoinz> oh ic but it says the line number on 1 is wrong. not the line number the free sdl surface appears. very indirect. [05:10] <Randomouscrap98> Well, it could be something else [05:10] <Randomouscrap98> But that one I pointed out is an error [05:11] <Randomouscrap98> If the code they gave you works (and you actually tested it), it's most likely that [05:11] <Randomouscrap98> SDL looks very interesting. It'd be fun to make stuff with it [05:12] <GimmeMoreCoinz> I see I messed up at the start. [05:12] <Randomouscrap98> Hmm? [05:12] <GimmeMoreCoinz> yeah it is interesting. you get some hardware direct commands. [05:13] <GimmeMoreCoinz> I'm ok with it being hard to learn at first. [05:13] <Randomouscrap98> It looks pretty nice. Far nicer than... OpenGL [05:13] <Randomouscrap98> Which is a pile of crap [05:13] <GimmeMoreCoinz> one reason you might want to use sdl with opengl is becuase opengl doesn't directly support images or media [05:13] <Randomouscrap98> Lol but it is powerful, and everyone uses it. It's just so hard [05:13] <Randomouscrap98> Yes [05:13] <GimmeMoreCoinz> yoru right opengl is hard to learn. [05:14] <GimmeMoreCoinz> A person has to write their own 3d model code. [05:14] <Randomouscrap98> I can't even figure out how to do it, and I've nearly got my masters in computer science and know many languages lol [05:14] <GimmeMoreCoinz> wow. [05:14] <GimmeMoreCoinz> i have a book on it. [05:14] <GimmeMoreCoinz> but it doesn't teach me how to use 3d models [05:14] <GimmeMoreCoinz> or read the skeleton of 3d model [05:14] <Randomouscrap98> I'm not even willing to learn it though lol. I'm probably not going to be doing 3d modeling and whatnot [05:14] <GimmeMoreCoinz> for animation rigging etc. [05:15] <Randomouscrap98> So is it working? [05:15] <GimmeMoreCoinz> open gl is useful for tesselation and other d effects [05:15] <Randomouscrap98> Or at least compiling? [05:15] <GimmeMoreCoinz> yeah compiling sort of. i have some errors [05:15] <Randomouscrap98> What are they? [05:16] <GimmeMoreCoinz> 1&gt;c:\users\programming\documents\sdl_lessons\lesson01\lesson01.cpp(11): error C2440: 'initializing' : cannot convert from 'int' to 'SDL_Surface *[1]' [05:16] <GimmeMoreCoinz> 1&gt; There are no conversions to array types, although there are conversions to references or pointers to arrays [05:16] <GimmeMoreCoinz> 1&gt;c:\users\programming\documents\sdl_lessons\lesson01\lesson01.cpp(33): error C2664: 'SDL_FreeSurface' : cannot convert parameter 1 from 'SDL_Surface *[1]' to 'SDL_Surface *' [05:16] <GimmeMoreCoinz> 1&gt; Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast [05:16] <Randomouscrap98> Are you still using the exact code you posted? [05:16] <GimmeMoreCoinz> no [05:16] <Randomouscrap98> Before you repost it [05:17] <Randomouscrap98> Can you try something? Replace NULL with (SDL_Surface*)NULL [05:17] <GimmeMoreCoinz> I got the only error now [05:17] <GimmeMoreCoinz> 1&gt;-- Build started: Project: Hello_Test, Configuration: Debug Win32 -- [05:17] <GimmeMoreCoinz> 1&gt; lesson01.cpp [05:17] <GimmeMoreCoinz> 1&gt;c:\users\programming\documents\sdl_lessons\lesson01\lesson01.cpp(11): error C2440: 'initializing' : cannot convert from 'int' to 'SDL_Surface *[1]' [05:17] <GimmeMoreCoinz> 1&gt; There are no conversions to array types, although there are conversions to references or pointers to arrays [05:17] <GimmeMoreCoinz> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== [05:17] <Randomouscrap98> Can you post the code? [05:17] <GimmeMoreCoinz> ok [05:18] <GimmeMoreCoinz> http://pastebin.com/3LP4E0wM [05:18] <Randomouscrap98> That's why [05:18] <Randomouscrap98> You changed what I wrote lol [05:19] <Randomouscrap98> You can't initialize an array to NULL. Just like before, you have to initialize in a loop [05:19] <GimmeMoreCoinz> yeah. I commented out what wasn't working because I got impatient. [05:19] <Randomouscrap98> I'm repasting it [05:19] <GimmeMoreCoinz> wait.. [05:19] <GimmeMoreCoinz> ok [05:20] <Randomouscrap98> Gimme, it looks like you're doing this before you have a grasp on how pointers and arrays work lol [05:20] <Randomouscrap98> You really should learn those first [05:22] <Randomouscrap98> http://pastebin.com/j4pVvZ97 [05:22] <Randomouscrap98> Oops, "I" should be "i" [05:22] <Randomouscrap98> in that first for loop [05:23] <Randomouscrap98> Does that code make sense? [05:24] <Randomouscrap98> Because you have an array of SDL surfaces, you need to individually initialize, draw, and free them [05:24] <GimmeMoreCoinz> whoa... [05:24] <Randomouscrap98> Hmm? [05:26] <GimmeMoreCoinz> I thought you meant by writing out each array index seperately lol. sorry my computers lagging. [05:26] <Randomouscrap98> No problem [05:26] <Randomouscrap98> How old is your computer? Are you just doing a lot of stuff on it? [05:27] <GimmeMoreCoinz> yeah i am [05:27] <Randomouscrap98> Oh [05:27] <GimmeMoreCoinz> it's an uhm [05:27] <GimmeMoreCoinz> 1&gt;-- Build started: Project: Hello_Test, Configuration: Debug Win32 -- [05:27] <GimmeMoreCoinz> 1&gt; lesson01.cpp [05:27] <GimmeMoreCoinz> 1&gt;LINK : fatal error LNK1561: entry point must be defined [05:27] <GimmeMoreCoinz> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== [05:27] <GimmeMoreCoinz> looit this [05:27] <GimmeMoreCoinz> only one error [05:27] <GimmeMoreCoinz> lookit&amp;* [05:27] <Randomouscrap98> Errr can you paste your code? This is a special error [05:27] <Randomouscrap98> Unless you're using exactly mine [05:27] <GimmeMoreCoinz> mines a presario a900 [05:28] <GimmeMoreCoinz> exactly yours [05:28] <Randomouscrap98> Did you fix the capital I? [05:28] <GimmeMoreCoinz> yup [05:28] <Randomouscrap98> Are you doing this in visual studio? [05:29] <GimmeMoreCoinz> yeah [05:29] <GimmeMoreCoinz> I may need to copy SDL.dll [05:30] <Randomouscrap98> I don't think so [05:30] <Randomouscrap98> Your program can't find main [05:30] <GimmeMoreCoinz> hmmm [05:30] <Randomouscrap98> Is your function still called main? [05:30] <GimmeMoreCoinz> yeah [05:32] <Randomouscrap98> Errr OK [05:32] <Randomouscrap98> Right click your project name in the solution explorer [05:32] <Randomouscrap98> Did you get the menu? [05:34] <Randomouscrap98> ...Gimme? [05:34] <GimmeMoreCoinz> yep [05:34] <GimmeMoreCoinz> sorry. lag [05:34] <Randomouscrap98> No problem [05:35] <Randomouscrap98> Go to properties in that menu [05:35] <GimmeMoreCoinz> ok [05:35] <Randomouscrap98> Is there an "Expand Linker Tab" or "Linker Tab" there? [05:35] <GimmeMoreCoinz> yes [05:35] <Randomouscrap98> Click on that [05:35] <GimmeMoreCoinz> done [05:36] <Randomouscrap98> System [05:36] <GimmeMoreCoinz> done [05:36] <Randomouscrap98> Subsystem [05:36] <Randomouscrap98> What does it say [05:36] <GimmeMoreCoinz> everything blank [05:37] <Randomouscrap98> ...Everything blank? In sybsystem? [05:37] <GimmeMoreCoinz> I changed it to windows [05:37] <Randomouscrap98> No [05:37] <Randomouscrap98> Change it to console [05:37] <GimmeMoreCoinz> that was the issue. it wasn't loading windows kernel.dll [05:37] <GimmeMoreCoinz> o.0 [05:37] <GimmeMoreCoinz> ok [05:37] <Randomouscrap98> Is there a console option? [05:37] <Randomouscrap98> I don't actually know what it looks like lol [05:38] <Randomouscrap98> Basically, somewhere on Subsystem, it should have this: Console (/SUBSYSTEM:CONSOLE) [05:40] <GimmeMoreCoinz> yeah. now it's not loading sdl [05:41] <Randomouscrap98> OK, I guess I'll have to try it out myself lol [05:41] <Randomouscrap98> I really didn't want to install sdl or whatever it takes lol [05:41] <GimmeMoreCoinz> there we cgo. [05:41] <GimmeMoreCoinz> I cpied it to the right folder. [05:41] <GimmeMoreCoinz> native code 0x0 [05:41] <GimmeMoreCoinz> no errors [05:41] <Randomouscrap98> Errr are you sure? [05:41] <GimmeMoreCoinz> yeah [05:41] <Randomouscrap98> Run it and see what happens [05:42] <GimmeMoreCoinz> code 0 (0x0 ) is good. [05:42] <Randomouscrap98> It should pop up a window... at least [05:42] <GimmeMoreCoinz> it did [05:42] <GimmeMoreCoinz> :p [05:42] <Randomouscrap98> Cool [05:42] <Randomouscrap98> Hey, I was able to get a C# forms application to act as a game window [05:44] <GimmeMoreCoinz> Well now it isn't showing up ^.^ [05:44] <GimmeMoreCoinz> oh neat [05:44] <GimmeMoreCoinz> http://pastebin.com/pJQkEZR1 [05:45] <GimmeMoreCoinz> The current code works but the hello image doesn't show up [05:45] <Randomouscrap98> Because you're not bliting anything [05:45] <Randomouscrap98> I left it commented out because you kept doing it wrong lol [05:45] <Randomouscrap98> Oh, I see [05:45] <Randomouscrap98> I'm sorry, I just now saw that you are doing it [05:46] <Randomouscrap98> Don't forget, 0 is the start of an array [05:46] <GimmeMoreCoinz> right. [05:46] <Randomouscrap98> You keep using 1 (which is fine here, because you have 8 elements) [05:46] <Randomouscrap98> Does anything show up? [05:47] <GimmeMoreCoinz> no. [05:47] <Randomouscrap98> No sdl window or anything? [05:47] <Randomouscrap98> I don't know what to say [05:47] <GimmeMoreCoinz> WHOA [05:47] <Randomouscrap98> ...? [05:48] <GimmeMoreCoinz> when I launch it not in debug mode [05:48] <GimmeMoreCoinz> the hello test shows up [05:49] <Randomouscrap98> Yes [05:49] <GimmeMoreCoinz> but in debug mode it doesn't [05:49] <Randomouscrap98> That's because "start without debugging" waits for input [05:49] <Randomouscrap98> In debugging, you need to add the wait yourself [05:49] <Randomouscrap98> Here, add "cin.get" to the end of your code before the return [05:49] <Randomouscrap98> Then it should work in debugging mode [05:50] <GimmeMoreCoinz> ok [05:50] <Randomouscrap98> before the return! [05:50] <Randomouscrap98> Or I guess std::cin.get or whatever lol [05:51] <GimmeMoreCoinz> I forgot to include STDIO [05:51] <Randomouscrap98> Ah [05:52] <GimmeMoreCoinz> ummm [05:52] <GimmeMoreCoinz> jeez [05:52] <GimmeMoreCoinz> it doesn't like std inside of main [05:53] <GimmeMoreCoinz> it returns ptr null for STD::cin [05:53] <Randomouscrap98> Hmm? What are you trying to do? [05:53] <GimmeMoreCoinz> o.0 [05:53] <GimmeMoreCoinz> cin.get; [05:53] <Randomouscrap98> Just put "using std::cin" outside of main [05:55] <GimmeMoreCoinz> http://pastebin.com/26Pm64Zy [05:55] <Randomouscrap98> It's not stdio.h [05:55] <Randomouscrap98> It's &lt;iostream&gt; [05:55] <Randomouscrap98> ...I really think you're going too fast lol