Login
User Name:

Password:



Register

Forgot your password?
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
SWRFUSS 1.4
Author: Various
Submitted by: Samson
Users Online
AhrefsBot, DotBot

Members: 0
Guests: 35
Stats
Files
Topics
Posts
Members
Newest Member
488
3,788
19,631
595
Khonsu

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » Codebases » AFKMud Support & Development » Encountering bugs in AFKmud
Forum Rules | Mark all | Recent Posts

Encountering bugs in AFKmud
< Newer Topic :: Older Topic > Bugs: q/abits, charcter gen

Pages:<< prev 1 next >>
Post is unread #1 Feb 25, 2011 2:23 am   
Go to the top of the page
Go to the bottom of the page

ToFue
Fledgling
GroupMembers
Posts4
JoinedFeb 23, 2011

 
Hi guys!
I'm a fledgling, neophyte programmer-in-learning hopeful & new to this forum. My curiosity has led me to download & compile afkmud, and have a few questions, if its not a bother to anyone..

I suppose that I should share my system details in brief at this point:
core2duo toshiba laptop 4gRam
ubuntu 10.10 i686
2.6.35-25-generic-pae
gcc: 4.4.5
en_us.utf-8, iso
gmud client connecting to: localhost:5100
bash, csh, tcsh


First,
most or half of the in-game help files & elsewhere seem like they have encoding issues (see attached): the newline occurs at uneven intervals, outputing lines starting in the middle of the screen, and to the boarders of the screen buffer instead of telnet-normal. Also, the output is the same when telnet localhost on 5100.. I found this character '¢' throughout helps.dat. The character isn't on my keyboard, and was wondering if by eliminating them all, or replace by hitting 'enter', would that solve the wrapping issue?

Except that I get ^M characters whenever I:

A) "press enter to continue" after the (player) character generation sequence, the second screen after the ascii art screen.
as in:
 Put something interesting here.

Press [ENTER] M
*** Connection closed.


server msgs:
  Checking for required directories...
Fri Feb 25, 2011 12:57:44 AM CST :: Directory check passed.
Fri Feb 25, 2011 12:57:44 AM CST :: Booting Database
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Fri Feb 25, 2011 12:57:44 AM CST :: [*****] BOOT: ---------------------[ Boot Log ]--------------------
Fri Feb 25, 2011 12:57:44 AM CST :: Database bootup starting.
Fri Feb 25, 2011 12:57:44 AM CST :: Loading sysdata configuration...
Fri Feb 25, 2011 12:57:44 AM CST :: Initializing libdl support...
Fri Feb 25, 2011 12:57:44 AM CST :: Verifying existence of login greeting...
Fri Feb 25, 2011 12:57:44 AM CST :: Login greeting located.
Fri Feb 25, 2011 12:57:44 AM CST :: Loading commands...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading spec_funs...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading helps...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading channels...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading overland maps...
Fri Feb 25, 2011 12:57:44 AM CST :: Initializing map grid array....
Fri Feb 25, 2011 12:57:44 AM CST :: Loading continent of One.....
Fri Feb 25, 2011 12:57:44 AM CST :: Loading overland map exits....
Fri Feb 25, 2011 12:57:44 AM CST :: Loading overland landmarks....
Fri Feb 25, 2011 12:57:44 AM CST :: Loading landing sites....
Fri Feb 25, 2011 12:57:44 AM CST :: Loading socials...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading skill table...
Fri Feb 25, 2011 12:57:44 AM CST :: Sorting skill table...
Fri Feb 25, 2011 12:57:44 AM CST :: Remapping slots to sns...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading classes
Fri Feb 25, 2011 12:57:44 AM CST :: Loading races
Fri Feb 25, 2011 12:57:44 AM CST :: Loading Connection History
Fri Feb 25, 2011 12:57:44 AM CST :: Loading liquid table
Fri Feb 25, 2011 12:57:44 AM CST :: Loading mixture table
Fri Feb 25, 2011 12:57:44 AM CST :: Loading herb table
Fri Feb 25, 2011 12:57:44 AM CST :: Loading tongues
Fri Feb 25, 2011 12:57:44 AM CST :: Loading quest bit tables
Fri Feb 25, 2011 12:57:44 AM CST :: [*****] BUG: load_abits: Cannot open abit file.
Fri Feb 25, 2011 12:57:44 AM CST :: [*****] BUG: load_qbits: Cannot open qbit file.
Fri Feb 25, 2011 12:57:44 AM CST :: Initializing random number generator
Fri Feb 25, 2011 12:57:44 AM CST :: Setting Astral Walk target room
Fri Feb 25, 2011 12:57:44 AM CST :: Setting time and weather
Fri Feb 25, 2011 12:57:44 AM CST :: Loading holiday chart...
Fri Feb 25, 2011 12:57:44 AM CST :: Assigning gsn's
Fri Feb 25, 2011 12:57:44 AM CST :: Loading DNS cache...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading slay table...
Fri Feb 25, 2011 12:57:44 AM CST :: Reading in area files...
Fri Feb 25, 2011 12:57:44 AM CST :: void.are            : Version 1   Vnums: 11000 - 11999
Fri Feb 25, 2011 12:57:44 AM CST :: entry.are           : Version 1   Vnums:   100 - 199  
Fri Feb 25, 2011 12:57:44 AM CST :: astral.are          : Version 1   Vnums:  4350 - 4449 
Fri Feb 25, 2011 12:57:44 AM CST :: gwyn.are            : Version 1   Vnums:  2850 - 2949 
Fri Feb 25, 2011 12:57:44 AM CST :: catacombs.are       : Version 1   Vnums:  1950 - 2099 
Fri Feb 25, 2011 12:57:44 AM CST :: rtower.are          : Version 1   Vnums:  7700 - 7799 
Fri Feb 25, 2011 12:57:44 AM CST :: one.are             : Version 1   Vnums: 50000 - 50499
Fri Feb 25, 2011 12:57:44 AM CST :: immtrain.are        : Version 1   Vnums: 21100 - 21299
Fri Feb 25, 2011 12:57:44 AM CST :: Loading ships...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading runes...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading runewords...
Fri Feb 25, 2011 12:57:44 AM CST :: Fixing exits...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading clans...
Fri Feb 25, 2011 12:57:44 AM CST :: $
Fri Feb 25, 2011 12:57:44 AM CST :: Cleaning up clan data...
Fri Feb 25, 2011 12:57:44 AM CST :: Done clans
Fri Feb 25, 2011 12:57:44 AM CST :: Loading deities...
Fri Feb 25, 2011 12:57:44 AM CST :: Done deities
Fri Feb 25, 2011 12:57:44 AM CST :: Counting pfiles.....
Fri Feb 25, 2011 12:57:44 AM CST :: Pfile count completed.
Fri Feb 25, 2011 12:57:44 AM CST :: Total pfiles scanned: 1
Fri Feb 25, 2011 12:57:44 AM CST :: Total exempted pfiles: 0
Fri Feb 25, 2011 12:57:44 AM CST :: Updating rare item counts.....
Fri Feb 25, 2011 12:57:44 AM CST :: Checking player files....
Fri Feb 25, 2011 12:57:44 AM CST :: Checking corpses....
Fri Feb 25, 2011 12:57:44 AM CST :: Loading corpses...
Fri Feb 25, 2011 12:57:44 AM CST :: Making wizlist
Fri Feb 25, 2011 12:57:44 AM CST :: Building wizinfo
Fri Feb 25, 2011 12:57:44 AM CST :: Loading MSSP Data...
Fri Feb 25, 2011 12:57:44 AM CST :: Initializing area reset events...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading auction sales list...
Fri Feb 25, 2011 12:57:44 AM CST :: No sales file found.
Fri Feb 25, 2011 12:57:44 AM CST :: Loading auction houses...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading clan/guild shops...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading prototype area files...
Fri Feb 25, 2011 12:57:44 AM CST :: Fixing prototype zone exits...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading boards...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading bans...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading auth namelist...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading Immortal Hosts...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading Projects...
Fri Feb 25, 2011 12:57:44 AM CST :: Loading Morphs...
Fri Feb 25, 2011 12:57:44 AM CST :: Done.
Fri Feb 25, 2011 12:57:44 AM CST :: Loading weather vector data...
Fri Feb 25, 2011 12:57:44 AM CST :: Initializing area weather data...
Fri Feb 25, 2011 12:57:44 AM CST :: Area weather data initialized.
Fri Feb 25, 2011 12:57:44 AM CST :: Registering chess packet handler...
Fri Feb 25, 2011 12:57:44 AM CST :: Database bootup completed.
Fri Feb 25, 2011 12:57:44 AM CST :: Initializing main socket
Fri Feb 25, 2011 12:57:44 AM CST :: Main socket initialized
Fri Feb 25, 2011 12:57:44 AM CST :: AFKMud ready on port 5100.
Fri Feb 25, 2011 12:57:44 AM CST :: IMC: Loading IMC2 command table...
Fri Feb 25, 2011 12:57:44 AM CST :: IMC: Loading IMC2 network data...
Fri Feb 25, 2011 12:57:44 AM CST :: IMC: Loading IMC2 help file...
Fri Feb 25, 2011 12:57:44 AM CST :: IMC: Loading IMC2 color table...
Fri Feb 25, 2011 12:57:44 AM CST :: IMC: IMC2 network data loaded.
Fri Feb 25, 2011 12:57:44 AM CST :: IMC: IMC2 Network Initializing...
Fri Feb 25, 2011 12:57:44 AM CST :: IMC: ipv4_connect: Cannot resolve server hostname.
Fri Feb 25, 2011 12:57:44 AM CST :: IMC: Shutting down network.
Fri Feb 25, 2011 12:57:45 AM CST :: No people online yet. Suspending autonomous update handlers.
Fri Feb 25, 2011 12:58:05 AM CST :: Waking up autonomous update handlers.
Fri Feb 25, 2011 12:58:18 AM CST :: Incoming connection: localhost.localdomain, port 48600.
Fri Feb 25, 2011 12:58:49 AM CST :: Xterm client detected for Enten.
*** buffer overflow detected ***: ./afkmud terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x50)[0x368970]
/lib/libc.so.6(+0xe486a)[0x36786a]
/lib/libc.so.6(__strcpy_chk+0x44)[0x366be4]
./afkmud(_Z8show_mapP9char_dataPc+0x301)[0x81c3f99]
./afkmud(do_look+0x44a)[0x80a193f]
./afkmud(_Z9interpretP9char_dataSs+0x1465)[0x815ffbf]
./afkmud(_Z12char_to_gameP9char_data+0x339)[0x8183793]
./afkmud(_ZN15descriptor_data5nannyERSs+0x4474)[0x818a9cc]
./afkmud(_Z13process_inputv+0x2ad)[0x815ad9d]
./afkmud(_Z9game_loopv+0x6f)[0x815b4e1]
./afkmud(main+0x217)[0x815c18e]
/lib/libc.so.6(__libc_start_main+0xe7)[0x299ce7]
./afkmud[0x8076651]
======= Memory map: ========
00110000-00112000 r-xp 00000000 08:07 2106008    /lib/libdl-2.12.1.so
00112000-00113000 r--p 00001000 08:07 2106008    /lib/libdl-2.12.1.so
00113000-00114000 rw-p 00002000 08:07 2106008    /lib/libdl-2.12.1.so
00114000-00133000 r-xp 00000000 08:07 5639489    /usr/lib/libjpeg.so.62.0.0
00133000-00134000 r--p 0001e000 08:07 5639489    /usr/lib/libjpeg.so.62.0.0
00134000-00135000 rw-p 0001f000 08:07 5639489    /usr/lib/libjpeg.so.62.0.0
00135000-0014d000 r-xp 00000000 08:07 5639875    /usr/lib/libxcb.so.1.1.0
0014d000-0014e000 r--p 00017000 08:07 5639875    /usr/lib/libxcb.so.1.1.0
0014e000-0014f000 rw-p 00018000 08:07 5639875    /usr/lib/libxcb.so.1.1.0
0014f000-00151000 r-xp 00000000 08:07 2097269    /lib/libnss_mdns4_minimal.so.2
00151000-00152000 r--p 00001000 08:07 2097269    /lib/libnss_mdns4_minimal.so.2
00152000-00153000 rw-p 00002000 08:07 2097269    /lib/libnss_mdns4_minimal.so.2
00153000-00157000 r-xp 00000000 08:07 2106013    /lib/libnss_dns-2.12.1.so
00157000-00158000 r--p 00004000 08:07 2106013    /lib/libnss_dns-2.12.1.so
00158000-00159000 rw-p 00005000 08:07 2106013    /lib/libnss_dns-2.12.1.so
00171000-00180000 r-xp 00000000 08:07 5638944    /usr/lib/libXpm.so.4.11.0
00180000-00181000 r--p 0000e000 08:07 5638944    /usr/lib/libXpm.so.4.11.0
00181000-00182000 rw-p 0000f000 08:07 5638944    /usr/lib/libXpm.so.4.11.0
00198000-00277000 r-xp 00000000 08:07 5639765    /usr/lib/libstdc++.so.6.0.14
00277000-0027b000 r--p 000de000 08:07 5639765    /usr/lib/libstdc++.so.6.0.14
0027b000-0027c000 rw-p 000e2000 08:07 5639765    /usr/lib/libstdc++.so.6.0.14
0027c000-00283000 rw-p 00000000 00:00 0 
00283000-003da000 r-xp 00000000 08:07 2106005    /lib/libc-2.12.1.so
003da000-003dc000 r--p 00157000 08:07 2106005    /lib/libc-2.12.1.so
003dc000-003dd000 rw-p 00159000 08:07 2106005    /lib/libc-2.12.1.so
003dd000-003e0000 rw-p 00000000 00:00 0 
003f5000-00411000 r-xp 00000000 08:07 2106002    /lib/ld-2.12.1.so
00411000-00412000 r--p 0001b000 08:07 2106002    /lib/ld-2.12.1.so
00412000-00413000 rw-p 0001c000 08:07 2106002    /lib/ld-2.12.1.so
00413000-0052c000 r-xp 00000000 08:07 5638909    /usr/lib/libX11.so.6.3.0
0052c000-0052d000 r--p 00118000 08:07 5638909    /usr/lib/libX11.so.6.3.0
0052d000-0052f000 rw-p 00119000 08:07 5638909    /usr/lib/libX11.so.6.3.0
0052f000-00530000 rw-p 00000000 00:00 0 
00530000-00554000 r-xp 00000000 08:07 2097224    /lib/libexpat.so.1.5.2
00554000-00556000 r--p 00024000 08:07 2097224    /lib/libexpat.so.1.5.2
00556000-00557000 rw-p 00026000 08:07 2097224    /lib/libexpat.so.1.5.2
00578000-00582000 r-xp 00000000 08:07 2106014    /lib/libnss_files-2.12.1.so
00582000-00583000 r--p 00009000 08:07 2106014    /lib/libnss_files-2.12.1.so
00583000-00584000 rw-p 0000a000 08:07 2106014    /lib/libnss_files-2.12.1.so
0074d000-00767000 r-xp 00000000 08:07 2097231    /lib/libgcc_s.so.1
00767000-00768000 r--p 00019000 08:07 2097231    /lib/libgcc_s.so.1
00768000-00769000 rw-p 0001a000 08:07 2097231    /lib/libgcc_s.so.1
0079a000-007b7000 r-xp 00000000 08:07 5639214    /usr/lib/libgd.so.2.0.0
007b7000-007b8000 r--p 0001c000 08:07 5639214    /usr/lib/libgd.so.2.0.0
007b8000-007d7000 rw-p 0001d000 08:07 5639214    /usr/lib/libgd.so.2.0.0
007d7000-007db000 rw-p 00000000 00:00 0 
007ec000-00810000 r-xp 00000000 08:07 2106009    /lib/libm-2.12.1.so
00810000-00811000 r--p 00023000 08:07 2106009    /lib/libm-2.12.1.so
00811000-00812000 rw-p 00024000 08:07 2106009    /lib/libm-2.12.1.so
0091c000-0091e000 r-xp 00000000 08:07 2097268    /lib/libnss_mdns4.so.2
0091e000-0091f000 r--p 00001000 08:07 2097268    /lib/libnss_mdns4.so.2
0091f000-00920000 rw-p 00002000 08:07 2097268    /lib/libnss_mdns4.so.2
00a4f000-00a62000 r-xp 00000000 08:07 2097346    /lib/libz.so.1.2.3.4
00a62000-00a63000 r--p 00012000 08:07 2097346    /lib/libz.so.1.2.3.4
00a63000-00a64000 rw-p 00013000 08:07 2097346    /lib/libz.so.1.2.3.4
00b0e000-00b10000 r-xp 00000000 08:07 5638913    /usr/lib/libXau.so.6.0.0
00b10000-00b11000 r--p 00001000 08:07 5638913    /usr/lib/libXau.so.6.0.0
00b11000-00b12000 rw-p 00002000 08:07 5638913    /usr/lib/libXau.so.6.0.0
00b24000-00b52000 r-xp 00000000 08:07 5639188    /usr/lib/libfontconfig.so.1.4.4
00b52000-00b53000 r--p 0002d000 08:07 5639188    /usr/lib/libfontconfig.so.1.4.4
00b53000-00b54000 rw-p 0002e000 08:07 5639188    /usr/lib/libfontconfig.so.1.4.4
00b84000-00b94000 r-xp 00000000 08:07 2106020    /lib/libresolv-2.12.1.so
00b94000-00b95000 r--p 00010000 08:07 2106020    /lib/libresolv-2.12.1.so
00b95000-00b96000 rw-p 00011000 08:07 2106020    /lib/libresolv-2.12.1.so
00b96000-00b98000 rw-p 00000000 00:00 0 
00cf2000-00cf6000 r-xp 00000000 08:07 5638924    /usr/lib/libXdmcp.so.6.0.0
00cf6000-00cf7000 r--p 00003000 08:07 5638924    /usr/lib/libXdmcp.so.6.0.0
00cf7000-00cf8000 rw-p 00004000 08:07 5638924    /usr/lib/libXdmcp.so.6.0.0
00d4e000-00dc0000 r-xp 00000000 08:07 5637713    /usr/lib/libfreetype.so.6.6.0
00dc0000-00dc4000 r--p 00071000 08:07 5637713    /usr/lib/libfreetype.so.6.6.0
00dc4000-00dc5000 rw-p 00075000 08:07 5637713    /usr/lib/libfreetype.so.6.6.0
00e93000-00e94000 r-xp 00000000 00:00 0          [vdso]
00f48000-00f6b000 r-xp 00000000 08:07 2097301    /lib/libpng12.so.0.44.0
00f6b000-00f6c000 r--p 00022000 08:07 2097301    /lib/libpng12.so.0.44.0
00f6c000-00f6d000 rw-p 00023000 08:07 2097301    /lib/libpng12.so.0.44.0
08048000-0835d000 r-xp 00000000 08:06 5884399    /home/tofue/smaug/afkmud/src/afkmud
0835d000-0835e000 r--p 00314000 08:06 5884399    /home/tofue/smaug/afkmud/src/afkmud
0835e000-08362000 rw-p 00315000 08:06 5884399    /home/tofue/smaug/afkmud/src/afkmud
08362000-084b9000 rw-p 00000000 00:00 0 
0a367000-0a63a000 rw-p 00000000 00:00 0          [heap]
b786b000-b7871000 rw-p 00000000 00:00 0 
b7888000-b788a000 rw-p 00000000 00:00 0 
bfedd000-bfefe000 rw-p 00000000 00:00 0          [stack]
Aborted

B) When I attempt to run */src/startup or */startup.sh from either bash or csh

tofue@Ectonut:~/smaug/afkmud/src$ csh ./startup
^M: Command not found.
^M: Command not found.
: No such file or directory.
tofue@Ectonut:~/smaug/afkmud/tofue@Ectonut:~/smaug/afkmud/src$ ./startup.sh
bash: ./startup.sh: /bin/bash^M: bad interpreter: No such file or directory
tofue@Ectonut:~/smaug/afkmud/src$ 
src$ 





tofue@Ectonut:~/smaug/afkmud/src$ ./startup.sh
bash: ./startup.sh: /bin/bash^M: bad interpreter: No such file or directory
tofue@Ectonut:~/smaug/afkmud/src$ 



tofue@Ectonut:~/smaug/afkmud/src$ ./startup.sh -n 5100
bash: ./startup.sh: /bin/bash^M: bad interpreter: No such file or directory
tofue@Ectonut:~/smaug/afkmud/src$ 




As you can see, the "M' or "^M" character keeps showing up, and I'm guessing I need to either do something for locale (I don't know what or where to start) or read the directions better.. :p


Second bug:
While frolicking about on the Isle of The One, slaying this and that, I ran into a couple of bugs:
tofue@Ectonut:~/smaug/afkmud/src$ ./afkmud 5100
Checking for required directories...
Fri Feb 25, 2011 1:42:17 AM CST :: Directory check passed.
Fri Feb 25, 2011 1:42:17 AM CST :: Booting Database
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Fri Feb 25, 2011 1:42:17 AM CST :: [*****] BOOT: ---------------------[ Boot Log ]--------------------
Fri Feb 25, 2011 1:42:17 AM CST :: Database bootup starting.
Fri Feb 25, 2011 1:42:17 AM CST :: Loading sysdata configuration...
Fri Feb 25, 2011 1:42:17 AM CST :: Initializing libdl support...
Fri Feb 25, 2011 1:42:17 AM CST :: Verifying existence of login greeting...
Fri Feb 25, 2011 1:42:17 AM CST :: Login greeting located.
Fri Feb 25, 2011 1:42:17 AM CST :: Loading commands...
Fri Feb 25, 2011 1:42:17 AM CST :: Loading spec_funs...
Fri Feb 25, 2011 1:42:17 AM CST :: Loading helps...
Fri Feb 25, 2011 1:42:17 AM CST :: Loading channels...
Fri Feb 25, 2011 1:42:17 AM CST :: Loading overland maps...
Fri Feb 25, 2011 1:42:17 AM CST :: Initializing map grid array....
Fri Feb 25, 2011 1:42:17 AM CST :: Loading continent of One.....
Fri Feb 25, 2011 1:42:18 AM CST :: Loading overland map exits....
Fri Feb 25, 2011 1:42:18 AM CST :: Loading overland landmarks....
Fri Feb 25, 2011 1:42:18 AM CST :: Loading landing sites....
Fri Feb 25, 2011 1:42:18 AM CST :: Loading socials...
Fri Feb 25, 2011 1:42:18 AM CST :: Loading skill table...
Fri Feb 25, 2011 1:42:18 AM CST :: Sorting skill table...
Fri Feb 25, 2011 1:42:18 AM CST :: Remapping slots to sns...
Fri Feb 25, 2011 1:42:18 AM CST :: Loading classes
Fri Feb 25, 2011 1:42:18 AM CST :: Loading races
Fri Feb 25, 2011 1:42:18 AM CST :: Loading Connection History
Fri Feb 25, 2011 1:42:18 AM CST :: Loading liquid table
Fri Feb 25, 2011 1:42:18 AM CST :: Loading mixture table
Fri Feb 25, 2011 1:42:18 AM CST :: Loading herb table
Fri Feb 25, 2011 1:42:18 AM CST :: Loading tongues
Fri Feb 25, 2011 1:42:18 AM CST :: Loading quest bit tables
Fri Feb 25, 2011 1:42:18 AM CST :: [*****] BUG: load_abits: Cannot open abit file.
Fri Feb 25, 2011 1:42:18 AM CST :: [*****] BUG: load_qbits: Cannot open qbit file.
Fri Feb 25, 2011 1:42:18 AM CST :: Initializing random number generator
Fri Feb 25, 2011 1:42:18 AM CST :: Setting Astral Walk target room
Fri Feb 25, 2011 1:42:18 AM CST :: Setting time and weather
Fri Feb 25, 2011 1:42:18 AM CST :: Loading holiday chart...
Fri Feb 25, 2011 1:42:18 AM CST :: Assigning gsn's
Fri Feb 25, 2011 1:42:18 AM CST :: Loading DNS cache...
Fri Feb 25, 2011 1:42:18 AM CST :: Loading slay table...
Fri Feb 25, 2011 1:42:18 AM CST :: Reading in area files...
Fri Feb 25, 2011 1:42:18 AM CST :: void.are            : Version 1   Vnums: 11000 - 11999
Fri Feb 25, 2011 1:42:18 AM CST :: entry.are           : Version 1   Vnums:   100 - 199  
Fri Feb 25, 2011 1:42:18 AM CST :: astral.are          : Version 1   Vnums:  4350 - 4449 
Fri Feb 25, 2011 1:42:18 AM CST :: gwyn.are            : Version 1   Vnums:  2850 - 2949 
Fri Feb 25, 2011 1:42:18 AM CST :: catacombs.are       : Version 1   Vnums:  1950 - 2099 
Fri Feb 25, 2011 1:42:18 AM CST :: rtower.are          : Version 1   Vnums:  7700 - 7799 
Fri Feb 25, 2011 1:42:18 AM CST :: one.are             : Version 1   Vnums: 50000 - 50499
Fri Feb 25, 2011 1:42:18 AM CST :: immtrain.are        : Version 1   Vnums: 21100 - 21299
Fri Feb 25, 2011 1:42:18 AM CST :: Loading ships...
Fri Feb 25, 2011 1:42:18 AM CST :: Loading runes...
Fri Feb 25, 2011 1:42:18 AM CST :: Loading runewords...
Fri Feb 25, 2011 1:42:18 AM CST :: Fixing exits...
Fri Feb 25, 2011 1:42:18 AM CST :: Loading clans...
Fri Feb 25, 2011 1:42:18 AM CST :: $
Fri Feb 25, 2011 1:42:18 AM CST :: Cleaning up clan data...
Fri Feb 25, 2011 1:42:18 AM CST :: Done clans
Fri Feb 25, 2011 1:42:18 AM CST :: Loading deities...
Fri Feb 25, 2011 1:42:18 AM CST :: Done deities
Fri Feb 25, 2011 1:42:18 AM CST :: Counting pfiles.....
Fri Feb 25, 2011 1:42:18 AM CST :: Pfile count completed.
Fri Feb 25, 2011 1:42:18 AM CST :: Total pfiles scanned: 1
Fri Feb 25, 2011 1:42:18 AM CST :: Total exempted pfiles: 0
Fri Feb 25, 2011 1:42:18 AM CST :: Updating rare item counts.....
Fri Feb 25, 2011 1:42:18 AM CST :: Checking player files....
Fri Feb 25, 2011 1:42:18 AM CST :: Checking corpses....
Fri Feb 25, 2011 1:42:18 AM CST :: Loading corpses...
Fri Feb 25, 2011 1:42:18 AM CST :: Making wizlist
Fri Feb 25, 2011 1:42:18 AM CST :: Building wizinfo
Fri Feb 25, 2011 1:42:18 AM CST :: Loading MSSP Data...
Fri Feb 25, 2011 1:42:18 AM CST :: Initializing area reset events...
Fri Feb 25, 2011 1:42:18 AM CST :: Loading auction sales list...
Fri Feb 25, 2011 1:42:18 AM CST :: No sales file found.
Fri Feb 25, 2011 1:42:18 AM CST :: Loading auction houses...
Fri Feb 25, 2011 1:42:18 AM CST :: Loading clan/guild shops...
Fri Feb 25, 2011 1:42:18 AM CST :: Loading prototype area files...
Fri Feb 25, 2011 1:42:18 AM CST :: Fixing prototype zone exits...
Fri Feb 25, 2011 1:42:18 AM CST :: Loading boards...
Fri Feb 25, 2011 1:42:18 AM CST :: Loading bans...
Fri Feb 25, 2011 1:42:18 AM CST :: Loading auth namelist...
Fri Feb 25, 2011 1:42:18 AM CST :: Loading Immortal Hosts...
Fri Feb 25, 2011 1:42:18 AM CST :: Loading Projects...
Fri Feb 25, 2011 1:42:18 AM CST :: Loading Morphs...
Fri Feb 25, 2011 1:42:18 AM CST :: Done.
Fri Feb 25, 2011 1:42:18 AM CST :: Loading weather vector data...
Fri Feb 25, 2011 1:42:18 AM CST :: Initializing area weather data...
Fri Feb 25, 2011 1:42:18 AM CST :: Area weather data initialized.
Fri Feb 25, 2011 1:42:18 AM CST :: Registering chess packet handler...
Fri Feb 25, 2011 1:42:18 AM CST :: Database bootup completed.
Fri Feb 25, 2011 1:42:18 AM CST :: Initializing main socket
Fri Feb 25, 2011 1:42:18 AM CST :: Main socket initialized
Fri Feb 25, 2011 1:42:18 AM CST :: AFKMud ready on port 5100.
Fri Feb 25, 2011 1:42:18 AM CST :: IMC: Loading IMC2 command table...
Fri Feb 25, 2011 1:42:18 AM CST :: IMC: Loading IMC2 network data...
Fri Feb 25, 2011 1:42:18 AM CST :: IMC: Loading IMC2 help file...
Fri Feb 25, 2011 1:42:18 AM CST :: IMC: Loading IMC2 color table...
Fri Feb 25, 2011 1:42:18 AM CST :: IMC: IMC2 network data loaded.
Fri Feb 25, 2011 1:42:18 AM CST :: IMC: IMC2 Network Initializing...
Fri Feb 25, 2011 1:42:18 AM CST :: IMC: ipv4_connect: Cannot resolve server hostname.
Fri Feb 25, 2011 1:42:18 AM CST :: IMC: Shutting down network.
Fri Feb 25, 2011 1:42:19 AM CST :: No people online yet. Suspending autonomous update handlers.
Fri Feb 25, 2011 1:42:24 AM CST :: Waking up autonomous update handlers.
Fri Feb 25, 2011 1:42:27 AM CST :: Incoming connection: localhost.localdomain, port 57472.
Fri Feb 25, 2011 1:42:27 AM CST :: Preloading player data for: Admin
Fri Feb 25, 2011 1:42:29 AM CST :: Loading player data for Admin (39K)
Fri Feb 25, 2011 1:42:29 AM CST :: Admin [localhost.localdomain] has connected.
Fri Feb 25, 2011 1:42:31 AM CST :: Xterm client detected for Admin.
Fri Feb 25, 2011 1:42:31 AM CST :: Admin returns from beyond the void.
Fri Feb 25, 2011 1:43:07 AM CST :: [*****] BUG: generate_rune: Rune data not found? Something bad happened!
Fri Feb 25, 2011 1:43:07 AM CST :: Obtained 15 stack frames.
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z3bugPKcz+0x14e) [0x816dc8f]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z13generate_runes+0xe5) [0x82763eb]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z17generate_treasureP9char_dataP8obj_data+0x1f0) [0x827ca26]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z11make_corpseP9char_dataS0_+0xa8) [0x819959b]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z8raw_killP9char_dataS0_+0x1e7) [0x8199967]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z6damageP9char_dataS0_di+0x1559) [0x819b2c5]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z7one_hitP9char_dataS0_i+0xb49) [0x819c465]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z9multi_hitP9char_dataS0_i+0xa2) [0x819cbae]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(do_kill+0x30a) [0x819d144]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z9interpretP9char_dataSs+0x1465) [0x815ffbf]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z13process_inputv+0x2dc) [0x815adcc]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z9game_loopv+0x6f) [0x815b4e1]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(main+0x217) [0x815c18e]
Fri Feb 25, 2011 1:43:07 AM CST :: /lib/libc.so.6(__libc_start_main+0xe7) [0x1ffce7]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud() [0x8076651]
Fri Feb 25, 2011 1:43:07 AM CST :: [*****] BUG: generate_treasure: Rune object failed to create!
Fri Feb 25, 2011 1:43:07 AM CST :: Obtained 14 stack frames.
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z3bugPKcz+0x14e) [0x816dc8f]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z17generate_treasureP9char_dataP8obj_data+0x20a) [0x827ca40]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z11make_corpseP9char_dataS0_+0xa8) [0x819959b]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z8raw_killP9char_dataS0_+0x1e7) [0x8199967]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z6damageP9char_dataS0_di+0x1559) [0x819b2c5]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z7one_hitP9char_dataS0_i+0xb49) [0x819c465]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z9multi_hitP9char_dataS0_i+0xa2) [0x819cbae]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(do_kill+0x30a) [0x819d144]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z9interpretP9char_dataSs+0x1465) [0x815ffbf]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z13process_inputv+0x2dc) [0x815adcc]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(_Z9game_loopv+0x6f) [0x815b4e1]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud(main+0x217) [0x815c18e]
Fri Feb 25, 2011 1:43:07 AM CST :: /lib/libc.so.6(__libc_start_main+0xe7) [0x1ffce7]
Fri Feb 25, 2011 1:43:07 AM CST :: ./afkmud() [0x8076651]
Fri Feb 25, 2011 1:43:13 AM CST :: Admin has quit.
Fri Feb 25, 2011 1:43:13 AM CST :: No more people online. Autonomous actions suspended.


The in-game output is:
[29997hp 30836m 30002mv]  [1exp] k s
Your slash *** ANNIHILATES *** The Seven of Clubs!
The Seven of Clubs is DEAD!!
You receive 42 experience points.
The Seven of Clubs's severed head plops from its neck.
Bugs: [*****] BUG: generate_rune: Rune data not found? Something bad happened!
Bugs: Obtained 15 stack frames.
Bugs: ./afkmud(_Z3bugPKcz+0x14e) [0x816dc8f]
Bugs: ./afkmud(_Z13generate_runes+0xe5) [0x82763eb]
Bugs: ./afkmud(_Z17generate_treasureP9char_dataP8obj_data+0x1f0) [0x827ca26]
Bugs: ./afkmud(_Z11make_corpseP9char_dataS0_+0xa8) [0x819959b]
Bugs: ./afkmud(_Z8raw_killP9char_dataS0_+0x1e7) [0x8199967]
Bugs: ./afkmud(_Z6damageP9char_dataS0_di+0x1559) [0x819b2c5]
Bugs: ./afkmud(_Z7one_hitP9char_dataS0_i+0xb49) [0x819c465]
Bugs: ./afkmud(_Z9multi_hitP9char_dataS0_i+0xa2) [0x819cbae]
Bugs: ./afkmud(do_kill+0x30a) [0x819d144]
Bugs: ./afkmud(_Z9interpretP9char_dataSs+0x1465) [0x815ffbf]
Bugs: ./afkmud(_Z13process_inputv+0x2dc) [0x815adcc]
Bugs: ./afkmud(_Z9game_loopv+0x6f) [0x815b4e1]
Bugs: ./afkmud(main+0x217) [0x815c18e]
Bugs: /lib/libc.so.6(__libc_start_main+0xe7) [0x1ffce7]
Bugs: ./afkmud() [0x8076651]
Bugs: [*****] BUG: generate_treasure: Rune object failed to create!
Bugs: Obtained 14 stack frames.
Bugs: ./afkmud(_Z3bugPKcz+0x14e) [0x816dc8f]
Bugs: ./afkmud(_Z17generate_treasureP9char_dataP8obj_data+0x20a) [0x827ca40]
Bugs: ./afkmud(_Z11make_corpseP9char_dataS0_+0xa8) [0x819959b]
Bugs: ./afkmud(_Z8raw_killP9char_dataS0_+0x1e7) [0x8199967]
Bugs: ./afkmud(_Z6damageP9char_dataS0_di+0x1559) [0x819b2c5]
Bugs: ./afkmud(_Z7one_hitP9char_dataS0_i+0xb49) [0x819c465]
Bugs: ./afkmud(_Z9multi_hitP9char_dataS0_i+0xa2) [0x819cbae]
Bugs: ./afkmud(do_kill+0x30a) [0x819d144]
Bugs: ./afkmud(_Z9interpretP9char_dataSs+0x1465) [0x815ffbf]
Bugs: ./afkmud(_Z13process_inputv+0x2dc) [0x815adcc]
Bugs: ./afkmud(_Z9game_loopv+0x6f) [0x815b4e1]
Bugs: ./afkmud(main+0x217) [0x815c18e]
Bugs: /lib/libc.so.6(__libc_start_main+0xe7) [0x1ffce7]
Bugs: ./afkmud() [0x8076651]
The corpse of The Seven of Clubs contains:
A pair of black stockings
Items with a * after them have other items stored inside.

[29997hp 30836m 30002mv]  [1exp] 
The Eight of Clubs leaves west.

[29997hp 30836m 30002mv]  [1exp] quit
You make a hasty break for the confines of reality...
A strange voice says, 'We await your return, Admin...'

Comm: Admin has quit.

 "All things being equal, the simplest answer is usually the correct one" - Occam's Razor
Connection closed by foreign host.
tofue@Ectonut:~$ 


I'm not even sure if the two bug sources are related to the possible character encoding issue I'm suspecting... Am I on the right track, or should I change my logic and approach? :ninja:

Thanks in advance for whatever advice could be provided! :biggrin:

PS: I'm sure everyone's aware, but just in case.. the smiley inserts are resetting the frame all the way back to the top :tongue:

Post is unread #2 Feb 25, 2011 11:56 am   
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

 
Did you edit anything on a Windows machine before putting on the Linux server?

Post is unread #3 Feb 25, 2011 2:26 pm   
Go to the top of the page
Go to the bottom of the page

ToFue
Fledgling
GroupMembers
Posts4
JoinedFeb 23, 2011

 
I natively use ubuntu desktop on my laptop; I downloaded from this site, gunziped & tar -xf on this machine.. I only use my windows workstation for audio/video editing.
I don't plan to deploy to a remote site any time soon. If I can get everything working, I was fancying that I can have it run concurrently with on my foreign server & use ssh tunnel for telnet?.. kinda like 'whistle while you work' in the group :innocent:

On a second note, do I need to rm anything like .o's when I recompile the source? (i foresee recompilation happening quite a few times :blink: )

Post is unread #4 Feb 25, 2011 4:48 pm   
Go to the top of the page
Go to the bottom of the page

Aurin
Magician
GroupMembers
Posts189
JoinedSep 5, 2010

 
I can at least answer your last question: No. You don't need to remove the .o files, as they'll automatically be removed/replaced upon compile/recompile. :)

Post is unread #5 Feb 25, 2011 5:38 pm   
Go to the top of the page
Go to the bottom of the page

ToFue
Fledgling
GroupMembers
Posts4
JoinedFeb 23, 2011

 
hehe, thanks :p

Post is unread #6 Feb 25, 2011 9:09 pm   
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,914
JoinedJul 26, 2005

 
The ^M is a windows thing and will cause issues, It has been ages so I don't remember the syntax for changing it from windows to unix format. I'm sure someone else can tell you the command though.

The copyright symbol is suppose to be used in help.dat because Samson wanted to get away from using ~ and having to change it to - and chang it back etc.... He choose it because it isn't on as a standard button. Copy and paste work great for editing help files manually for that one.

As was pointed out the .o files are fine and it takes care of them.

The startup file is in windows format so have to see the first thing about fixing that issue and then it should work fine.

I have no clue on the second bug one right off, since it has been ages since I messed with AFK.

Post is unread #7 Feb 25, 2011 9:11 pm   
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,914
JoinedJul 26, 2005

 
Oh and almost forgot, the best I could tell on the thing about the help files is that it is probably just extra spaces between the last part and the new line, I remember seeing lots of them over time in help files and a quick editing of the help.dat manually and just removing extra spaces at the end tends to fix the issue.

Post is unread #8 Feb 25, 2011 9:12 pm   
Go to the top of the page
Go to the bottom of the page

InfiniteAxis
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006

 
dos2unix or something like that will convert files to unix formats.

Post is unread #9 Feb 26, 2011 1:53 am   
Go to the top of the page
Go to the bottom of the page

Xerix
Fledgling
GroupMembers
Posts15
JoinedDec 2, 2009

 
Pico/nano can be used to convert the files between unix/dos/mac format.
Although I've never personally used it for this purpose, but I know of someone
else that had a problem because they unintentionally kept saving files in dos format.

once you've done ctrl+x, then Y or yes, you can do alt+D to change to dos/ or from dos to unix.

Maybe that will help *shrug*

GL :smile: :smile:

Pages:<< prev 1 next >>