|
Post by Guilect on Feb 25, 2008 20:31:25 GMT -5
Here is the latest verison of Brutus2D. Everyone is encouraged to upgrade to this latest version. Get your copy here (~4.02 Meg): Brutus2D V1.8.2 Download Here is the change log for V1.8.2 added -- Net(work) Multiplayer commands. Available to registered users Example in examples\Network folder. added -- Graphics.GetPixel to autocomplete fixed -- .bjs files are now associated with Brutus2D fixed -- limited the output for ArcCos to 0 and 3.14159265358979 And 1.5707964 to -1.5707964 for ArcSin. Now if the input is > 1 or < -1 then the output of the function will not give error but rather the 1 or -1 output. fixed -- In BrutusMap, where if you open a file, then click new, it maintained the same filename
|
|
|
Post by u9 on Feb 26, 2008 8:31:19 GMT -5
|
|
|
Post by Guilect on Feb 26, 2008 10:38:26 GMT -5
I thought every Windows install had this already installed on it. I see that this is not the case. So this is a problem. Although U9's suggestion gets things going on your system, it does not guarantee that your end user will have this OCX installed.
I have an idea that I can use direct API calls to the winsock.dll and skip the OCX all togher. So, its back to the drawing board on the Networking.
If you want you can still download and play with it. The solutuion should not change how things look on your side of things.
[edited: for small spelling error]
|
|
|
Post by Guilect on Feb 26, 2008 20:35:44 GMT -5
Got a good start at converting the OCX to API calls. Would have had a lot more done but I got 2 phone calls. Each lasted about an hour. There went all my free time.
|
|
|
Post by u9 on Feb 27, 2008 13:24:26 GMT -5
hehe yeah i know how that is! ... some of my friends reaaaaally like talking on the phone, myself i hate talking on the phone. I don't even own a cell myself But isn't it easier just to include the file along with brutus? Ah... or do the executables not work if they are run from another machine then?
|
|
|
Post by Guilect on Feb 27, 2008 14:29:23 GMT -5
Including a file in the B2D install package is easy and would get the network commands working on your machine. However, if you then give an exe to someone else, there is a chance that their system would not have that ocx installed and execution would fail. By going this API route, exe's should run on every machine.
|
|
|
Post by Guilect on Feb 27, 2008 21:49:21 GMT -5
Got B2D so that it no longer needs the OCX for the network functions. Now I'm looking into some questions that U9 posed in another thread.
|
|
|
Post by Guilect on Mar 2, 2008 18:32:27 GMT -5
Ok, I believe that I got the reported errors. If only I could find someone with 3 or 6 computers to test it out on..... here are the updated files for B2D in a zip. Back up existing files if you desire. (Brutus2D.exe and comp.dat files). Extract to your B2D install directory. brutus.pewtersoftware.com/upload/files/Brutus2D_Net.zip
|
|