TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

compile error and some function is working wired

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
alpha



Joined: 21 Aug 2009
Posts: 4

PostPosted: Mon Aug 31, 2009 2:11 am    Post subject: compile error and some function is working wired Reply with quote

My Kernel is 2.4.36-3 and gcc version is 2.95.3

i have bottom message

No.1

files.c: In function `write_node':
files.c:417: parse error before `int'
files.c:435: `llen' undeclared (first use in this function)
files.c:435: (Each undeclared identifier is reported only once
files.c:435: for each function it appears in.)

so i declare llen, rlen and i have no error

No.2

In file included from tinexp.c:29:
/usr/include/regex.h:358: parse error before `size_t'
/usr/include/regex.h:358: warning: no semicolon at end of struct or union
/usr/include/regex.h:365: parse error before `:'
/usr/include/regex.h:374: parse error before `:'
/usr/include/regex.h:378: parse error before `:'
/usr/include/regex.h:382: parse error before `:'

i think including <sys/types.h> is bofore than <regex.h>
and this problem is solved.


AT tintin++

Case 1:

#var aa hoho
#OK. VARIABLE {aa} HAS BEEN SET TO {hoho}.
#var *
#VARIABLE: NO MATCH(ES) FOUND FOR {*}.

i think wild_mask_search is not working... at least my system...
it happen action alias variable etc....

Case 2:

i am using format command but there is timestamp problem
i use "008 example" at tt\SCRIPTS
but logged time is not clocktime and every timestamp is changed


check plz

thank u Smile
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Mon Aug 31, 2009 7:49 am    Post subject: Reply with quote

Hiyas,

I moved the push_call call down till after the declarations in No.1 and removed <regex.h> (no longer used) in No.2

Case 1: You need to use #var %* from now on, all other regex options work as well.

Case 2: I forgot to update that script for the change to #format. Try:

Code:

#function {timestamp}
{
        #format utime {%U};
                           
        #format result {%t.%m} {%Y-%m-%d %H:%M:%S} {$utime % 1000000 / 100000}
}
 
#event {RECEIVED LINE}
{
        #line log mylog.txt {<178>@timestamp{} \};
        #line log mylog.txt
}
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group