Login
User Name:

Password:



Register

Forgot your password?
Hi - Clean SmaugFuss map/description issue..
Dec 15, 2024 7:29 pm
By Samson
AFKMud 2.2.4
Dec 10, 2024 4:09 pm
By Samson
I3 and IMC
Dec 8, 2024 6:35 pm
By Remcon
Ubuntu 22.04.5 LTS
Dec 5, 2024 5:10 pm
By Remcon
SmaugFUSS 1.8/1.9
Nov 29, 2024 11:46 am
By Remcon
SWFOTEFUSS 1.5.1
Author: Various
Submitted by: Samson
SWRFUSS 1.4.1
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.5
Author: Various
Submitted by: Samson
AFKMud 2.2.4
Author: AFKMud Team
Submitted by: Samson
LOP 1.5
Author: Remcon
Submitted by: Remcon
Users Online
AhrefsBot

Members: 0
Guests: 26
Stats
Files
Topics
Posts
Members
Newest Member
494
3,808
19,707
588
Mortrex

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » General » Coding » New server arrors
Forum Rules | Mark all | Recent Posts

New server arrors
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Dec 2, 2014 6:32 am   
Go to the top of the page
Go to the bottom of the page

ardentcrest

GroupMembers
Posts16
JoinedNov 27, 2014

 
Preloading player data for: Admin (9K)
[*****] BUG: fread_char: no match: d
[*****] FILE: ../player/a/Admin LINE: 17
[*****] BUG: fread_char: no match: d
[*****] FILE: ../player/a/Admin LINE: 18
Loading player data for: Admin (9K)
[*****] BUG: fread_char: no match: d
[*****] FILE: ../player/a/Admin LINE: 17
[*****] BUG: fread_char: no match: d
[*****] FILE: ../player/a/Admin LINE: 18


any help

Post is unread #2 Dec 2, 2014 3:00 pm   
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,697
JoinedJan 1, 2002

 
Load the pfile into a text editor and see what's on those lines. The "d" makes me think it's a dice formula or something.

Post is unread #3 Dec 2, 2014 4:32 pm   
Go to the top of the page
Go to the bottom of the page

ardentcrest

GroupMembers
Posts16
JoinedNov 27, 2014

 
#PLAYER
Version      5
Name         Admin~
Sex          1
Class        5
Race         1
Age          0 23 9 605
Languages    -1 1
Level        65
Played       75320
Room         10300
HpManaMove   49 24 145 145 110 110
Gold         15420
Exp          2000
Height          24
Weight          42
Act          1644189256d&2d
AffectedBy   524288d
Position     112
Style     2
Practice     4
SavingThrows 0 0 0 0 0
Alignment    0
Favor        0
Glory        0
MGlory       0
Hitroll      0
Damroll      0
Armor        100
Susceptible  16


also Hope quick question. What you i need to do to get

You stand inside the Bedquilthaven Academy, an establishment 
 designed to teach the basics of play inside this game. Each 
room has a specific purpose and contains information on the 
various commands to maneuver around and interact with the


to look like this


You stand inside the Bedquilthaven Academy,
an establishment designed to teach the basics
of play inside this game. Each room has a specific
purpose and contains information on the various
commands to maneuver around and interact with the


Ie change the line length from around 80 to 70 or even less.

This is for an 8 bit computer that can only have 32 to 64 letters per line.

Post is unread #4 Dec 2, 2014 5:25 pm   
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,697
JoinedJan 1, 2002

 
Act 1644189256d&2d
AffectedBy 524288d


Those are EXT_BV fields. They should not be generating complaints from the code since the code should know how to read those properly.

As far as your description thing, you'd be kinda stuck doing that the hard way and manually shortening the lines to fit the 64 char limit.

Post is unread #5 Dec 2, 2014 5:41 pm   
Go to the top of the page
Go to the bottom of the page

ardentcrest

GroupMembers
Posts16
JoinedNov 27, 2014

 
The code is from the default ADMIN file

Post is unread #6 Dec 2, 2014 7:18 pm   
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,697
JoinedJan 1, 2002

 
That Admin file was saved with SmaugFUSS so unless you're not using FUSS that shouldn't be an issue.

Post is unread #7 Dec 13, 2014 5:48 am   
Go to the top of the page
Go to the bottom of the page

ardentcrest

GroupMembers
Posts16
JoinedNov 27, 2014

 
MOVED

A new player created with SmaugFUSS and this when login in

Comm: Loading player data for: Polaris (2K)
Bug: [*****] BUG: fread_char: no match: d
Bug: [*****] FILE: ../player/p/Polaris LINE: 17
Bug: [*****] BUG: fread_char: no match: d
Bug: [*****] FILE: ../player/p/Polaris LINE: 18
Bug: [*****] BUG: fread_char: no match: d
Bug: [*****] FILE: ../player/p/Polaris LINE: 48
Bug: [*****] BUG: fread_char: no match: d
Bug: [*****] FILE: ../player/p/Polaris LINE: 49
Bug: [*****] BUG: fread_char: no match: d
Bug: [*****] FILE: ../player/p/Polaris LINE: 50
Bug: [*****] BUG: fread_char: no match: d
Bug: [*****] FILE: ../player/p/Polaris LINE: 51


any help

Post is unread #8 Dec 13, 2014 7:28 pm   
Go to the top of the page
Go to the bottom of the page

Quixadhal

GroupMembers
Posts398
JoinedMar 8, 2005

 
My guess would be that some loading routine is using fread_number() instead of fread_dice() (or whatever SmaugFUSS calls it).... but the corresponding save code is saving things as dice values?

The alternative is that something is writing extra random 'd's for some reason... :)

Post is unread #9 Dec 18, 2014 4:43 pm   Last edited Dec 18, 2014 7:33 pm by Remcon
Go to the top of the page
Go to the bottom of the page

ardentcrest

GroupMembers
Posts16
JoinedNov 27, 2014

 
Will keep to this topic...

new Bug I think with new build.

<24hp 145m 110mv> <#6010> 
Polaris says 'ahh, cool.'
Polaris says 'ahh, cool.'

<24hp 145m 110mv> <#6010> 
' Have a few drinks on me. typing a bit offff
You say 'Have a few drinks on me. typing a bit offff'

<24hp 145m 110mv> <#6010> 
Polaris says 'checking out WoS'
Polaris says 'checking out WoS'

<24hp 145m 110mv> <#6010> 
'also look at.
You say 'also look at.'

<24hp 145m 110mv> <#6010> 
' f. wheres the link :D
You say 'f. wheres the link :D'

<24hp 145m 110mv> <#6010> 
Polaris wonders 'worldofspectrum . org?'
Polaris says 'worldofspectrum . org?'

<24hp 145m 110mv> <#6010> 
Polaris says 'found fuse 1.1.1'
Polaris says 'found fuse 1.1.1'


*2 of the same post all the time with say or using '

Need fix please

Post is unread #10 Sep 8, 2016 9:19 pm   
Go to the top of the page
Go to the bottom of the page

joeyfogas

GroupMembers
Posts78
JoinedAug 28, 2016

 
Sorry to resurrect a thread here, but I'm having same issue.. did anyone find a fix?

FUSS 1.92

new character created. new character saved. new character logs in

Bug: [*****] BUG: fread_char: no match: d
Bug: [*****] FILE: ../player/t/Test LINE: 17


from pfile
Weight          136
Act          1644168776d      <--- Line 17
Position     112
Style     2

Post is unread #11 Sep 23, 2016 4:19 pm   
Go to the top of the page
Go to the bottom of the page

Sadiq

GroupMembers
Posts24
JoinedJan 7, 2010

 
joeyfogas said:

Sorry to resurrect a thread here, but I'm having same issue.. did anyone find a fix?

FUSS 1.92

new character created. new character saved. new character logs in

Bug: [*****] BUG: fread_char: no match: d
Bug: [*****] FILE: ../player/t/Test LINE: 17


from pfile
Weight          136
Act          1644168776d      <--- Line 17
Position     112
Style     2


Problem is that when printing a bitvector to a file, an unneccesary 'u' is added.

Fix:

Open up misc.c and find print_bitvector().

Change this:
    snprintf( p, ( XBI * 12 ) - ( p - buf ), "%ud", bits->bits[x] );

To This:
    snprintf( p, ( XBI * 12 ) - ( p - buf ), "%d", bits->bits[x] );


Sorry this took so long...I haven't been checking the forums as often as I used to...

Sadiq

Post is unread #12 Sep 23, 2016 4:28 pm   Last edited Sep 23, 2016 4:41 pm by Sadiq
Go to the top of the page
Go to the bottom of the page

Sadiq

GroupMembers
Posts24
JoinedJan 7, 2010

 
ardentcrest said:

Will keep to this topic...

new Bug I think with new build.

<24hp 145m 110mv> <#6010> 
Polaris says 'ahh, cool.'
Polaris says 'ahh, cool.'

<24hp 145m 110mv> <#6010> 
' Have a few drinks on me. typing a bit offff
You say 'Have a few drinks on me. typing a bit offff'

<24hp 145m 110mv> <#6010> 
Polaris says 'checking out WoS'
Polaris says 'checking out WoS'

<24hp 145m 110mv> <#6010> 
'also look at.
You say 'also look at.'

<24hp 145m 110mv> <#6010> 
' f. wheres the link :D
You say 'f. wheres the link :D'

<24hp 145m 110mv> <#6010> 
Polaris wonders 'worldofspectrum . org?'
Polaris says 'worldofspectrum . org?'

<24hp 145m 110mv> <#6010> 
Polaris says 'found fuse 1.1.1'
Polaris says 'found fuse 1.1.1'


*2 of the same post all the time with say or using '

Need fix please


Dunno how it crept into FUSS, but do_say got an extra call to act() put in...
Here's the fix:
Open act_comm.c and find act(). Near the bottom of the function,
immediately following the first switch block, you will see this:

        default:
            act( AT_SAY, "$n says '$t'", ch, sbuf, vch, TO_VICT );
            break;
      }
      act( AT_SAY, "$n says '$t'", ch, sbuf, vch, TO_VICT );

That call to act() that falls outside of the switch block is unneeded.
Either commented it out, or delete the line.

Both of those calls to act() are aimed at TO_VICT, which is why you only see one of yours, but two of everyone else's...


Another interesting, semi-related bug(?) is that you can't use the 'say' command, when typed out (the shortcut still works).
(applies to fresh out of the box FUSS 192)
If, for example, you type 'say hello' and send it to the mud, you will
get "say what and to whom" (or somesuch) back. This is because the command
'sayto' is higher on the priority list, than 'say'. (This is also why in
some MOBprogs, you aren't seeing things that mobs are supposed to be saying.)

The solution is to go into the game with your immortal and type:
'cedit sayto lower'. Keep sending that same command until the output
says something about sayto being moved below say. Then type 'cedit save cmdtable'.

Sadiq

Pages:<< prev 1 next >>