Hello There, Guest! Login Register


Full Function List
#1
Information 
First off id like to ask the rest of you to show examples on how to use each of these items via lua.
i will work on it as well but will wont say i will ever finish it.

the list is from the bot script itself
link for file- https://github.com/Silv3rPRO/proshine/bl...aScript.cs


The Link Has All information and how to use it good luck guys

private void CreateLuaInstance()
        {
            hookedFunctions_path

            ["log"]                                    (Log);
            ["fatal"]                                  (Fatal);
            ["logout"]                                 (Logout);
            ["Contains"]                               (Contains);
            ["playSound"]                              (PlaySound);
            ["registerHook"]                           (RegisterHook);

            // General conditions
            ["getPlayerX"]                             (GetPlayerX);
            ["getPlayerY"]                             (GetPlayerY);
            ["getAccountName"]                         (GetAccountName);
            ["getMapName"]                             (GetMapName);
            ["getPokedexOwned"]                        (GetPokedexOwned);
            ["getPokedexSeen"]                         (GetPokedexSeen);
            ["getPokedexEvolved"]                      (GetPokedexEvolved);
            ["getTeamSize"]                            (GetTeamSize);
            ["isAccountMember"]                        (IsAccountMember);

            ["getPokemonId"]                           (GetPokemonId);
            ["getPokemonName"]                         (GetPokemonName);
            ["getPokemonHealth"]                       (GetPokemonHealth);
            ["getPokemonHealthPercent"]                (GetPokemonHealthPercent);
            ["getPokemonMaxHealth"]                    (GetPokemonMaxHealth);
            ["getPokemonLevel"]                        (GetPokemonLevel);
            ["getPokemonTotalExperience"]              (GetPokemonTotalExperience);
            ["getPokemonRemainingExperience"]          (GetPokemonRemainingExperience);
            ["getPokemonStatus"]                       (GetPokemonStatus);
            ["getPokemonForm"]                         (GetPokemonForm);
            ["getPokemonHeldItem"]                     (GetPokemonHeldItem);
            ["getPokemonUniqueId"]                     (GetPokemonUniqueId);
            ["getRemainingPowerPos"]                   (GetRemainingPowerPos);
            ["getPokemonMaxPowerPos"]                  (GetPokemonMaxPowerPos);
            ["isPokemonShiny"]                         (IsPokemonShiny);
            ["getPokemonMoveName"]                     (GetPokemonMoveName);
            ["getPokemonMoveAccuracy"]                 (GetPokemonMoveAccuracy);
            ["getPokemonMovePower"]                    (GetPokemonMovePower);
            ["getPokemonMoveType"]                     (GetPokemonMoveType);
            ["getPokemonMoveDamageType"]               (GetPokemonMoveDamageType);
            ["getPokemonMoveStatus"]                   (GetPokemonMoveStatus);
            ["getPokemonNature"]                       (GetPokemonNature);
            ["getPokemonAbility"]                      (GetPokemonAbility);
            ["getPokemonStat"]                         (GetPokemonStat);
            ["getPokemonEffortValue"]                  (GetPokemonEffortValue);
            ["getPokemonIndividualValue"]              (GetPokemonIndividualValue);
            ["getPokemonHappiness"]                    (GetPokemonHappiness);
            ["getPokemonRegion"]                       (GetPokemonRegion);
            ["getPokemonOriginalTrainer"]              (GetPokemonOriginalTrainer);
            ["getPokemonGender"]                       (GetPokemonGender);
            ["getPokemonType"]                         (GetPokemonType);
            ["getDamageMultiplier"]                    (GetDamageMultiplier);
            ["isPokemonUsable"]                        (IsPokemonUsable);
            ["getUsablePokemonCount"]                  (GetUsablePokemonCount);
            ["hasMove"]                                (HasMove);
            ["getActiveBattlers"]                      (GetActiveBattlers);
            ["getActiveDigSpots"]                      (GetActiveDigSpots);
            ["getActiveHeadbuttTrees"]                 (GetActiveHeadbuttTrees);
            ["getActiveBerryTrees"]                    (GetActiveBerryTrees);
            ["getDiscoverableItems"]                   (GetDiscoverableItems);
            ["getNpcData"]                             (GetNpcData);

            ["hasItem"]                                (HasItem);
            ["getItemQuantity"]                        (GetItemQuantity);
            ["hasItemId"]                              (HasItemId);
            ["getItemQuantityId"]                      (GetItemQuantityID);

            ["hasPokemoneam"]                          (HasPokemoneam);
            ["isTeamSortedByLevelAscending"]           (IsTeamSortedByLevelAscending);
            ["isTeamSortedByLevelDescending"]          (IsTeamSortedByLevelDescending);
            ["isTeamRangeSortedByLevelAscending"]      (IsTeamRangeSortedByLevelAscending);
            ["isTeamRangeSortedByLevelDescending"]     (IsTeamRangeSortedByLevelDescending);
            ["isNpcVisible"]                           (IsNpcVisible);
            ["isNpcOnCell"]                            (IsNpcOnCell);
            ["isShopOpen"]                             (IsShopOpen);
            ["getMoney"]                               (GetMoney);
            ["isMounted"]                              (IsMounted);
            ["isSurfing"]                              (IsSurfing);
            ["isPrivateMessageEnabled"]                (IsPrivateMessageEnabled);
            ["getTime"]                                (GetTime);
            ["isMorning"]                              (IsMorning);
            ["isNoon"]                                 (IsNoon);
            ["isNight"]                                (IsNight);
            ["isOutside"]                              (IsOutside);
            ["isAutoEvolve"]                           (IsAutoEvolve);

            ["isCurrentPCBoxRefreshed"]                (IsCurrentPCBoxRefreshed);
            ["getCurrentPCBoxId"]                      (GetCurrentPCBoxId);
            ["isPCOpen"]                               (IsPCOpen);
            ["getCurrentPCBoxId"]                      (GetCurrentPCBoxId);
            ["getCurrentPCBoxSize"]                    (GetCurrentPCBoxSize);
            ["getPCBoxCount"]                          (GetPCBoxCount);
            ["getPCPokemonCount"]                      (GetPCPokemonCount);

            ["getPokemonIdFromPC"]                     (GetPokemonIdFromPC);
            ["getPokemonNameFromPC"]                   (GetPokemonNameFromPC);
            ["getPokemonHealthFromPC"]                 (GetPokemonHealthFromPC);
            ["getPokemonHealthPercentFromPC"]          (GetPokemonHealthPercentFromPC);
            ["getPokemonMaxHealthFromPC"]              (GetPokemonMaxHealthFromPC);
            ["getPokemonLevelFromPC"]                  (GetPokemonLevelFromPC);
            ["getPokemonTotalExperienceFromPC"]        (GetPokemonTotalExperienceFromPC);
            ["getPokemonRemainingExperienceFromPC"]    (GetPokemonRemainingExperienceFromPC);
            ["getPokemonStatusFromPC"]                 (GetPokemonStatusFromPC);
            ["getPokemonTypeFromPC"]                   (GetPokemonTypeFromPC);
            ["getPokemonHeldItemFromPC"]               (GetPokemonHeldItemFromPC);
            ["getPokemonUniqueIdFromPC"]               (GetPokemonUniqueIdFromPC);
            ["getPokemonRemainingPowerPosFromPC"]      (GetPokemonRemainingPowerPosFromPC);
            ["getPokemonMaxPowerPosFromPC"]            (GetPokemonMaxPowerPosFromPC);
            ["isPokemonFromPCShiny"]                   (IsPokemonFromPCShiny);
            ["getPokemonMoveNameFromPC"]               (GetPokemonMoveNameFromPC);
            ["getPokemonMoveAccuracyFromPC"]           (GetPokemonMoveAccuracyFromPC);
            ["getPokemonMovePowerFromPC"]              (GetPokemonMovePowerFromPC);
            ["getPokemonMoveTypeFromPC"]               (GetPokemonMoveTypeFromPC);
            ["getPokemonMoveDamageTypeFromPC"]         (GetPokemonMoveDamageTypeFromPC);
            ["getPokemonMoveStatusFromPC"]             (GetPokemonMoveStatusFromPC);
            ["getPokemonNatureFromPC"]                 (GetPokemonNatureFromPC);
            ["getPokemonAbilityFromPC"]                (GetPokemonAbilityFromPC);
            ["getPokemonStatFromPC"]                   (GetPokemonStatFromPC);
            ["getPokemonEffortValueFromPC"]            (GetPokemonEffortValueFromPC);
            ["getPokemonIndividualValueFromPC"]        (GetPokemonIndividualValueFromPC);
            ["getPokemonHappinessFromPC"]              (GetPokemonHappinessFromPC);
            ["getPokemonRegionFromPC"]                 (GetPokemonRegionFromPC);
            ["getPokemonOriginalTrainerFromPC"]        (GetPokemonOriginalTrainerFromPC);
            ["getPokemonGenderFromPC"]                 (GetPokemonGenderFromPC);
            ["getPokemonFormFromPC"]                   (GetPokemonFormFromPC);

            ["getServer"]                              (GetServer);

            // Battle conditions
            ["isOpponentShiny"]                        (IsOpponentShiny);
            ["isAlreadyCaught"]                        (IsAlreadyCaught);
            ["isWildBattle"]                           (IsWildBattle);
            ["getActivePokemonNumber"]                 (GetActivePokemonNumber);
            ["getOpponentId"]                          (GetOpponentId);
            ["getOpponentName"]                        (GetOpponentName);
            ["getOpponentHealth"]                      (GetOpponentHealth);
            ["getOpponentHealthPercent"]               (GetOpponentHealthPercent);
            ["getOpponentLevel"]                       (GetOpponentLevel);
            ["getOpponentStatus"]                      (GetOpponentStatus);
            ["getOpponentForm"]                        (GetOpponentForm);
            ["isOpponentEffortValue"]                  (IsOpponentEffortValue);
            ["getOpponentEffortValue"]                 (GetOpponentEffortValue);
            ["getOpponentType"]                        (GetOpponentType);

            // Path actions
            ["moveToCell"]                             (MoveToCell);
            ["moveToMap"]                              (MoveToMap);
            ["moveToRectangle"]                        (MoveToRectangle);

            ["moveToNormalGround"]                     (MoveToNormalGround);
            ["moveToGrass"]                            (MoveToGrass);
            ["moveToWater"]                            (MoveToWater);
            ["moveNearExit"]                           (MoveNearExit);
            ["talkToNpc"]                              (TalkToNpc);
            ["talkToNpcOnCell"]                        (TalkToNpcOnCell);
            ["usePokecenter"]                          (UsePokecenter);
            ["swapPokemon"]                            (SwapPokemon);
            ["swapPokemonWithLeader"]                  (SwapPokemonWithLeader);
            ["sortTeamByLevelAscending"]               (SortTeamByLevelAscending);
            ["sortTeamByLevelDescending"]              (SortTeamByLevelDescending);
            ["sortTeamRangeByLevelAscending"]          (SortTeamRangeByLevelAscending);
            ["sortTeamRangeByLevelDescending"]         (SortTeamRangeByLevelDescending);
            ["buyItem"]                                (BuyItem);
            ["usePC"]                                  (UsePC);
            ["openPCBox"]                              (OpenPCBox);
            ["depositPokemonToPC"]                     (DepositPokemonToPC);
            ["withdrawPokemonFromPC"]                  (WithdrawPokemonFromPC);
            ["swapPokemonFromPC"]                      (SwapPokemonFromPC);
            ["giveItemToPokemon"]                      (GiveItemToPokemon);
            ["takeItemFromPokemon"]                    (TakeItemFromPokemon);
            ["releasePokemonFromTeam"]                 (ReleasePokemonFromTeam);
            ["releasePokemonFromPC"]                   (ReleasePokemonFromPC);
            ["enablePrivateMessage"]                   (EnablePrivateMessage);
            ["disablePrivateMessage"]                  (DisablePrivateMessage);
            ["enableAutoEvolve"]                       (EnableAutoEvolve);
            ["disableAutoEvolve"]                      (DisableAutoEvolve);

            // Path functions
            ["pushDialogAnswer"]                       (PushDialogAnswer);

            // General actions
            ["useItem"]                                (UseItem);
            ["useItemOnPokemon"]                       (UseItemOnPokemon);

            // Battle actions
            ["attack"]                                 (Attack);
            ["weakAttack"]                             (WeakAttack);
            ["run"]                                    (Run);
            ["sendUsablePokemon"]                      (SendUsablePokemon);
            ["sendAnyPokemon"]                         (SendAnyPokemon);
            ["sendPokemon"]                            (SendPokemon);
            ["useMove"]                                (UseMove);

            // Move learning actions
            ["forgetMove"]                             (ForgetMove);
            ["forgetAnyMoveExcept"]                    (ForgetAnyMoveExcept);
            
            // Custom option slider functions
            ["setOption"]                              (SetOption);
            ["getOption"]                              (GetOption);
            ["setOptionName"]                          (SetOptionName);
            ["setOptionDescription"]                   (SetOptionDescription);
            ["removeOption"]                           (RemoveOption);

            // Custom text option functions
            ["setTextOption"]                          (SetTextOption);
            ["getTextOption"]                          (GetTextOption);
            ["setTextOptionName"]                      (SetTextOptionName);
            ["setTextOptionDescription"]               (setTextOptionDescription);
            ["removeTextOption"]                       (RemoveTextOption);

            // File editing actions
            ["logToFile"]                              (LogToFile);
            ["readLinesFromFile"]                      (ReadLinesFromFile);
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)