Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - ASP execution questions
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ASP execution questions

 Post Reply Post Reply
Author
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Topic: ASP execution questions
    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?

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
zonelinks View Drop Down
Newbie
Newbie


Joined: 29 April 2004
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote zonelinks Quote  Post ReplyReply Direct Link To This Post Posted: 11 May 2004 at 2:44am
Its really a difficult topic...
-------------------------
http://www.zonelinks.com
-------------------------
The Power Link Dimension

Edited by zonelinks
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.