• What are you working on? January 2012
    3,401 replies, posted
[img]http://i1235.photobucket.com/albums/ff439/ertyxdh00/MyGame2012-01-2721-06-07-50.gif[/img] I just had the motivation, to work a bit on a little project i was working on long time ago. (Upgraded inventory.)
I was killing myself for hours over and over again over a problem that I think I just found. [editline]27th January 2012[/editline] YES! It works!.. kinda. Nothing shows but it doesn't error anymore!
[QUOTE=RebelSlug;34420508][img]http://i1235.photobucket.com/albums/ff439/ertyxdh00/MyGame2012-01-2721-06-07-50.gif[/img] I just had the motivation, to work a bit on a little project i was working on long time ago. (Upgraded inventory.)[/QUOTE] The little guy is totally badass.
[QUOTE=Staneh;34419860]Just opened up Eclipse after like 1 1/2 years. It opened an old project: [img]http://i.imgur.com/KlMFX.png[/img] Can you guys still remember this?[/QUOTE] You've been programming for over 1.5 years?
Would anyone be interested in an algoritmic problems thread? I thought about making one. It would feature a few of the simpler problems in the op as well as the solutions and then people could post their own. Maybe have some mini competitions or something. First one to solve a problem has the biggest penis.
[QUOTE=amcfaggot;34419678]There are a few things wrong with this that I can think of but the first of which being that the add chip is adding to itself and storing this overtime? The result should be 2, not something incremental based on your "logic time" (which seems to just be tick-based). Seems like it could easily promote bad logic practice as well.[/QUOTE] [url=http://www.wolframalpha.com/input/?i=a%2B1%3Da]No.[/url]
wow can't even get 1+1 right good job
[QUOTE=Darwin226;34420752]Would anyone be interested in an algoritmic problems thread? I thought about making one. It would feature a few of the simpler problems in the op as well as the solutions and then people could post their own. Maybe have some mini competitions or something. First one to solve a problem has the biggest penis.[/QUOTE] Do it! I'm completely out of ideas for stuff to make now, I'd welcome this thread gladly. :)
Does anyone here know how to correctly use "lua_newthread"? [url=https://github.com/c0bra61/luaserver/blob/master/src/HandelConnection.cpp#L125]Here is what I'm trying[/url], but I crash on the first rawset with "PANIC: unprotected error in call to Lua API (invalid key to 'next')"
[QUOTE=amcfaggot;34419678]There are a few things wrong with this that I can think of but the first of which being that the add chip is adding to itself and storing this overtime? The result should be 2, not something incremental based on your "logic time" (which seems to just be tick-based). Seems like it could easily promote bad logic practice as well.[/QUOTE] I disagree. In a written language that setup would be equivalent to [code]Sum := Sum + Button[/code] or [code]Sum += Button[/code] which will obviously increase as long as Button is nonzero and the code gets executed. edit: If you consider Sum to be a function that does not store values, it becomes logically false as already pointed out. The mathematical equivalent of that would be Sum = Sum + Button which will not hold for non-zero Button values. Instead it should be thought of as Sum(t+1) = Sum(t) + Button(t)
Agh.. Apparently my ISP decided to put a cap on their internet. They were pretty bad before with frequent slowness, but this is just going to make me change to DSL.. sadl
Interesting. Facepunch is taking at least a few seconds to reply to a request, but the processing of the HTML returned takes 500ms on average.
[QUOTE=Maurice;34420693]You've been programming for over 1.5 years?[/QUOTE] I took like, a year off.
[img]http://i.imgur.com/BtYR9.gif[/img] Just chillin' at the bottom of the ocean. My todo list is getting really short. -lakito -squids -castle repeats -bowser shootable and get which enemies he turns into -particle for portal gun on shoot -portalgun delay
[QUOTE=Maurice;34421238] My todo list is getting really short. -lakito -squids -castle repeats -bowser shootable and get which enemies he turns into -particle for portal gun on shoot -portalgun delay[/QUOTE] No "fix everything" ? :O
[QUOTE=AntonioR;34421349]No "fix everything" ? :O[/QUOTE] It's actually on there but I decided to give you the abridged version. [quote]-update masktables (At the very end) -Make mario fall off ledges if 1 pixel on it? -lakito (80% done) -squids -castle repeats -bowser shootable and get which enemies he turns into -fix orange gel -fix up ALL the levels -fix up multiplayer -fix up splitscreen -particle for portal gun on shoot -portalgun delay -everything.[/quote]
[QUOTE=COBRAa;34421019]Does anyone here know how to correctly use "lua_newthread"? [url=https://github.com/c0bra61/luaserver/blob/master/src/HandelConnection.cpp#L125]Here is what I'm trying[/url], but I crash on the first rawset with "PANIC: unprotected error in call to Lua API (invalid key to 'next')"[/QUOTE] The crash is this: [cpp]lua_pushnil(l);[/cpp] You probably meant to use L, not l. (L is your Lua thread state, l is your main state)
Some basic things on my small WoW Armory clone. [img]http://i.imgur.com/nsPag.jpg[/img]
[QUOTE=ThePuska;34421168]I disagree. In a written language that setup would be equivalent to [code]Sum := Sum + Button[/code] or [code]Sum += Button[/code] which will obviously increase as long as Button is nonzero and the code gets executed. edit: If you consider Sum to be a function that does not store values, it becomes logically false as already pointed out. The mathematical equivalent of that would be Sum = Sum + Button which will not hold for non-zero Button values. Instead it should be thought of as Sum(t+1) = Sum(t) + Button(t)[/QUOTE] I disagree because it's not a language. It's chip logic. You'd need at least volatile storage to even store a value in the first place, which completely forces you to change your thinking because you can't do it on a language abstraction level.
[QUOTE=raBBish;34421375]The crash is this: [cpp]lua_pushnil(l);[/cpp] You probably meant to use L, not l. (L is your Lua thread state, l is your main state)[/QUOTE] Yes, that was it. Now it works, but if I go to self.arb0c.net and hold down F5 eventually it crashes on this line: [cpp]int ref = luaL_ref(l, LUA_REGISTRYINDEX);[/cpp] Ill try the lock when I create the thread, I think that's what is causing it; or can lua_newthread sometimes not create a thread?
[QUOTE=Staneh;34421509]Some basic things on my small WoW Armory clone. [img]http://i.imgur.com/nsPag.jpg[/img][/QUOTE] XNA. why?
I've got a mobile beta invite, any programmer not got one yet?
[QUOTE=Perl;34421619]XNA. why?[/QUOTE] It's very easy to draw shit, use fonts, get data, etc.
[QUOTE=@@;34421628]I've got a mobile beta invite, any programmer not got one yet?[/QUOTE] You might as well just give it to people who want to analyze the backend for now.
Me, you don't mind if I have it do you? [editline]27th January 2012[/editline] I plan on using luaserver so you can send messages to my steam friends or something (if amcfaggot continues his Lua api)
[QUOTE=COBRAa;34421648]Me, you don't mind if I have it do you?[/QUOTE] Steam profile? [editline]hi[/editline] [QUOTE=COBRAa;34421708]Steam profile in left, username is "c0bra61".[/QUOTE] [url]http://puu.sh/eNU2[/url] Sent friend request anyway.
Eh, I just read this on SO: [url]http://stackoverflow.com/questions/8365336/lua-newthread-is-stopping[/url] Maybe it is a better to just create a new instance than a new thread. [editline]28th January 2012[/editline] Steam profile in left, username is "c0bra61". Thanks
[QUOTE=Perl;34421619]XNA. why?[/QUOTE] Why not?
[img]http://images.devs-on.net/Image/BRUIoNU0rflMYno-SteamUpdateNews.png[/img] no way, i didn't even log into this account with the steam beta and they handed me beta access to it :tinfoil: [editline]27th January 2012[/editline] also posting during downpunch
So, amc. Mind if I take that invite off your hands? :v: If you don't give it to someone else, I'm "activeellis".
Sorry, you need to Log In to post a reply to this thread.