Did you set up your connection to the gts.php file?
if you did then check your mysql database, if you didn't well, that's your problem.
What should i look for in the Database ??
Did you set up your connection to the gts.php file?
if you did then check your mysql database, if you didn't well, that's your problem.
What should i look for in the Database ??
Dude, I got everything working fine. I can deposit pokémon, search for another save file's pokémon. The tables are working fine etc. But whenever I try to conclude a trade this error pops up:
![]()
Any idea why is that happening?
As of why the error is happening, I don't know. But, I am almost certain this is because the pokemon you selected somehow managed to be classified as "nil" have you tried this on a clean version of essentials with the newest version of the GTS?
Can I battle other players with this Script?
5 mins after posting I figured out it was an error on the script itself. On line 385 "pkmn = $Trainer.party[choice[1]].clone" was trying to clone something that didn't exist since the pokémon I was trading was on the deposit. Adding a "if Party" to the end of the line was enough to fix the bug, since now that it checks where it was selected from it can run the next line "pkmn = $PokemonStorage[choice[0]][choice[1]].clone if !party" which is the one used on my case.
So if this is possible, would it be possible for essentials to have random match ups with the right coding? Obviously you would need a host server for this but I'm wondering if its possible.
Like they have in Gen 5 and 6 games, where you talk to the NPC and you get a random match up with someone else and you both battle.
---------------------------
Pokemon Essentials
---------------------------
Exception: TypeError
Message: nil is not a symbol
Sockets:527:in `const_get'
Sockets:527:in `check'
Sockets:338:in `initialize'
Sockets:509:in `initialize'
Sockets:586:in `new'
Sockets:586:in `pbHttpRequest'
Sockets:562:in `pbPostData'
GTS:1119:in `execute'
GTS:1124:in `getOnlineID'
GTS:1283:in `onlineID'