Profile problems

Everything about ToME 4.x.x. No spoilers, please

Moderator: Moderator

Post Reply
Message
Author
Skates
Posts: 2
Joined: Fri Jan 20, 2012 6:22 pm

Profile problems

#1 Post by Skates »

Hello everyone,

So I've noticed the post about profile troubles. I don't know exactly what that means as I'm pretty new to the game and its mechanics, but I'm thinking it has something to do with what I've been experiencing.

The problem started with the game randomly displaying "registering your character on http://te4.org" (or something along those lines) whenever I'd change from a dungeon/city to the world map or the other way around. A few hours later I got an error relating to userchat.lua. I got the error two or three times, but then it stopped. Looking around for a bit I noticed I was logging in to my profile upon starting the game, but whenever I loaded a game or started a new one it logged me out. Now I don't mind not being able to chat, I never used it too much anyway. But the "registering your character" message was getting annoying so I looked around for a bit trying to get rid of it.

What I've noticed from reading the logs and looking around in the .lua files is that there's a file named Client.lua in /game/profile-thread/ and on line 205 in this file there's this:
function _M:handleOrder(o)
o = o:unserialize()
if not self.sock and o.o ~= "Login" and o.o ~= "CurrentCharacter" and o.o ~= "CheckModuleHash" and o.o ~= "CheckAddonHash" then return end -- Dont do stuff without a connection, unless we try to auth
if self["order"..o.o] then self["order"..o.o](self, o) end
end
When commenting the lines inside this function I stopped getting the "registering your character" message whenever I changed locations. I figured I'd let others know about this, maybe it helps. Also, it'd be nice to find out if my problem really stems from the recent profile troubles or it's something else. So in case you had the same problem, just replace the text above with this until the profile server is fixed:
function _M:handleOrder(o)
--o = o:unserialize()
--if not self.sock and o.o ~= "Login" and o.o ~= "CurrentCharacter" and o.o ~= "CheckModuleHash" and o.o ~= "CheckAddonHash" then return end -- Dont do stuff without a connection, unless we try to auth
--if self["order"..o.o] then self["order"..o.o](self, o) end
end

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: Profile problems

#2 Post by yufra »

The UserChat.lua error you received is because DG is in the process of revamping the server. The change you made is just skipping any online profiler orders, and isn't a bad idea until the new server gets squared away. Cheers!
<DarkGod> lets say it's intended

Post Reply