Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, Exalead, DotBot, Sogou

Members: 0
Guests: 13
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Smaug Snippets » AFKhousing Snippet
Forum Rules | Mark all | Recent Posts

AFKhousing Snippet
< Newer Topic :: Older Topic > Errors in AFK housing snippet

Pages:<< prev 1 next >>
Post is unread #1 Jul 23, 2004, 7:39 am
Go to the top of the page
Go to the bottom of the page

Mavun

GroupMembers
Posts5
JoinedJul 22, 2004

I recently tried to install the housing code snippet. I received a bunch of token errors from house.h. I was wondering if anyone has any suggestions. Sorry I can't remember exactly what it says because I am at work, but it gives me errors about " token {" or something from the .h file and quits.
       
Post is unread #2 Jul 23, 2004, 8:41 pm
Go to the top of the page
Go to the bottom of the page

RapidRunner

GroupMembers
Posts72
JoinedDec 4, 2003

You figure it out?

Or still need help?
       
Post is unread #3 Jul 24, 2004, 12:49 am
Go to the top of the page
Go to the bottom of the page

Mavun

GroupMembers
Posts5
JoinedJul 22, 2004

Yes. Please.
       
Post is unread #4 Jul 24, 2004, 1:46 am
Go to the top of the page
Go to the bottom of the page

Greven
Magician
GroupMembers
Posts204
JoinedMar 5, 2005

Can you post specific error message? its hard to tell you want to do if we don't know exactly what's wrong
       
Post is unread #5 Jul 25, 2004, 2:39 am
Go to the top of the page
Go to the bottom of the page

Mavun

GroupMembers
Posts5
JoinedJul 22, 2004

Sorry. The exact error is listed below.

house.h:131: syntax error before `(' token
house.h:136: syntax error before `(' token
house.h:137: syntax error before `(' token
house.h:143: syntax error before `(' token
house.h:144: syntax error before `(' token
house.h:146: syntax error before `(' token

I didn't make any modifications to the house.h so I don't where to start. I checked the file for anything that looked like a syntax error and couldn't find any.
       
Post is unread #6 Jul 27, 2004, 5:45 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

So what's on the lines immediately preceeding 131? Something there is what's causing that, and until it's resolved you'll keep getting errors.
       
Post is unread #7 Aug 10, 2004, 7:50 pm
Go to the top of the page
Go to the bottom of the page

Prophecy

GroupMembers
Posts5
JoinedAug 10, 2004

I got this error as well, I fixed it by doing this...

Old line would read something like:

void save_houses args(( void ));

New line should read:

void save_houses(void);

Samson is a genius

At least I think this works
       
Post is unread #8 Sep 6, 2004, 9:59 am
Go to the top of the page
Go to the bottom of the page

Beboh

GroupMembers
Posts4
JoinedMay 19, 2004

That fixed it for me too. That also came up in another snippet I used but I don't remember which one it was...
       
Pages:<< prev 1 next >>