Author Topic: Position Saver  (Read 21666 times)

0 Members and 1 Guest are viewing this topic.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Position Saver
« on: August 16, 2007, 01:09:31 pm »
Script Name: Position Saver
Script Description: When a player does /save, his / her position is saved. When (s)he does /load then she is teleported to that last saved location. There is a limitation of the total number of times a player may load his / her position that may be set in one of the constants at the top of the script. Also, there is a required amount of time between save (changeable through a constant), and you must be a at least a certain distance away from the flags and your previously saved position (changeable through constants). Also note that the script does include a limitation of a player's speed when loading, although because GetPlayerStat always returns 0 with the speed variables, it is commented out. It should still work when it is uncommented out in the next version of Soldat Dedicated Server if what is returned is fixed.
Original Author: Curt (Probably based off of EnEsCe's script on his FUN server)
Core Version: 2.6.3
In request from Iq-Unlimited
« Last Edit: May 06, 2008, 08:05:53 pm by DorkeyDear »

Offline Iq Unlimited

  • Flagrunner
  • ****
  • Posts: 864
  • mr. foobar2000
Re: Position Saver
« Reply #1 on: August 16, 2007, 01:13:34 pm »
Teh download since Curt was too lazy to add it himself.


« Last Edit: August 16, 2007, 01:49:34 pm by Iq Unlimited »

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #2 on: August 16, 2007, 01:16:15 pm »
No! Not true! It was really on my desktop ready to be uploaded, I just forgot! Lol, its now there.
(Hehehe, mine is a smaller size)

Offline Freedom

  • Major
  • *
  • Posts: 97
  • Veritas Vincit
Re: Position Saver
« Reply #3 on: August 16, 2007, 01:28:04 pm »
Cool xD
I'll save position just right by enemy flag XD
Cum pare contendere anceps est, cum superiore furiosum, cum inferiore sordidum.

Offline Iq Unlimited

  • Flagrunner
  • ****
  • Posts: 864
  • mr. foobar2000
Re: Position Saver
« Reply #4 on: August 16, 2007, 01:50:06 pm »
lol, it was meant for climbs, and also you cant save by a  flag.

Offline Ttil_Np.csWoW

  • Major
  • *
  • Posts: 55
  • The Berserkers Are Coming....
Re: Position Saver
« Reply #5 on: August 16, 2007, 02:41:08 pm »
this is really anoying on some climb maps ( i know from enesces sever) on other maps its good.
i say that normal climbing is better than /save and /load
can you save porsitsion then change team then load?
I will be back to play soldat, just not now , but i will....... some day.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #6 on: August 16, 2007, 02:59:29 pm »
can you save porsitsion then change team then load?
yeah.. script is generally meant for a 1-team climb server. It would go well along with a script that auto sets a player team to alpha if they try to change teams.

Offline Ttil_Np.csWoW

  • Major
  • *
  • Posts: 55
  • The Berserkers Are Coming....
Re: Position Saver
« Reply #7 on: August 16, 2007, 11:14:10 pm »
could you reset the players save onjointeam? (just wornding not asking)
I will be back to play soldat, just not now , but i will....... some day.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #8 on: August 17, 2007, 11:16:33 am »
could you reset the players save onjointeam? (just wornding not asking)
Yeah, just replace "procedure OnJoinGame(ID, Team: byte);" with "procedure OnJoinTeam(ID, Team: byte);", and the script will reset a person's save when they changes teams too.

Offline Snipufin

  • Camper
  • ***
  • Posts: 281
Re: Position Saver
« Reply #9 on: August 20, 2007, 09:11:35 am »
You steel meh script!
Quote
Name:     Snipufin
Posts:    111 (1.11 per day)
Position:    Soldier
Karma:    -11


Offline Iq Unlimited

  • Flagrunner
  • ****
  • Posts: 864
  • mr. foobar2000
Re: Position Saver
« Reply #11 on: August 20, 2007, 10:32:58 am »
You steel meh script!
I had it first lawl!!! its mien!
I take the blame for the suggestion that Curt should go ahead and make it ^^.

Offline Ride

  • Soldier
  • **
  • Posts: 199
    • NA Soldat Clan Website
Re: Position Saver
« Reply #12 on: August 20, 2007, 05:21:53 pm »
lol, it was meant for climbs, and also you cant save by a  flag.
you can edit it so it can be able to work next to flags >:D
Ingame Name: TC ~ Ryde.Lf ~
Past Clans: ^Re/ ~ -eO:

Offline miketh2005

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 668
  • What's the URL for www.microsoft.com?
Re: Position Saver
« Reply #13 on: August 21, 2007, 11:44:29 am »
lol, it was meant for climbs, and also you cant save by a  flag.
you can edit it so it can be able to work next to flags >:D
how? I need 1 please, I need a script that has no limitation inf saves inf loads and you can save anytime anywhere, and next to flags. please make me 1, thanx
Quote from: 'Ando.' pid='12999178' dateline='1309046898'
My new password is secure as shit :)
Mate, I am not sure Shit is even secured nowadays.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #14 on: August 21, 2007, 01:58:05 pm »
Quote from: DorkeyDear
Code: [Select]
const
  Color = $FF52DD52;
  MaxLoads = 3;
  SaveTime = 30;
  SaveDist = 400;
  FlagDist = 500;
You can change FlagDist and SaveDist and SaveTime to 0 for the only limitation being the max number of loads. I might modify it so if you put -1 as the MaxLoads, then there will be no limit, but thats not in there yet.

Offline miketh2005

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 668
  • What's the URL for www.microsoft.com?
Re: Position Saver
« Reply #15 on: August 21, 2007, 03:12:32 pm »
could I put like 100? or whats the max i can put?
Quote from: 'Ando.' pid='12999178' dateline='1309046898'
My new password is secure as shit :)
Mate, I am not sure Shit is even secured nowadays.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #16 on: August 21, 2007, 03:59:31 pm »
I'm not sure what datatype it is, sense its a constant... I would assume an integer, so 32767 (No, I did not memorize that number) would be the highest it can be.

Offline miketh2005

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 668
  • What's the URL for www.microsoft.com?
Re: Position Saver
« Reply #17 on: August 29, 2007, 06:58:10 pm »
ok thanx, i think thats enough lol

Date Posted: August 22, 2007, 11:52:21 AM
there is a bug when on ice, you cant save

Date Posted: August 29, 2007, 07:56:16 PM
can u also make it so if a person types /s or /l because it's a hassle to keep typing it out especially if its a hard jump or something.
Quote from: 'Ando.' pid='12999178' dateline='1309046898'
My new password is secure as shit :)
Mate, I am not sure Shit is even secured nowadays.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #18 on: August 30, 2007, 02:39:10 pm »
Theres no way to fix the ice thing that I know of.
Doesn't when a person do a 1 letter / command or 2 letter, it actually acts like the person said "s" or "l" or whatever letter is there? I just tested it, when in a server, i did /t and /te and it was as if I typed "t" and "te" but then I did "/tes" and nothing happened.
I'll see if the single or double letter commands actually calls the OnPlayerCommand function, and if it does, then I'll modify the script.

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Position Saver
« Reply #19 on: August 30, 2007, 10:12:10 pm »
If the command is less than 3 chars, it wont work.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #20 on: November 01, 2007, 05:04:34 pm »
If the command is less than 3 chars, it wont work.
Do you know if MM has a reason for that? (or you, don't know if its client or server-side)

Date Posted: August 31, 2007, 04:10:38 pm
Update
  • Replaced the constants with a settings.ini file
  • Added a /loadsettings command
  • Script now accepts limitations of player's speed
  • Player looses saves when he captures the flag

    Date Posted: October 15, 2007, 06:02:55 pm
    Update:
  • Setting maximum loads to 0 means there is no limit
  • Fixed the speed detection being a bit inaccurate

    Date Posted: November 01, 2007, 04:17:32 pm
    Update:
  • Auto loading after respawn is supported (/autoload on/off; server setting in settings.ini sets default state)
  • /reset command added to reset loads and saves

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Re: Position Saver
« Reply #21 on: November 03, 2007, 04:33:01 pm »
With that reset youve taken away the 'Can't save to close to last save point' because there is no longer any save point :P
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline BombSki

  • Flagrunner
  • ****
  • Posts: 927
    • Climbing-soldiers.net
Re: Position Saver
« Reply #22 on: November 04, 2007, 08:51:44 am »
heh, good thinking.
i requested a /reset, because if u save it at some dead way, or a deadly polygon, u dont need to disable autoload to spawn at the actual spawn. its indeed abusable, but i dont know why you would want to disallow saving close to the last save point :P
an easy fix for this would be /kill on /reset :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #23 on: November 04, 2007, 01:34:03 pm »
Update:
 
  • Resetting kills you
  • Resetting now has a message :)

Offline Ippo

  • Major(1)
  • Posts: 5
    • My clan Mr's homepage
Re: Position Saver
« Reply #24 on: January 31, 2008, 12:56:15 pm »
Where to put this script?? I have a dedicated server.
I just wanna know this thing. Answer as soon as possible.



Offline BombSki

  • Flagrunner
  • ****
  • Posts: 927
    • Climbing-soldiers.net
Re: Position Saver
« Reply #25 on: January 31, 2008, 01:28:29 pm »

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Position Saver
« Reply #26 on: March 03, 2008, 02:27:36 am »
is it possible to turn off this script using command?

Im chill like that

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #27 on: March 03, 2008, 06:24:38 am »
is it possible to turn off this script using command?
Sorry, but no. The most you can disable is autoloading your save point so that people who don't know about the script don't auto get teleported.

Offline macho

  • Major(1)
  • Posts: 2
Re: Position Saver
« Reply #28 on: March 28, 2008, 05:08:20 pm »
if some people need save in the middle on the air and whit speed and load in the middle on the air here is the code this position save is unlimited only need settings to load and incluides txt ..

Example:

Remember in a document .ini XD

[Settings]
AutoLoad=true
MaxLoads=0
SaveTime=0
SaveDist=0
FlagDist=0
MaxSpeed=100
Color=$000074E8


And in a document Pas the code XD
enjoy

var
  AutoLoadDefault: boolean;
  MaxLoads,SaveTime: byte;
  Color: longint;
  SaveDist,FlagDist,MaxSpeed: single;
  Save,AutoLoad,AfterRespawn: array[1..32] of boolean;
  Time,Loads: array[1..32] of integer;
  SaveX,SaveY: array[1..32] of single;

procedure AppOnIdle(Ticks: integer);
var
  i: byte;
begin
  for i := 1 to 32 do begin
    if Time > 0 then Time := Time - 1;
    if AfterRespawn then begin
      AfterRespawn := false;
      if Save then MovePlayer(i,SaveX,SaveY);
    end;
  end;
end;

function LoadSettings(File: string): boolean;
begin
  try
    if ReadINI(File,'Settings','AutoLoad','false') = 'true' then AutoLoadDefault := true else AutoLoadDefault := false;
    MaxLoads := StrtoInt(ReadINI(File,'Settings','MaxLoads',' '));
    SaveTime := StrtoInt(ReadINI(File,'Settings','SaveTime',' '));
    SaveDist := StrtoFloat(ReadINI(File,'Settings','SaveDist',' '));
    FlagDist := StrtoFloat(ReadINI(File,'Settings','FlagDist',' '));
    MaxSpeed := StrtoFloat(ReadINI(File,'Settings','MaxSpeed',' '));
    Color := StrtoInt(ReadINI(File,'Settings','Color',' '));
  except
    Result := true;
    Exit;
  end;
end;

procedure ActivateServer();
begin
  if LoadSettings('scripts/' + ScriptName + '/settings.ini') then WriteLn('
  • ' + ScriptName + ' -> Error while loading settings') else WriteLn('
  • ' + ScriptName + ' -> Settings loaded successfully');

end;

function OnPlayerCommand(ID: Byte; Text: string): boolean;
var
  FlagAX,FlagAY,FlagBX,FlagBY: single;
begin
  Result := false;
  Case GetPiece(LowerCase(Text),' ',0) of
    '/save': begin
      if Copy(Text,7,Length(Text)) <> '' then Exit;
      if (Loads[ID] < MaxLoads) or (MaxLoads = 0) then begin
        if GetPlayerStat(ID,'Alive') = true then begin
          if Time[ID] = 0 then begin
            if (Save[ID] = false) or (Distance(GetPlayerStat(ID,'X'),GetPlayerStat(ID,'Y'),SaveX[ID],SaveY[ID]) >= SaveDist) then begin
              GetFlagsXY(FlagAX,FlagAY,FlagBX,FlagBY);
              if (Distance(GetPlayerStat(ID,'X'),GetPlayerStat(ID,'Y'),FlagAX,FlagAY) >= FlagDist) and (Distance(GetPlayerStat(ID,'X'),GetPlayerStat(ID,'Y'),FlagBX,FlagBY) >= FlagDist) then begin
                if GetPlayerStat(ID,'Alive') = true then begin
                  Time[ID] := SaveTime;
                  WriteConsole(ID,'Your position has been saved.',Color);
                  SaveX[ID] := GetPlayerStat(ID,'X');
                  SaveY[ID] := GetPlayerStat(ID,'Y');
                  Save[ID] := true;
                end else WriteConsole(ID,'You must be standing on the ground to save.',Color);
              end else WriteConsole(ID,'You are too close to at least one of the flags.',Color);
            end else WriteConsole(ID,'You are too close to your previously saved location to save again.',Color);
          end else WriteConsole(ID,'You still have ' + InttoStr(Time[ID]) + ' seconds remaining until you may save again.',Color);
        end else WriteConsole(ID,'You must be alive to save your location.',Color);
      end else WriteConsole(ID,'It is pointless to save when you can not load.',Color);
    end;
    '/load': begin
      if Copy(Text,7,Length(Text)) <> '' then Exit;
      if GetPlayerStat(ID,'Alive') = true then begin
        if (Loads[ID] < MaxLoads) or (MaxLoads = 0) then begin
          if Distance(0,0,GetPlayerStat(ID,'VelX'),GetPlayerStat(ID,'Vely')) <= MaxSpeed then begin
            if GetPlayerStat(ID,'Alive') = true then begin
              if Save[ID] then begin
                Loads[ID] := Loads[ID] + 1;
                MovePlayer(ID,SaveX[ID],SaveY[ID]);
                if AfterRespawn[ID] then AfterRespawn[ID] := false;
                MovePlayer(ID,SaveX[ID],SaveY[ID]);
              end else WriteConsole(ID,'No save data to load.',Color);
            end else WriteConsole(ID,'You must be standing on the ground to load.',Color);
          end else WriteConsole(ID,'You are moving too fast to load.',Color);
        end else WriteConsole(ID,'You have maxed out on number of loads you are allowed to use. (' + InttoStr(MaxLoads) + ')',Color);
      end else WriteConsole(ID,'You must be alive to load your previously saved location.',Color);
    end;
    '/reset': begin
      if Copy(Text,8,Length(Text)) <> '' then Exit;
      if Save[ID] then begin
        DoDamage(ID,4000);
        Save[ID] := false;
        SaveX[ID] := 0;
        SaveY[ID] := 0;
        Loads[ID] := 0;
        WriteConsole(ID,'Save data reset.',Color);
      end else WriteConsole(ID,'No save data to reset.',Color);
    end;
    '/autoload': begin
      Case LowerCase(GetPiece(Text,' ',1)) of
        'on','enable','enabled': begin
          if AutoLoad[ID] then WriteConsole(ID,'Auto loading is already enabled.',Color) else begin
            AutoLoad[ID] := true;
            WriteConsole(ID,'Auto loading has been enabled.',Color);
          end;
        end;
        'off','disable','disabled': begin
          if AutoLoad[ID] then begin
            AutoLoad[ID] := false;
            WriteConsole(ID,'Auto loading has been disabled.',Color);
          end else WriteConsole(ID,'Auto loading is already disabled.',Color);
        end;
        '': if AutoLoad[ID] then WriteConsole(ID,'Auto loading is enabled.',Color) else WriteConsole(ID,'Auto loading is disabled',Color);
        else WriteConsole(ID,'Invalid input.',Color);
      end;
    end;
  end;
end;

function OnCommand(ID: Byte; Text: string): boolean;
begin
  if Text = '/loadsettings' then if LoadSettings('scripts/' + ScriptName + '/settings.ini') then begin
    WriteLn('
  • ' + ScriptName + ' -> Error while loading settings');

    WriteConsole(ID,'Error while loading settings',Color);
  end else begin
    WriteLn('
  • ' + ScriptName + ' -> Settings loaded successfully');

    WriteConsole(ID,'Settings loaded successfully',Color);
  end;
end;

procedure OnMapChange(NewMap: string);
var
  i: byte;
begin
  for i := 1 to 32 do begin
    Save := false;
    SaveX := 0;
    SaveY := 0;
    Time := SaveTime;
    Loads := 0;
  end;
end;

procedure OnJoinGame(ID, Team: byte);
begin
  Save[ID] := false;
  SaveX[ID] := 0;
  SaveY[ID] := 0;
  Time[ID] := SaveTime;
  Loads[ID] := 0;
  AutoLoad[ID] := AutoLoadDefault;
end;

procedure OnFlagScore(ID, TeamFlag: byte);
begin
  Save[ID] := false;
  SaveX[ID] := 0;
  SaveY[ID] := 0;
  Time[ID] := SaveTime;
  Loads[ID] := 0;
end;

procedure OnPlayerRespawn(ID: byte);
begin
  AfterRespawn[ID] := true;
end;

procedure OnJoinTeam(ID, Team: byte);
begin
  DrawText(ID,'Thi Position Saver has been edited By Macho' + chr(13) + chr(10) +
              'Use commands /save and /load' + chr(13) + chr(10) +
              '          Have Fun!!!',400,RGB(255,0,0),0.103,60,300);
end;




Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #29 on: March 28, 2008, 06:35:07 pm »
You should put it in [.code]...[./code]s to get rid of the
  • s.

Offline RunMan

  • Major(1)
  • Posts: 27
Re: Position Saver
« Reply #30 on: April 03, 2008, 01:24:10 am »
Hello I have just started learning Pascal, so I can't change this script by myself. I want to:
  • remove all commands expcept save and load
  • I want to start the function when player sais "!save" or "!load", not when he writes in a cmd line
  • put saving limit 2 times per map

I will be very thankful when someone help me :)

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #31 on: April 03, 2008, 05:31:45 am »
Hello I have just started learning Pascal, so I can't change this script by myself. I want to:
  • remove all commands expcept save and load
  • I want to start the function when player sais "!save" or "!load", not when he writes in a cmd line
  • put saving limit 2 times per map

I will be very thankful when someone help me :)

After installing the script into the server (in working order)....
 
  • For admins theres /loadsettings, and for the public, /save, /load, /reset, and /autoload; I can understand autoload, but sense no admin really knows the load settings command, and reset can be used commonly... Why?
  • I'll slightly modify the script after school, but for now, its only /save /load commands.
  • to limit to 2 times / map, modify in settings.ini "MaxLoads=2"

Offline danmer

  • Camper
  • ***
  • Posts: 466
  • crabhead
Re: Position Saver
« Reply #32 on: April 03, 2008, 06:22:15 am »
what about an /autosave option? It would automatically save the position if your coordinates dont change much since say previous second and you have ground under you

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Position Saver
« Reply #33 on: April 23, 2008, 04:07:36 am »
@DorkeyDear

Can you do fusion this script with "capture logger" from climbing-soldiers.net??

Formula:
<Nick player> has capture the flag on <map name> in <time per capture in seconds [IMPORTAND: Time Start - Join game, not every dead]> with <How many saves> and <How many dies> deads.

Example:
XxX  has capture the flag on biaclimb1 in 10 sec. with 5 saves and 2 deads.

Reply me.
BB
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #34 on: April 23, 2008, 03:24:03 pm »
@DorkeyDear

Can you do fusion this script with "capture logger" from climbing-soldiers.net??

Formula:
<Nick player> has capture the flag on <map name> in <time per capture in seconds [IMPORTAND: Time Start - Join game, not every dead]> with <How many saves> and <How many dies> deads.

Example:
XxX  has capture the flag on biaclimb1 in 10 sec. with 5 saves and 2 deads.

Reply me.
BB
I just threw both scripts together, and slightly modified it, so tell me if there are any bugs.
The file is attached.
Note that the log files still follow the old format, nothing changed with them, just the message that is said to everybody when the player scores the flag.
« Last Edit: April 23, 2008, 03:27:02 pm by DorkeyDear »

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Position Saver
« Reply #35 on: April 24, 2008, 02:44:35 pm »
It's almost excellent!
But...

1. You do "...with 0 loads...". It's good, but may you do "...with 0 loads AND # SAVES..."??
2. May you do this massage "to divide in two" to 2 massages?? See you:
Code: [Select]
Now:

________________________________
|[*]xXx.........................and dea|
________________________________

I need:
_________________________________
|[*]xXx............................          |
|[*]..............and # deads           |
_________________________________

[*]  <--- server massage

You understand me??

Reply fast.
BB.
« Last Edit: April 24, 2008, 02:51:05 pm by Miszkol_ »
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #36 on: April 24, 2008, 08:25:21 pm »
Try this...

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Position Saver
« Reply #37 on: April 25, 2008, 02:14:46 am »
I search bug...Almost All is good working, but :
I 2 saves on map and when i cap the flag server write: 0 saves...
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #38 on: April 27, 2008, 11:25:46 am »
I search bug...Almost All is good working, but :
I 2 saves on map and when i cap the flag server write: 0 saves...

most climb servers usually have next map start, or player auto-killed/respawned when they cap, so i had it reset all stats for the player when they capped. Here you go (its an option up top in the constants), try this.

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Position Saver
« Reply #39 on: April 27, 2008, 12:43:12 pm »
It's working! IT'S WORKING!!! ^^
Thank you very much.

@BUG...
May you do timer start if any1 join the game??
« Last Edit: May 01, 2008, 07:01:52 am by Miszkol_ »
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #40 on: May 01, 2008, 02:31:52 pm »
It's working! IT'S WORKING!!! ^^
Thank you very much.

@BUG...
May you do timer start if any1 join the game??
every1 has their own timer, resets when they respawn

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Position Saver
« Reply #41 on: May 02, 2008, 03:48:16 am »
Quote
timer, resets when they respawn

May you do timer DON'T resets when they respawn??
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #42 on: May 02, 2008, 03:13:58 pm »
Theres a constant up top...

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Position Saver
« Reply #43 on: May 03, 2008, 09:11:15 am »
This still don't work(timer started - join game)...

New idea!
You may do "other" timer - ... # minutes and # seconds ...??
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #44 on: May 03, 2008, 10:02:21 am »
This still don't work(timer started - join game)...
Are you saying you want a timer from the start of the map?

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Position Saver
« Reply #45 on: May 03, 2008, 10:50:32 am »
This still don't work(timer started - join game)...
Are you saying you want a timer from the start of the map?

Yes... and may you do "other timer" ??

@edit

Do you this???
« Last Edit: May 05, 2008, 12:56:07 pm by Miszkol_ »
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #46 on: May 05, 2008, 03:00:07 pm »
.

Offline Bellamy

  • Major(1)
  • Posts: 42
Re: Position Saver
« Reply #47 on: May 06, 2008, 06:36:16 pm »
Hi. For some reason, I can't turn off the auto save option. I typed off, 0, and no but none of them turn it off. Then I went into the server, saved, killed myself and it did it. So I typed /autosave off and it said "the auto save option is already off" or whatever. Help please.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #48 on: May 06, 2008, 08:05:33 pm »
Hi. For some reason, I can't turn off the auto save option. I typed off, 0, and no but none of them turn it off. Then I went into the server, saved, killed myself and it did it. So I typed /autosave off and it said "the auto save option is already off" or whatever. Help please.
I think you mean autoload :P
Forgot a bit of code ^^ updated...

Offline Iq Unlimited

  • Flagrunner
  • ****
  • Posts: 864
  • mr. foobar2000
Re: Position Saver
« Reply #49 on: May 06, 2008, 09:12:16 pm »
HI BELL

//ontopic @bell

I have an ancient positionsaver code if you're trying it in my server. The old is good for it.


Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Position Saver
« Reply #50 on: May 07, 2008, 11:36:09 am »
@DonkeyDear

Repair you anything??
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Position Saver
« Reply #52 on: May 08, 2008, 01:28:21 am »
I download this and i don't see changes...
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #53 on: May 08, 2008, 03:04:50 pm »
I download this and i don't see changes...
Would have helped if you told me something was wrong...
Its attached.

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Position Saver
« Reply #54 on: May 09, 2008, 07:29:41 am »
GJ DorkeyDead

May you do timer show minutes and seconds?? "...in x minutes and X seconds..."
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #55 on: May 09, 2008, 03:01:20 pm »
'tis attached

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Position Saver
« Reply #56 on: May 10, 2008, 08:23:54 am »
Bugs:

- Timer show time started of respawn again...
- Text: ...secs seconds...
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Position Saver
« Reply #57 on: May 10, 2008, 08:41:41 am »
- Timer show time started of respawn again...
Not when I test it. ^^

Offline black jack

  • Major
  • *
  • Posts: 56
Re: Position Saver
« Reply #58 on: August 28, 2008, 06:16:59 am »
where do i put this script???
ibrahimovic

Offline Norbo

  • Camper
  • ***
  • Posts: 338
Re: Position Saver
« Reply #59 on: August 28, 2008, 06:36:36 am »
where do i put this script???

try searching the forums with "I need help in installing scripts!" there are pictures and suppport for n00bs unexpirenced people like you

Offline MetsuriTossavainen

  • Camper
  • ***
  • Posts: 267
  • The Chainsaw Wizard
Re: Position Saver
« Reply #60 on: September 21, 2008, 03:00:34 am »
I downloaded the script but autoload doesn't work. :| What's wrong, what should I do?

[Settings]
AutoLoad=true
MaxLoads=0
SaveTime=0
SaveDist=0
FlagDist=0
MaxSpeed=255
Color=$FF52DD52

EDIT: Nvm, I got it working :)
« Last Edit: September 21, 2008, 03:19:31 am by MetsuriTossavainen »

Offline MetsuriTossavainen

  • Camper
  • ***
  • Posts: 267
  • The Chainsaw Wizard
Re: Position Saver
« Reply #61 on: May 03, 2009, 11:58:39 pm »
I tried to get this working on 2.6.4 and it worked well until autoload teleports me in the middle of the map. I tried to save my position to several other places but the result was same. Is the scriptcore messed up or is this just normal compability problems?