wc3c.net
wc3campaigns
Our homepage - http://www.wc3campaigns.netUser Control Panel (requires log in)Engage in discussions, join Contests, show your work and much more in our forums.Learn about Warcraft III modding - From beginner tutorials to the advanced levels.Show your art skills.Download great quality models, skins, spells and systems.Download maps from our database where map quality is the objective

Go Back   Wc3C.net > Resources > Code Resources > Systems
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 01-05-2006, 12:11 AM   #1
Vexorian
Open source terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 13,876

Submissions (41)

Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)

Hero Contest #3 - 2nd Place

Default Codemaker engine 0.5

It is a code generation system, 2 modes:
- Save: Store values in an array then use the Codemaker to create a code string.

- Load: Make the player input a code string the pass it to Codemaker to load the values it contains into an array, or detect errors.

It is completelly binary based so codes tend to be smaller than with other systems, also has safety checks like a checksum and a code only works for one player name (in bnet it is that codes are different for each account). And the least variation in the values makes every character in the code change

It allows you to easily change the charmap and other options so you can choose a simple code that just uses 1234567890ABCDEF (easier to write/type) or a more difficult one that even uses lower case characters and symbols (smaller code size)

Version History:
 0.5 :
       - Fixed issues with every single function pack that caused problems after copying it to
         custom script section (the % becomes nothing bug)

 0.4 :
       - Revamped the general way the system works, now the slightest variation will make the system
         generate a completelly different code.

 0.3 :
       - Changed the introduction.
       - The Player encoding protection is now optional.
Attached Images
File Type: jpg code.jpg (35.6 KB, 1728 views)
Attached Files
File Type: w3x codemaker0.5.w3x (51.0 KB, 1947 views)
__________________
Zoom (requires log in)Wc3 map optimizer 4.8
Not anymore in release early-release often mode.
Zoom (requires log in)JassHelper 0.9.I.2
Now with 50% more win.
hook DoNothing MakeGUIUsersCrash
Vexorian is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 01-05-2006, 06:56 AM   #2
Blade.dk
.
 
Blade.dk's Avatar


Respected User
 
Join Date: May 2005
Posts: 1,990

Submissions (17)

Blade.dk is a glorious beacon of light (417)Blade.dk is a glorious beacon of light (417)Blade.dk is a glorious beacon of light (417)Blade.dk is a glorious beacon of light (417)Blade.dk is a glorious beacon of light (417)Blade.dk is a glorious beacon of light (417)

Approved Map: Azeroth's Arcane ArenaSpell session 01 winner

Send a message via MSN to Blade.dk
Default

Wonderful engine. Learned a great couple of things by looking through the code.
__________________
Spell Making Course: Part 1: Making a simple stomp spell.
I wonder if I'll ever finish part 2.
Blade.dk is offline   Reply With Quote
Old 01-30-2006, 04:07 AM   #3
bananaboy
User
 
Join Date: Mar 2005
Posts: 16

bananaboy has little to show at this moment (0)

Default Thx

Just what I need. Works well, and function packed....(not like vex needs my approval..)
bananaboy is offline   Reply With Quote
Old 01-31-2006, 12:11 AM   #4
Vexorian
Open source terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 13,876

Submissions (41)

Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)

Hero Contest #3 - 2nd Place

Default

There is a bug with the hero save/load sample (it is actually blizzard's fault) . The editor strips % characters from the custom script section when saving. So if you copy the pool class to the custom script section you have to find out the string that sets its charmap for the Rawcode stuff and add an extra % after the first % in the charmap
__________________
Zoom (requires log in)Wc3 map optimizer 4.8
Not anymore in release early-release often mode.
Zoom (requires log in)JassHelper 0.9.I.2
Now with 50% more win.
hook DoNothing MakeGUIUsersCrash
Vexorian is offline   Reply With Quote
Old 02-23-2006, 03:24 AM   #5
Hellblade92-AoA
User
 
Hellblade92-AoA's Avatar
 
Join Date: Jan 2006
Posts: 41

Hellblade92-AoA seriously needs to be banned (-29)

Send a message via AIM to Hellblade92-AoA
Default

argh vex is this useable in a hero wars like map sorta like dota but different because heros are not as strong so as to enable save/load codes? and if its not canu make one? im no genius but i know ur good!
Hellblade92-AoA is offline   Reply With Quote
Old 02-23-2006, 03:37 AM   #6
Vexorian
Open source terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 13,876

Submissions (41)

Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)

Hero Contest #3 - 2nd Place

Default

I did not design it with any specific use in mind.

thanks for reminding me I made this map, I have to update the file to add some warnings and recommendations.
__________________
Zoom (requires log in)Wc3 map optimizer 4.8
Not anymore in release early-release often mode.
Zoom (requires log in)JassHelper 0.9.I.2
Now with 50% more win.
hook DoNothing MakeGUIUsersCrash
Vexorian is offline   Reply With Quote
Old 02-23-2006, 03:56 AM   #7
Vexorian
Open source terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 13,876

Submissions (41)

Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)

Hero Contest #3 - 2nd Place

Default

All right, updated
Vexorian is offline   Reply With Quote
Old 02-23-2006, 10:38 PM   #8
Hellblade92-AoA
User
 
Hellblade92-AoA's Avatar
 
Join Date: Jan 2006
Posts: 41

Hellblade92-AoA seriously needs to be banned (-29)

Send a message via AIM to Hellblade92-AoA
Default

but vex whats it good for? i have no practice in jass and im almost possative 90% of other people dont so how are we supposed to make our own? im a little confused... mmm i need a save code... FRIDGE!.. if any one sees this and knows how to make one like the one in humans vs orcs.. please email me at aaronpaul13@aol.com or on aim aaronpaul13 thanx


-ps nice website i envy u :)

-Aaron

Last edited by Hellblade92-AoA : 02-23-2006 at 10:50 PM.
Hellblade92-AoA is offline   Reply With Quote
Old 02-24-2006, 12:03 AM   #9
Vexorian
Open source terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 13,876

Submissions (41)

Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)

Hero Contest #3 - 2nd Place

Default

Hmnn the sample included should be good enough for saving any kind of hero.
__________________
Zoom (requires log in)Wc3 map optimizer 4.8
Not anymore in release early-release often mode.
Zoom (requires log in)JassHelper 0.9.I.2
Now with 50% more win.
hook DoNothing MakeGUIUsersCrash
Vexorian is offline   Reply With Quote
Old 02-24-2006, 12:53 AM   #10
Hellblade92-AoA
User
 
Hellblade92-AoA's Avatar
 
Join Date: Jan 2006
Posts: 41

Hellblade92-AoA seriously needs to be banned (-29)

Send a message via AIM to Hellblade92-AoA
Default

ohh ok i see lol im dumb so all i half to do is do what u said to impliment then just maybe cgange some actions and events around (that could be hard) lol and change events to maybe a player types a chat message -save :) lol whew im a retard thanx for the great tool... I NOW LOVE IT :) awesome man later!
Hellblade92-AoA is offline   Reply With Quote
Old 02-24-2006, 11:57 AM   #11
Venturai
User
 
Join Date: Jan 2004
Posts: 36

Venturai has little to show at this moment (1)

Default

That's kinda what I'd like to know, Hellblade.

Why are the demo triggers setup to use abilities to save and load? Really, who creates abilities for them? Wouldn't you just have it work on player chat messages with a particular unit variable setup to be the hero to save?

Either way, without knowing JASS to be able to change them (which I honestly have no desire to learn), there's just no way I can get this system working in my map.
Venturai is offline   Reply With Quote
Old 02-24-2006, 12:21 PM   #12
Vexorian
Open source terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 13,876

Submissions (41)

Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)

Hero Contest #3 - 2nd Place

Default

Congratulations then, don't use it.

But it is really easy to make it use chat messages, I met 2 guys with 0 JASS knowledge that were able to use this system. And also made it use chat commands



I actually like buttons more than chat commands.
__________________
Zoom (requires log in)Wc3 map optimizer 4.8
Not anymore in release early-release often mode.
Zoom (requires log in)JassHelper 0.9.I.2
Now with 50% more win.
hook DoNothing MakeGUIUsersCrash
Vexorian is offline   Reply With Quote
Old 02-24-2006, 12:52 PM   #13
Blade.dk
.
 
Blade.dk's Avatar


Respected User
 
Join Date: May 2005
Posts: 1,990

Submissions (17)

Blade.dk is a glorious beacon of light (417)Blade.dk is a glorious beacon of light (417)Blade.dk is a glorious beacon of light (417)Blade.dk is a glorious beacon of light (417)Blade.dk is a glorious beacon of light (417)Blade.dk is a glorious beacon of light (417)

Approved Map: Azeroth's Arcane ArenaSpell session 01 winner

Send a message via MSN to Blade.dk
Default

Me too. Chat commands sucks much.

Hmmn, why not learn JASS? It gives you more freedom and more possibilities, and makes everything faster. And a lot of people here could help you. I think you should consider learning JASS, it is not hard at all.
__________________
Spell Making Course: Part 1: Making a simple stomp spell.
I wonder if I'll ever finish part 2.
Blade.dk is offline   Reply With Quote
Old 02-24-2006, 01:26 PM   #14
Venturai
User
 
Join Date: Jan 2004
Posts: 36

Venturai has little to show at this moment (1)

Default

Just because I want to eat the cake, that doesn't mean I want to know how to make it too. I have a feeling Blizzard feel the same way, because they did go to all that trouble setting the GUI up.

Incidentally, buttons are much better than chat commands, obviously, unless you run out of button space. Still, you're going to have to type that code back in anyway, so I don't see the point...

Last edited by Venturai : 02-24-2006 at 01:27 PM.
Venturai is offline   Reply With Quote
Old 02-24-2006, 01:29 PM   #15
Vexorian
Open source terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 13,876

Submissions (41)

Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)Vexorian has a brilliant future (938)

Hero Contest #3 - 2nd Place

Default

You can just make it use chat messages , the trigger that detects the buttons is in GUI.

I agree with the cake thing, look, if you install the codemaker in your map you won't have to know anything about how to encode an array into a binary string, take checksum, encode for checksum encode for the player, encode the binary string into a code, parse the code to highlight different kinds of characters and separate it in blocks of 4. And then be able to revert the process and detect errors. You won't have to do that.

You would just need to use some functions which are already in use by the save/load triggers so you can just copy those triggers and modiffy them to your will, you of course have to configure the ability/ item data too in case you want to use the hero save/load sample.

Making this system in GUI would have been suicidal
__________________
Zoom (requires log in)Wc3 map optimizer 4.8
Not anymore in release early-release often mode.
Zoom (requires log in)JassHelper 0.9.I.2
Now with 50% more win.
hook DoNothing MakeGUIUsersCrash
Vexorian is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 08:54 PM.


Donate

Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2009, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services