Login
User Name:

Password:



Register

Forgot your password?
Any Smaug muds running?
Nov 11, 2024 8:28 pm
By eldhamud
Space.c Commented out section
Oct 28, 2024 4:48 am
By Remcon
SmaugFUSS 1.8/1.9
Sep 21, 2024 5:04 am
By Elwood
Bug: char_check( )
Aug 31, 2024 12:27 am
By GatewaySysop
Bug: move_char( )
Aug 30, 2024 3:52 am
By GatewaySysop
Discord Websocket Server
Author: Khonsu
Submitted by: Khonsu
Mapout Fix
Author: Khonsu
Submitted by: Khonsu
Progfind command
Author: Khonsu
Submitted by: Khonsu
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
Users Online
Bing

Members: 0
Guests: 8
Stats
Files
Topics
Posts
Members
Newest Member
492
3,804
19,671
586
MADEiUM

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » Codebases » SmaugFUSS » SmaugFUSS 1.8/1.9
Forum Rules | Mark all | Recent Posts

SmaugFUSS 1.8/1.9
< Newer Topic :: Older Topic > Mobs don't respawn.

Pages:<< prev 1 next >>
Post is unread #1 Aug 5, 2024 7:12 pm   
Go to the top of the page
Go to the bottom of the page

MADEiUM
Fledgling
GroupMembers
Posts5
JoinedAug 5, 2024

 
Its been a long time since I have messed with this and i have an area i created when i was way young and found it. dark chambers was my first mud and they are no longer around but i did it all in notepad/notepad++. i have been out of the loop and i have already figured out how to make areas using nicks area editor but i am not familiar with this new FUSS. i read what i can find in these forums but nothing to fix the problem. i could emulate ubuntu which i was trying to re-launch my old bbs but failed because dosemu2 is no longer supported for door games ETC ETC plus the fossil driver like x00, BNU, NetFOSS <------ i am getting old and i just want to get things working again. I want to reach out to someone so if you can, i will give you my email address below.

madeium33@gmail.com <---- i am sure you can look it up but just in case

-MADEiUM

Post is unread #2 Aug 6, 2024 7:59 pm   
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,923
JoinedJul 26, 2005

 
feel free to post what problem you are running into so we can help out :) Not sure who will be of help but hopefully one of us will be able to assist :)

Post is unread #3 Aug 7, 2024 4:09 pm   
Go to the top of the page
Go to the bottom of the page

MADEiUM
Fledgling
GroupMembers
Posts5
JoinedAug 5, 2024

 
Well I was having reset problems with the compiled exe version 1.9 under windows 10. I went ahead and create a VM of Lubuntu and was able to compile SmaugFUSS 1.9.4. after a few minutes it crashes. here is the log.

Wed Aug 7 13:39:18 2024 :: (Name Not Set) ready on port 4000.
=================================================================
==9177==ERROR: AddressSanitizer: global-buffer-overflow on address 0x64d9025a5574 at pc 0x64d902299d93 bp 0x7ffc17a108a0 sp 0x7ffc17a10890
READ of size 4 at 0x64d9025a5574 thread T0
#0 0x64d902299d92 in CalculateCellToCellChanges() /home/madeium/SmaugFUSS/src/weather.c:773
#1 0x64d9022a10b4 in UpdateWeather() /home/madeium/SmaugFUSS/src/weather.c:1222
#2 0x64d9022870c7 in update_handler() /home/madeium/SmaugFUSS/src/update.c:2073
#3 0x64d901feb133 in game_loop() /home/madeium/SmaugFUSS/src/comm.c:882
#4 0x64d901fe8c0b in main /home/madeium/SmaugFUSS/src/comm.c:532
#5 0x79c01f82a1c9 (/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9) (BuildId: 08134323d00289185684a4cd177d202f39c2a5f3)
#6 0x79c01f82a28a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 08134323d00289185684a4cd177d202f39c2a5f3)
#7 0x64d901e07304 in _start (/home/madeium/smaug194/src/smaug+0x17f304) (BuildId: e1fcc1b990bc4e9532068742e994e9103a63c4c7)

0x64d9025a5574 is located 12 bytes after global variable 'weatherMap' defined in 'weather.c:90:20' (0x64d9025a5400) of size 360
0x64d9025a5574 is located 44 bytes before global variable 'weatherDelta' defined in 'weather.c:103:20' (0x64d9025a55a0) of size 360
SUMMARY: AddressSanitizer: global-buffer-overflow /home/madeium/SmaugFUSS/src/weather.c:773 in CalculateCellToCellChanges()
Shadow bytes around the buggy address:
0x64d9025a5280: f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9
0x64d9025a5300: f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9
0x64d9025a5380: f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00
0x64d9025a5400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x64d9025a5480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x64d9025a5500: 00 00 00 00 00 00 00 00 00 00 00 00 00 f9[f9]f9
0x64d9025a5580: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00
0x64d9025a5600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x64d9025a5680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x64d9025a5700: 00 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9
0x64d9025a5780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
==9177==ABORTING
madeium@Lubuntu64:~/smaug194/src$

I am not familiar with unix. i just started learning and was able to get 1.9.4 using "git clone https://github.com/Arthmoor/SmaugFUSS"
i know it has something to do with comm.c and other .c files and i dont know how to work with them.

-MADEiUM

Post is unread #4 Aug 7, 2024 7:23 pm   
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,923
JoinedJul 26, 2005

 
sadly I dont know anything about Lubuntu but you can try to get it up and running using CYGWIN in windows and see if it gives something different I would think itll be rough to get started now days lol. The main line in that where the crash happened is weather.c line 773 and looks like its pointing to invalid information. the way i would deal with that is adding something to show me exactly everything its doing as its doing it when it comes to the function to see where it is going crazy.

Post is unread #5 Aug 7, 2024 7:44 pm   
Go to the top of the page
Go to the bottom of the page

MADEiUM
Fledgling
GroupMembers
Posts5
JoinedAug 5, 2024

 
the problem is that i can not get it running with cygwin64. every time i try to compile i get all sorts of error messages that i can not comprehend. i am not used to this and would like a little more help. might as well stick with 1.4a. i am not trying to create a world, my own personal hobby. my friend and I are trying to get the rights for tele-arena from the new owner that bought the rights and has the source and making a mess. we just want the original and branch off of that what we remembered as kids.

-MADEiUM

Post is unread #6 Aug 8, 2024 5:28 pm   
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,923
JoinedJul 26, 2005

 
I feel you it really depends on the compilers its running under and its why you are seeing all the error messages when trying to compile on cygwin lol. I wouldn't advise sticking with 1.4a it needed lots of work to even run what all was in it lol it was a great code to learn coding from though because just adding in all the bug fixes others posted taught me a lot. Post your errors and we can see if we can help navigate the errors on cygwin :)

Post is unread #7 Aug 19, 2024 12:07 am   
Go to the top of the page
Go to the bottom of the page

Elwood
Fledgling
GroupMembers
Posts10
JoinedMar 29, 2024

 
Why not use Ubuntu?
Enable windows subsystem for linux in windows system features and download ubuntu from microsoft store. it works out a lot better then cygwin i think.

Ubuntu setup

Post is unread #8 Aug 22, 2024 12:10 pm   Last edited Aug 22, 2024 12:25 pm by GatewaySysop
Go to the top of the page
Go to the bottom of the page

GatewaySysop
Conjurer
GroupMembers
Posts423
JoinedMar 7, 2005

 
MADEiUM said:

Well I was having reset problems with the compiled exe version 1.9 under windows 10. I went ahead and create a VM of Lubuntu and was able to compile SmaugFUSS 1.9.4. after a few minutes it crashes. here is the log.

==9177==ERROR: AddressSanitizer: global-buffer-overflow on address 0x64d9025a5574 at pc 0x64d902299d93 bp 0x7ffc17a108a0 sp 0x7ffc17a10890
READ of size 4 at 0x64d9025a5574 thread T0
#0 0x64d902299d92 in CalculateCellToCellChanges() /home/madeium/SmaugFUSS/src/weather.c:773
#1 0x64d9022a10b4 in UpdateWeather() /home/madeium/SmaugFUSS/src/weather.c:1222
#2 0x64d9022870c7 in update_handler() /home/madeium/SmaugFUSS/src/update.c:2073
#3 0x64d901feb133 in game_loop() /home/madeium/SmaugFUSS/src/comm.c:882
#4 0x64d901fe8c0b in main /home/madeium/SmaugFUSS/src/comm.c:532


That looks an awful lot like this issue:

https://github.com/Arthmoor/SmaugFUSS/issues/5

If you make the changes suggested there and recompile, that should hopefully solve your problem.

I don't personally use the new weather system in mine, so I have no direct experience, but I did see the above bug report on the GitHub for FUSS. Frankly speaking, I kept the stock weather and liquids handling because there were too many issues like this out of the box. It's understandable with a huge re-write, I'm not knocking the developer of those snippets, but I think it was a perhaps an error in judgment to include it in broader distributions without adequate testing. The fact that yours shits the bed within minutes of firing up a freshly compiled MUD kind of makes my point.

Post is unread #9 Aug 27, 2024 2:02 pm   
Go to the top of the page
Go to the bottom of the page

GatewaySysop
Conjurer
GroupMembers
Posts423
JoinedMar 7, 2005

 
I guess we have yet another shining example of ingratitude. :mad:

Person makes no effort to sort the problem themselves, comes here for help, receives solution with link to exact steps to correct the problem(s) and neither thanks nor even acknowledges the help. I even tried to email this person directly with the address provided above, didn't get a response that way either. :shrug:

And people wonder how members of the community get jaded and embittered to the point that they become reluctant to help anymore. :rolleyes:

Post is unread #10 Aug 31, 2024 2:16 am   
Go to the top of the page
Go to the bottom of the page

MADEiUM
Fledgling
GroupMembers
Posts5
JoinedAug 5, 2024

 
Sorry about that I took a break and didn't try the above link but, it is working now. What I did was cloned 1.9.4 (GitHub Arthmoor) then downloaded 1.9.4 from this site (Smaugmuds) and used the makefile from that. Compiled and everything seems to be fine. No crashes anymore. Stayed up all night. My area editor only works for smaug 1.4a area files so when I use the olc commands on say for instance (Midgard.are) adding programs to a mod using mpedit, it converts it to smaugfuss after saving the area. I am trying to figure out like the stats. There is stats1,stats2,stats3, and stats4. I just noticed this and I don't see any doc. For the new area format so I am just going to check make a new mob and use the area editor and compare the information I put in with the converted fuss one. Going to take time. Sorry for taking so long.

Post is unread #11 Aug 31, 2024 4:13 pm   
Go to the top of the page
Go to the bottom of the page

MADEiUM
Fledgling
GroupMembers
Posts5
JoinedAug 5, 2024

 
Yes that worked with the issue #5 link on github. I created a new install and compiled it with the changes i made in "weather.c". I have been running it for a long time and no crash. thank you GatewaySysop. I just need to figure out how to get used to OLC because i always used the area editor. looks like it would be easier to just use notepad++ but i need to get used to the SmaugFUSS format. Thanks again. :grinning:

Post is unread #12 Sep 21, 2024 5:04 am   
Go to the top of the page
Go to the bottom of the page

Elwood
Fledgling
GroupMembers
Posts10
JoinedMar 29, 2024

 
The olc isnt really hard..
redit, oedit, medit, mset, oset, rset, aset aedit, mpedit, opedit, rpedit (If mud has progs)

could do mset 1200 on to stay in editor and just do commands as needed.

Pages:<< prev 1 next >>