Wow this is very weird Lapo
I finally made it work. Apparently my issues with that was just a sinax issue, but then I found out there was (is) something else going on. I just figured out today.
Whenever I trace a variable declared inside the extension, the value of it changes unexpectedly to something like this: it.gotoandplay.smartfoxserver.data.UserVariable@13b91af
It doesn't matter what variable. If I declare a userVar or just a regular variable then trace it, it traces just fine, but when I try using it again, it becomes that. I think I've seen someone reporting about this but it wasn't in the same scenario.
Code: Select all
[saveStats.as]: 413
10:54:19.203 - [ SEVERE ] > DbManager error during query/result creation: select idCd from tbTemp where idCd=it.gotoandplay.smartfoxserver.data.UserVariable@13b91af or idCd=64 or idCd=444 or idCd=166 or idCd=198 order by rarity,name
Once I removed the trace code everything worked just fine lol. I'm pretty sure it is repeatable.