[ x vote for us to earn $800 each day ]

76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 |

new dog viewer

I got a little busy with life,

heres the update so far on dogs.

its a large set of files to work through. so far, editing information, services pricing (buy / lease) , sending to pound and retiring. additionally most of the display has been finished.

much of the work is going on behind the scenes working on creating a library for dogs, and this is where the time is going.

Most of this will be done shortly, and then I can begin integrating the new dog display framework.

after the dog display is finished, I can then make LARGE improvements to the game speed.

Why? the dog database is very large, and poorly designed. once all the code for dogs in general is consolidated, I can do a redesign on the backend and improve the speed.

This is the meat and potatoes of alacrity. once this is done, I think generally speed and playability of the game will improve! Posted by Sin Vraal (#18687) on Jan 16, 2023

Comments | View All Replies


Warning: Use of undefined constant displayname - assumed 'displayname' (this will throw an Error in a future version of PHP) in /home/alacrity/test.alacritysim.com/public_html/pages/news.php on line 479

Warning: Use of undefined constant displayname - assumed 'displayname' (this will throw an Error in a future version of PHP) in /home/alacrity/test.alacritysim.com/public_html/pages/news.php on line 480
Sin Vraal

Warning: Use of undefined constant comment - assumed 'comment' (this will throw an Error in a future version of PHP) in /home/alacrity/test.alacritysim.com/public_html/pages/news.php on line 500

Warning: Use of undefined constant comment - assumed 'comment' (this will throw an Error in a future version of PHP) in /home/alacrity/test.alacritysim.com/public_html/pages/news.php on line 500
scholar collar fixed. seems just logging / secuirty left .

will try to slap out geneology quickly since its small, for completeness skae.
Posted on 01-20-2023 at 2:40 PM

Warning: Use of undefined constant displayname - assumed 'displayname' (this will throw an Error in a future version of PHP) in /home/alacrity/test.alacritysim.com/public_html/pages/news.php on line 479

Warning: Use of undefined constant displayname - assumed 'displayname' (this will throw an Error in a future version of PHP) in /home/alacrity/test.alacritysim.com/public_html/pages/news.php on line 480
Sin Vraal

Warning: Use of undefined constant comment - assumed 'comment' (this will throw an Error in a future version of PHP) in /home/alacrity/test.alacritysim.com/public_html/pages/news.php on line 500

Warning: Use of undefined constant comment - assumed 'comment' (this will throw an Error in a future version of PHP) in /home/alacrity/test.alacritysim.com/public_html/pages/news.php on line 500
training almost finished. looking much cleaner. still have to go in and check for all the special circumstances and what not (schooler collar etc)

Posted on 01-20-2023 at 12:05 PM

Warning: Use of undefined constant displayname - assumed 'displayname' (this will throw an Error in a future version of PHP) in /home/alacrity/test.alacritysim.com/public_html/pages/news.php on line 479

Warning: Use of undefined constant displayname - assumed 'displayname' (this will throw an Error in a future version of PHP) in /home/alacrity/test.alacritysim.com/public_html/pages/news.php on line 480
Sin Vraal

Warning: Use of undefined constant comment - assumed 'comment' (this will throw an Error in a future version of PHP) in /home/alacrity/test.alacritysim.com/public_html/pages/news.php on line 500

Warning: Use of undefined constant comment - assumed 'comment' (this will throw an Error in a future version of PHP) in /home/alacrity/test.alacritysim.com/public_html/pages/news.php on line 500
hide / display accessories and companion finished.

Posted on 01-19-2023 at 6:06 PM

a note on speed

calico remarked the site seems much faster...

it probably IS much faster. for a few reasons.
(technical post, dont read if you havent had coffee!)


several of the backend components have been rewritten.
1. old code for some of these components is 2-5k lines long, and used rather poor programming practices.
2. no libraries within the codebase exist, therefore there is much wasted code that is not reusable with other components on site,
3. almost the entire site is written using old old web1.0 style, and withing print "some stuff here" statements.

4. the database is ... "poorly designed", and the queries designed to pull data from it are "even more poorly designed"

what ends up happening,
1. is the web server has to compile this code every time. 5k lines of code means the script cannot be run until the 5k lines of code is compiled.
2. because each file has no shared components, these pages using very similar code (in many cases the same copy/pasted code!) have to be re compiled for each page. add a quarter second for each page on the site, and all of the sudden viewing 1000 pages results in a substantial time increase.

3. print statements can be fine when used properly, but if you print the entire page, php has to do what is called "string interpolation". this means each print statement needs to be parsed and looks for variables. this also results in difficult to modify html for the web design.

4. a badly designed database is a recipe for disaster. it can be mitigated a bit by using shared libraries. the poorly designed queries to pull the data however were murdering the speed.

what I have done so far:

I havent really even begun to construct updated pages. at this point, I am cleaning these 3 tasks.

1. streamline files. many of the sections I have re-written are 100-200 lines max. they load additional resources as required (a 5k line file doesnt typically need all the code.)

maybe by the end, 5-600 lines of code are compiled, and used.

2. many components are now shared. meaning if its cachable, its easier to gain advantage here. its also easier to update/ bugfix

3. php supports 'escaping' to regular html. when written in this way, php does not have to do "string interpolation". this results in MUCH faster code.

it also results in much CLEANER code. when the html is separate, it results in a file that can be edited by a regular web designer.

4. database queries are cleaned up whenever I see them. this is improving things a bit. but it takes a lot of time. (its also required in order to finally upgrade php version as well, since old php mysql functions are incompatible with later php versions)

anyway, this is a process. but after I've got the page mobile friendly, and a bit improved, we can get into making more features :)






Posted by Sin Vraal (#18687) on Jan 14, 2023

View All Replies

Small addendum

The dog remodel is taking more time than I had anticipated . This is because it’s about 10k lines of code (at least). I’m cruising through it as fast as I feel is safe. This is the heart and soul of alacrity, so every change I make has to be checked very thoroughly.

Anyhow. It’s in progress and not forgotten about :) Posted by Sin Vraal (#18687) on Jan 06, 2023

View All Replies