Hello There, Guest! Login Register


Universal Explorer
#1
Star 
Hello everyone! I'm here again!
I think this is my last script that I will write and I really need your help Big Grin .


First, I'm having trouble, headache rather finding coordinates of Trees, Dig spots, Berries etc... So If you want to help me, please donate some of those coordinates .
Second, I'm still new to Lua scripting so I write a scripts with just the basic API of PROSHINE and this is very very long script.
PS: I don't know how to simplify this codes
Third, If you have idea of codes that will help me finish this, please teach me  Wink .

Last, I need a tester right now! So please test this script and report your encountered bug/errors.



UNIVERSAL EXPLORER Official Release!

CHANGELOG:

09-02-2016 9:50 ~ Initial Release
09-02-2016 9:50 ~ Beta Test
09-02-2016 13:00 ~ Route 2 Fixed
09-02-2016 13:55 ~ MAJOR BUG, COUNTER is not WORKING!
09-02-2016 14:15 ~ Kanto Region Mapping done! Not encoded yet due to the major bug.
09-03-2016 09:00 ~ Kanto Region 80% done, you can now test it
                 ~ Other Caves is not supported as of now
09-03-2016 15:00 ~ Fixed a bug when Headbutting and Wild Pokemons takes place at the same time
09-03-2016 15:05 ~ Added Mt. Moon --not tested yet due to dig spots are on cooldown
09-03-2016 15:05 ~ COUNTER is now working
09-03-2016 16:00 ~ ALL MAPS TESTED in Kanto except MT. MOON
                 ~End Point: Digletts Cave Entrance 1
09-03-2016 17:30 ~ Fixed some typo error
09-03-2016 17:45 ~ Mt. Moon Disabled
09-03-2016 18:29 ~ Mt. Moon is back online ~ READY FOR TEST!
09-03-2016 19:50 ~ Added switch for Mt. Moon ~ READY FOR TEST
09-04-2016 08:15 ~ Pewter City trees encoded --forgot to encode all trees
09-04-2016 08:16 ~ MT. MOON Bug fixes!
09-04-2016 10:10 ~ Added Register on PC on every route! --cannot heal though
09-10-2016 04:50 ~ Official Release!

FEATURES:
  • Headbutting all trees in whole map
  • Digging all digable(i don't know what word is this) spots in map
  • Harvesting berries in map
  • Excavation Sites hunt
  • REGISTER ON EVERY POKECENTER
    • Cannot heal though --for now
  • Changing location to location
  • Kanto Region
    • Love Island
  • Johto Region
    • Mt. Silver
  • Hoenn Region Excavation Sites

INSTRUCTIONS:
  • Start at PALLET TOWN
  • Read carefully the "Note.txt"
  • Read/Set carefully the "Config.lua"
  • Once the Configuration is PROPERLY SET
  • Load "Universal Explorer v#.lua"
  • Click "PAUSE" on bot more often to get some logs
  • Happy botting!
  • Report your encountered BUG/ERRORS:
    • Post a reply here that contains the details of the error/logs
      • Map area:
      • Cell position:
      • Dig count:
      • Headbutt count:
      • Back-up count:
SCRIPT:


UPDATE PLAN:

  • Whole Kanto Region ~ 100% done
    • Love Island ~ 90% done
  • Johto Region ~ 100% done
    • Mt. Silver ~ 5% done
  • Hoenn Excavation Site ~ 100% done

CREDITS:


  • GMoney     For covering Mt. Silver -- Not encoded yet
  • S1lver     For API's and the BOT
  • ditmemay    For helping me for some codes
  • PROlux     For covering Route 46
  • Others   ~   For stealed codes! Thanks!

TESTERS:
  • ditmemay
  • PROlux
  • You know who you are  Big Grin


PS: ALWAYS READ CHANGELOGS
PPS: AND ALWAYS RECOPY THE LATESt UPDATE OF THE SCRIPT


UNIVERSAL EXPLORER Official Release!
Thanks to all that help in this script! I know there's so much errors/bugs but I hope you all understand that I'm just a beginner in scripting! Thanks again!
God Karp Trainer loading... *splash*splash Huh

 
Reply
#2
Amazing work, but why the last? :--:

Edit: testing it right now, report to u late.

First error 

"[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:20] ---Headbutting 2nd tree---
[00:40:21] ---Headbutting 2nd tree---
[00:40:21] ---Headbutting 2nd tree---
[00:40:21] ---Headbutting 2nd tree---
[00:40:21] ---Headbutting 2nd tree---
[00:40:21] ---Headbutting 2nd tree---
[00:40:21] ---Headbutting 2nd tree---
[00:40:21] ---Headbutting 2nd tree---
[00:40:21] ---Headbutting 2nd tree---
[00:40:21] ---Headbutting 2nd tree---
[00:40:21] ---Headbutting 2nd tree---
[00:40:21] No action executed: stopping the bot.
[00:40:21] Bot stopped
[00:40:21] ERROR! Checking logs
[00:40:21] --- Route 2, Dig count: 0
[00:40:21] Headbutt count: 0"
  • Map area: Route 2

  • Cell position: x 36 y 126

  • Dig count:

  • Headbutt count:
 
Reply
#3
Recopy it thanks

BTW: Counter still not counting?
God Karp Trainer loading... *splash*splash Huh

 
Reply
#4
[11:55:03] ---Headbutting 5th tree---
[11:55:03] ---Headbutting 5th tree---
[11:55:04] Select a Pokemon that has Headbutt.
[11:55:12] A wild Pokemon attacks...
[11:55:15] A Wild Delibird Attacks!
[11:55:21] You have run away from the wild Pokemon.
[11:55:22] ---Pallet Town Cleared... Moving to next Map---
[11:55:29] ---Route 1 Cleared... Moving to next Map---
[11:55:37] A Wild Rattata Attacks!
[11:55:44] You have run away from the wild Pokemon.
[11:55:46] ---Route 1 Cleared... Moving to next Map---
[11:56:00] ---------------------------
[11:56:00] ~~~ Riding on my pet!!! ~~~
[11:56:00] ---------------------------
[11:56:01] ---Viridian City Cleared... Moving to next Map---
[11:56:14] ---Route 2 Cleared... Moving to next Map---
[11:56:21] A Wild Pidgey Attacks!
[11:56:28] You have run away from the wild Pokemon.
[11:56:30] ---Route 2 Cleared... Moving to next Map---
[11:56:41] ---------------------------
[11:56:41] ~~~ Riding on my pet!!! ~~~
[11:56:41] ---------------------------
[11:56:43] ---Headbutting 1st tree---
[11:56:47] ---Headbutting 1st tree---
[11:56:48] A Wild Spinarak Attacks!                                             --------------- here
[11:56:48] Select a Pokemon that has Headbutt.
[11:56:53] That Pokemon does not know Headbutt!
[11:56:53] Reselect a different Pokemon?
[11:56:58] Select a Pokemon that has Headbutt.
[11:57:04] That Pokemon does not know Headbutt!
[11:57:04] Reselect a different Pokemon?

The problem is the spinarak

[12:19:22] You have run away from the wild Pokemon.
[12:19:24] ---Route 3 Cleared... Moving to next Map---
[12:19:38] --- Avoiding Ladder! ---
[12:19:42] A Wild Sandshrew Attacks!
[12:19:48] You have run away from the wild Pokemon.
[12:19:51] --- Avoiding Ladder! ---
[12:19:55] A Wild Geodude Attacks!
[12:20:00] You have run away from the wild Pokemon.
[12:20:03] --- Avoiding Ladder! ---
[12:20:07] A Wild Sandshrew Attacks!
[12:20:13] You have run away from the wild Pokemon.
[12:20:16] --- Avoiding Ladder! ---
[12:20:18] --- Avoiding Ladder! ---
[12:20:18] --- Avoiding Ladder! ---
[12:20:18] Bot stuck, sending resynchronization request.
[12:20:19] --- Avoiding Ladder! ---
[12:20:19] Bot still stuck, stopping the script.
[12:20:19] Bot stopped
[12:20:19] ERROR! Checking logs
[12:20:19] --- Mt. Moon 1F, Dig count: 0
[12:20:19] Headbutt count: 0
[12:20:54] Bot started
[12:20:54] --- Avoiding Ladder! ---
[12:20:55] --- Avoiding Ladder! ---
[12:20:55] Bot stuck, sending resynchronization request.
[12:20:55] --- Avoiding Ladder! ---
[12:20:55] Bot still stuck, stopping the script.
[12:20:55] Bot stopped
[12:20:55] ERROR! Checking logs
[12:20:55] --- Mt. Moon 1F, Dig count: 0
[12:20:55] Headbutt count: 0
[12:20:56] A Wild Sandslash Attacks!
[12:21:00] Bot started
[12:21:01] You have run away from the wild Pokemon.
[12:21:04] --- Avoiding Ladder! ---
[12:21:04] --- Avoiding Ladder! ---
[12:21:05] --- Avoiding Ladder! ---
[12:21:05] Bot stuck, sending resynchronization request.
[12:21:06] --- Avoiding Ladder! ---
[12:21:06] Bot still stuck, stopping the script.
[12:21:06] Bot stopped
[12:21:06] ERROR! Checking logs
[12:21:06] --- Mt. Moon 1F, Dig count: 0
[12:21:06] Headbutt count: 0
 
Reply
#5
@ditmemay Lol! Where that spinarak came from hahaha? It's in Viridian Forest right? I think it's a normal bug that nothing i can do, its when wild encounter and headbutting takes the same time.


And Thank you for the test! I think the script can go only in ROUTE 3, AS OF NOW...

The big problem here is the COUNTER is not working! Can't find a solution yet. If anyone knows pls help me.


Thanks again!
God Karp Trainer loading... *splash*splash Huh

 
Reply
#6
are we really need to count dig spot?, im just a noob but can we make it easy like talk to NPC to digspot like this
if getMapName() == "blablabla" then
return talkToNPC(X1, Y1) or talkToNPC(X2, Y2) .............. or moveToNextMap()
that means when there is no NPC at X1, Y1 spot bot will move to X2, Y2 till there is no dig spot on the map
anyway sorry for my bad english hehe, i hope you can get my idea.
 
Reply
#7
Yes we need the counter just to dig all the spots in cave. Just to make a condition for NOT the bot to end in a loop.

Just like in Mt. Moon , there are so many ladders going back and forth from 1F-B2F and B2F-1F. And even going to exit. The bot will confused and will end in endless loop.

And we have 2 caves in Kanto with dig spots.

So we really need to make the COUNTER WORK.


Ps: I will try your Idea
God Karp Trainer loading... *splash*splash Huh

 
Reply
#8
how about count dig spot in smaller area near a ladder like getPlayerX() < X1, getPlayerY() < Y1, at each area has a ladder so it will look like a normal map i think
 
Reply
#9
Pardon?
God Karp Trainer loading... *splash*splash Huh

 
Reply
#10
You can now try the Latest Version
God Karp Trainer loading... *splash*splash Huh

 
Reply
#11
[08:38:09] You have run away from the wild Pokemon.
[08:38:10] ---Headbutting Last tree---
[08:38:13] ---Headbutting Last tree---
[08:38:13] A Wild Sentret Attacks! ---------------------- here
[08:38:14] Select a Pokemon that has Headbutt.
[08:38:22] That Pokemon does not know Headbutt!
[08:38:22] Reselect a different Pokemon?
[08:38:24] Select a Pokemon that has Headbutt.
[08:38:31] That Pokemon does not know Headbutt!



pokemon attack while hbutting is really problem
 
Reply
#12
Still have problem when headbuting in Route 2's second tree. Thanks for the amazing script. Hope everyone can help you make it work perfectly
 
Reply
#13
Update! Fixed a bug when Headbutt and Wild encounter takes place at the same time - Also Added Mt. Moon(Not Tested Yet)
If you encounter error in Mt. Moon, Please move to Route 4
God Karp Trainer loading... *splash*splash Huh

 
Reply
#14
[14:30:50] --- Avoiding Ladder! ---
[14:30:50] Bot stuck, sending resynchronization request.
[14:30:50] --- Avoiding Ladder! ---
[14:30:50] Bot still stuck, stopping the script.
[14:30:50] Bot stopped
[14:30:50] ERROR! Checking logs
[14:30:50] --- Mt. Moon 1F, Dig count: 0
[14:30:50] Headbutt count: 0
[14:30:54] Bot started
[14:30:54] --- Avoiding Ladder! ---
[14:30:54] --- Avoiding Ladder! ---
[14:30:55] Bot stuck, sending resynchronization request.
[14:30:55] --- Avoiding Ladder! ---
[14:30:55] Bot still stuck, stopping the script.
[14:30:55] Bot stopped
[14:30:55] ERROR! Checking logs
[14:30:55] --- Mt. Moon 1F, Dig count: 0
[14:30:55] Headbutt count: 0
[14:30:56] Bot started
[14:30:56] --- Avoiding Ladder! ---
[14:30:57] --- Avoiding Ladder! ---
[14:30:57] Bot stuck, sending resynchronization request.
[14:30:58] --- Avoiding Ladder! ---
[14:30:58] Bot still stuck, stopping the script.
[14:30:58] Bot stopped
[14:30:58] ERROR! Checking logs
[14:30:58] --- Mt. Moon 1F, Dig count: 0
[14:30:58] Headbutt count: 0
[14:30:59] A Wild Sandshrew Attacks!
[14:30:59] Bot started
[14:31:04] You have run away from the wild Pokemon.
[14:31:05] --- Avoiding Ladder! ---
[14:31:06] --- Avoiding Ladder! ---
[14:31:06] Bot stuck, sending resynchronization request.
[14:31:07] --- Avoiding Ladder! ---
[14:31:07] Bot still stuck, stopping the script.
[14:31:07] Bot stopped
[14:31:07] ERROR! Checking logs
[14:31:07] --- Mt. Moon 1F, Dig count: 0
[14:31:07] Headbutt count: 0

Cell position: 56, 29
 
Reply
#15
hello reds do u have scriptsConfusedtaryu ,shroomish and skarmory? i wrote a lot of scripts but just fail T.T,can u help me bro
 
Reply
#16
@ditmemay Make sure your Dig Spots are already available. If not, move manually to Route 4. I will add an option of Mt. Moon in next update.

@mat I'm sorry, I'm busy right now. You can try on REQUEST SECTION


AND ALWAYS RECOPY THE LATESt UPDATE OF THE SCRIPT AFTER I MODIFIED THIS POST
God Karp Trainer loading... *splash*splash Huh

 
Reply
#17
why dont we count on map instead of count on digs?
 
Reply
#18
(2016-09-03, 08:07:04)ditmemay why dont we count on map instead of count on digs?


Can you give me codes?
God Karp Trainer loading... *splash*splash Huh

 
Reply
#19
https://proshine-bot.com/thread-644.html here is example

elseif getMapName() == "Pokemon Tower B17" then
if x == 0 then
moveToCell(20, 19)
x = x + 1
elseif x == 1 then
moveToCell(18, 22)
x = x + 1

im not coder or something, just a photographer, so i have no time learning this. Hope can help you a bit lol.
 
Reply
#20
which one is the latest version?
i try the "headbutt v3" in "No-Caves" Folder. thats right ?

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

Same stucking place on 3 accounts

Viridian Forrest
[10:08:12] ---Viridian City Cleared... Moving to next Map---
[10:08:18] ---Headbutting 1st tree---
[10:08:24] ---Headbutting 1st tree---
[10:08:24] Select a Pokemon that has Headbutt.
[10:08:29] A wild Pokemon attacks...
[10:08:32] A Wild Metapod Attacks!
[10:08:38] You have run away from the wild Pokemon.
[10:08:39] ---Headbutting 2nd tree---
[10:08:54] ---------------------------
[10:08:54] ~~~ Riding on my pet!!! ~~~
[10:08:54] ---------------------------
[10:08:55] ---Headbutting 1st tree---
[10:08:56] A Wild Kakuna Attacks!
[10:09:01] You have run away from the wild Pokemon.
[10:09:03] ---Headbutting 1st tree---
[10:09:08] ---Headbutting 1st tree---
[10:09:11] ---Headbutting 1st tree---
[10:09:11] Bot stuck, sending resynchronization request.
[10:09:15] ---Headbutting 1st tree---
[10:09:15] Bot still stuck, stopping the script.
[10:09:15] Bot stopped
[10:09:15] ERROR! Checking logs
[10:09:15] --- Viridian Forest, Dig count: 26
[10:09:15] Headbutt count: 25
[10:10:16] System: You are now AFK!
[10:12:04] Bot started
[10:12:04] ---Headbutting 1st tree---
[10:12:05] System: You are no longer AFK!
[10:12:07] ---Headbutting 1st tree---
[10:12:07] Bot stuck, sending resynchronization request.
[10:12:10] ---Headbutting 1st tree---
[10:12:10] Bot still stuck, stopping the script.
[10:12:11] Bot stopped
[10:12:11] ERROR! Checking logs
[10:12:11] --- Viridian Forest, Dig count: 26
[10:12:11] Headbutt count: 0
[10:12:13] Logging out...
[10:12:13] Disconnected from the server.
 
Reply
#21
Probably you have slow internet
God Karp Trainer loading... *splash*splash Huh

 
Reply
#22
no. my internet is good.
50 mbit and works fine.


found the next
[10:23:32] Select a Pokemon that has Dig.
[10:23:38] You have unearthed a Star Piece
[10:23:45] --- Feraligatr is digging spot 30 in Route 3 ---
[10:23:45] error: talkToNpcOnCell: could not find any NPC on the cell [6,38].
[10:23:45] Bot stopped
[10:23:45] ERROR! Checking logs

i search on the map and cant find a dig spot on this location


found the problem
you must change
log("--- "..getPokemonName(digger).." is digging spot "..digcount.." in "..getMapName().." ---")
                return talkToNpcOnCell(6,38)    --Dig 5
            elseif isNpcOnCell(71,38) then

into
log("--- "..getPokemonName(digger).." is digging spot "..digcount.." in "..getMapName().." ---")
                return talkToNpcOnCell(67,38)    --Dig 5
            elseif isNpcOnCell(71,38) then
 
Reply
#23
Thank you! It's a typo error.
God Karp Trainer loading... *splash*splash Huh

 
Reply
#24
(2016-09-03, 07:31:50)ditmemay [14:30:50] --- Avoiding Ladder! ---
[14:30:50] Bot stuck, sending resynchronization request.
[14:30:50] --- Avoiding Ladder! ---
[14:30:50] Bot still stuck, stopping the script.
[14:30:50] Bot stopped
[14:30:50] ERROR! Checking logs
[14:30:50] --- Mt. Moon 1F, Dig count: 0
[14:30:50] Headbutt count: 0
[14:30:54] Bot started
[14:30:54] --- Avoiding Ladder! ---
[14:30:54] --- Avoiding Ladder! ---
[14:30:55] Bot stuck, sending resynchronization request.
[14:30:55] --- Avoiding Ladder! ---
[14:30:55] Bot still stuck, stopping the script.
[14:30:55] Bot stopped
[14:30:55] ERROR! Checking logs
[14:30:55] --- Mt. Moon 1F, Dig count: 0
[14:30:55] Headbutt count: 0
[14:30:56] Bot started
[14:30:56] --- Avoiding Ladder! ---
[14:30:57] --- Avoiding Ladder! ---
[14:30:57] Bot stuck, sending resynchronization request.
[14:30:58] --- Avoiding Ladder! ---
[14:30:58] Bot still stuck, stopping the script.
[14:30:58] Bot stopped
[14:30:58] ERROR! Checking logs
[14:30:58] --- Mt. Moon 1F, Dig count: 0
[14:30:58] Headbutt count: 0
[14:30:59] A Wild Sandshrew Attacks!
[14:30:59] Bot started
[14:31:04] You have run away from the wild Pokemon.
[14:31:05] --- Avoiding Ladder! ---
[14:31:06] --- Avoiding Ladder! ---
[14:31:06] Bot stuck, sending resynchronization request.
[14:31:07] --- Avoiding Ladder! ---
[14:31:07] Bot still stuck, stopping the script.
[14:31:07] Bot stopped
[14:31:07] ERROR! Checking logs
[14:31:07] --- Mt. Moon 1F, Dig count: 0
[14:31:07] Headbutt count: 0

Cell position: 56, 29

same error wit 3 accounts and my dig Spots are already available

i jump on route 4 to continue the test Smile
 
Reply
#25
I will wait for my account when dig spots are available and continue DEBUGGING THE CAVES.

Thank you!

Updated: Recopy the script

(2016-09-03, 08:12:30)ditmemay https://proshine-bot.com/thread-644.html here is example

elseif getMapName() == "Pokemon Tower B17" then
if x == 0 then
moveToCell(20, 19)
x = x + 1
elseif x == 1 then
moveToCell(18, 22)
x = x + 1

im not coder or something, just a photographer, so i have no time learning this. Hope can help you a bit lol.

I think this is a big help! Gonna try it ! thank you
God Karp Trainer loading... *splash*splash Huh

 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)