THE SERVER HAS CRASH! oh noes. i was looking at the arty display in gate library and suddenly io was pwnt. *sad face*
Archived topic from AOV, old topic ID:3384, old post ID:21607
CRASH!!
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
CRASH!!
Yeah I just found out what it is, another good example of RunUO's lack of planing. Most if all of the code is thread unsafe which means if there are two threads running such as the main thread and a timer (such as damage delay) if two lines of code are executed in a certain order it can crash.
ex:
if(creature!=null)creature.dosomething();
But say during the if statement the creature is not null it returns true, but meanwhile in another thread something happens and that creature becomes null but it has not executed creature.dosomething() yet then when it does go to execute that - CRASH.
It's not exactly whats happening in this case but that example is simpler then the current situation here.
Archived topic from AOV, old topic ID:3384, old post ID:21608
ex:
if(creature!=null)creature.dosomething();
But say during the if statement the creature is not null it returns true, but meanwhile in another thread something happens and that creature becomes null but it has not executed creature.dosomething() yet then when it does go to execute that - CRASH.
It's not exactly whats happening in this case but that example is simpler then the current situation here.
Archived topic from AOV, old topic ID:3384, old post ID:21608
Honk if you love Jesus, text if you want to meet Him!
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
CRASH!!
The crash has now been fixed.
Archived topic from AOV, old topic ID:3384, old post ID:21612
Archived topic from AOV, old topic ID:3384, old post ID:21612
Honk if you love Jesus, text if you want to meet Him!