Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Sweetscape 010 Editor Templates & Scripts

Junior Spellweaver
Joined
Nov 18, 2012
Messages
142
Reaction score
67
Would be great if you add them all in one package, for those who don't have it :3
 
Junior Spellweaver
Joined
Jan 16, 2014
Messages
150
Reaction score
189
Would be great if you add them all in one package, for those who don't have it :3

The reason they're not available as one download is because each is a Dropbox link. I've done it this way so that the links always point to the latest versions of the templates and scripts. All I have to do on my end is edit the local versions on my PC, and Dropbox takes care of the rest.

Speaking of which, I've updated the ui.dat and EBM templates a little.

EDIT: Added a link to an auto-generated zip archive of all of the scripts and templates. Added very basic EBD (band) and GLS (glass) templates.
 
Last edited:
Junior Spellweaver
Joined
Nov 18, 2012
Messages
142
Reaction score
67
I'm quite lazy indeed, must admit though it makes me find the shortest ways :p
 
Newbie Spellweaver
Joined
Feb 11, 2013
Messages
88
Reaction score
4
The boss, please help me
As shown in figure
When I run the script, to get such a mistake
What should I do is right?
SMLkzLK - Sweetscape 010 Editor Templates & Scripts - RaGEZONE Forums

Help me, thank you
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Feb 11, 2013
Messages
88
Reaction score
4
Re: Sweetscape 010 Editor Templates & Scripts

Thank you for your guidance
Now suggest such a mistake
jZxm931 - Sweetscape 010 Editor Templates & Scripts - RaGEZONE Forums

The next step in the right what should I do?Help me
thank you



Run ebm template first ?
Thank you for your guidance
Now suggest such a mistake
jZxm931 - Sweetscape 010 Editor Templates & Scripts - RaGEZONE Forums

The next step in the right what should I do?Help me
thank you
I'm sorry my English is very poor
 

Attachments

You must be registered for see attachments list
Joined
Feb 26, 2010
Messages
1,388
Reaction score
784
Code:
//--------------------------------------##
// Game: CABAL Online
// File Format: EBM, EBS, ECH, EPS
// Description: Adds a new Material data block.  Useful for adding layered textures to existing or custom files.
//--------------------------------------##
// Author: Yamachi, fixing : Punk
// Team: Forge
// Website: http://forge-dev.com
//--------------------------------------##

Assert(exists(estType), "No template results found.  Please run the appropriate template before attempting to run this script again.");
Assert(estType == "EBM" || estType == "EBS" || estType == "ECH" || estType == "EPS", "File format not supported.");

int count = materials_and_textures.count;

int64 start = startof(materials_and_textures.materials[count - 1].layer);
int64 size = startof(materials_and_textures.chunk_id)-start;
start += size;

InsertBytes(start, 100);
materials_and_textures.count += 1;

// Refresh
RunTemplate();

materials_and_textures.materials[count].texture.id.length = 1;
materials_and_textures.materials[count].texture.size = 1;

start = startof(materials_and_textures.materials[count].texture.id.length);
start += 2;

InsertBytes(start, 1);

start = startof(materials_and_textures.materials[count].texture.size);
start += 5;

InsertBytes(start, 1);

// Refresh
RunTemplate();

materials_and_textures.materials[count].layer.material_index = -1;
materials_and_textures.materials[count].layer.render_flags = 4;

RunTemplate();

This should work, there's probably a better way to write it but I don't care. Make sure to run cabal_ebm.bt first still.
 
Last edited:
Newbie Spellweaver
Joined
Feb 11, 2013
Messages
88
Reaction score
4
Re: Sweetscape 010 Editor Templates & Scripts

Code:
//--------------------------------------##
// Game: CABAL Online
// File Format: EBM, EBS, ECH, EPS
// Description: Adds a new Material data block.  Useful for adding layered textures to existing or custom files.
//--------------------------------------##
// Author: Yamachi, fixing : Punk
// Team: Forge
// Website: http://forge-dev.com
//--------------------------------------##

Assert(exists(estType), "No template results found.  Please run the appropriate template before attempting to run this script again.");
Assert(estType == "EBM" || estType == "EBS" || estType == "ECH" || estType == "EPS", "File format not supported.");

int count = materials_and_textures.count;

int64 start = startof(materials_and_textures.materials[count - 1].layer);
int64 size = startof(materials_and_textures.chunk_id)-start;
start += size;

InsertBytes(start, 100);
materials_and_textures.count += 1;

// Refresh
RunTemplate();

materials_and_textures.materials[count].texture.id.length = 1;
materials_and_textures.materials[count].texture.size = 1;

start = startof(materials_and_textures.materials[count].texture.id.length);
start += 2;

InsertBytes(start, 1);

start = startof(materials_and_textures.materials[count].texture.size);
start += 5;

InsertBytes(start, 1);

// Refresh
RunTemplate();

materials_and_textures.materials[count].layer.material_index = -1;
materials_and_textures.materials[count].layer.render_flags = 4;

RunTemplate();

This should work, there's probably a better way to write it but I don't care. Make sure to run cabal_ebm.bt first still.
dear
Thanks for your great work.
According to your instruction, now still have such a mistake
lQuz0cA - Sweetscape 010 Editor Templates & Scripts - RaGEZONE Forums

Hope to be able to repair it
Thank you for your
You are a good man
 

Attachments

You must be registered for see attachments list
Last edited:
Joined
Feb 26, 2010
Messages
1,388
Reaction score
784
You must be running an old version of 010.
Put the templates you downloaded in Documents/Sweetscape/010 Templates then replace the lines in the script with the RunTemplate("Cabal_"+estType+".bt");
 
Newbie Spellweaver
Joined
Feb 11, 2013
Messages
88
Reaction score
4
You must be running an old version of 010.
Put the templates you downloaded in Documents/Sweetscape/010 Templates then replace the lines in the script with the RunTemplate("Cabal_"+estType+".bt");
dear
I was too stupid, can't solve this problem
Can share the right script?thank you
Now with the 010 version:
lq30v7k - Sweetscape 010 Editor Templates & Scripts - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Joined
Aug 27, 2013
Messages
788
Reaction score
1,903
  • Updated EBM template to support newest Korean Test Client format.
(Download the full .zip and replace all your templates, as I've made numerous changes since I last published them)

Thanks for the update!
I've noticed a syntax error, not sure if it just me or not, but I get it on mobs ep8 and items ep8 templates.

While using the previous ones - works perfectly fine.
 
Back
Top