Jump to content
Wanted

OSI 2 Login done

Recommended Posts

https://github.com/OfficialSCARInclude/OSI2/commit/fd7a359d64e584842093beb701e1552c4b6b89d0

 

Login.scar done

TPAExtractPoints now in SCAR

OSI now requires SCAR 3.38.01

Removed Tab10-Log-Out.scar no need

Re added World-Switcher.scar much needed and login is already too huge

 

[sCAR]{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Official SCAR Include

Runescape 07

Login Routines

--------------------------------------------------------------------------------

* function WelcomeScreen: Boolean;

By: Wanted

* function LoginScreen: Boolean;

By: Wanted

* function HowToPlayScreen: Boolean;

By: Wanted

* function MessageScreen: Boolean;

By: Wanted

* function LoggedIn: Boolean;

By: Wanted

* function RSReady: Boolean;

By: Wanted

* function LoginSoundDisabled: Boolean;

By: Wanted

* function ToggleLoginMusic(Enable: Boolean): Boolean;

By: Wanted

* function PressNewUser(CheckWS: Boolean): Boolean;

By: Wanted

* function PressCancelHowToPlay(CheckHTPS: Boolean): Boolean;

By: Wanted

* function PressExistingUser(CheckWS: Boolean): Boolean;

By: Wanted

* function PressLogin(CheckLS: Boolean): Boolean;

By: Wanted

* function PressCancelLogin(CheckLS: Boolean): Boolean;

By: Wanted

* function TypeInUsername(Username: string; CheckLS: Boolean): Boolean;

By: Wanted

* function TypeInPassword(Password: string; HitEnter, CheckLS: Boolean): Boolean;

By: Wanted

* function FindLoginMessageTextEx(Text: string; TPA: TPointArray): Boolean;

By: Wanted

* function FindLoginMessageText(Text: string): Boolean;

By: Wanted

* function ClickToPlay(CheckMS: Boolean): Boolean;

By: Wanted

* function ActivePlayers: Integer;

By: Wanted

* function AllPlayersInActive: Boolean;

By: Wanted

* function NextPlayerIndex: Integer;

By: Wanted

* function NextActivePlayerIndex: Integer;

By: Wanted

* function Login: Boolean;

By: Wanted

* function LogOut: Boolean;

By: Wanted

* function SwitchToPlayer(Player: Integer; Active: Boolean): Boolean;

By: Wanted

* function NextPlayer(Active: Boolean): Boolean;

By: Wanted

* function RandomNextPlayer(Active: Boolean): Boolean;

By: Wanted

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}[/sCAR]

 

[sCAR]{$DEFINE RS07}

{$DEFINE OSI_RS07_Color_Anti_Randoms}

 

{$I OSI\OSI.scar}

 

procedure ScriptTerminate;

begin

FreeOSI;

end;

 

begin

SetUpOSI;

Players[0].Name := 'Zezima';

Players[0].Pass := 'isanoob';

Players[0].Active := True;

WriteLn(BoolToStr(Login));

end.[/sCAR]

 

[sCAR]begin // Response Wait Trys Action [CurrentPlayer].Loc Modified By Build # Status

Inc(Attempts);

if (Attempts < 2) then

begin

SetLength(Actions, 9);

Actions[0] := ['Your account is already logged in.', 15000, 10, 'PlayerTrue', 'Already logged in']; // March 11, 2013 Wanted ??? Unconfirmed

Actions[1] := ['Error connecting to server.', 20000, 10, 'Exit', 'Error Connecting']; // March 11, 2013 Wanted ??? Unconfirmed

Actions[2] := ['Invalid username/email or password.', 0, 2, 'PlayerFalse', 'Wrong User/Pass']; // March 11, 2013 Wanted ??? Confirmed

Actions[3] := ['Your account has been disabled.', 0, 1, 'PlayerFalse', 'Acc Disabled']; // March 11, 2013 Wanted ??? Unconfirmed

Actions[4] := ['You need to vote to play!', 0, 1, 'PlayerFalse', 'Needs to vote before play']; // March 11, 2013 Wanted ??? Unconfirmed

Actions[5] := ['Too many incorrect logins from your address.', 5 * 60500, 2, 'PlayerFalse', 'Too many incorrect logins']; // March 11, 2013 Wanted ??? Confirmed

Actions[6] := ['The server is being updated.', 0, 1, 'Exit', 'Server updated']; // March 11, 2013 Wanted ??? Unconfirmed

Actions[7] := ['RuneScape has been updated!', 0, 1, 'Exit', 'RS updated']; // March 11, 2013 Wanted ??? Unconfirmed

Actions[8] := ['This world is full.', 5000, 20, 'PlayerTrue', 'Desired world full']; // March 11, 2013 Wanted ??? Unconfirmed

H := High(Actions);

end;[/sCAR]

 

[sCAR]begin

WriteLn('Unknown login error!');

Players[CurrentPlayer].Loc := 'Unknown login error';

SaveScreenShot(OSI_Path + 'RS07\Core\Database\Login\' + TheDate(1) + TheTime);

NextPlayer(False);

Exit;

end;[/sCAR]

 

[sCAR]type

TRS07Player = record

Name: string; // In-game handle

Login: string; // Login handle

Pass: string; // Login password

Pin: string; // Bank Pin

Loc: string; // Player location

Status: string; // Player status

LampSkill: string; // Skill for lamp/exp randoms

Rand: string; // Current Random

Worked: Integer; // Time player has worked

Banked: Integer; // Number of times player banked

Trips: Integer; // Number of trips player has made

World: Integer; // Preferred world

Level: array[0..Skill_Count] of Integer; // Levels of all skills

Active: Boolean; // Player active

Booleans: array of Boolean; // Boolean records

Integers: array of Integer; // Integer records

Strings: array of string; // String records

Extendeds: array of Extended; // Extended records

Arrays: array of TVariantArray; // Custom records

TIA: T2DIntArray; // TIA records

end;[/sCAR]

 

Also fixed some center points for MC, MB, MD.

TPAExtractPoints is gone out of TPA.scar and now in SCAR

 

More good stuff on the way soon

 

Bank, the rest of Map, Chat, Anti-randoms, Worldswitcher.

 

I decide to add back WorldSwitcher because it's more complicated than I anticipated (not as bad as RS2 though) and Login.scar is already pretty big

 

Cheers

 

-Wanted

Edited by Wanted
  • Like 1
Link to comment
Share on other sites

FYI: When you get around to the ClickContinue (or whatever it's named) function the text can be either NPCChars or OptionChars. For example: the "You can't light a fire here." message uses OptionChars.

 

Perhaps if a message isn't related to a specific Npc it uses option chars instead?

Link to comment
Share on other sites

FYI: When you get around to the ClickContinue (or whatever it's named) function the text can be either NPCChars or OptionChars. For example: the "You can't light a fire here." message uses OptionChars.

 

Perhaps if a message isn't related to a specific Npc it uses option chars instead?

 

Or just detect the words 'Click to Continue' ?

Link to comment
Share on other sites

Похудение это тема, которая всегда актуальна для многих женщин. Многие из нас стремятся к идеальной форме, но довольно частенько сталкиваются с трудностями и препятствиями на пути к этой цели. Однако, с правильным подходом, похудение может быть достижимо без стресса и изнурительных диет. В данной статье будут рассмотрены 10 действенных стратегий похудения, которые помогут девушкам добиться желанных результатов и сохранить здоровье.

1. Установите цель

Первым шагом к успешному похудению является установление конкретной цели. Обусловьте, сколько килограммов вы хотите сбросить и по какой-никакой причине. Цель обязана быть близкой к реальности, измеримой и достижимой.

2. Питание

Здоровое питание играет ключевую роль в процессе похудения. Сосредотачивайтесь на употреблении естественных товаров, богатых витаминами и минералами. Опасайтесь быстрых углеводов и жирной пищи. Стремитесь к балансу макро- и микроэлементов в рационе.

3. Физическая активность

Регулярные физические упражнения не только лишь помогут сжигать калории, да и укрепят мышцы, улучшат общее самочувствие и увеличат выносливость. Найдите вид активности, который вам нравится: от йоги до плавания, от бега до танцев.

4. Гидрация

Пить достаточное количество воды во время дня включая поможет вам поддерживать уровень жидкости в организме, а также ускорит метаболизм, понизит аппетит и поможет сбросить лишний вес.

5. Сон

Качественный сон играет важную роль в процессе похудения. Пытайтесь спать не менее 7-8 часов в сутки, чтобы ваш организм мог восстановиться, а метаболизм был в норме.

6. Управление стрессом

Стресс может стать препятствием на пути к похудению как похудеть чтобы Найдите способы расслабления и отдыха: медитация, йога, чтение книжек, прогулки на свежем воздухе.

7. Ежедневный контроль

Ведение дневника пищевых повадок и физической активности поможет вам понять, что вы едите и какое количество калорий потребляете, а также оценить свои успехи.

8. Постепенные конфигурации

Избегайте радикальных диет и стрессовых ситуаций. Внедряйте изменения в кормлении и виде жизни чуть-чуть, чтобы они стали стабильными привычками.
Link to comment
Share on other sites

how to buy bitcoin with payza inqubeta crypto 1.7 bitcoin in usd ark coin 100 trillion market cap bitcoin enjin coin price 2030 crypto predictions webull pay crypto fees best time to buy into bitcoin cosmos hub bitcoin a dollar how do you buy bitcoin with cash app best ledger for cryptocurrency date of bitcoin halving airbitz android bitcoin wallet

23yearold crypto has luxury seized after bitcoin us dollar are crypto domains worth it which spot bitcoin etf is best coinbase fee to buy 5000 worth of bitcoin buy with bitcoin microsoft cheapest place to buy bitcoin with usd buy bitcoin luno sphere x buy boat with bitcoin

akropolis crypto buying and sending bitcoin online eight capital auto crypto trader what is altcoin crypto sui airdrop alfonso rocha bitcoin.com algorand crypto news 2018 predictions bitcoin 6970.8 in bitcoin how much is that worth

buy bitcoin with phone credit can you buy bitcoin on metamask is it a good time to buy a bitcoin what will happen to my crypto on voyager how to buy bitcoin diamond bcd inform bank of buying bitcoin grЕЌk ai how can i buy and send bitcoins instantly crypto vcs 4 cryptos trading below $1 that could go absolutely parabolic

ladys crypto price how to transfer crypto.com to robinhood buy nxt with bitcoin crystal fun 100x crypto projects
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...