Post-relaunch errors
Moderators: Public Relations Department, Players Department, Programming Department
- Wolf
- Posts: 381
- Joined: Wed Oct 12, 2005 4:25 pm
Post-relaunch errors
I've so far encountered a few time-outs that were reported in the browser as soon as I clicked a button (but only three or four on a bunch of pages/buttons that I clicked).
And just now, after the last time-out, I hit a MySQL error when hitting the refresh button (because that loaded the pages fine at the other time-outs):
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1\n
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/http/www.cantr.net/www/index.php on line 523"
At that error I simply went to the main page (the one with the log-in link) and logged in again, and that seemed to work.
And just now, after the last time-out, I hit a MySQL error when hitting the refresh button (because that loaded the pages fine at the other time-outs):
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1\n
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/http/www.cantr.net/www/index.php on line 523"
At that error I simply went to the main page (the one with the log-in link) and logged in again, and that seemed to work.
hmmmmm beer.... pizza.... computers.... women... stir-fried furry little critters...
-
Glup
- Posts: 1
- Joined: Fri Nov 19, 2010 11:36 pm
Re: Post-relaunch errors
<offtopic>A huge congratulations and thanks to all the wizards!</offtopic>
My character spotted a new species of exaggeratedly strong animal. It resembles a bear, but a single snap of its jaws maked my character almost dead.
Poor victim is (still) a skilled hunter and fighter, fully equipped and prepared to live in the wilderness.
He tried to block the beast using his reliable shield with 45% efficiency. However, the killer bear took him 90% of health.
Alarmed citizens are asking: Is this a new secret security force against the terrorists of the green world?
loc=6283, char=294513, time=3083-6.13
My character spotted a new species of exaggeratedly strong animal. It resembles a bear, but a single snap of its jaws maked my character almost dead.
Poor victim is (still) a skilled hunter and fighter, fully equipped and prepared to live in the wilderness.
He tried to block the beast using his reliable shield with 45% efficiency. However, the killer bear took him 90% of health.
Alarmed citizens are asking: Is this a new secret security force against the terrorists of the green world?
loc=6283, char=294513, time=3083-6.13
- Cdls
- Posts: 4204
- Joined: Sat May 14, 2005 7:09 pm
Re: Post-relaunch errors
Got this error when speaking:
Fatal error: __clone method called on non-object in /home/http/www.cantr.net/lib/locations.inc.php on line 473
Fatal error: __clone method called on non-object in /home/http/www.cantr.net/lib/locations.inc.php on line 473
- SekoETC
- Posts: 15526
- Joined: Wed May 05, 2004 11:07 am
- Location: Finland
- Contact:
Re: Post-relaunch errors
I think someone (probably the hacker) may have messed with the bears since it says attack chance 100%, attack 120 and strength 200. I'll compare it to other animals but those numbers seem out of line. So probably good that the clock ain't running. Edit: lol, and it drops a huge bunch of gold when you kill it. I'm changing it now. Edit 2: Other animals seem okay, and strength 200 was probably ok too, but the attack chance and power were certainly far greater than for other bears. Edit 3: I gave Glup's character most health back and other people who have been attacked by insanely strong bears can report here.
Not-so-sad panda
- joo
- Posts: 5021
- Joined: Fri Jun 17, 2005 2:26 pm
- Location: London, UK
Re: Post-relaunch errors
SekoETC wrote:attack chance 100%, attack 120 and strength 200. ... lol, and it drops a huge bunch of gold when you kill it.
You should have kept it.
- SumBum
- Posts: 1903
- Joined: Fri Jan 05, 2007 10:57 pm
Re: Post-relaunch errors
*ahem* but change that gold drop to iron or steel.
Obviously the hacker was clueless about what has value in Cantr.
I don't know karate, but I know KA-RAZY!! - James Brown
- Wolf
- Posts: 381
- Joined: Wed Oct 12, 2005 4:25 pm
Re: Post-relaunch errors
No time-outs or MySQL errors this time around (have logged on for a few minutes), but one of my chars handed some healingfood to another char, who was awake at the time and ate it... and while that person ate them or might have been typing a reply, I was seeing several "undefined" lines (undefined something-something in line something-something) stack up among the other events, but they vanished when this person's reply hit the events screen.
I'd say they stacked up with about one line a second, maybe two a second... it wasn't much that stacked up and the reply was posted before I could really read the "undefined" lines.
They did seem to be in a smaller font size than the regular text and didn't get timestamped.
Edit:
Maybe also worth noting; at the time that happened, I myself was also typing a line, but haven't been able to replicate the "undefined" lines by typing afterwards.
So I'm not sure if that actually has anything to do with it... possibly (my best uneducated-ish guess at least at this time) it might have had to do with the passed healingfoods being consumed by the other character and this somehow showing up on my events as the undefined thing... which obviously shouldn't normally happen.
Although, for that to happen, the character would have to be taking small portions of the two different healingfoods in rapid succession... so that doesn't really make much sense either as it would mean (1) click eat button, (2) enter ammount, (3) the inventory page reloading, in under a second, repeatedly.
Edit 2:
After seeing something similar occur on an entirely different website, I should add that there is a chance that the "undefined" thing might have been related to me using the Konqueror browser, which might be having some funky effects on AJAX.
I say a chance, because there's no way for me to be entirely certain that it is either on my end, or on the Cantr end.
It hasn't happened to me again on Cantr since I posted about it here though.
I'd say they stacked up with about one line a second, maybe two a second... it wasn't much that stacked up and the reply was posted before I could really read the "undefined" lines.
They did seem to be in a smaller font size than the regular text and didn't get timestamped.
Edit:
Maybe also worth noting; at the time that happened, I myself was also typing a line, but haven't been able to replicate the "undefined" lines by typing afterwards.
So I'm not sure if that actually has anything to do with it... possibly (my best uneducated-ish guess at least at this time) it might have had to do with the passed healingfoods being consumed by the other character and this somehow showing up on my events as the undefined thing... which obviously shouldn't normally happen.
Although, for that to happen, the character would have to be taking small portions of the two different healingfoods in rapid succession... so that doesn't really make much sense either as it would mean (1) click eat button, (2) enter ammount, (3) the inventory page reloading, in under a second, repeatedly.
Edit 2:
After seeing something similar occur on an entirely different website, I should add that there is a chance that the "undefined" thing might have been related to me using the Konqueror browser, which might be having some funky effects on AJAX.
I say a chance, because there's no way for me to be entirely certain that it is either on my end, or on the Cantr end.
It hasn't happened to me again on Cantr since I posted about it here though.
Last edited by Wolf on Sat Nov 20, 2010 11:58 am, edited 1 time in total.
hmmmmm beer.... pizza.... computers.... women... stir-fried furry little critters...
-
oxyquan
- Posts: 238
- Joined: Sun Aug 15, 2010 9:51 am
Re: Post-relaunch errors
SekoETC wrote:I think someone (probably the hacker) may have messed with the bears since it says attack chance 100%, attack 120 and strength 200. I'll compare it to other animals but those numbers seem out of line. So probably good that the clock ain't running. Edit: lol, and it drops a huge bunch of gold when you kill it. I'm changing it now. Edit 2: Other animals seem okay, and strength 200 was probably ok too, but the attack chance and power were certainly far greater than for other bears. Edit 3: I gave Glup's character most health back and other people who have been attacked by insanely strong bears can report here.
It's a little strange to me. Didn't you retrieve code from backups/revision control system? Didn't you diff some tables in database to check if he hadn't mess up with something like properties of animals, etc. (don't know what you're storing in files, and what in database)?
- EchoMan
- Posts: 7768
- Joined: Fri Aug 26, 2005 1:01 pm
- Location: Stockholm, Sweden
Re: Post-relaunch errors
oxyquan wrote:It's a little strange to me. Didn't you retrieve code from backups/revision control system? Didn't you diff some tables in database to check if he hadn't mess up with something like properties of animals, etc. (don't know what you're storing in files, and what in database)?
We chose not to restore a backup of the database (and lose several hours of events), but rather to revive the characters that was messed with, and change a few other things we knew was tampered with. What do you suggest we should have compared with? A lot of the 137 database tables change very often. "Properties of animals" wasn't exactly the first thing we bothered to check when we suspected the hacker had gained access to admin passwords.
And we did retrieve the code, as well as rewriting most of it. I fail to see what that has to do with anything though.
- BarbaricAvatar
- Posts: 3489
- Joined: Wed Mar 09, 2005 5:01 pm
Re: Post-relaunch errors
No project progression.
Neither newly set-up nor pre-crash projects are progressing.
I'm pretty sure boat travel isn't working either.
Neither newly set-up nor pre-crash projects are progressing.
I'm pretty sure boat travel isn't working either.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
-
oxyquan
- Posts: 238
- Joined: Sun Aug 15, 2010 9:51 am
Re: Post-relaunch errors
Don't get me wrong. I want to thank you guys for your work, I realize how it could be difficult to fix everything and review and how big the database is. I also don't know the architecture of Cantr. But I assume that some tables aren't so often modified, like tables with properties of objects, animals and something like that. So you can diff this tables or even replace them, if backup is fresh enough. But now, we could only draw conclusions for the future.
- EchoMan
- Posts: 7768
- Joined: Fri Aug 26, 2005 1:01 pm
- Location: Stockholm, Sweden
Re: Post-relaunch errors
BarbaricAvatar wrote:No project progression.
Neither newly set-up nor pre-crash projects are progressing.
I'm pretty sure boat travel isn't working either.
Time doesn't advance, so neither does projects, travelling etc.
- Chris
- Posts: 856
- Joined: Sat May 05, 2007 1:03 pm
Re: Post-relaunch errors
Players' "Time left" is going down as we play. Normally that isn't an issue because it resets every game day. However, with game time standing still, some players may run out of playing time before the time bug is fixed.
- EchoMan
- Posts: 7768
- Joined: Fri Aug 26, 2005 1:01 pm
- Location: Stockholm, Sweden
Re: Post-relaunch errors
I have stopped the count-down. (It should probably be removed at some point, as it is meaningless with the 2000 setting)
- gejyspa
- Posts: 1397
- Joined: Fri May 14, 2010 2:32 pm
Re: Post-relaunch errors
Cutting and pasting from notes to text boxes now produces an "rn" where carriage returns were in the note. Bug or misfeature?
EDIT: Actually, ALL uses of carriage return in large text box is producing this.
EDIT: Actually, ALL uses of carriage return in large text box is producing this.
Who is online
Users browsing this forum: No registered users and 1 guest
