[QUOTE=layla;27490856]And who are you exactly?[/QUOTE]
New person joins thread, wtf is going on guys?
There is a forum out there, you know?
When layla should actually rate dumb, it's not there. Yet if someone were to post content below this guy it'd get dumb'd.
And yes, I do know how to program. I'm currently making a compact calculator which can perform functions at least six times faster than Windows' default one.
I've nearly finished save support for my game! :downs:
Now my only problem is writing to a file.
[QUOTE=ZenX2;27491218]I've nearly finished save support for my game! :downs:
Now my only problem is writing to a file.[/QUOTE]
Bind a function that writes data to the root table, oh! Wait! You're using Lua.
[QUOTE=layla;27490856]And who are you exactly?[/QUOTE]
No offense, but just because you are a girl- doesn't mean you can be an ass to him for no reason.
Seriously, he did nothing.
[b]EDIT:[/b]
Ok, i'm sorry for saying anything, and ill admit that layla is a a way better programmer then me.
[QUOTE=ILIKEHORSES;27491168]And yes, I do know how to program. I'm currently making a compact calculator which can perform functions at least six times faster than Windows' default one.[/QUOTE]
Super useful
[QUOTE=ILIKEHORSES;27491168]And yes, I do know how to program. I'm currently making a compact calculator which can perform functions at least six times faster than Windows' default one.[/QUOTE]
6 times faster than nigh on instant? Why?
[editline]18th January 2011[/editline]
[QUOTE=Garb;27491357]just because you are a girl[/QUOTE]
Huh. I didn't know this. I kinda assumed that everyone in the programming section was male.
[QUOTE=DevBug;27491348]Bind a function that writes data to the root table, oh! Wait! You're using Lua.[/QUOTE]
I would be done if JSON was competent or I could figure out how to use pluto.
[QUOTE=Garb;27491357]No offense, but just because you are a girl[/QUOTE]
bwahahahaha
[QUOTE=Garb;27491357]No offense, but just because you are a girl-[/QUOTE]
no one is a girl on the internet what are you talking about
[QUOTE=pro ruby dev;27492536]no one is a girl on the internet what are you talking about[/QUOTE]
Courage Dog?
[QUOTE=pro ruby dev;27492536]no one is a girl on the internet what are you talking about[/QUOTE]
Ugh. I thought we were beyond this by now.
[QUOTE=andersonmat;27492609]Courage Dog?[/QUOTE]
vapid slut
I thought the whole "Layla is a girl" thing was a joke.
[QUOTE=geel9;27492784]I thought the whole "Layla is a girl" thing was a joke.[/QUOTE]
i think your religious beliefs are a joke
[QUOTE=pro ruby dev;27492826]i think your religious beliefs are a joke[/QUOTE]
Ok I'm sorry :frown:
[QUOTE=pro ruby dev;27492826]i think your religious beliefs are a joke[/QUOTE]
Whoa, whoa, whoa. I'm confused. Where did that come from?
[QUOTE=BlkDucky;27492841]Where did that come from?[/QUOTE]
his religious beliefs.
[QUOTE=Icedshot;27485424][img_thumb]http://i55.tinypic.com/168amth.png[/img_thumb]
Screensaver veered a little off course
Red character is movable and jumpable, tunnel is player created (and traversable!), platforms are player created (and standable on!), and that large terrain spike is player created (can be manipulated up and down)
Oh and terrain and nicked shrooms/trees are generated procedurally. I could extend the map infinitely :v:
current bugs include:
if you jump in a tunnel or touch a wall, it teleports you to the surface
you must jump before entering a tunnel otherwise it doesnt work.
The effect of jumping on tunnel traversableness is only temporary as well :v:[/QUOTE]
Looks cool. Is it public?
[editline]17th January 2011[/editline]
[QUOTE=mmavipc;27483183]What permission prevents me from allocating memory in a process running on my account, wiriting to that memory, and then creating a thread in that process?[/QUOTE]
Because you're not allowed to use that memory, windows won't let you.
[QUOTE=supersnail11;27492946]Looks cool. Is it public?
[editline]17th January 2011[/editline]
Because you're not allowed to use that memory, windows won't let you.[/QUOTE]
Windows lets you execute memory what are you talking about
[QUOTE=supersnail11;27492946]Because you're not allowed to use that memory, windows won't let you.[/QUOTE]
[url]http://msdn.microsoft.com/en-us/library/aa379306(v=vs.85).aspx[/url]
[QUOTE=supersnail11;27492946]Looks cool. Is it public?
[editline]17th January 2011[/editline]
Because you're not allowed to use that memory, windows won't let you.[/QUOTE]
then why does
[cpp]char fpath[_MAX_FNAME];
_getcwd(fpath,_MAX_FNAME);
char * lol = "\\inject.dll";
strcat(fpath,lol);
HANDLE TTProcess = GetTTProc();
if(TTProcess!=NULL){
LPVOID remoteAddr=0;
remoteAddr = VirtualAllocEx(TTProcess,NULL,_MAX_FNAME,MEM_COMMIT |MEM_RESERVE,PAGE_READWRITE);
WriteProcessMemory(TTProcess,remoteAddr,fpath,_MAX_FNAME,NULL);
HANDLE hThread = CreateRemoteThread(TTProcess,NULL,0,(LPTHREAD_START_ROUTINE)&LoadLibraryA,remoteAddr,0,NULL);
WaitForSingleObject(hThread,INFINITE);
}[/cpp]
work?
I love how Layla, of all people, derailed us for half a page.
My maps would load weirdly, turns out that my map saving was wrong...
An example save file from my game, generated by the JSON module for lua:
[code][[[[["Guava"],["This guava will restore 2 health."],{},{},[[]],[],[]],[["Guava"],["This guava will restore 2 health."],{},{},[[]],[],[]],[["Orange"],["This orange will restore 2 health."],{},{},[[]],[],[]],[[],[],[],[],[],[],[]],[[],[],[],[],[],[],[]],[[],[],[],[],[],[],[]],[[],[],[],[],[],[],[]],[[],[],[],[],[],[],[]],[[],[],[],[],[],[],[]],[[],[],[],[],[],[],[]],[[],[],[],[],[],[],[]],[[],[],[],[],[],[],[]],[[],[],[],[],[],[],[]],[[],[],[],[],[],[],[]],[[],[],[],[],[],[],[]]],[[5],[5],[5],[1],[0],[13],[20]],[[["Rusty Boots"],["Some rusty boots."],[],{},[{"Defense":1}],["feet"],[0]],[["Rusty Pants"],["Some rusty pants."],[],{},[{"Defense":1}],["legs"],[0]],[["Rusty Breastplate"],["A rusty breastplate."],[],{},[{"Defense":1}],["chest"],[0]],[["Rusty Helmet"],["A rusty helmet."],[],{},[{"Defense":1}],["head"],[0]],[["Rusty Stick"],["A rusty stick."],[],{},[{"Attack":1}],["wep"],[0]]],[[[-6,0]],[[100,149,237,255]]]]][/code]
When I decode this, it gives me a an error about an unexpected character.
Time to find another module for serializing those tables :saddowns:
[QUOTE=ZenX2;27494748]Time to find another module for serializing those tables :saddowns:[/QUOTE]
[url=http://wiki.garrysmod.com/?title=GLON]GLON[/url] was made to work in standard Lua.
I guess I could part with saving functions.
[editline]17th January 2011[/editline]
I changed my code to not include use functions with saving (hard coded now :saddowns:) but, I'm getting "Unknown type ID, 50!"
Sorry, you need to Log In to post a reply to this thread.