Newbie Spellweaver
- Joined
- May 21, 2014
- Messages
- 17
- Reaction score
- 18
Hi!
Yes, I started fixing the SnowStorm shockwave version (no, the flash one is preeetty bad).
But, don't get too much Hype because it's very bugged right now and in my first post (you can find here) I wrote that without reverse engineering the CCT files, we can't keep the Bytecode inside the CST files. What does that mean? Simply it means it's impossible to study the Lingo script (even with ProjectorRays) because they get deleted when a CCT file gets converted to CST.
By the way, I picked Holograph Emu Vista4life's Edit.
Now I will explain how I fixed these parts of SnowStorm.
Do you remember when in every v26 retro, it was impossible to create a SnowStorm game?
Well, I saw how the Server was handling the data and everytime a game was created, the server would process the data in wrong parameters.
So I thought: "Why BattleBall tool works? They shares the same structure..." and in fact, SnowStorm and BattleBall shares like 40% of functions.
Then, what was the error? As I have already said, the server would process the corrected data into wrong parameters. In fact, there is a little functions called "CreateGame" that BattleBall tool uses. The problem was the parameters: they were: Owner, Name, MapID, teamAmount, enabledPowerups.
Yup, enabledPowerups was the first problem: when this paramater gets a nice "null" (so no powerups selected), it bugs the SnowStorm tool and even the BattleBall one (lol).
So, I added a new function called "CreateGameSS" and it doesn't use the enabledPowerups parameter (it doesn't need one).
The problem was solved? Errr.. nope.
The packets were totally EMPTY.
I studied (again) how BB tool handles the packets and I found that it uses a String type function called "getCreateGameSettings"... the name should explain everything.
So what was the problem? Simply the server wouldn't receive any data and the SS tool would simply block. I added the missing Settings and... miracle!
The other settings work without any problem because they share the same functions with BattleBall tool. The timer is corrected, in fact without putting a nice Switch function the time was just 1, 2 or 3 seconds (respectively 2 mins, 3 mins and 5 mins options).
Nice uh? But the real problems are starting now.
YUP, this is the first problem... loading the f*ing arenas.
I have already fixed some problems, but still there are lot that need to be fixed.
You should know that SnowStorm has 7 pretty arenas, Arctic Island, Algid River, Polar Labyrinth, Frosty Forest and etc.
Soo... where's the problem? In the CCT files.
In another thread, I said that SnowStorm CCT files are incomplete and I can't find any completed CCT files (v28 is worse).
The files arefor v26 are:
hh_game_snowwar: I think this is the main file... I can't convert it to CST (recover-cct crashes ). I tried with offzip and I got some .DAT files. I analyzed them and I think this CCT file just handles SnowStorm main scripts, I think they're Lingo scripts (btw I extracted the SS game sounds (even for BB), I can upload somewhere if you want).
hh_game_snowwar_ui: just SS UI (like Reward Window coords).
hh_game_snowwar_room: this has everything related to the Lobby and the arenas, but this is the most incomplete file. Fortunately there are all map items of the all arenas, so it's possible to manually construct the arenas (you can even make custom arenas).
In fact, in my first thread, I posted a screenshot with an empty arena. Today I finished the first structure data for Arena 1 (Arctic Island), you can see a screenshot in the spoiler:
I know, some items are misplaced (like the snow blocks), I will fix them ;P.
Building an arena is pretty time consuming because you need to know the items coordinates.
So, I manually built the arena, got coords and then I wrote the coords inside the Field File.
It took me 2 days.
With patience I will build the other arenas... but now I'm focused on other problems: UI loading and adding players.
In the screen, you can see there's still the main user interface. I tried to study how BB loads its UI, but I think the CCTs handle this. Players don't get added to the map and I really don't know why... maybe these two problems are connected. I have a couple theories and I will try when I'll have some time (University is starting this week ;V).
Before I finish, I have a request:
If you have the Complete SnowStorm v26 files, can you give them to the community?
There are even v28 CCTs (totally empty), but if you have a V28+ Pack with these files: hh_ig_snowwar_room, hh_ig_snowwar_ui and hh_ig_gamesys they are important, they use the Joystick button and not the lobby (they could even have the complete arenas).
So, it finishes here. When I'll have news, I'll report them here.
See ya!
PS: Sorry if there are some grammar errors >_>'
Yes, I started fixing the SnowStorm shockwave version (no, the flash one is preeetty bad).
But, don't get too much Hype because it's very bugged right now and in my first post (you can find here) I wrote that without reverse engineering the CCT files, we can't keep the Bytecode inside the CST files. What does that mean? Simply it means it's impossible to study the Lingo script (even with ProjectorRays) because they get deleted when a CCT file gets converted to CST.
By the way, I picked Holograph Emu Vista4life's Edit.
Now I will explain how I fixed these parts of SnowStorm.
- CREATE A GAME TOOL (fixed)
Do you remember when in every v26 retro, it was impossible to create a SnowStorm game?
Well, I saw how the Server was handling the data and everytime a game was created, the server would process the data in wrong parameters.
So I thought: "Why BattleBall tool works? They shares the same structure..." and in fact, SnowStorm and BattleBall shares like 40% of functions.
Then, what was the error? As I have already said, the server would process the corrected data into wrong parameters. In fact, there is a little functions called "CreateGame" that BattleBall tool uses. The problem was the parameters: they were: Owner, Name, MapID, teamAmount, enabledPowerups.
Yup, enabledPowerups was the first problem: when this paramater gets a nice "null" (so no powerups selected), it bugs the SnowStorm tool and even the BattleBall one (lol).
So, I added a new function called "CreateGameSS" and it doesn't use the enabledPowerups parameter (it doesn't need one).
The problem was solved? Errr.. nope.
The packets were totally EMPTY.
I studied (again) how BB tool handles the packets and I found that it uses a String type function called "getCreateGameSettings"... the name should explain everything.
So what was the problem? Simply the server wouldn't receive any data and the SS tool would simply block. I added the missing Settings and... miracle!
The other settings work without any problem because they share the same functions with BattleBall tool. The timer is corrected, in fact without putting a nice Switch function the time was just 1, 2 or 3 seconds (respectively 2 mins, 3 mins and 5 mins options).
Nice uh? But the real problems are starting now.
- Loading the Arenas
YUP, this is the first problem... loading the f*ing arenas.
I have already fixed some problems, but still there are lot that need to be fixed.
You should know that SnowStorm has 7 pretty arenas, Arctic Island, Algid River, Polar Labyrinth, Frosty Forest and etc.
Soo... where's the problem? In the CCT files.
In another thread, I said that SnowStorm CCT files are incomplete and I can't find any completed CCT files (v28 is worse).
The files arefor v26 are:
hh_game_snowwar: I think this is the main file... I can't convert it to CST (recover-cct crashes ). I tried with offzip and I got some .DAT files. I analyzed them and I think this CCT file just handles SnowStorm main scripts, I think they're Lingo scripts (btw I extracted the SS game sounds (even for BB), I can upload somewhere if you want).
hh_game_snowwar_ui: just SS UI (like Reward Window coords).
hh_game_snowwar_room: this has everything related to the Lobby and the arenas, but this is the most incomplete file. Fortunately there are all map items of the all arenas, so it's possible to manually construct the arenas (you can even make custom arenas).
In fact, in my first thread, I posted a screenshot with an empty arena. Today I finished the first structure data for Arena 1 (Arctic Island), you can see a screenshot in the spoiler:
I know, some items are misplaced (like the snow blocks), I will fix them ;P.
Building an arena is pretty time consuming because you need to know the items coordinates.
So, I manually built the arena, got coords and then I wrote the coords inside the Field File.
It took me 2 days.
With patience I will build the other arenas... but now I'm focused on other problems: UI loading and adding players.
In the screen, you can see there's still the main user interface. I tried to study how BB loads its UI, but I think the CCTs handle this. Players don't get added to the map and I really don't know why... maybe these two problems are connected. I have a couple theories and I will try when I'll have some time (University is starting this week ;V).
Before I finish, I have a request:
If you have the Complete SnowStorm v26 files, can you give them to the community?
There are even v28 CCTs (totally empty), but if you have a V28+ Pack with these files: hh_ig_snowwar_room, hh_ig_snowwar_ui and hh_ig_gamesys they are important, they use the Joystick button and not the lobby (they could even have the complete arenas).
So, it finishes here. When I'll have news, I'll report them here.
See ya!
PS: Sorry if there are some grammar errors >_>'
Last edited: