MuLLeT MaN Posted March 23, 2003 Share Posted March 23, 2003 Your right Olaf, Im getting tired of all the issues :(, I think its time to release the source! Besides I'm sick of the game right now, other people can take over or perhaps some of the code could go towards the freecraft dune2 project or something. Theres many more people involved in that anyway. So, I'll make my final decision, and probably release it on a sourceforge page within the next few days.I'll be able to start on something new! :DWelp, you know what to do with those text files now :). Hehe, I want to keep in contact with ye. Do you use MSN Messenger? Quote Link to comment Share on other sites More sharing options...
TonyD Posted March 23, 2003 Author Share Posted March 23, 2003 yep sure do, same email address is my thingo. Quote Link to comment Share on other sites More sharing options...
TonyD Posted March 23, 2003 Author Share Posted March 23, 2003 I can see why it is a reason for publishing source, but also why it is not. The exact same reason. Anyhow, the issue 'pathfinding' is not even the case here, both computers will exactly produce the same path if its not done randomized. The only thing that could be randomized is the eventual goal. If the host figures that the unit cannot move to the cell and 'change' the goal to create a group of units, then all it should do is send the new goal cell to the client before it even tries to create the path. (Sort of confirmation).Anyhow, i am still anxious to see the code, and it will probably take some time to 'learn' how to read the game structure and code. Also, Tony is using the SDL library (which is in 'competition terms' the 'other side' of Allegro ;) if i have to believe the communities). My path searching actual dosen't use any randomnous anymore.Theres a few other reasons I can think of for inconsistancy:At the moment when you order multiple units to do some action, each unit will send a corresponding packet with this command in it seperately. If its the server, all the units will calculate their paths in the next tic, however if not, the packets may not arrive and be performed in one tic. Therefor units will calculate their paths at different times on other machines, which may cause different path calculations due to different positions of other units and such.When the commands arrive on a client machine, due to the unpredictable nature of networking they will will very likely not be performed at the same time/tic as how they were performed on the server machine. A harvester may be assigned to a particular cell already on the server, but not yet on client which could cause different results. This could be resolved by making sure the server controls assignment to cells, but this is even more inefficient then sending the entire path.So to fix some of this you could make sure that unit commands are performed only in bulk not individually, but after all this I think its still more effiecient just to send entire paths. Quote Link to comment Share on other sites More sharing options...
MuLLeT MaN Posted March 23, 2003 Share Posted March 23, 2003 Got it! [Waits for the response on MSN Messenger] Quote Link to comment Share on other sites More sharing options...
TonyD Posted March 25, 2003 Author Share Posted March 25, 2003 I've got my soureforge page now, and im setting it up. Ill have a proper web page there too.https://sourceforge.net/projects/dunelegacy/I've realised why I want to release the source.Firstly I have gained all experiance in c/c++ coding that I can from the project. I started it along time ago when I only just started learning how to program so some of it has not been structured how I would like it, and its time to get a job! The project was taking to much of my time, and im a bit sick of it, I have more important things to do. :P Quote Link to comment Share on other sites More sharing options...
vidiware Posted March 25, 2003 Share Posted March 25, 2003 are you stopping the development? Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted March 25, 2003 Share Posted March 25, 2003 cool! Can't wait till the files are up aswell ;) Take care Tony, i hope you stick around! 8) Quote Link to comment Share on other sites More sharing options...
MuLLeT MaN Posted April 1, 2003 Share Posted April 1, 2003 So.............What now?Is the source code released yet? Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted April 2, 2003 Share Posted April 2, 2003 just checked, it aint release yet :( oh well, probably Tony needs time to fix up (clean) the code, so i'll wait. Quote Link to comment Share on other sites More sharing options...
TonyD Posted April 4, 2003 Author Share Posted April 4, 2003 I can't get cvs to upload to the sourceforge page. I can log in anonymously, but when I try to initialise the area or upload anything it just says something like failed to connect to server. Does anyone here have good cvs knowlege? I don't have much time to work it out. Quote Link to comment Share on other sites More sharing options...
XTF Posted April 4, 2003 Share Posted April 4, 2003 You need to find SFSetup. Run it and it sets up WinCVS. You have read-only access if you login anonymously. Quote Link to comment Share on other sites More sharing options...
TonyD Posted April 14, 2003 Author Share Posted April 14, 2003 ok, did this but it still won't work, just sits there and says nothing but the command when i try to upload, init or anything like this. Ill just have to use cvs from linux, that should work fine. Sorry about this delay, I'm just to slack, but WILL do it next time i boot linux. Quote Link to comment Share on other sites More sharing options...
XTF Posted April 15, 2003 Share Posted April 15, 2003 If you mail the code to me and give me write-access, I can upload the code into CVS for you. Quote Link to comment Share on other sites More sharing options...
TonyD Posted April 19, 2003 Author Share Posted April 19, 2003 I finally managed to get it uploaded onto there! It now will compile and run in linux, I just have to slightly adjust the windows files again so it will compile in windows too.Sorry about it taking such a long time. I can imagine some people may have doubted my intentions since I took so long. My homepage is now set to the sourceforge location. Quote Link to comment Share on other sites More sharing options...
Cyborg Posted April 19, 2003 Share Posted April 19, 2003 Can you give me a link?I'm very interested in the source as I'm testing some rts coding... :) Quote Link to comment Share on other sites More sharing options...
TonyD Posted April 19, 2003 Author Share Posted April 19, 2003 yep, try the WWW link on the left Quote Link to comment Share on other sites More sharing options...
Teg Posted April 19, 2003 Share Posted April 19, 2003 Tony, would you be able to put a source archive up for us who are too lazy to learn CVS? Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted April 20, 2003 Share Posted April 20, 2003 Perhaps i am stupid, but i can't find any downloadable files from:https://sourceforge.net/project/showfiles.php?group_id=77093I do not want to hassle with CVS or anything, is'nt there an easy way to get any file from sourceforge? Quote Link to comment Share on other sites More sharing options...
TonyD Posted April 20, 2003 Author Share Posted April 20, 2003 ok ill do that sometime soon then. Id like to put the last release in releases as well too. Quote Link to comment Share on other sites More sharing options...
XTF Posted April 20, 2003 Share Posted April 20, 2003 I got the source code from CVS, but the VC project needs dirs like gui/, structures/ and units/, but the CVS tree doesn't contain them.Where did those dirs go?And when launcher from the command console of Windows XP says Dune2 Data Extractor.exe: This program cannot be run in DOS mode. Quote Link to comment Share on other sites More sharing options...
TonyD Posted May 2, 2003 Author Share Posted May 2, 2003 Yeah, sorry bout that, I haven't fixed the windows files yet. It will compile perfectly in linux, but you should be able to create a new project and add all the files for windows. Quote Link to comment Share on other sites More sharing options...
vidiware Posted May 2, 2003 Share Posted May 2, 2003 how do you d/l the source? can't u just add the source as a .zip file? Quote Link to comment Share on other sites More sharing options...
vidiware Posted May 2, 2003 Share Posted May 2, 2003 and how do u dl usig CV`S? i can log on but ned password for anonymousl login Quote Link to comment Share on other sites More sharing options...
XTF Posted May 14, 2003 Share Posted May 14, 2003 You can use a blank password. Quote Link to comment Share on other sites More sharing options...
vidiware Posted May 21, 2003 Share Posted May 21, 2003 ut i cant log in :'( >:( :'( btw...nice smilies ::) ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.