Language: 
To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.

Author Topic:  Lost Skills/Levels  (Read 452972 times)

0 Members and 0 Guests are viewing this topic.

Shroud

« on: 07, December 2013, 10:52:57 »
I'm sure I saw it in a previous thread that I can't see to locate but I've managed to get same thing.

Crim has losts loads of levels (is currently a drained lvl 21), has no skills, no god and has unequipped his weapon (presumably due to losing his knowledge in skill). He is still wearing his lvl 70 req orange dragon hallo armour

As far as how I got it there are two options
1. I initially saw there was one person in test server, logged in to offer to help and saw I was alone and there was a usual map error. I then logged on to main and got a potion error map face animation or something like that and saw everything was gone
2. I was recently used as a guinea pig for experiments and something may have gone wrong...

I'll also note that it seems to be character specific as I checked a low level alt and it was fine, although I don't want to risk too many chars  :laugh:
Doesn't matter, you'd die anyway. ;D Shroud's a hacker. After many hours of deep thought I have came to that conclusion.

clobber

« Reply #1 on: 07, December 2013, 11:47:32 »
Was that today?

It wouldn't have been related to me fiddling with the DMBuster (which btw is very broken so I'm going to start fixing it tomorrow). I'm also reluctant to think it's #1 because they store the player files on different servers so they shouldn't affect eachother.

Catch me next time you're in game and I'll restore your levels and such...
Posted by Clobber

Collector Of Burnt out torches, 0 and Counting.

,-.  ___ ,-.
 \/ .   .  \ / 
(___O___)
 /  \      /   )
 ( ||       || )
  000     000
Woof, Woof!

Quote from: Longir
I use caution, fear is a distraction

Shroud

« Reply #2 on: 07, December 2013, 11:53:24 »
It was indeed. Time after I logged out although I didn't want to explicitly mention fiddling :P
Doesn't matter, you'd die anyway. ;D Shroud's a hacker. After many hours of deep thought I have came to that conclusion.

smacky

« Reply #3 on: 07, December 2013, 15:32:14 »
An SA should be able to restore your skills.

You've unapplied your weapon because you no longer have the right skill. This was changed as a result of the previous thread because each time fix_player() finds a weapon applied without the appropriate skill it logs a bug, which leads to a bug flood = crash soon enough.

This isn't the case with armours, etc.

That said, I'm not totally clear but is this test we're talking about? If so, none of the above counts. To get your skills back I'm not sure if /setskill will work. Try /dm_dev then talk to Skillgiver on that map.

Either way, to get your god back (permanently) first get dp then apply an altar.

_people_

« Reply #4 on: 07, December 2013, 18:12:45 »
I think he's talking about Main.

This bug appeared a while back but I thought it was fixed. Unfortunately I don't know anything about it. https://www.daimonin.org/forums/main-server/levels-gone

Existing players who weren't hit by the bug back then are now experiencing it.
-- _people_ :)

smacky

« Reply #5 on: 07, December 2013, 18:32:29 »
Yeah it wwas fixed. But something is happening again? Check tech logs cos they're quite detailed re skills ATM so it should be quite obvious where it is happrning. Last time it was caused by a missing .art file (no idea why but I guess it's more to do with things then being in the wrong place in memory).

_people_

« Reply #6 on: 07, December 2013, 19:00:51 »
Code: [Select]
LUA - event:10 file:>flame_geyser.lua< o1:>>NULL PTR<< o2:>flame geyser timer< o3:>>NULL PTR<< text:>>NULL STR<< i1:0 i2:0 i3:0 i4:0
PLAYER: ./data/players/c/cr/Crim/Crim.pl
load obj for player: Crim
==305== Invalid read of size 1
==305==    at 0x41008A: string_key_equals (hashfunc.c:306)
==305==    by 0x40FBAF: hashtable_find_position (hashtable.c:518)
==305==    by 0x40F1C5: hashtable_find (hashtable.c:234)
==305==    by 0x4071CD: find_archetype (arch.c:631)
==305==    by 0x422CD2: lex_load (loader.l:144)
==305==    by 0x422D5C: lex_load (loader.l:154)
==305==    by 0x422D5C: lex_load (loader.l:154)
==305==    by 0x42DDBD: load_object (loader.l:765)
==305==    by 0x49ED58: player_load (login.c:661)
==305==    by 0x4DAED1: cs_cmd_addme (commands.c:1497)
==305==    by 0x4DC762: pre_process_command (loop.c:173)
==305==    by 0x4DCB20: socket_prepare_commands (loop.c:365)
==305==  Address 0x5f46744 is 4 bytes inside a block of size 16 free'd
==305==    at 0x4C245E2: realloc (vg_replace_malloc.c:525)
==305==    by 0x80AEAF1: luaM_realloc (lmem.c:76)
==305==    by 0x80B40D6: setarrayvector (ltable.c:240)
==305==    by 0x80B437C: resize (ltable.c:288)
==305==    by 0x80B45C0: rehash (ltable.c:316)
==305==    by 0x80B48CB: newkey (ltable.c:409)
==305==    by 0x80B4BF8: luaH_set (ltable.c:493)
==305==    by 0x80B6311: luaV_settable (lvm.c:172)
==305==    by 0x80B79D7: luaV_execute (lvm.c:493)
==305==    by 0x80AC0E7: resume (ldo.c:343)
==305==    by 0x80AB0FF: luaD_rawrunprotected (ldo.c:87)
==305==    by 0x80AC271: lua_resume (ldo.c:370)
==305==
created Singularity: quest_info
created Singularity: quest_info
created Singularity: quest_info
created Singularity: quest_info
Linking skills and skillgroups to player Crim...
  Found skill Two-hand Mastery with exp=0, level=21: OK!
  Found skill Divine Prayers with exp=1024000, level=12: OK!
  Found skill Wizardry Spells with exp=0, level=1: OK!
Validating skills and skillgroups for player Crim...
  Adding default skillgroup agility!
  Adding default skillgroup personality!
  Adding default skillgroup mental!
  Adding default skillgroup physique!
  Adding default skillgroup magic!
  Adding default skillgroup wisdom!
  Adding default skillgroup misc!
Finding best skills of player Crim...
  In skillgroup physique is Two-hand Mastery with exp=0, level=21!
  In skillgroup magic is Wizardry Spells with exp=0, level=1!
  In skillgroup wisdom is Divine Prayers with exp=1024000, level=12!
BUG: fix_player(): player Crim has weapon selected but not the skill #6!!!
Send new_player(): socket 6
INFO:: Load map >/planes/demon_plane/captured_stronghold/captured_stronghold_a_0103<... INFO:: get_online_players_info was called and all buffers were reset.
INFO:: Load map >/planes/demon_plane/captured_stronghold/captured_stronghold_a_0203<... LUA - event:10 file:>flame_geyser.lua< o1:>>NULL PTR<< o2:>flame geyser timer< o3:>>NULL PTR<< text:>>NULL STR<< i1:0 i2:0 i3:0 i4:0
LUA - event:10 file:>flame_geyser.lua< o1:>>NULL PTR<< o2:>flame geyser timer< o3:>>NULL PTR<< text:>>NULL STR<< i1:0 i2:0 i3:0 i4:0

Not sure what's going on here.
-- _people_ :)

smacky

« Reply #7 on: 07, December 2013, 19:10:48 »
Nor am I but this is just like previously with the Singularity stuff. So I'm guessing Crim has an artefact for which the definition is no longer being loaded.

_people_

« Reply #8 on: 07, December 2013, 19:12:35 »
Jammie just logged in and told me that it happened to her as well. I know she's logged in and out several times since the original bug, so it's probably not residual effects.

I'm working on adding some debug information to Main so that this time we can find the problem in the code instead of just fixing the artifacts or whatever it was last time.

EDIT: So Xerious caught the bug, unfortunately that debug info didn't show up in this case so I guess that area of code is fine...
« Last Edit: 07, December 2013, 23:35:20 by _people_ »
-- _people_ :)

smacky

« Reply #9 on: 08, December 2013, 00:21:28 »
Yes IIRC (and I think I do) the immediate cause of the bug was a missing .art file (there was also a missing .tl but I don't think this did it). This triggered some bad behaviour in some (old) code which ultimately borked several player's skill objects.

I think it was coincidence that I had just recently done extensive work on how skills are handled.

Also coincidentally I had just sttarted rewriting the /setskill command when this bug broke (and committed nothing). So when I did commit the new code it was easy for SAs to fix things.

It was actually replacing the .art that fixed the bug.

Now that all came about because of the hallo maps/event so perhaps someone has done something similar for xmas?

Obliterator

« Reply #10 on: 08, December 2013, 00:43:54 »
Xmas maps aren't up yet, nor have I committed any of my changes to Daiserv.
heh

Joe

« Reply #11 on: 08, December 2013, 01:12:41 »
Peanut gallery comment: I notice both times we've had this bug, right before it happened we placed a portal to jump to a holiday map.
I'm probably wrong but maybe someone could peak at the code in this area?
Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

clobber

« Reply #12 on: 08, December 2013, 10:22:55 »
Those portals leading to maps are the same set-up as for maps leading to the Demon Plane, so I'm inclined to think not or it would have been happening forever..

Posted by Clobber

Collector Of Burnt out torches, 0 and Counting.

,-.  ___ ,-.
 \/ .   .  \ / 
(___O___)
 /  \      /   )
 ( ||       || )
  000     000
Woof, Woof!

Quote from: Longir
I use caution, fear is a distraction

Shroud

« Reply #13 on: 08, December 2013, 13:42:04 »
Well I've had it hitting 4 characters in total. 3 got it upon logging in and one of them got it when I transferred belt from special material quest from Crim to Shroud.

I'll note that lvl 110s seem to keep main level while ones under it seem to be drained (e.g. lvl 80something to 21, lvl 9 to 1 etc)

EDIT: Seems even clobber can't fix it all. Well as far as what's broken it's as follows:
Skills lost e.g. Slash weapons, literacy etc
Skill groups reset to lvl 1
Quests Reset/Completed - All quest data is reset. A few in progress auto-completed
1-Drops reset - Things like Rhun's cloak drop again
Atheism - You lose your god, making it hard to cast prayers
Guilds lost

It seems it's also hard to fix skill groups. For example my level for Wi is stuck at 1 when my divine prayers is at 110 giving me 22 grace. It also seems that set skill doesn't reset it. It should also be noted that when someone is lowered to lvl 1 and put back to 110 that if they were perfect they no longer are when put back up

Chars hit = Crim, Shroud, Sneezy, Crimmy
« Last Edit: 08, December 2013, 14:07:44 by Shroud »
Doesn't matter, you'd die anyway. ;D Shroud's a hacker. After many hours of deep thought I have came to that conclusion.

smacky

« Reply #14 on: 08, December 2013, 13:59:21 »
OK First lets establish who is affected and when it first started. We know about Crim. _people_ mentioned others. So?

Just search the tech logs for 'singularity' (case insensitive). 20131207 (current ones) has a few hits:

INFO:: Load map >/planes/demon_plane/catacombs/catacombs-a-0000<... created Singularity: lapilli_lt-fmask [several times]

PLAYER: ./data/players/w/wa/Wasp/Wasp.pl
load obj for player: Wasp
created Singularity: 117

Tags:
 

Related Topics

  Subject / Started by Replies Last post
3 Replies
1529 Views
Last post 05, July 2007, 19:41:16
by Unislash
8 Replies
1706 Views
Last post 24, July 2007, 19:16:50
by Jac_Err
25 Replies
11588 Views
Last post 18, February 2011, 00:54:51
by _people_
9 Replies
11529 Views
Last post 13, October 2013, 01:13:48
by clobber
2 Replies
1615 Views
Last post 26, February 2014, 17:54:43
by clobber