Pol 97 2006-09-16 Crash / more a question

Report core bugs regarding the Ultima Online Emulator Core release (version 097). You can attach your Core Dump. One bug per post.
Locked
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Pol 97 2006-09-16 Crash / more a question

Post by Pierce »

I have written a script to move multis. I moved a test multi around on green acres and that worked fine. Then i tried another position 4115, 2179 as you can see in the quote the server crashed that time.
[10/24 15:52:31] MoveItemWorldPosition: item 0x69a5839e at old-x/y(5910,147 - britannia) new-x/y(4115,2179 - britannia) does not exist in world zone.
Assertion Failed: itr != oldzone.items.end(), pol/uworld.cpp, line 194
Forcing stack backtrace.
Shutting down due to assertion failure.
Caught SIGSEGV (Segfault). Please mail the following to pol-core-test:
=== CUT ===
Build: POL097-2006-09-16 Coregina (gentoo)
Last Script: scripts/textcmd/admin/test.ecl PC: 394
Stack Backtrace:
[0x824311b]
[0x82575fb]
[0x829f698]
[0x8218ef3]
[0x81449a0]
[0x8144d48]
[0x810c023]
[0x8246ea9]
I don't think there is a need to fix something but i have a question:
What does "MoveItemWorldPosition: item 0x69a5839e at old-x/y(5910,147 - britannia) new-x/y(4115,2179 - britannia) does not exist in world zone." exactly mean? Because the multi (0x69a5839e) exists inside britannia world area. And movement about 20-30 fields on green acres worked fine. So i have no clue what world zone means in this case :wink:

Edit: Dump added
Attachments
POL097-2006-10-25 Coregina-20061026122905-0.dmp
(18.29 KiB) Downloaded 354 times
Last edited by Pierce on Fri Oct 27, 2006 3:50 am, edited 1 time in total.
Xadhoom
Neophyte Poster
Posts: 30
Joined: Fri May 26, 2006 12:53 am

Post by Xadhoom »

i've already found this "bug" moving houses around, i think it' because the world is divided in squares, when moving if you move out of the original one where the house/multi was originally placed, this causes pol to crash. Except for boats of course :grin:
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

Well you're not supposed to be able to move multis other than boats.
This occurs because a multis is considered a part of the item class and lets it be processed in that manner. Ill work on a fix for this in 097 to try to let multis be properly moved and block it in 096.x when Shini does an official build.
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Post by Pierce »

Austin wrote: Ill work on a fix for this in 097 to try to let multis be properly moved...
This would be really great, Austin. I added a .dmp file of a crash when you move the "multi item" more than 32 tiles from its original location. Perhaps that will help.

I think if i would move it lets say 30 tiles and then restart the server i could move it another up to 32 tiles. Never tested that, i think i will try this in the evening.
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

Yeah.. its because its moving it as an item, and not as a multi.
Theres no real way (yet) for multis to be moved (boats are different).
In future builds, when you try to move a house itll say "Not yet supported." until it is.
:P
Locked