Add Command /save

Codes submitted by developers and people of outpost. Come here to get codes for your client sources.
nomakon
just visiting
Posts: 9
Joined: Fri Dec 23, 2005 3:25 pm

Post by nomakon »

Hello anyone can tellme how make this command, i need save the game for dont get rollbacks.

Ty :blink:
Charles
Loyal fan
Posts: 418
Joined: Wed Nov 26, 2003 8:20 pm

Post by Charles »

nomakon wrote: Hello anyone can tellme how make this command, i need save the game for dont get rollbacks.

Ty :blink:
you don't need this cmd for avoiding rollbacks lol
<i>"Always write good code. Feel bad to write bad code."</i>
-apok-
Regular
Posts: 48
Joined: Sat Nov 06, 2004 1:59 am
Location: Australia

Post by -apok- »

there was a set of files that had this command implemented though as a user command not an admin command so it was up to the player to save their own files...i cannot remember which version and whos files it was in though...:S
<img src='http://i39.photobucket.com/albums/e160/ ... gycopy.png' border='0' alt='user posted image' />
sokol
Loyal fan
Posts: 228
Joined: Mon May 02, 2005 7:28 pm
Location: P(r)oland

Post by sokol »

who need that shit still? :/
-apok-
Regular
Posts: 48
Joined: Sat Nov 06, 2004 1:59 am
Location: Australia

Post by -apok- »

it was an easy solution to aid when server's got alot of problem with rollbacks...
<img src='http://i39.photobucket.com/albums/e160/ ... gycopy.png' border='0' alt='user posted image' />
Treax2
Loyal fan
Posts: 281
Joined: Fri Mar 04, 2005 5:05 pm
Location: Estonia
Contact:

Post by Treax2 »

lol hg save automaticly data!!!
just search something #define savedata ***** ... put that nr to lower :)
-apok-
Regular
Posts: 48
Joined: Sat Nov 06, 2004 1:59 am
Location: Australia

Post by -apok- »

Treax2 wrote: lol hg save automaticly data!!!
just search something #define savedata ***** ... put that nr to lower :)
yea but i dont think it was alwais like that...otherwise why were server's having large rollbacks a while ago? that may have been implemented to suit that problem as the newest solution :P cant sai i have had the problem so not sure which came first the chicken or the egg as a matter of speaking :unsure:
<img src='http://i39.photobucket.com/albums/e160/ ... gycopy.png' border='0' alt='user posted image' />
bone-you
Spamtastic
Posts: 1310
Joined: Wed Mar 16, 2005 3:12 am

Post by bone-you »

Servers used to save every 30/60 mins. That's why. I generally set servers I work for to 1 minute. A little extra strain on the world process for more rollback security is worth it.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia :D</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
-apok-
Regular
Posts: 48
Joined: Sat Nov 06, 2004 1:59 am
Location: Australia

Post by -apok- »

yea and with 60 min till it backs up again the high stat/lvl server players could loose alot of items, majestic points and eks if it were to have a crash and rollback ;)
<img src='http://i39.photobucket.com/albums/e160/ ... gycopy.png' border='0' alt='user posted image' />
Dax
&lt;3 bd long time
Posts: 785
Joined: Mon Apr 18, 2005 3:19 pm

Post by Dax »

-apok- wrote: yea and with 60 min till it backs up again the high stat/lvl server players could loose alot of items, majestic points and eks if it were to have a crash and rollback ;)
People care about losing 2 minutes work? :o
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
-apok-
Regular
Posts: 48
Joined: Sat Nov 06, 2004 1:59 am
Location: Australia

Post by -apok- »

Dax wrote:
People care about losing 2 minutes work? :o
-apok- wrote: yea and with 60 min till it backs up again the high stat/lvl server players could loose alot of items, majestic points and eks if it were to have a crash and rollback ;)
possible of 60 mins werk...
<img src='http://i39.photobucket.com/albums/e160/ ... gycopy.png' border='0' alt='user posted image' />
marleythe9
Loyal fan
Posts: 391
Joined: Sat Mar 26, 2005 12:41 am

Post by marleythe9 »

server saves auto every 3min i put this on my server its not a Client side thing its HG server side. i put a limit on how often they can use it tho. there is still roll back. and the idea of the /save also makes the players feal more safe. even if your server may crash 1 time a week. players like the idea they can save when they like.

simple realy just add a new command in hg /save

then u send message to WL to save there character file

bSendMsgToLS(MSGID_REQUEST_SAVEPLAYERDATA, iClientH);
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
bone-you
Spamtastic
Posts: 1310
Joined: Wed Mar 16, 2005 3:12 am

Post by bone-you »

To me, save is more of a risk than a safeguard. With save, you just made duping all that much easier. You may say "all dupe methods are fixed" but what if a new one comes out? A new feature may add a glitch. Now all they have to do is /save /crash /login xD Many servers have that little app that auto runs the exe on crash. Now it's just an endless loop. In reality, there shouldn't BE a need for this command. Servers should be stable enough for it to not crash regularly. Never has a server I've worked on had a /save command, but there was good stability. No one complained about not having a /save command.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia :D</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
Sentinel
Loyal fan
Posts: 462
Joined: Thu Jan 11, 2007 4:16 pm

Post by Sentinel »

You were right about that, your servers hardly ever crashed. I think when HBxS was up, It crashed maybe once every 2 - 3 weeks. If you were lucky no crashes at all.
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->charlie says:<br>i may own outpost but im not a nerd<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->(locobans @ Mar 12 2007, 10:48 PM) <br>"Remember while peeing, If you shake it more than twice you playing with it..." <br><!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
nomakon
just visiting
Posts: 9
Joined: Fri Dec 23, 2005 3:25 pm

Post by nomakon »

Thanks alot.
Post Reply