Register for free, and make this box disappear!

Welcome to the BF Forums! Register Now, It's Free!


Welcome to the BF Forums; your source for the latest video game news, strategies, discussions, and resources. Join over 66,000 like-minded gamers to chat about your interests in our community.

You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free. Whatever your game interest may be, you'll find information here where people realize that games are more than just poker online.


Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
BattleForums.com Blizzard Gaming Forums > Warcraft > Warcraft General > Warcraft Maps and Modifications

We're Half-Way There!! - BF Lotto: $50 Ebay or Amazon Gift Card - A Single Click is All It Takes...

Reply
 
Thread Tools Display Modes
Old 07-02-2004, 11:43 PM   #1 (permalink)
BattleForums Newbie
 
Join Date: Jun 2004
Posts: 5
save strings

I would like to able to save units and if possible items etc. and iv heard i need a save string to able to save in a game and close out of it and start a new game later and be able to load it. So if some one could plz tell me how to do the string or atleast how to do strings in general that would be great. Thx
Rieudo is offline   Reply With Quote
Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
Old 07-04-2004, 01:41 AM   #2 (permalink)
BattleForums Junior Member
 
Stardragon's Avatar
 
Join Date: Nov 2003
Location: Sweden
Age: 20
Posts: 106
This is highly advanced crap, the last time I checked the code for this kind of thing is +10 A4 pages long..

You need to know what you are doing too, setting items and so on in the code etc etc.
__________________


www.beelzebub.se -My new website
Stardragon is offline   Reply With Quote
Old 07-04-2004, 03:33 AM   #3 (permalink)
BattleForums Newbie
 
Join Date: Jun 2004
Posts: 5
lol well crap....that does sound complicated but if some one could tell me a tutorial or something on how to learn that i would like to see, it its prob the next step for me any ways.
Rieudo is offline   Reply With Quote
Old 07-05-2004, 10:04 PM   #4 (permalink)
BattleForums Addict
 
Darimus's Avatar
 
Join Date: Oct 2003
Posts: 681
I made my own... heres some advice...

If you use a system of 62 characters (0-9, a-z, A-Z) you can fit any number up to 61 in one spot of the code (1 character). If the max level is 20 or 50 you could use this method. If you need to store more, You can use a 2-digit system as I did, where you can store up to about 2500 (despite the fact that it should be 3721 mathematically, war3 doesn't want to let me loop 3,721 times... only 2500). and for storing gold which was supposed to be a number up to 1 million (max gold) i wanted to make a 3-digit system but I ran into the problem of only being able to loop around 2500 times... so I stored by using 2 2-digit parts (4 characters in the code) and it stored by splitting the gold amount into 2 parts. (not dividing the gold amount by 2 but the length of the gold string) so if you had 999,999 gold, it stores 999 in the first 2-digit and 999 in the second 2-digit and the loading code restores it like that

but theres many ways to do it... you could do it w/o any looping if you wanted I guess
Darimus is offline   Reply With Quote
 
Reply

Get rid of all these ads! Take 30 seconds to register.

« Need a Partner in Crime | Where'd my old thread go »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 05:37 AM.



Powered by vBulletin® Version 3.7.2 | Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0