
One server menu to rule them all?
Tada:
http://www.chaoticdreams.org/ce/jb/Allgametypes.jpg
Ok as you can see I was able to get it to work. I said that it would take a major re-write. Thats both correct and not correct. After looking at Alien Swam I saw how they did there All Missions. Basically they are looking for the AOGameInfo which is the base gametype of all there games and then doing two searches to populate their All Missions list.
Great except we can not do that. We have our GameInfo subclassed from Epics and Koth, ChaosCTF, ChaosDM, Duel, ect. Then if we wanted to list the Mutators we would have to include all of the gametypes and do many many searchs. Blah.
However that gave me an idear, with that and my super excellent coding sikz (joking) I was able to find an efficent hack to get something simular. What I had done is create a hidden mutator. This hiddent mutator does absolutly nothing. However it will be running for any chaos gametype and/or the mut. So using that it will find all "Chaos games" and do so in once search
But its not with out limitations. I spent more than 8 hrs on this trying to work around these limitations and I can not and have to give up for now. Thats where the comeplte re-write of the GUI is needed. These limitations are minor but here they are. I was not able to change the number of columes. For the all gametypes we need 5 colums (one more for the game type). So when your seaching for any other game type you will have a very small blank colum. Its not that bad but I dont like it. Finally my work-around hack can display a game type running Chaos that you dont have. For example it will find a JailBreak server running ChaosUT mut and JailBreak. Which is fine so long you have Jailbreak installed. So trying to filter the All Chaosgames list by your install gametypes was another nightmare that after spending a lot of time had to give up on.
So there ya go. For development purposes its looking for the ChaosUT mut so we will change that before the PR to make sure using the new method it capatures all things Chaos. Thanks for your time. Sorry I was not 100% correct but I will take a 50/50 ratio
http://www.chaoticdreams.org/ce/jb/Allgametypes.jpg
Ok as you can see I was able to get it to work. I said that it would take a major re-write. Thats both correct and not correct. After looking at Alien Swam I saw how they did there All Missions. Basically they are looking for the AOGameInfo which is the base gametype of all there games and then doing two searches to populate their All Missions list.
Great except we can not do that. We have our GameInfo subclassed from Epics and Koth, ChaosCTF, ChaosDM, Duel, ect. Then if we wanted to list the Mutators we would have to include all of the gametypes and do many many searchs. Blah.
However that gave me an idear, with that and my super excellent coding sikz (joking) I was able to find an efficent hack to get something simular. What I had done is create a hidden mutator. This hiddent mutator does absolutly nothing. However it will be running for any chaos gametype and/or the mut. So using that it will find all "Chaos games" and do so in once search

But its not with out limitations. I spent more than 8 hrs on this trying to work around these limitations and I can not and have to give up for now. Thats where the comeplte re-write of the GUI is needed. These limitations are minor but here they are. I was not able to change the number of columes. For the all gametypes we need 5 colums (one more for the game type). So when your seaching for any other game type you will have a very small blank colum. Its not that bad but I dont like it. Finally my work-around hack can display a game type running Chaos that you dont have. For example it will find a JailBreak server running ChaosUT mut and JailBreak. Which is fine so long you have Jailbreak installed. So trying to filter the All Chaosgames list by your install gametypes was another nightmare that after spending a lot of time had to give up on.
So there ya go. For development purposes its looking for the ChaosUT mut so we will change that before the PR to make sure using the new method it capatures all things Chaos. Thanks for your time. Sorry I was not 100% correct but I will take a 50/50 ratio

Jb
-
- Posts: 446
- Joined: Wed Jun 23, 2004 10:51 pm
- Contact:
-
- Chaotic Dreams Team
- Posts: 3290
- Joined: Sun Apr 06, 2003 6:22 am
- Location: Arizona
- Contact:
-
- Chaotic Dreams Team
- Posts: 3290
- Joined: Sun Apr 06, 2003 6:22 am
- Location: Arizona
- Contact: