• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

save/load system, that doesnt require the user to write in his code

Status
Not open for further replies.
Level 7
Joined
Jan 30, 2011
Messages
267
what ways are there to create a save/load system, where you dont need to screenshot the code and type it in next game?
 
Level 12
Joined
Sep 11, 2011
Messages
1,176
what ways are there to create a save/load system, where you dont need to screenshot the code and type it in next game?

there's no way to do something like that.. how would they claim when, what, where, & how did you save the game if you didn't type any code in the next games ? :vw_wtf:

Hmm Guild of hyppos used a save/load system that saved the code in your warcraft 3 savegames folder but i have no idea how they did it :3

re-read his question :/
 
Level 12
Joined
Sep 11, 2011
Messages
1,176
Level 7
Joined
Jan 30, 2011
Messages
267
i thought of doing it with a bot (for example if its an orpg thats constantly hosted by a certain bot)
isnt it possible that the bot reads the DisplayText messages and picks out the codes? for example "Code for Player 1" means, that the next 100 chars are the loading code for player 1
then the bot can database it somehow (my sql or smth)
and when the game starts, the bot sends the required codes (maybe via text message) to the game

i would try to code that myself, but i have 0 idea of editing the ghost one program (or any other bot program)
 
Level 11
Joined
Oct 31, 2010
Messages
1,057
hmm i think what you want is that you do not need to manually type out the code itself?

what i am saying is that guild of hyppos saved the text file in your warcraft 3 games folder so you do not need to screenshot it, you just have to copy paste the code from the text folder to the next GoH rpg. so you do not need to go through all the trouble and wont get a code error at all
 
Level 7
Joined
Jan 30, 2011
Messages
267
sounds interesting

but the bot-idea has 2 reasons:
1. you do not need to manually type it (as u said)
2. you can only play on the clan-bot, so you can ensure that only the newest version is being played
3. you can ensure that only the newest version of every character is being used
 
Level 7
Joined
Jan 30, 2011
Messages
267
for example:
you buy an expensive item for a friend, but you dont want to lose your money, so you load an older version of your character next game
 
Level 12
Joined
Sep 11, 2011
Messages
1,176
for example:
you buy an expensive item for a friend, but you dont want to lose your money, so you load an older version of your character next game

this can be solved by adding some text while a player picks an item that doesn't belong to that player.. "This item doesn't belong to you"
something like that.. so, whenever other player buy them an expensive items, they wouldn't have a chance to pick it up :)
 
Level 7
Joined
Jan 30, 2011
Messages
267
buy what if u want players to be able to buy stuff for others?

EDIT: beside that it was just an example
there can be many reasons why people might want to keep multiple versions of a character
 
Level 12
Joined
Sep 11, 2011
Messages
1,176
buy what if u want players to be able to buy stuff for others?

that would just reduce the fun of the game for real..
there if your map is cheated or hacked.. and their level is 100 (just example) with super duper hyper rare items.. they give a level 1 noob all their items and then just leave without saving (so bot won't realize his latest actions).. would you consider about preventing things like that ? :)
 
Level 7
Joined
Jan 30, 2011
Messages
267
first of all items basically have level restrictions^^
beside that i thought of autosave, so that its impossible to leave without saving
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Actually, it would be nice if you read through this post: File I/O.
It does exactly what you want to do. It also explains TwoVenomous' confusion (why no other maps do this).

I believe that with enough modification, it would be able to automatically save/load all your characters and create a nice list of them.
This is just a hypothesis though, I haven't tested the script yet (nor am I planning to do so in the near future).

The bad thing is that it's not really finished yet :)
 
Level 12
Joined
Sep 11, 2011
Messages
1,176
Actually, it would be nice if you read through this post: File I/O.
It does exactly what you want to do. It also explains TwoVenomous' confusion (why no other maps do this).

I believe that with enough modification, it would be able to automatically save/load all your characters and create a nice list of them.
This is just a hypothesis though, I haven't tested the script yet (nor am I planning to do so in the near future).

The bad thing is that it's not really finished yet :)

seems legit , thanks for the link :ogre_love:
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
There isn't still any local save/load. Nestharus was thinking about it, I'm not sure if he's still working on it. That would require an aditional file being on your computer for Wc3 to handle when you just type "-load" or do some event to load your locally saved character.

The most "advanced" method is what Guild of Hyppos and TKOK does, wich is creating a Text file in your Wc3 directory with the code in it so you can just Copy/Paste in the game.
 
Level 7
Joined
Jan 30, 2011
Messages
267
The most "advanced" method is what Guild of Hyppos and TKOK does, wich is creating a Text file in your Wc3 directory with the code in it so you can just Copy/Paste in the game.

this method is part of nestharus file i/o (posted by apocalypse) i think.
does anyone know how that file creation works? i looked through nestharus' code but i didnt have time to work with it yet.
 
Level 9
Joined
Jul 10, 2011
Messages
562
Spartipilo....nes stopped modding wc3 completely. he moved to c++ coding. so the i/o saving isnt finished and if nobody takes care of it itll never be finished.
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
hmm i think what you want is that you do not need to manually type out the code itself?

what i am saying is that guild of hyppos saved the text file in your warcraft 3 games folder so you do not need to screenshot it, you just have to copy paste the code from the text folder to the next GoH rpg. so you do not need to go through all the trouble and wont get a code error at all
Every now and then an exploit in wc3 shows up which allows you to write files to the user's computer, and they're soon fixed. This is not reliable.

I'm not sure if the specific exploit they're making use of is still around or not, but many have come and gone over the years.
 
Status
Not open for further replies.
Top