[QUOTE=SnailPlant;30983489]Any chance to make it display sentries?[/QUOTE]
I can see this being used by "pro" players for a competitive edge.
Obviously it'd need to be installed on the server, but still...
[editline]8th July 2011[/editline]
Also Chrome won't connect to it.
Can anyone explain passive networking to me ?
I've worked with sockets before but then i have a "server" and "client" socket in the application for it to work but if people have firewall etc this will not work,
I know FTPs use passive networking.
(Aka i want to know how to make so that only the server needs open ports)
I've been getting a ton of coding done, infact my entire progress so far has been done while baked. It means lots of little slip ups, but i'm never bored.
Not much visually to show, but i've got the framework up for NPCs to spawn with random hair/beard, inventory, oxygen and health now works. My biggest issue is likely to be the AI, I want to have the crew perform their duties while the players trying to mess the place up, or do their own duties. So i'll have to look up on pathfinding.
I am using DirectInput to handle input in my game.
I have a problem because it recognizes z as y and vice versa. Also "=" is not detected when I press it on the keyboard "=", it is on my keyboards "*".
Obviously I am not using an "english" keyboard. Is there a way to set this when initializing DI ?
I'd advise against using DirectInput, and handling the messages sent to your window manually. Even Microsoft advise against it: [url]http://msdn.microsoft.com/en-us/library/ee418864.aspx[/url]
[quote="MSDN"]Overall, using DirectInput offers no advantages when reading data from mouse or keyboard devices, and the use of DirectInput in these scenarios is discouraged.[/quote]
[editline]8th July 2011[/editline]
There's no fix for your problem either, DirectInput only supports US-English keyboards apparently.
[QUOTE=geel9;30983762]I can see this being used by "pro" players for a competitive edge.
Obviously it'd need to be installed on the server, but still...
[editline]8th July 2011[/editline]
Also Chrome won't connect to it.[/QUOTE]
If they're pro, they don't need the 'edge' which would just be them cheating anyway.
[QUOTE=GranPC;30986394]I'd advise against using DirectInput, and handling the messages sent to your window manually. Even Microsoft advise against it: [url]http://msdn.microsoft.com/en-us/library/ee418864.aspx[/url]
[editline]8th July 2011[/editline]
There's no fix for your problem either, DirectInput only supports US-English keyboards apparently.[/QUOTE]
Yes I read about that. But since it was all up and running I didn't plan to change it at this point. But if it's US-English only, that s*cks.
[QUOTE=Orki;30983991]Can anyone explain passive networking to me ?
I've worked with sockets before but then i have a "server" and "client" socket in the application for it to work but if people have firewall etc this will not work,
I know FTPs use passive networking.
(Aka i want to know how to make so that only the server needs open ports)[/QUOTE]
There's no such thing as "passive networking". Since you mentioned FTP, I'm guessing you're referring to FTP's PASV command. That's actually a workaround for FTP-specific stupidity, not a general networking option.
See, FTP does a strange thing by default. Even though the client has already connected to the server to issue commands, when it comes time to actually transfer a file, the server makes a separate connection [i]back to the client[/i]. That's the part that doesn't work when the client is behind a firewall. When "passive" mode is turned on, the client initiates that secondary connection instead, so that from the firewall's perspective it's an "outgoing" rather than an "incoming" connection.
Normal applications don't have that problem because normal applications just use one connection, initiated from server to client on a well-known port number. FTP is a very old protocol, designed more than 25 years ago when firewalls essentially didn't exist, and it's [url=http://mywiki.wooledge.org/FtpMustDie]not well-designed by modern standards[/url].
[url]http://filesmelt.com/dl/TheGreatEscape._.Thing_.rar[/url] (You gotta unpack it somewhere to make it work)
My first real game is somewhat done. At least a single test level is :v:
Anyway: Movements is A D and Space to move around and R to reset.
Goal is to get the key and get to the goal tile (Nothing happens when you reach it, but you can reset and try again)
If the red balls touch you, you die.
[IMG]http://i56.tinypic.com/16bhwsj.jpg[/IMG]
[IMG]http://i56.tinypic.com/mip6iu.jpg[/IMG]
As of right now the .txt files are outside the jar, because I can't get it to read them from inside.
@Zyx: Well... it works.
[QUOTE=geel9;30983762]I can see this being used by "pro" players for a competitive edge.
Obviously it'd need to be installed on the server, but still...
[editline]8th July 2011[/editline]
Also Chrome won't connect to it.[/QUOTE]
Put in a forced delay. for competitive matches.
For some reason I never use my native language in my code.
It makes my friends think I didn't write it. :rolleyes:
[QUOTE=uitham;30987834]For some reason I never use my native language in my code.
It makes my friends think I didn't write it. :rolleyes:[/QUOTE]
It is always better to write it in English so you can show it and ask for help on places like this.
[QUOTE=Zyx;30987354][url]http://filesmelt.com/dl/TheGreatEscape._.Thing_.rar[/url] (You gotta unpack it somewhere to make it work)
My first real game is somewhat done. At least a single test level is :v:
Anyway: Movements is A D and Space to move around and R to reset.
Goal is to get the key and get to the goal tile (Nothing happens when you reach it, but you can reset and try again)
If the red balls touch you, you die.
[IMG]http://i56.tinypic.com/16bhwsj.jpg[/IMG]
[IMG]http://i56.tinypic.com/mip6iu.jpg[/IMG]
As of right now the .txt files are outside the jar, because I can't get it to read them from inside.[/QUOTE]
I'm going to open your jar and perv at your manifest to work out how I can export my game muahahahaha
[editline]8th July 2011[/editline]
[code]Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.1
Created-By: 1.6.0_22-b04 (Sun Microsystems Inc.)
Main-Class: core.Main
Class-Path:
X-COMMENT: Main-Class will be added automatically by build
[/code]
Fuckin' black magic
fucking automerge what am i doing
[QUOTE=Nigey Nige;30988114]I'm going to open your jar and perv at your manifest to work out how I can export my game muahahahaha
[editline]8th July 2011[/editline]
[code]Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.1
Created-By: 1.6.0_22-b04 (Sun Microsystems Inc.)
Main-Class: core.Main
Class-Path:
X-COMMENT: Main-Class will be added automatically by build
[/code]
Fuckin' black magic
fucking automerge what am i doing[/QUOTE]
I have no idea what you are talking about, but feel free to ask me instead v:v:v
While I was on vacation, I had copied the Intel manuals over to my phone, which I was reading while bored
I just realized I filled a few papers with x86 assembly, time to write it into my OS and test it
[QUOTE=theJohn;30973912]Already did. He told me that Microsoft released C# earlier to developers so people would make games with it. But he can't prove it to me because "it's kind of a secret, nobody knows but I know this friends dad who is a developer and he told me".[/QUOTE]
Show him the HL1 SDK, perhaps also the HL2 SDK?
You could also ask if Microsoft secretly developed Mono so the dedicated server would work on Linux.
[QUOTE=ZeekyHBomb;30989169]Show him the HL1 SDK, perhaps also the HL2 SDK?
You could also ask if Microsoft secretly developed Mono so the dedicated server would work on Linux.[/QUOTE]
Well [b]obviously[/b] otherwise the linux server wouldnt work now, would it. Duh
Is wglUseFontBitmaps deprecated? It uses glCallLists for drawing system fonts.
I love experimenting
[IMG]http://jimbomcb.net/files/07_2011/img_0191_3833.jpg[/IMG]
Draws a line between there the player is and what they are targeting.
Looks better in movement, [URL]http://jimbomcb.net/spec/11.5-tracetest[/URL] but I doubt I will be keeping anything like it, was just interested to see what it would look like
[QUOTE=WeltEnSTurm;30989671]Is wglUseFontBitmaps deprecated? It uses glCallLists for drawing system fonts.[/QUOTE]
Yes, if it's not [url=http://www.opengl.org/sdk/docs/man3/]here[/url], it's deprecated.
Now, does anybody know a non-deprecated way or library of drawing text? :v:
[QUOTE=Jimbomcb;30989758]I love experimenting
[IMG]http://jimbomcb.net/files/07_2011/img_0191_3833.jpg[/IMG]
Draws a line between there the player is and what they are targeting.
Looks better in movement, [URL]http://jimbomcb.net/spec/11.5-tracetest[/URL] but I doubt I will be keeping anything like it, was just interested to see what it would look like[/QUOTE]
You should add all kinds of fancy features like this. Just make some options menu where you can pick what you want to see and what not. Also the target lines should be team colored for better viewing.
Also are those bots playing or is it some server everyone can join?
[QUOTE=Zyx;30988512]I have no idea what you are talking about, but feel free to ask me instead v:v:v[/QUOTE]
Well my JAR crashes silently whenever I start it up and it says in the command line that it can't find the main class. I'm using slick2D and the LWJGL if that helps. \:v:/
[QUOTE=WeltEnSTurm;30990129]Now, does anybody know a non-deprecated way or library of drawing text? :v:[/QUOTE]
just do it the easy way until you find a real reason to use purely non-deprecated functions
Oh, interesting. The laptop the university I'm going to wants me to buy has a better video card than my own PC and supports OpenGL 4.1 [img]http://www.facepunch.com/fp/emoot/dance.gif[/img].
Is there a "plot point" function in SFML? Just, you know, to put a dot somewhere?
[QUOTE=Overv;30990315]Oh, interesting. The [b]laptop the university I'm going to wants me to buy[/b] has a better video card than my own PC and supports OpenGL 4.1 :dance:.[/QUOTE]
The wording here really confused me. I couldn't figure it out at all. v:v:v
[QUOTE=Dehodson;30990392]Is there a "plot point" function in SFML? Just, you know, to put a dot somewhere?[/QUOTE]
If you want to make a dot then make a sf::Shape using sf::Shape::Circle to make a circle with defined radius.
[QUOTE=BlkDucky;30990455]The wording here really confused me. I couldn't figure it out at all. v:v:v[/QUOTE]
read as "the laptop required by my future university has a better [...]"
[editline]8th July 2011[/editline]
it could probably be written even better but fuck writing :v:
Sorry, you need to Log In to post a reply to this thread.