Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-19-2010, 11:06 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
This applies to mobile devices?
Reply With Quote
  #2  
Old 12-19-2010, 11:11 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Codein View Post
This applies to mobile devices?
This for an iPhone server? A loop is still a loop. An infinite loop is still going to be intensive on the processor whether it's a timeout or waitfor.
Reply With Quote
  #3  
Old 12-19-2010, 11:17 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
Quote:
Originally Posted by DustyPorViva View Post
This for an iPhone server? A loop is still a loop. An infinite loop is still going to be intensive on the processor whether it's a timeout or waitfor.
I mean this in the least rudest way possible but that's obvious and I know this. What I REALLY want is to most efficient way to use the game loop. There are certain things that do not need to be on the server yet do need to be constantly moving.
Reply With Quote
  #4  
Old 12-19-2010, 11:21 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Codein View Post
I mean this in the least rudest way possible but that's obvious and I know this. What I REALLY want is to most efficient way to use the game loop. There are certain things that do not need to be on the server yet do need to be constantly moving.
Aye, and what I'm saying is if you want something constantly moving on the clientside you're probably not going to get it, even with the most efficient method... a loop is still a loop. Even with relying almost all on default, Classic iPhone still runs pretty bad with so many players. Adding anything more is just going to murder the processor.
Reply With Quote
  #5  
Old 12-19-2010, 11:39 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
Quote:
Originally Posted by DustyPorViva View Post
Aye, and what I'm saying is if you want something constantly moving on the clientside you're probably not going to get it, even with the most efficient method... a loop is still a loop. Even with relying almost all on default, Classic iPhone still runs pretty bad with so many players. Adding anything more is just going to murder the processor.
The entire game is running inside a loop. What I'm looking for is a way to use that loop. An event would be handy, such as 'onGameLoop' or something. That way there would be no need to use timeouts at all, or any seperate loop. It'd just be part of the core loop.

Maybe this should now be a Future Improvement request? I'm still looking for someone to shoot me down with "You're completely wrong, timeouts are essentially this 'register a hook with the game loop'".
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:58 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.