Print Page | Close Window

ASP execution questions

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=10376
Printed Date: 31 March 2026 at 2:42pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: ASP execution questions
Posted By: Gullanian
Subject: ASP execution questions
Date Posted: 10 May 2004 at 11:14am

Coming close to completing an ASP tick based game.

A tick based game is when every 'tick' new scores are calculated, lots of equations are executed etc etc.  With thousands of players this can take a few minuites.

The way a tick runs is the game checks if a tick should be run on every page view, then executes a file if it should.  However my question is, when the player who activates the tick views a page he will see just white for ages whilst the tick executes.  Is there anyway to redirect this user and continue the execution of the tick file?




Replies:
Posted By: michael
Date Posted: 10 May 2004 at 11:32am
Of course it depends on the access you have on the server but have a look at msmq (Messege Queing) which is accessible with asp. Just needs to be enabled on the server.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: ljamal
Date Posted: 10 May 2004 at 1:56pm
Assuming your are using MSSQL, these calculation could be done via a stored procedure and scheduled via SQL server and you would not need an ASP page to kick off the project. If you can't schedule via MSSQL then you can use a trigger to kick off the stored procedure.

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: dpyers
Date Posted: 10 May 2004 at 7:30pm
lol - not to familiar with game theory and practice. In my neck of the woods, tick-based refers to Old Lyme Disease.

-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: Gullanian
Date Posted: 10 May 2004 at 8:26pm
Tick bases basically means that stuff happens every tick.  A tick in my game will be once every hour probably.  So for example you can build a tank, and it will take 12 ticks to build, so in 12 hours(ticks) it is built.  The opposite of this I guess is real time.  Tick based games are great because they go on for months, are very addictive and your playing it when your not!


Posted By: zonelinks
Date Posted: 11 May 2004 at 2:44am
Its really a difficult topic...
-------------------------
http://www.zonelinks.com
-------------------------
The Power Link Dimension



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net