Language: 
To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.

Author Topic:  Apartments are closed [FIXED]  (Read 103549 times)

0 Members and 0 Guests are viewing this topic.

Joe

« on: 11, July 2014, 20:58:47 »
Main server:
Players can't enter their apt anymore, and if a player dies they are stuck in it.
Also I see on further inspection the Human plane portal is closed in the church.
« Last Edit: 12, July 2014, 03:55:11 by _people_ »
Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

ddhanna

« Reply #1 on: 11, July 2014, 21:12:33 »
anyone reboot yet?

Joe

« Reply #2 on: 11, July 2014, 21:25:08 »
Rebooted main, no change.
Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

Shroud

« Reply #3 on: 11, July 2014, 21:31:06 »
Well we now have lotl mode people were asking for as now deaths are lethal >:D
Doesn't matter, you'd die anyway. ;D Shroud's a hacker. After many hours of deep thought I have came to that conclusion.

Joe

« Reply #4 on: 11, July 2014, 21:57:34 »
Talking to NPC's no longer works as well, which means no Smith in shop or priest in church, also barkeeper and bank doesn't work.
Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

Shroud

« Reply #5 on: 11, July 2014, 22:09:20 »
I'd assume all of lua is down
Doesn't matter, you'd die anyway. ;D Shroud's a hacker. After many hours of deep thought I have came to that conclusion.

ddhanna

« Reply #6 on: 12, July 2014, 00:45:17 »
no comment from Smacky. maybe Mitcheon will catch this and see what he can do.

_people_

« Reply #7 on: 12, July 2014, 03:54:50 »
Found the bug. Fixed.
-- _people_ :)

smacky

« Reply #8 on: 12, July 2014, 15:07:53 »
Sorry, stupid oversight on my part (yes, all Lua was borked in 0.10.6-g). _people_ fixed it.

BTW _people_ what benefit is FREE_AND_CLEAR_HASH2() over FREE_AND_CLEAR_HASH()? I changed to HASH2 from HASH in quest.c, only because HASH2 was already used in object.c, but AFAICS it makes no odds (the difference is HASH2 is multiple commands embedded in {}, while HASH is not embedded).

clobber

« Reply #9 on: 12, July 2014, 23:29:40 »
Tch. I go away for one night and you bork the whole of lua...
Posted by Clobber

Collector Of Burnt out torches, 0 and Counting.

,-.  ___ ,-.
 \/ .   .  \ / 
(___O___)
 /  \      /   )
 ( ||       || )
  000     000
Woof, Woof!

Quote from: Longir
I use caution, fear is a distraction

_people_

« Reply #10 on: 13, July 2014, 00:09:22 »
Code: [Select]
#define FREE_AND_CLEAR_HASH(_nv_) {if(_nv_){free_string_shared(_nv_);_nv_ =NULL;}}
/* special macro with no {} ! if() FREE_AND_CLEAR_HASH2 will FAIL! */
#define FREE_AND_CLEAR_HASH2(_nv_) if(_nv_){free_string_shared(_nv_);_nv_ =NULL;}

The only hint as to the difference between the two is that comment. Unfortunately it's not particularly descriptive. I don't really see the braces making a whole lot of difference anywhere but I could be mistaken.
-- _people_ :)

smacky

« Reply #11 on: 13, July 2014, 00:27:11 »
IMO HASH2 is pointless as it is less useful -- indeed that comment makes a point of it -- than the original.

This is also a reason I suggest always using {} around even single statement expressions after if, while, for, etc. if () { FREE_AND_CLEAR_HASH2(); } works fine. Indeed if we follow this simple rule, we can get rid of HASH and rename HASH2 as HASH and everything is a bit simpler.

_people_

« Reply #12 on: 13, July 2014, 00:39:59 »
True, it is better to use {} after single-statement expressions, and since most people do it anyway the extra {}'s aren't really necessary. I agree with renaming HASH2 as HASH.
-- _people_ :)

Tags:
 

Related Topics

  Subject / Started by Replies Last post
closed

Started by Raab Suggestions

12 Replies
1647 Views
Last post 07, August 2007, 14:33:21
by subaru
29 Replies
4990 Views
Last post 19, August 2007, 00:07:34
by Krosan_
35 Replies
11364 Views
Last post 08, July 2008, 09:57:47
by BertieTheBlue
4 Replies
1058 Views
Last post 25, December 2008, 21:46:47
by Nite_Star
70 Replies
21890 Views
Last post 26, February 2011, 14:15:56
by clobber