deleting location name = Bad

Forum for general requests for support for players. Both staff members and veteran players can help new players with problems they encounter. No chatting in this forum, please.

Moderators: Public Relations Department, Players Department, Programming Department

User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

deleting location name = Bad

Postby Doug R. » Mon Sep 08, 2008 12:07 am

I deleted a location name, thinking that it would default back to unnamed location. Not good. It killed the dynamic naming. Now all I have is a "." I can't change. I'm assuming that this is a side-effect of the recent change in URL that I posted about in another support thread.
Hamsters is nice. ~Kaylee, Firefly
marginoferror
Posts: 154
Joined: Wed Mar 12, 2008 7:16 pm

Postby marginoferror » Mon Sep 08, 2008 12:41 am

Okay, I see the problem. Because it's normally the name itself that you click on to bring up the page to change the location name, if you blank out that space, there is nothing to click on.

Here's a workaround. Note down the type of terrain (grassland, forest, etc). Then view the page source (CTRL-U on Firefox) and search for that word (grassland, forest, etc.). If you look right before the place where it says the terrain type, there should be something like

<A HREF="index.php?dt=cz02NDQ5ODE4NjAmcGFnZT1uYW1lbG9jJmNoYXJhY3Rlcj0yMTg5MjMmaWQ9MTMx"></A>

Take the partial URL between the quotes and paste it over the corresponding part of the URL in the location bar, so that you get something like

http://www.cantr.net/index.php?dt=cz02N ... MmaWQ9MTMx

That should do the trick.
User avatar
Skulty
Posts: 740
Joined: Thu May 05, 2005 4:05 pm
Location: Portugal

Postby Skulty » Mon Sep 08, 2008 12:53 am

Yep, it works, just tried it, just for fun! :D
All those who believe in psychokinesis raise my hand.
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Postby Doug R. » Mon Sep 08, 2008 2:22 am

Well, I left the town, and there's no telling when I'll be getting back there. I'll try it if I ever do. Thanks for the quick response though!
Hamsters is nice. ~Kaylee, Firefly
User avatar
Compay
Posts: 223
Joined: Sat Mar 01, 2008 2:30 am
Location: Buenos Aires, ARGENTINA

Postby Compay » Thu Sep 18, 2008 8:07 pm

i had the same problem, but with a buiding, so i entered to the building in question, and pushed ctrl u and looked up for "edificio/habitacion" (room/building) instead of "grassland" and copy the text and pasted in the location bar.

AND IT WORKED!!
thanks to all the people i have bothered because of this problem

:lol: :lol: :lol: :lol: :lol: :lol:
User avatar
Razorlance
Posts: 496
Joined: Mon Sep 06, 2004 10:45 pm
Location: UK

Postby Razorlance » Tue Oct 07, 2008 5:07 pm

It works for vehicles too, if you go to the vehicles and buildings page then search for either an alternate name for the vehicle, (as in my case) or for a vehicle just before or after the one you want to rename, then look for the HREF tag of the blank vehicle name then apply marginoferror's fix. :D
MartialAngel

Re: deleting location name = Bad

Postby MartialAngel » Sat Feb 20, 2010 11:06 pm

Yay! I fixed it!
User avatar
SekoETC
Posts: 15526
Joined: Wed May 05, 2004 11:07 am
Location: Finland
Contact:

Re: deleting location name = Bad

Postby SekoETC » Tue Feb 23, 2010 1:42 am

I just figured out how come they come out as reading <CANTR_CHARDESC> in the database even though no one writes that in. It's because it's the default description that it enters if the name is blank, and it's not taking into account that it doesn't work with locations. I should be able to fix it.
Not-so-sad panda
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Re: deleting location name = Bad

Postby Doug R. » Tue Feb 23, 2010 2:35 pm

Awesome!
Hamsters is nice. ~Kaylee, Firefly
User avatar
IvanicDiazinum
Posts: 82
Joined: Fri Jun 10, 2011 7:09 pm

Re: deleting location name = Bad

Postby IvanicDiazinum » Wed Jun 22, 2011 4:48 am

Thank you!

I did this to a ship accidentally. Would have been rather awkward to have to get a sign tool just to give it a name again.
User avatar
SekoETC
Posts: 15526
Joined: Wed May 05, 2004 11:07 am
Location: Finland
Contact:

Re: deleting location name = Bad

Postby SekoETC » Wed Jun 22, 2011 12:48 pm

I just committed a change that will stop this from happening once Echoman puts it live. After the new version is up, deleting the dynamic name will make it display the default name like people have been expecting it would. But don't test it yet.

Also, there are 4198 entries in the database where the namer is 0 and 247 where the target is 0, so I was wondering if those should all be deleted, since no one can see the text under normal circumstances.
Not-so-sad panda
User avatar
EchoMan
Posts: 7768
Joined: Fri Aug 26, 2005 1:01 pm
Location: Stockholm, Sweden

Re: deleting location name = Bad

Postby EchoMan » Wed Jun 22, 2011 12:51 pm

Edit: I have uploaded the script live. It works for vehicles and buildings. Locations will revert to "unnamed location" if the name is blanked out, people to " a [wo]man in his/her twenties".
User avatar
SekoETC
Posts: 15526
Joined: Wed May 05, 2004 11:07 am
Location: Finland
Contact:

Re: deleting location name = Bad

Postby SekoETC » Wed Jun 22, 2011 12:55 pm

No, it just deletes the old naming information, so it will display unnamed location for outside locations and the name of the building/vehicle if it's a building/vehicle.
Not-so-sad panda
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Re: deleting location name = Bad

Postby Doug R. » Wed Jun 22, 2011 12:56 pm

I would assume she meant default meaning <unknown location> or the name of the building/vehicle/ship.
Hamsters is nice. ~Kaylee, Firefly
User avatar
EchoMan
Posts: 7768
Joined: Fri Aug 26, 2005 1:01 pm
Location: Stockholm, Sweden

Re: deleting location name = Bad

Postby EchoMan » Wed Jun 22, 2011 12:59 pm

See my edit above. You guys are too fast. ;)

Return to “General Support”

Who is online

Users browsing this forum: No registered users and 1 guest