Is there a way to reliably append something to the prompt line?
I used onBlock but when it hits bursts of lag, I get this:
21:07:47 511[99] 575[100] eb db 0 98 93.97 0
Target: Iniar
21:07:47 You secure your previously wielded items and instantly draw a dwarven battleaxe into your left hand, with a truesilver shield flowing into your right hand.
21:07:47 You rub some strychnine on a dwarven battleaxe.
21:07:47 You reave yourself furiously with a dwarven battleaxe.
So... I don't want to rain on your parade... However, when I attempted to pk earlier with the client, it pretty much just froze most of the fight. It only happens when there's about > 4 people in the room. I know the webclient isn't meant to replace Mudlet/CMUD, but if anyone were to distribute their system for new players to sample PK, it's a real experience-killer to have the client freeze for a solid 10 seconds especially now that most fights are group fights.
I guess: is there anything I would/might be doing to create this sluggishness, and if that isn't the case, roughly how much optimisation would be realistic to expect?
e: I tried logging it to see where the wheels started falling of the wagon, but the logger crashes fairly frequently.
Hmm, the doc is wrong, will fix. The second argument is not length, but the ending index, in your case n.length. There should be no difference when the length is 0, however, so what you write should work anyway. Puzzling. Where are you using that code?
e4: while I have you, should I be using client.set_variable() or creating globals in window.my_module? Are there any particular speed benefits to using one over the other? I prefer not having to do get/set but I will if it means better speed.
OBVIOUSLY SOME REFINING NEEDS TO BE DONE, BUT WE'RE ON THE WAY.
LOG STARTED
Mana Gain: 9
512[100] 575[100] eb db 0 100 94.15 0 (Kryss)
The skies turn darker as the rain intensifies.
512[100] 575[100] eb db 0 100 94.15 0 (Kryss)
Loading Eden...
Completed loading.
autocuring off
autocuring on
Eden knows of: Kryss,
Autocuring disabled.
512[100] 575[100] eb db 0 100 94.15 0 (Kryss)
Autocuring activated.
512[100] 575[100] eb db 0 100 94.15 0 (Kryss)
ql
Imperial Parade nearing the gates of Stavenn.
It is raining heavily, pregnant drops of water pouring down onto you. blablabla. Kryss Miyumae is here, a soft glow of a multi-coloured aura surrounding her. She wields a guardian angel Celani doll in her left hand and a buckler in her right.
You see exits leading east, southeast, west, northwest, and up.
You secure your previously wielded items and instantly draw a battle-worn antediluvian longsword into your left hand, with a truesilver shield flowing into your right hand.
You rub some ciguatoxin on a battle-worn antediluvian longsword.
You slash viciously into Kryss with a battle-worn antediluvian longsword(ciguatoxin)
Kryss appears terrified as her muscles seem to become difficult to control +[numbness]
You rub some ether on a battle-worn antediluvian longsword.
You shred Kryss's skin viciously with a battle-worn antediluvian longsword, causing a nasty infection (ether)
The teeth along the weapon edge cut into Kryss's flesh.
Kryss's blood starts flowing more freely +[haemophilia]
Balance Taken: 2.54s
Mana Lost: 4
You are already engaging Kryss.
Mana Lost: 18
Kryss's condition stands at 386/445 health and 444/445 mana.
You secure your previously wielded items and instantly draw a battle-worn antediluvian longsword into your left hand, with a truesilver shield flowing into your right hand.
You rub some ciguatoxin on a battle-worn antediluvian longsword.
With a lightning-quick motion, you slash Kryss with a battle-worn antediluvian longsword (ciguatoxin)
Kryss appears terrified as her muscles seem to become difficult to control +[numbness]
You rub some ether on a battle-worn antediluvian longsword.
You shred Kryss's skin viciously with a battle-worn antediluvian longsword, causing a nasty infection (ether)
Kryss's blood starts flowing more freely +[haemophilia]
Balance Taken: 2.54s
Mana Lost: 4
You are already engaging Kryss.
Mana Lost: 18
Kryss's condition stands at 355/445 health and 434/445 mana.
You secure your previously wielded items and instantly draw a battle-worn antediluvian longsword into your left hand, with a truesilver shield flowing into your right hand.
You rub some ciguatoxin on a battle-worn antediluvian longsword.
You swing a battle-worn antediluvian longsword at Kryss with a powerful strike (ciguatoxin)
The teeth along the weapon edge cut into Kryss's flesh.
Kryss appears terrified as her muscles seem to become difficult to control +[numbness]
You rub some ether on a battle-worn antediluvian longsword.
You shred Kryss's skin viciously with a battle-worn antediluvian longsword, causing a nasty infection (ether)
Kryss's blood starts flowing more freely +[haemophilia]
Balance Taken: 2.54s
Mana Lost: 4
You are already engaging Kryss.
Mana Lost: 18
Kryss's condition stands at 351/445 health and 424/445 mana.
You secure your previously wielded items and instantly draw a battle-worn antediluvian longsword into your left hand, with a truesilver shield flowing into your right hand.
You rub some mercury on a battle-worn antediluvian longsword.
With a lightning-quick motion, you slash Kryss with a battle-worn antediluvian longsword (mercury)
The teeth along the weapon edge cut into Kryss's flesh.
You rub some hemotoxin on a battle-worn antediluvian longsword.
You shred Kryss's skin viciously with a battle-worn antediluvian longsword, causing a nasty infection (hemotoxin)
Kryss pales suddenly and slumps perceptibly +[hemotoxin]
Kryss's blood starts flowing more freely +[haemophilia]
Balance Taken: 2.54s
Mana Lost: 4
You are already engaging Kryss.
Mana Lost: 18
Kryss's condition stands at 357/445 health and 424/445 mana.
512[100] 529[92] e- db 0 100 94.15 0 (Kryss) asthma, clumsiness, haemophilia, numbness, <-- I hate you so much blackout. You're the reason why this shit still exists.
Comments