Page 1 of 1

Magic progress

Posted: 18 Mar 2014, 00:29
by o11c
I've finally made a lot of progress on getting rid of flex and bison from the build process and using a saner magic format.

I've pushed the new server data to https://github.com/o11c/tmwa-server-data/tree/sexpr

Due to the automated conversion process, there are 3 things that need to be manually fixed:
  • the location of comments
  • the placement of blank lines and linebreaks
  • the indentation of SCRIPT bodies.
I would greatly appreciated it if someone prepared a commit to clean up those things. Otherwise, it will get into the main repo dirty.

Your resident madman,
-o11c

Re: Magic progress

Posted: 19 Mar 2014, 16:05
by Nard
Reminder:
[2014-03-16 19:21:12] 009-1(48,38) o11c(2162590) : @broadcast Next time I do a main server restart, everyone please remind me to do extra stuff or everything will break.
[2014-03-16 19:21:39] 009-1(48,38) o11c(2162590) : @broadcast (I think people who used the test server in the last day or so got corrupted characters)

Re: Magic progress

Posted: 25 Mar 2014, 04:29
by o11c
This is now live on the test server.

Please report any crashes; I have touched a LOT related to magic. Particularly, it would be beneficial to test every single spell and procedure under every code path.

In other news, this is a reminder that when Ubuntu 14.04 is released (in 23 days), I will be dropping support for gcc 4.6. This will be the last gcc requirement bump for a few years.

Re: Magic progress

Posted: 25 Mar 2014, 19:05
by SriNitayanda
After the latest update.
I tested spells i use most: asorm, plough, betsanc, lum, ingrav, manpahil and inma all seem to work as intended.

Re: Magic progress

Posted: 25 Mar 2014, 19:20
by o11c
list of spells wrote: #abizit
#parum
#gole
#lum
#flar
#chiza
#itenplz
#modrilax
#modriphoo
#modriyikam
#modrisump
#kalmurk
#miteyo
#kularzufrill
#patmuploo
#patloree
#patviloree
#zukminbirf
#loshira
#skrimp
#inma
#ingrav
#frillyar
#upmarmu
#halhiss
#phlex
#helorp
#plugh
#betsanc
#joyplim
#kaflosh
#chipchip
#asorm
#kalrenk
#kalakarenk
#kalboo
#kalgina
#inwilt
#manpahil
#inzuwilt
#anwiltyp
#anju
#flarfol
#kalzumin
#anwilvimar
#vorp
debug
debug+1
debug-1
debug+16
debug-16
debug+256
debug-256
debug-reset
marry
#g
#s
#alonzialonzo
#e
hug
*hug*
*hug
hugs
*hugs*
*hugs
#catalazuli
#pullrabbit

Re: Magic progress

Posted: 26 Mar 2014, 17:14
by o11c
Reports about magic attacks using bow animation are apparently wushin's bug, not mine.

Re: Magic progress

Posted: 26 Mar 2014, 21:30
by o11c
ingrav crashes when naked

investigating ...

Re: Magic progress

Posted: 27 Mar 2014, 00:39
by o11c
I've discovered the cause of the crash when you attack with no weapon - a bug in old code. It was actually exposed by the change before the magic change.

The main server is not vulnerable because the out-of-bounds access hits a field that consists entirely of zeros.
I have put up a warning on the test server's news asking people to please avoid the crash until it is fixed.