Bug Reports: MAY2008a

Status
Not open for further replies.

Thothie

Administrator
Staff member
Administrator
Moderator
Lead MSC Developer
MSC Developer
Apr 8, 2005
16,210
262
lost
Wups... Built it on the thunderaxe and forgot to change it. It'll be 27 to throw next time, 25 to weild.
 

FER

New Adventurer
MSC Developer
RiP
Sep 16, 2006
2,758
0
33
on Belser's army
Im not sure if I should had let BD come to me by itself, or it already disappeared when i told it to come back, or telling it made it disappear ("sent request to 0")

EDIT: Thothie's server cant connect to FN
 

elfstone222

New Adventurer
RiP
Nov 12, 2006
260
0
I still can't use or make hotkeys at all, and yet another loda4 crash cause of tomahawk drops came up today.
 

Thothie

Administrator
Staff member
Administrator
Moderator
Lead MSC Developer
MSC Developer
Apr 8, 2005
16,210
262
lost
Between J-M’s italics and FER’s constant squirming, this is all very hard to read.

There’s a regular chest at the end of Lodagond, right? Maybe it’d be safer to have Maldora tell the chest which axe to spawn… Hrmm…

Im not sure if I should had let BD come to me by itself, or it already disappeared when i told it to come back, or telling it made it disappear ("sent request to 0")
Meh, all this work and we’re still getting that eh? :/ None of that should matter – it’s still in your inventory. I’ve no idea what’s going on nor what to do about it.

Here’s the script, in case anyone’s interested:
Code:
 {
	const THROW_MP 40

	const BASE_LEVEL_REQ 30
	const ANIM_LIFT 0
	const ANIM_IDLE1 1
	const ANIM_ATTACK1 2
	const ANIM_ATTACK2 2
	const ANIM_ATTACK3 2
	const ATTACK_ANIMS 1
	const ANIM_LUNGE 3
	const ANIM_PARRY1 4
	const ANIM_PARRY1_RETRACT 5
	const ANIM_UNSHEATH 6
	const ANIM_SHEATH 7


	const MODEL_VIEW viewmodels/v_2hswords.mdl
	const MODEL_VIEW_IDX 6
	const MODEL_HANDS weapons/p_weapons1.mdl

	const MODEL_WORLD weapons/p_weapons1.mdl
	const MODEL_BODY_OFS 114

	const SOUND_SWIPE       weapons/swingsmall.wav
	const SOUND_HITWALL1       weapons/cbar_hit1.wav
	const SOUND_HITWALL2       weapons/cbar_hit2.wav
	const SOUND_DRAW       weapons/swords/sworddraw.wav
	setvar SOUND_SHOUT  player/shout1.wav

	const ANIM_PREFIX  longsword

	//Used in base_melee
	//------------------
	const MELEE_RANGE  80
	const MELEE_DMG_DELAY  0.6
	const MELEE_ATK_DURATION 1.1
	const MELEE_ENERGY  1
	const MELEE_DMG  500
	const MELEE_DMG_RANGE      80
	const MELEE_DMG_TYPE  dark
	const MELEE_ACCURACY  65%
	const MELEE_STAT  swordsmanship
	const MELEE_ALIGN_BASE 3,10 
	const MELEE_ALIGN_TIP  0,-10
	const MELEE_VIEWANIM_ATK      ANIM_ATTACK1

	const MELEE_SOUND      SOUND_SWIPE
	const MELEE_SOUND_DELAY      MELEE_DMG_DELAY
	const MELEE_PARRY_CHANCE      30%
	const MELEE_NEW_PARRY_CHANCE  30

	const PLAYERANIM_AIM  sword_double_idle
	const PLAYERANIM_SWING sword_double_swing
}

#include items/swords_base_twohanded

{ weapon_spawn

	name  a|Blood Drinker
	desc  A gigantic dancing blade with a thirst for blood
	weight  100
	size  10
	value 4000
	sethudsprite trade longsword

	sethand both

	setvard FIST_MODE 0
}

{ game_dodamage

	if !FIST_MODE
	if PARAM1
	if $can_damage(ent_owner,PARAM2)
	local HP_TO_GIVE $get(ent_owner,maxhp)
	if $get(PARAM2,race) isnot undead
	if !$get(PARAM2,scriptvar,IMMUNE_VAMPIRE)
	multiply HP_TO_GIVE 0.04
	givehp ent_owner HP_TO_GIVE
}

{ [override] register_charge1

	//stabby
	local reg.attack.type strike-land
	local reg.attack.range MELEE_RANGE
	local reg.attack.dmg  MELEE_DMG
	local reg.attack.dmg.range MELEE_DMG_RANGE
	local reg.attack.dmg.type MELEE_DMG_TYPE
	local reg.attack.energydrain MELEE_ENERGY
	local reg.attack.stat MELEE_STAT
	local reg.attack.hitchance MELEE_ACCURACY
	local reg.attack.delay.strike MELEE_DMG_DELAY
	add reg.attack.delay.strike 0.5
	local reg.attack.delay.end MELEE_ATK_DURATION
	add reg.attack.delay.end 0.5
	local reg.attack.ofs.startpos MELEE_STARTPOS
	local reg.attack.ofs.aimang MELEE_AIMANGLE
	local reg.attack.noise MELEE_NOISE
	local reg.attack.priority 1
	local reg.attack.keys -attack1
	local reg.attack.callback special_01
	multiply reg.attack.dmg 2
	local reg.attack.chargeamt 100%
	local reg.attack.reqskill 32
	registerattack

	//toss sword
	local reg.attack.type strike-land
	local reg.attack.noautoaim 1
	local reg.attack.keys -attack1
	local reg.attack.range 0
	local reg.attack.dmg  0
	local reg.attack.dmg.range 0
	local reg.attack.dmg.type slash
	local reg.attack.energydrain 2
	local reg.attack.stat swordsmanship
	local reg.attack.hitchance 100%
	local reg.attack.priority 2
	local reg.attack.delay.strike 0.1
	local reg.attack.delay.end 0.2
	local reg.attack.ofs.startpos MELEE_STARTPOS
	local reg.attack.ofs.aimang MELEE_AIMANGLE
	local reg.attack.callback throwsword
	local reg.attack.noise MELEE_NOISE
	local reg.attack.mpdrain THROW_MP
	local reg.attack.chargeamt 200%
	local reg.attack.reqskill 34
	registerattack
}

{ throwsword_start
	setviewmodel viewmodels/v_martialarts.mdl
	setviewmodelprop ent_me submodel 0 0
	playowneranim critical bow_release
	setmodel none
	setworldmodel none
	sethand	undroppable
	playviewanim 4
	setvard FIST_MODE 1

	if game.serverside

	if $get(ent_owner,mp) < THROW_MP
	setvard FIST_MODE 0
	callevent sword_return
	dplayermessage ent_owner Blood Drinker: Insufficient mana for Blood Dance
}

{ throwsword_strike

	playowneranim critical bow_release
	if game.serverside
	if FIST_MODE
	setvard SENT_RETURN_REQ 0
	local DMG_BASE $get(ent_owner,skill.spellcasting)
	divide DMG_BASE 2
	createnpc monsters/summon/blood_drinker $get(ent_owner,origin) $get(ent_owner,id) $get(ent_owner,target) DMG_BASE DMG_BASE $get(ent_me,id)
	setvard SWORD_ID $get(ent_lastcreated,id)

	callexternal ent_owner ext_removed_effects lock
	applyeffect ent_owner effects/effect_templock $get(ent_owner,id)
	setvard game.effect.canattack 0
}

{ restore_sword_cl
	setviewmodel MODEL_VIEW
	setmodel MODEL_WORLD
	setworldmodel MODEL_WORLD
	setvard FIST_MODE 0
}

{ melee_start
	setviewmodel MODEL_VIEW
	setmodel MODEL_WORLD
	setworldmodel MODEL_WORLD
	setvard FIST_MODE 0
	callevent bw_setup_model
}

{ sword_return //called by monsters/summon/blood_drinker or when insufficient mana
	callexternal ent_owner ext_remove_lock
	setviewmodelprop ent_me model MODEL_VIEW
	if ( FIST_MODE ) gplayermessage ent_owner Blood Drinker returns.
	setvard FIST_MODE 0
	setviewmodel MODEL_VIEW
	sethand	both
	callevent bw_setup_model
}

{ [override] item_idle

}

{ [override] special_01_start

	playviewanim  ANIM_LUNGE
	playowneranim once axe_twohand_swing
	playsound const.snd.weapon const.snd.maxvol SPECIAL01_SND
}

{ [server] game_+attack2

	if FIST_MODE
	if !SENT_RETURN_REQ
	playermessage Sent return request to $get(SWORD_ID,name) //remove
	setvard SENT_RETURN_REQ 1
	callexternal SWORD_ID return_to_owner
}
EDIT: Thothie's server cant connect to FN
Was wonderin why so empty… [edit: two instances of Server doc crashed – half of FN was down]

elfstone222 said:
I still can't use or make hotkeys at all, and yet another loda4 crash cause of tomahawk drops came up today.
Still sounds like character corruption to me, and I don’t think it’ll end there, so I’d suggest rolling back before you put much more work into the corrupt char.
 

Clan Hunter

New Adventurer
DarkTide
Mar 31, 2008
54
0
38
Boo, double post.

Anyways, was playing skycastle with a pair of other guys today and for some reason the skelly waves inside the castle weren't spawning, just the occasional fragile knight. after /wrist and killing the horrors to see if it fixes it, I go back in, still nothing, figure fuck just crash the map and restart it. Pull out the nova blade and drop a few skulls. Oddly enough, get a few hits on NPC so I move over to one of the circles where the big undead spawn drop another nova, I start damaging "wavestart1inteiror or something" it dies, a bunch more fragile knights appear but no soul eaters, clean out the knights, again nothing, repeat only this time it says "wavestart3inteiror" and the doors open. No masons or blademasters.
 

Sabre

New Adventurer
MSC Developer
RiP
Aug 24, 2004
4,542
0
31
SoCal
Sabre said:
Possible one-time occurence:
Went to kill Voldar after the Fragment, but upon arriving there was a Fragment holding the axe, but no Voldar. No dialogue ensued.
This has become a consistent occurrence.
 

Shinitenshi

New Adventurer
Mar 4, 2008
132
0
33
Thothie said:
Wups... Built it on the thunderaxe and forgot to change it. It'll be 27 to throw next time, 25 to weild.
same thing with hoar frost sword you cant use it yet but you can still cast ice circle ! lol
 

Clan Hunter

New Adventurer
DarkTide
Mar 31, 2008
54
0
38
A rather weird one. On a whim I've stucked dicking around with my second character I created when my first somehow got eaten. I did pull him out at one point previous but so for some reason he has rejuv and CL tomed. (spells my other character had tomed at one point, but not when he was eaten) He lacks the skill to cast rejuvination with flush 1s in spell casting, but somehow can cast chainlighting (well, twice).
 

elfstone222

New Adventurer
RiP
Nov 12, 2006
260
0
Yet another crash occoured for the tomahawk drop, another thing, I could have just assumed wrong but he dropped a yellow axe when he was holding the grey one when he died.
 

Glorfindel

New Adventurer
RiP
Jul 12, 2007
255
0
37
elfstone222 said:
Yet another crash occoured for the tomahawk drop, another thing, I could have just assumed wrong but he dropped a yellow axe when he was holding the grey one when he died.
At first I thought so too but I concluded seconds later it was probably due to yellow lighting of the lightning bolts around his death...it was yellow but not the bright yellow of the thunder tomahawk.
 

villager

New Adventurer
RiP
Nov 21, 2006
1,272
0
30
I've had the Affliction and Dark Tomahawk drop when the servers crashed on me, I don't think there's a link between what type of tomahawk drops and the crashing :S
 

Shinitenshi

New Adventurer
Mar 4, 2008
132
0
33
ice helm and warmth then he iced me right after i drunk the freaking bottle. after u die ya it gone but i hadn't died.
 

Clan Hunter

New Adventurer
DarkTide
Mar 31, 2008
54
0
38
If I equip my rune blade of affliction my lightning resistance drops to 0 (complete with notification) until I put the rune blade away and re-equip the ring. Re-equipping the ring with the rune blade out does nothing.

If you hold a tomahawk in your left hand and throw it, you throw it out of an extra right hand. Or your character is REALLY flexible.

Tomahawk only gives XP for its first hit in cases where you would strike multiple targets or the same target twice. And this is not tied to the above bug, I went to edana, lined up the three rats and threw the axe at them.
Edit: Actually this appears to be the first enemy struck as I can throw an axe at a boar and kill it in 2 hits from the same throw and still get full XP.
 

J-M v2.5.5

BANNED
BANNED
Feb 26, 2005
5,675
1
31
Nijmegen, the Netherlands.
Bug report:
Blood drinker throw does not give XP at all.
[email protected]!!!!!2!!!1`~!!!1~!1!!!`[email protected]!!`!!

Bug report:
Sometimes when you're using a heavy crossbow and there's lag and you run out of bolts just as your heavy crossbow jams, you... don't run out of bolts. I've had it happen to me twice that I had a "Temporary Infinite Bolt" ("TIB" © 2008 J-M v2.5.5) which is basically a bolt that has quantity 0 (that's what the game tells me) but I can keep shooting it for a few minutes and then it suddenly vanishes.

Having a TIB is nice and all, but it's kind of cheating. So you might want to fix that.
Also, if you're going to take a look at the projectile code, maybe now would be a good time to research the possibility of reimplementing stack merging :mrgreen:
 
Status
Not open for further replies.
Top