Stunts Forum

Stunts - the Game => Stunts Forum & Portal => Topic started by: dreadnaut on November 16, 2013, 01:43:06 PM

Title: Misc changes
Post by: dreadnaut on November 16, 2013, 01:43:06 PM
Refreshed the cars coefficients (http://zak.stunts.hu/index.php?page=cars) page. Track names now link to the track page, where you can find the coefficient chart.

@Zak: it's also easier to update for new seasons, more comments inside the code ;)
Title: Re: Misc changes
Post by: zaqrack on November 17, 2013, 06:58:58 AM
thanks a huge lot!
Title: Re: Misc changes
Post by: dreadnaut on December 01, 2013, 03:09:59 PM
More small changes: I replaced the long functions dealing with car names and colors (carnames() and carcolor()) with new ones getting data from this ini file (http://zak.stunts.hu/include/config/cars.ini) :)

Beware, I renamed calls in quite a few files (including mail/engine/newengine stuff).

If anyone wants to contribute to the car list (http://zak.stunts.hu/include/config/cars.ini) with any details, just send me the lines to add!
Title: Re: Misc changes
Post by: dreadnaut on December 02, 2013, 10:31:23 PM
Work in progress: http://zak.stunts.hu/tracks/
Title: Re: Misc changes
Post by: dreadnaut on January 13, 2014, 08:11:45 PM
New login form (http://zak.stunts.hu/index.php?page=login) and code.

The little login form has been replaced with a separate page (removing ~5KB for each pageview) and a single 'Login' link in the menu on the left. This would be slower to use, but there is a new "Remember me" checkbox that will keep you logged in between visits¹.

'Logout' works as before, and the website will forget everything about you :)

Also, in the new form you can just start typing right away —no need to slowly move the mouse and click on the drop down.

[1] from the same browser, accepting cookies, etc.
Title: Re: Misc changes
Post by: alanrotoi on January 13, 2014, 09:23:13 PM
It works!! Thanks!
Title: Re: Misc changes
Post by: dreadnaut on January 14, 2014, 03:21:30 PM
This is mainly for Zak: new rules page (http://zak.stunts.hu/rules/2014), which are now collected in the rules/ directory. They should also be easier to edit (http://zak.stunts.hu/rules/2014.txt) now ;)
Title: Re: Misc changes
Post by: zaqrack on January 14, 2014, 04:34:08 PM
ZakStunts 10.0 will be DreadStunts 1.0 :)

and many thanks!
Title: Re: Misc changes
Post by: dreadnaut on January 14, 2014, 06:04:28 PM
Quote from: zaqrack on January 14, 2014, 04:34:08 PM
ZakStunts 10.0 will be DreadStunts 1.0 :)
Ah, no way :)  But I'm glad to help where I can!