Hello There, Guest! Login Register


[ SCRIPT ] Universal ExpSharing
#1
[Image: vJQWcpT.png]

Features:
  • Exp Sharing 1.0:
  • Easily level lowlevel Pokemon by "ExpSharing"
  • Understandable, external, easy configuration
  • Fully universal and open to all Maps
  • Grass, Water and Rectangle support
  • Swapcaps to level the "weak" Pokemon on it own after a specific Level
  • More soon
Known Bugs:
  • "could not find the Nurse Joy" - Please tell me the MapName of the Pokecenter you used after that occured
  • "Repeat healing on Pokecenter" - That happens when a Pkmn got no "damage dealing" moves, tell me Name of this Pkmn
Changelog:
08-08-2016 ~ Initial Release
08-08-2016 ~ Implemented a Swapcap to level the weak pokemon on its own after a specific level is reached
08-13-2016 ~ Code rewrite / external config.lua / easier switch of the LevelSpot

Whats planned next:
[✔] Stop switching when a specific level is reached
[✔] Support a path from up to 5 Maps + Pokecenter which can be specified by the user [ ETA: unknown ]
[X] Support learning moves [ ETA: unknown ]

Instructions:
  1. Download a version from below
  2. Extract it in a own folder
  3. Change the config.lua to match your needs
  4. Run the ExpSharing !
Downloads:
[ Universal ] ExpSharing 1.0 - Download now ( Dropbox )
No support for scripts from other authors or edited scripts ( except config.lua ). If you change something on the "core" and it isnt working anymore then you can fix it by your own.
Feel free to contact me for informations and tips !

 
Reply
#2
#Updated
- Implemented a Swapcap to level the weak pokemon on its own after a specific level is reached
No support for scripts from other authors or edited scripts ( except config.lua ). If you change something on the "core" and it isnt working anymore then you can fix it by your own.
Feel free to contact me for informations and tips !

 
Reply
#3
how does the use of the pokecenter for healing work?
 
Reply
#4
works perfect, if your second pokemon is not usable anymore ( dead or out of PP ) it will try to attack with the weak pokemon first, if this isnt working it will run and use the pokecenter to heal.
No support for scripts from other authors or edited scripts ( except config.lua ). If you change something on the "core" and it isnt working anymore then you can fix it by your own.
Feel free to contact me for informations and tips !

 
Reply
#5
Works very well especially for pokes with shitty attacks
 
Reply
#6
can i so easy leveling my rattata for the hoenn quest ?
 
Reply
#7
if you mean the lv80 rattata then yes, i did it too.
But dont forget to switch "auto-evolve" from "on" to "off"
No support for scripts from other authors or edited scripts ( except config.lua ). If you change something on the "core" and it isnt working anymore then you can fix it by your own.
Feel free to contact me for informations and tips !

 
Reply
#8
Great Code! I used yours and did the same for Dragon Den if anyone wants that too!

-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Hocevar. See the LICENSE file for more details.

-- ########################## CONFIG ##########################
-- ######### Change these lines for your own purpose ##########
-- ############################################################

-- ############# Max Level before stopping to swap ############
maxSwapLevel = 80

-- ############# Strong Pokemon index #########################
strongPokemonIndex = 2

-- ############################################################

name = "Dragon Den Power Level"
author = "imMigno"

description = [[ This Script will level your "weak" Pokemon on the First Slot by swapping it with the strongPokemon you declared in the configs till a specific Level is reached, then it will level your "weak" Pokemon by itself. ]]


function onStart()
    log(" ")
    log("===============")
    log("Welcome to the passive leveling automation on Victory Road Kanto 3F")
    log("Your weak Pokemon is: " .. getPokemonName(1))
    log("It will level with " .. getPokemonName(strongPokemonIndex))
    log("Until it reaches Level " .. maxSwapLevel .. " then it will level alone")
    log("===============")
    log(" ")
end

function onPathAction()
    if isPokemonUsable(1) and isPokemonUsable(strongPokemonIndex) then
        if getMapName() == "Pokecenter Blackthorn" then
            moveToMap("Blackthorn City")
        elseif getMapName() == "Blackthorn City" then
            moveToMap("Dragons Den Entrance")
        elseif getMapName() == "Dragons Den Entrance" then
            moveToMap("Dragons Den")
        elseif getMapName() == "Dragons Den" then
            moveToWater()
        end
    else
        if getMapName() == "Dragons Den" then
            moveToMap("Dragons Den Entrance")
        elseif getMapName() == "Dragons Den Entrance" then
            moveToMap("Blackthorn City")
        elseif getMapName() == "Blackthorn City" then
            moveToMap("Pokecenter Blackthorn")
        elseif getMapName() == "Pokecenter Blackthorn" then
            usePokecenter()
        end
    end
end

function onBattleAction()
    
    if getActivePokemonNumber() == 1 then
        if isPokemonUsable(strongPokemonIndex) and getPokemonLevel(1) < maxSwapLevel then
            sendPokemon(strongPokemonIndex)
            log(" ")
            log("Your " .. getPokemonName(1) .. " has beed switched with " .. getPokemonName(strongPokemonIndex))
            log(" ")
        else
            return attack() or sendUsablePokemon() or run() or sendAnyPokemon()
        end
        
    elseif getActivePokemonNumber() == strongPokemonIndex then
        return attack() or sendUsablePokemon() or run() or sendAnyPokemon()
    else
        return run() or attack() or sendUsablePokemon() or sendAnyPokemon()
    end
end
 
Reply
#9
aroot07 Great Code! I used yours and did the same for Dragon Den if anyone wants that too!


You are welcome Wink
No support for scripts from other authors or edited scripts ( except config.lua ). If you change something on the "core" and it isnt working anymore then you can fix it by your own.
Feel free to contact me for informations and tips !

 
Reply
#10
# Update:
Code rewrite / external config.lua / easier switch of the LevelSpot

Please check the FirstPost to download the latest version!
No support for scripts from other authors or edited scripts ( except config.lua ). If you change something on the "core" and it isnt working anymore then you can fix it by your own.
Feel free to contact me for informations and tips !

 
Reply
#11
Sorry, im new here.
Could u send me a List with the Names of the Maps?
 
Reply
#12
Script is working great so far, no errors
 
Reply
#13
Great script ! And this is my script use in Cerulean cave swap first pokemon to second pokemon to leveler ! my script base on aroot07 script !! urge you not angry ! You need pokemon learn surf and arcanine mount enjoy :

name = "Cerulean lv"
author = "icez11"

description = [[ This Script will level your "weak" Pokemon on the First Slot by swapping it with the strongPokemon you declared in the configs till a specific Level is reached, then it will level your "weak" Pokemon by itself. ]]


function onStart()
log(" ")
log("===============")
log("Welcome to the passive leveling automation on Cerulean cave")
log("Your weak Pokemon is: " .. getPokemonName(1))
log("It will level with " .. getPokemonName(strongPokemonIndex))
log("Until it reaches Level " .. maxSwapLevel .. " then it will level alone")
log("===============")
log(" ")
end

function onPathAction()
if isPokemonUsable(1) then
if getMapName() == "Pokecenter Cerulean" then
moveToMap("Cerulean City")
elseif getPlayerX() == 26 and getPlayerY() == 31 then
if not isMounted() then
useItem("Arcanine Mount")
elseif isMounted() then
moveToMap("Route 4")
end
elseif getMapName() == "Cerulean City" or getMapName() == "Route 4" then
return moveToMap("Cerulean Cave 1F") or moveToCell(96, 14)
elseif getMapName() == "Cerulean Cave 1F" then
return moveNearExit("Cerulean City")
end
else
if getMapName() == "Cerulean Cave 1F" then
moveToMap("Cerulean City")
elseif ( getPlayerX() == 1 and getPlayerY() == 20 ) then
if not isMounted() then
useItem("Arcanine Mount")
elseif isMounted() then
return moveToCell(26, 30)
end
elseif getMapName() == "Cerulean City" then
return moveToMap("Route 4")
elseif getMapName() == "Route 4" then
moveToCell(96, 21)
elseif getMapName() == "Pokecenter Cerulean" then
usePokecenter()
end
end
end

function onBattleAction()

if getActivePokemonNumber() == 1 then
if isPokemonUsable(strongPokemonIndex) and getPokemonLevel(1) < maxSwapLevel then
sendPokemon(strongPokemonIndex)
log(" ")
log("Your " .. getPokemonName(1) .. " has beed switched with " .. getPokemonName(strongPokemonIndex))
log(" ")
else
return attack() or sendUsablePokemon() or run() or sendAnyPokemon()
end

elseif getActivePokemonNumber() == strongPokemonIndex then
return attack() or sendUsablePokemon() or run() or sendAnyPokemon()
else
return run() or attack() or sendUsablePokemon() or sendAnyPokemon()
end
end
 
Reply
#14
Olex Sorry, im new here.
Could u send me a List with the Names of the Maps?

login manually to PRO and check the topright corner, theres the mapname. Type it in case-sensitive !

icez11 Great script ! And this is my script use in Cerulean cave swap first pokemon to second pokemon to leveler ! my script base on aroot07 script !! urge you not angry ! You need pokemon learn surf and arcanine mount enjoy :

When your script relays on aroot's script why do you post it here then ? Btw: The script you posted wont work like this.
No support for scripts from other authors or edited scripts ( except config.lua ). If you change something on the "core" and it isnt working anymore then you can fix it by your own.
Feel free to contact me for informations and tips !

 
Reply
#15
[10:14:35] error: usePokecenter: could not find the Nurse Joy.
[10:14:35] Bot stopped
 
Reply
#16
Olex [10:14:35] error: usePokecenter: could not find the Nurse Joy.
[10:14:35] Bot stopped

Where is the Pokecenter located?
No support for scripts from other authors or edited scripts ( except config.lua ). If you change something on the "core" and it isnt working anymore then you can fix it by your own.
Feel free to contact me for informations and tips !

 
Reply
#17
imMigno
Olex [10:14:35] error: usePokecenter: could not find the Nurse Joy.
[10:14:35] Bot stopped

Where is the Pokecenter located?
I didnt changed anything from your scripts so it must be the Indigo Plateau Center

He is walking to the Pokecenter but he cant find Joy there, lol?

Nvm i fixed it, just re-downloaded everything
 
Reply
#18
yup, had a missing line there, fixed it probably after you downloaded it Big Grin
No support for scripts from other authors or edited scripts ( except config.lua ). If you change something on the "core" and it isnt working anymore then you can fix it by your own.
Feel free to contact me for informations and tips !

 
Reply
#19
guys i keep getting this
[3:06:35 PM] Could not load script expshare.lua:
unexpected symbol near '<eof>'

any help ?


never mind i just found it!
thanks
 
Reply
#20
neofer guys i keep getting this
[3:06:35 PM] Could not load script expshare.lua:
unexpected symbol near '<eof>'

any help ?


never mind i just found it!
thanks

Just a copy-misstake on your side or did i really missed something ?
No support for scripts from other authors or edited scripts ( except config.lua ). If you change something on the "core" and it isnt working anymore then you can fix it by your own.
Feel free to contact me for informations and tips !

 
Reply
#21
how to use this with magikarp?
i got repeated heal issues
 
Reply
#22
(2016-08-24, 06:40:33)taufik97 how to use this with magikarp?
i got repeated heal issues

Thats because Magikarp has no damage-dealing moves.
This problem is fixed in the next version, which get released in the next few days.
 
Reply
#23
Hi
Keep getting the error "No action executed, bot stopped". Any help please? Smile Have config script set up like so:

-- ##########################################################
-- # -- CONFIGURATION FILE -- #
-- # Please edit this config to match your needs #
-- # Copyright © 2016 imMigno #
-- ##########################################################

-- Leveling specific configurations

-- Please specify at what level the "weak" Pokemon should level by itself
maxSwapLevel = 24

-- Please specify the index of your "strong" Pokemon
strongPokemonIndex = 5

-- Map specific configurations

-- Please insert the Mapnames of your Leveling routine
Pokecenter = "Pokecenter Cerulean"
Map1 = "Route 4"
Map2 = "Route 4"

-- Please specify where to level
-- Available options: "Grass" , "Rectangle" , "Water"
LevelSpot = "Grass"

-- Leave this blank or unchanged if you are using LevelSpot = "Grass" or "Water"
RectangleMinX = 22
RectangleMinY = 22
RectangleMaxX = 22
RectangleMaxY = 22
 
Reply
#24
(2016-08-25, 01:13:42)Rakidas Hi
Keep getting the error "No action executed, bot stopped". Any help please? Smile Have config script set up like so:

Change:
Map1 = "Route 4"
To:
Map1 = "Cerulean City"
and you should be finde, hit me up if you still got issues.
 
Reply
#25
Ah, that seems to have done it! Thanks mate Smile
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)