View Single Post
  #1  
Old 12-10-2010, 07:45 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
iPhone functions & Disabling Classic stuff

If you're not using iphone, I wouldn't use these features

Server Options:
HTML Code:
  syncdistancex=
  syncdistancey=
  syncbydistanceinside=
Define the radius (in tiles) at which players are synced to the screen. This is used for GMAPs to reduce players from being drawn outside of the specified radius. By default, it is being drawn at 192x192.

HTML Code:
syncdistanceprojectiles=
Same as above, define the radius (in tiles)


Flags & Script
HTML Code:
  disablenpchits = [Boolean]
  disablenpconnpchits = [Boolean]
  disableactionprojectile = [Boolean]
  disableactionprojectile2 = [Boolean]
(Self explanatory)

We can now define how far you see people, depending on your screen size.
HTML Code:
  if (screenwidth > 480)
    sendtext("syncoptions", "distance",  {int(screenwidth/16/2)+4, int(screenheight/16/2)+4}); 
For example, 480x320 screen resolution is 30x20 tiles big. Basically, the client doesn't know of any player outside that sync distance. If you are on a gmap with 1000 players you only get data from players on your screen. (the only exception are projectiles)
__________________

Last edited by xAndrewx; 12-10-2010 at 09:06 PM..
Reply With Quote