Is there a class that checks file names and throws a file mismatch error when trying to connect to a server? And if so, can it be replaced?
Cause if it can, the client file could be moved-away/renamed using Unreal instead than forcing the user to close UT and move-away/rename the file manually to then restart UT and reconnect to the same server.
Can the file mismatch being handled?
-
- Godlike
- Posts: 1205
- Joined: Mon Aug 31, 2015 10:31 pm
Can the file mismatch being handled?
Some of the stuff I created:
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
-
- Godlike
- Posts: 3776
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: Can the file mismatch being handled?
You shouldn't give the server the ability to decide legitimacy and alter the client like this at all. At the very least you'll have dumbass mappers replacing Ancient.utx with their "improved" versions and causing you to fail ACE checks, and at the very worst you give rogue servers the ability to really harm the clients if they wanted to.
I totally get what you are saying but there are safer ways of doing this. It's being worked on currently and a good solution is coming at some point. Hang in there.
I totally get what you are saying but there are safer ways of doing this. It's being worked on currently and a good solution is coming at some point. Hang in there.
So long, and thanks for all the fish
-
- Godlike
- Posts: 1205
- Joined: Mon Aug 31, 2015 10:31 pm
Re: Can the file mismatch being handled?
Well, the user could still be prompted.
Some of the stuff I created:
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
-
- Masterful
- Posts: 577
- Joined: Tue Jun 20, 2017 1:00 pm
- Personal rank: ⚋⚊⚌☰⚞⌖⚟☰⚌⚊⚋
Re: Can the file mismatch being handled?
Isn't this one of the things Higor was working on in his engine?
Either ways, even that being the case, there are other ways to solve the mismatches problem, and that is by avoiding them altogether.
Search what developers did in PHP before namespaces were implemented, and that should give a strong clue how developers should name their packages to avoid this problem altogether, because regardless of mismatching or not, having 2 packages with the same name from different authors is always a big problem regardless.
The same goes for classes.
Textures and other static resources are rather immune to this given that they have their own package and group which already serve as namespaces.
Either ways, even that being the case, there are other ways to solve the mismatches problem, and that is by avoiding them altogether.
Search what developers did in PHP before namespaces were implemented, and that should give a strong clue how developers should name their packages to avoid this problem altogether, because regardless of mismatching or not, having 2 packages with the same name from different authors is always a big problem regardless.
The same goes for classes.
Textures and other static resources are rather immune to this given that they have their own package and group which already serve as namespaces.
-
- Godlike
- Posts: 1964
- Joined: Sat Sep 17, 2011 4:32 pm
- Personal rank: Dame. Vandora
- Location: TN, USA
Re: Can the file mismatch being handled?
XC_GE is already working on this.
Meanwhile, it's still manageable manually by client side. There are only 1 file that is server side only so the client doesn't have to deal with the credit issue, which that is already posted here in UT99.org.
Meanwhile, it's still manageable manually by client side. There are only 1 file that is server side only so the client doesn't have to deal with the credit issue, which that is already posted here in UT99.org.
-
- Godlike
- Posts: 1868
- Joined: Sun Mar 04, 2012 6:47 pm