HELP!!

Started by
4 comments, last by webspynner_99 23 years, 11 months ago
Is there anyway to send commands to an .exe file from a java-script function, and the recieve commands from the program? I''m trying to make a multiplayer adventure game, but right now it''s single player. It''s a DHTML game, so it runs right out of the browser (IE4+). If I could send simple commands, character placement, attacks, item pickups, to and from the webpage, I could make a multiplayer game. Would anyone be willing to write the code for the cgi if they had the source code for the game? "YOU APES WANNA LIVE FOREVER?" Starship Troopers by Robert A. Heinlein "Who wants to live forever?" Queen "Never trust a bald barber" me B^)
Advertisement
I think that they designed java-script so you couldn''t do things like that, because of security reasons. I''m not sure, though, so everyone feel free to prove me wrong.

lntakitopi@aol.com | http://geocities.com/guanajam/
Maybe, but I''ve heard of other things, like e-commerce where the java-script did all the calculating, then at the end sent the info to the server, instead of constantly sending info to the server to get price calculations.

Let us know when guanajam is done.

"YOU APES WANNA LIVE FOREVER?" Starship Troopers by Robert A. Heinlein
"Who wants to live forever?" Queen
"Never trust a bald barber" me
B^)
(Light goes on) Yeah, you''re right, that does sound possible! But I''m afraid that it might not be fast enough.

Guana Jam will hopefully be done this summer. If not, there won''t be much time left until it''s Guana Jam 2001.

lntakitopi@aol.com | http://geocities.com/guanajam/
I don''t think u can do things like that with JS, but I could be wrong (haven''t done java-scripting in a loooooong time )

If you code it, they will come...

Commander M
http://commanderm.8m.com
cmndrm@commanderm.8m.com
I believe it is infact possible, though I''m not sure. I think you may have to use Java and not just JS, though. Still, I''m no expert on the subject. What I''m thinking of though is LiveWire, which I think is supposed to provide for connectivity between Java and machine-language (compiled) programs. Not sure though, but you should check it out, because if my memory serves me right, that''s just what you''re looking for.


while( strcmp(reply,flame) )    followThread();


random-nomad

This topic is closed to new replies.

Advertisement