| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| TWXProxy 2.04Final https://mail.black-squirrel.com/viewtopic.php?f=15&t=18344 |
Page 1 of 1 |
| Author: | Cerne [ Mon Jan 01, 2007 10:31 pm ] |
| Post subject: | |
Weren't we going to see it on the first or am I wrong again Cernnunos |
|
| Author: | Parrothead [ Tue Jan 02, 2007 1:02 am ] |
| Post subject: | |
couple days a little bird told me....patience grasshopper |
|
| Author: | Promethius [ Tue Jan 02, 2007 1:51 am ] |
| Post subject: | |
Parrothead wrote: couple days a little bird told me....patience grasshopper ... and with your credibility..... but for once I hope you are right. |
|
| Author: | ElderProphet [ Wed Jan 03, 2007 12:44 am ] |
| Post subject: | |
Heh, I heard the same thing Parrothead heard Seriously, I'm working on it daily, and it's shining up nicely. It's pretty much all cleanup from here. +EP+ |
|
| Author: | Parrothead [ Wed Jan 03, 2007 1:16 am ] |
| Post subject: | |
my credability? surly you jest. |
|
| Author: | ElderProphet [ Wed Jan 03, 2007 2:01 am ] |
| Post subject: | |
Well, I could start dropping a few tidbits now, but remember anything is apt to change. One of the nicest new features is intended to greatly simplify breadth-first (aka Nearest) searches. In the past, to find the nearest fighter for example, you had to create several arrays, several counters, numerous checks, and a while loop. With this new command (currently getNearestSectors), you simply begin at $que[1] and work your way deeper into the array, looking for that fig. So say you've created an array of figs, $figged. Finding the nearest fig will now look something like this: getNearestSectors $array CURRENTSECTOR setVar $i 1 while ($i <= SECTORS) setVar $focus $array[$i] if ($figged[$focus] = 1) echo "*Nearest fig in sector " $i end add $i 1 end Believe me when i say that the above code is MUCH simpler than what was previously required. +EP+ |
|
| Author: | Singularity [ Wed Jan 03, 2007 3:15 am ] |
| Post subject: | |
So you settled on getNearestSectors eh? Not all of the sectors in that list are nearest. |
|
| Author: | Runaway Proton [ Wed Jan 03, 2007 9:51 pm ] |
| Post subject: | |
Hey EP, to early for suggestions for 2.05? When a game bangs I have to delete the old twx setup then program everything back in for the new game, but I repeat everything that was already there. It would be nice to have a reset database option so when a game bangs, I reset, and done! No typing ip, passwords, all that jazz over again. |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|