SWBF2 deep server sider modding
Moderator: Moderators
-
VSZM
- Posts: 3
- Joined: Sun Apr 13, 2014 4:18 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
SWBF2 deep server sider modding
I have been playing SWBF2 online since the very beginning. In the past few years I have been learning computer science, and familiarized a few programming languages.
I would like to look into some of the source codes of the SWBF2 server files if anyone would have them.
Does anyone know if anyone have the source files ?
I would like to investigate the origins of some known bugs like:
-Spawnbug
-Darktrooper cooldown bug
-etc
Any help is welcome.
I would like to look into some of the source codes of the SWBF2 server files if anyone would have them.
Does anyone know if anyone have the source files ?
I would like to investigate the origins of some known bugs like:
-Spawnbug
-Darktrooper cooldown bug
-etc
Any help is welcome.
-
LRKfm946
- Master Sergeant

- Posts: 163
- Joined: Sun Feb 02, 2014 6:13 pm
- Projects :: Battlefront II Hunger Games
- Contact:
Re: SWBF2 deep server sider modding
I don't know if the source code is availible. I do know, however, that the clan VA has already made patches for those bugs as well as many others including the boot bug and server hang crashing. They did have these patches on a server called [RAPTOR] Gaming but it didn't get much activity so it was taken down. The only reason you haven't seen these patches elsewhere is because SWGO refuses to accept them and put them on their servers (stupidest decision ever).
Note: The dark trooper glitch isn't server related, it's a bug in the game exe that affects all units: if you roll or jump, shot delay is cancelled out. It affects every weapon, but the arc caster is the only one with a shot delay long enough to have a noticable effect.
EDIT: The patch, however, is server sided. If the server exe is patched, players won't be able to DTG on the server.
Note: The dark trooper glitch isn't server related, it's a bug in the game exe that affects all units: if you roll or jump, shot delay is cancelled out. It affects every weapon, but the arc caster is the only one with a shot delay long enough to have a noticable effect.
EDIT: The patch, however, is server sided. If the server exe is patched, players won't be able to DTG on the server.
Last edited by LRKfm946 on Sun Apr 13, 2014 3:26 pm, edited 1 time in total.
-
VSZM
- Posts: 3
- Joined: Sun Apr 13, 2014 4:18 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: SWBF2 deep server sider modding
LRKfm946 wrote:I don't know if the source code is availible. I do know, however, that the clan VA has already made patches for those bugs as well as many others including the boot bug and server hang crashing. They did have these patches on a server called [RAPTOR] Gaming but it didn't get much activity so it was taken down. The only reason you haven't seen these patches elsewhere is because SWGO refuses to accept them and put them on their servers (stupidest decision ever).
Note: The dark trooper glitch isn't server related, it's a bug in the game exe that affects all units: if you roll or jump, shot delay is cancelled out. It affects every weapon, but the arc caster is the only one with a shot delay long enough to have a noticable effect.
Well on a normal game the server should have authority about whether a shot can be fired or not. So the client sends the shoot request (as a DT) and the server checks if the weapon is on cooldown or not. This is how normal multiplayer games work. So basically with more server side authority these cooldown based bugs could be eradicated. This is why I ask for the server side code.
Anyways can you point me to the patched server you mentioned? I would also like to know what they changed. Did they modify the exe files, or only lvl files?
-
LRKfm946
- Master Sergeant

- Posts: 163
- Joined: Sun Feb 02, 2014 6:13 pm
- Projects :: Battlefront II Hunger Games
- Contact:
Re: SWBF2 deep server sider modding
Looks like I edited my first post after you saw it: 
If you want, add me on xfire and I can refer you to my friend from VA, he'll answer all your questions.
My badLRKfm946 wrote:\The patch, however, is server sided. If the server exe is patched, players won't be able to DTG on the server.
If you want, add me on xfire and I can refer you to my friend from VA, he'll answer all your questions.
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: SWBF2 deep server sider modding
It sounds like they used the unofficial 1.4 patch found here: http://www.gamershell.com/download_15375.shtmlVSZM wrote:Well on a normal game the server should have authority about whether a shot can be fired or not. So the client sends the shoot request (as a DT) and the server checks if the weapon is on cooldown or not. This is how normal multiplayer games work. So basically with more server side authority these cooldown based bugs could be eradicated. This is why I ask for the server side code.
Anyways can you point me to the patched server you mentioned? I would also like to know what they changed. Did they modify the exe files, or only lvl files?
Regardless, the ShotDelay bug is a hard-coded bug, which pretty much means that fixing it is illegal since it would require modifying the game's executable. Unless you obtain permission to modify the game's executable like the developers of the unofficial 1.4 patch did, you'll be breaking the mod tools' end-user license agreement and, in effect, the law.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: SWBF2 deep server sider modding
... that being said, the game is long past its expiration date with developers and publishers.Marth8880 wrote:Regardless, the ShotDelay bug is a hard-coded bug, which pretty much means that fixing it is illegal since it would require modifying the game's executable. Unless you obtain permission to modify the game's executable like the developers of the unofficial 1.4 patch did, you'll be breaking the mod tools' end-user license agreement and, in effect, the law.
-
VSZM
- Posts: 3
- Joined: Sun Apr 13, 2014 4:18 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: SWBF2 deep server sider modding
ID Software has published source codes of almost all of their old games like Quake, Doom, etc.Teancum wrote:... that being said, the game is long past its expiration date with developers and publishers.Marth8880 wrote:Regardless, the ShotDelay bug is a hard-coded bug, which pretty much means that fixing it is illegal since it would require modifying the game's executable. Unless you obtain permission to modify the game's executable like the developers of the unofficial 1.4 patch did, you'll be breaking the mod tools' end-user license agreement and, in effect, the law.
I always wondered, is there ANY reason why other publishers are not doing this?
EDIT
Thank you for clarifying on the legal aspects of modding, I was not sure about this part.Marth8880 wrote:It sounds like they used the unofficial 1.4 patch found here: http://www.gamershell.com/download_15375.shtmlVSZM wrote:Well on a normal game the server should have authority about whether a shot can be fired or not. So the client sends the shoot request (as a DT) and the server checks if the weapon is on cooldown or not. This is how normal multiplayer games work. So basically with more server side authority these cooldown based bugs could be eradicated. This is why I ask for the server side code.
Anyways can you point me to the patched server you mentioned? I would also like to know what they changed. Did they modify the exe files, or only lvl files?
Regardless, the ShotDelay bug is a hard-coded bug, which pretty much means that fixing it is illegal since it would require modifying the game's executable. Unless you obtain permission to modify the game's executable like the developers of the unofficial 1.4 patch did, you'll be breaking the mod tools' end-user license agreement and, in effect, the law.
(BTW you have linked a Battlefield 2 mod, not a Battlefront 2 one)
Double posting is against the RULES; please EDIT your post instead -Staff
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: SWBF2 deep server sider modding
LOL, whoops. Huh, can't seem to find the SWBF2 one.VSZM wrote:(BTW you have linked a Battlefield 2 mod, not a Battlefront 2 one)
-
LRKfm946
- Master Sergeant

- Posts: 163
- Joined: Sun Feb 02, 2014 6:13 pm
- Projects :: Battlefront II Hunger Games
- Contact:
Re: SWBF2 deep server sider modding
I just found a simple .lvl mod alternative to modifying the exe for DTG. Change these lines in com_weap_inf_arccaster:
This can be done for any weapon that doesn't already overheat, you just have to tweak the overheat values to match the original shot delay. But I can't think of any weapon that already overheats and has a shot delay long enough to be affected by the glitch.
Code: Select all
HeatRecoverRate = "0.9"
HeatThreshold = "0.2"
HeatPerShot = "2.0" //this line must be added, it's not already in the odf
ShotDelay = "0.0"-
Zeяo
- Private Recruit
- Posts: 16
- Joined: Wed Jun 04, 2014 11:14 am
- Projects :: Bypassing 64 player limit swbf2
Re: SWBF2 deep server sider modding
Hey I was wondering if you could tell me where I can find the server hang fix. My server has this around every 3 hours :OLRKfm946 wrote:I just found a simple .lvl mod alternative to modifying the exe for DTG. Change these lines in com_weap_inf_arccaster:This can be done for any weapon that doesn't already overheat, you just have to tweak the overheat values to match the original shot delay. But I can't think of any weapon that already overheats and has a shot delay long enough to be affected by the glitch.Code: Select all
HeatRecoverRate = "0.9" HeatThreshold = "0.2" HeatPerShot = "2.0" //this line must be added, it's not already in the odf ShotDelay = "0.0"
-
LRKfm946
- Master Sergeant

- Posts: 163
- Joined: Sun Feb 02, 2014 6:13 pm
- Projects :: Battlefront II Hunger Games
- Contact:
Re: SWBF2 deep server sider modding
As far as I know, there is no working fix for this issue. Someone told me that the server hang is caused by people wall glitching, etc. They said it's because when the round ends, people are outside map coordinates or something, and the server doesn't like it because they're not where they're supposed to be. But I highly doubt this is actually true because SWGO servers have had server hang issues ALL the time, even before they got overrun by glitchers in the past few weeks.Zeяo wrote:Hey I was wondering if you could tell me where I can find the server hang fix. My server has this around every 3 hours :O
Regardless, server hang is a very annoying issue, and I'd love for it to be fixed, but there are so many things that could be causing it that it'll be hard to figure out what actually is. VA has done a lot of research on stuff like this and they've even patched other things like the spawn bug and boot bug, but I don't think they've been able to patch server hang yet.
-
Zeяo
- Private Recruit
- Posts: 16
- Joined: Wed Jun 04, 2014 11:14 am
- Projects :: Bypassing 64 player limit swbf2
Re: SWBF2 deep server sider modding
Okay thanks for your reply, do they have a forum or something like that? Because I would like that boot bug and spawn bug patchLRKfm946 wrote:As far as I know, there is no working fix for this issue. Someone told me that the server hang is caused by people wall glitching, etc. They said it's because when the round ends, people are outside map coordinates or something, and the server doesn't like it because they're not where they're supposed to be. But I highly doubt this is actually true because SWGO servers have had server hang issues ALL the time, even before they got overrun by glitchers in the past few weeks.Zeяo wrote:Hey I was wondering if you could tell me where I can find the server hang fix. My server has this around every 3 hours :O
Regardless, server hang is a very annoying issue, and I'd love for it to be fixed, but there are so many things that could be causing it that it'll be hard to figure out what actually is. VA has done a lot of research on stuff like this and they've even patched other things like the spawn bug and boot bug, but I don't think they've been able to patch server hang yet.
-
LRKfm946
- Master Sergeant

- Posts: 163
- Joined: Sun Feb 02, 2014 6:13 pm
- Projects :: Battlefront II Hunger Games
- Contact:
Re: SWBF2 deep server sider modding
No, but you could ask a VA member if you can use them for your server. Shoot me a PM about it.Zeяo wrote:Okay thanks for your reply, do they have a forum or something like that? Because I would like that boot bug and spawn bug patch
-
Zeяo
- Private Recruit
- Posts: 16
- Joined: Wed Jun 04, 2014 11:14 am
- Projects :: Bypassing 64 player limit swbf2
Re: SWBF2 deep server sider modding
I tried but it says that I can't do that yetLRKfm946 wrote:No, but you could ask a VA member if you can use them for your server. Shoot me a PM about it.Zeяo wrote:Okay thanks for your reply, do they have a forum or something like that? Because I would like that boot bug and spawn bug patch
-
LRKfm946
- Master Sergeant

- Posts: 163
- Joined: Sun Feb 02, 2014 6:13 pm
- Projects :: Battlefront II Hunger Games
- Contact:
Re: SWBF2 deep server sider modding
Add me on Xfire, Origin, or Steam (whichever one you have): kfm946Zeяo wrote:I tried but it says that I can't do that yet
-
Zeяo
- Private Recruit
- Posts: 16
- Joined: Wed Jun 04, 2014 11:14 am
- Projects :: Bypassing 64 player limit swbf2
Re: SWBF2 deep server sider modding
Okay I added you on steamLRKfm946 wrote:Add me on Xfire, Origin, or Steam (whichever one you have): kfm946Zeяo wrote:I tried but it says that I can't do that yet
