• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

Not a bug [Indev 0.49.1] <Pokemon.data()> Returns Gibberish

J

jianmingyong

Guest
This is not a major bug... neither it is frequently used...

What I expected to happen:
Return something like what you see on the Party.dat
Code:
{"Pokemon"[999]}{"Experience"[1]}{"Gender"[2]}{"EggSteps"[0]}{"Item"[0]}{"ItemData"[]}{"NickName"[]}{"Level"[1]}{"OT"[9589]}{"Ability"[140]}{"Status"[]}{"Nature"[23]}{"CatchLocation"[Oldale Town]}{"CatchTrainer"[jianmingyong]}{"CatchBall"[1]}{"CatchMethod"[random reason]}{"Friendship"[0]}{"isShiny"[0]}{"Attack1"[999,999,999]}{"Attack2"[]}{"Attack3"[]}{"Attack4"[]}{"HP"[31]}{"EVs"[0,0,0,0,0,0]}{"IVs"[10,9,0,4,21,28]}{"AdditionalData"[]}{"IDValue"[6S71Ltgh57U]}
What actually happened:
Code:
{"Pokemon"[999]}{"Experience"[1]}{"Gender"[2]}{"EggSteps"[0]}{"Item"[0]}{"ItemData"[]}{"NickName"[]}{"Level"[1]}{"OT"[9589]}{"Ability"[140]}{"Status"[]}{"Nature"[23]}{"CatchLocation"[Oldale Town]}{"CatchTrainer"[jianmingyong]}{"CatchBall"[1]}{"CatchMethod"[random reason]}{"Friendship"[0]}{"isShiny"[0]}{"Attack1"[999§999§999]}{"Attack2"[]}{"Attack3"[]}{"Attack4"[]}{"HP"[31]}{"EVs"[0§0§0§0§0§0]}{"IVs"[10§9§0§4§21§28]}{"AdditionalData"[]}{"IDValue"[6S71Ltgh57U]}
All commas are replaced by § symbol....

Steps to reproduce:
1. Have a Pokémon in your party.
2. Try using this: <Pokemon.data(0)>
 

nilllzz

Original Developer
Administrator
P3D Developer
Not a bug. This is to prevent data corruption via script construct separators that are commas.
They get replaced when you use them as argument again.
 
Top