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-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
  #2  
Old 12-10-2010, 11:03 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
The disablenpchits etc. require the latest iPhone client (5.308 or so)
Reply With Quote
  #3  
Old 12-22-2010, 08:19 PM
PowerProNL PowerProNL is offline
Retired Zone Manager
PowerProNL's Avatar
Join Date: Feb 2008
Location: Holland
Posts: 266
PowerProNL can only hope to improve
Send a message via AIM to PowerProNL
Nice!!! useful too! thanks! +rep
__________________
Graal Mail: [email protected]
McPowerProNL, I'm loving it
Reply With Quote
  #4  
Old 12-22-2010, 11:32 PM
12171217 12171217 is offline
Banned
Join Date: Jan 2009
Posts: 453
12171217 has a spectacular aura about
Useful for who? There's two iPhone servers and they're both hosted by people who were probably told this by Stefan. This thread is beyond pointless. You're delusional if you think you can make a server, let alone an iPhone server from scratch.
Reply With Quote
  #5  
Old 12-23-2010, 03:04 AM
MattKan MattKan is offline
the KattMan
Join Date: Aug 2010
Location: United States
Posts: 1,325
MattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to behold
Send a message via AIM to MattKan
Quote:
Originally Posted by 12171217 View Post
Useful for who? There's two iPhone servers and they're both hosted by people who were probably told this by Stefan. This thread is beyond pointless. You're delusional if you think you can make a server, let alone an iPhone server from scratch.
Don't forget Kingdoms
__________________
Quote:
Originally Posted by Satoru Iwata
On the other hand, free-to-play games, if unbalanced, could result in some consumers paying extremely large amounts of money, and we can certainly not expect to build a good relationship with our consumers in this fashion. In order to have a favorable long-term relationship, we would like to offer free-to-play games that are balanced and reasonable.
Quote:
Originally Posted by Unximad
Eurocenter Games remains attached to the values of indies game developer and to the service our playerbase community.
Reply With Quote
  #6  
Old 12-24-2010, 04:00 AM
N01ze N01ze is offline
Level Designer
N01ze's Avatar
Join Date: Aug 2010
Posts: 46
N01ze is on a distinguished road
And everwind. Even though it sucks so far xD They pretty much started from scratch but are trying to get it on cydia
Reply With Quote
  #7  
Old 12-24-2010, 04:07 AM
MattKan MattKan is offline
the KattMan
Join Date: Aug 2010
Location: United States
Posts: 1,325
MattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to behold
Send a message via AIM to MattKan
Quote:
Originally Posted by N01ze View Post
And everwind. Even though it sucks so far xD They pretty much started from scratch but are trying to get it on cydia
Everwind isn't a real iPhone server..
__________________
Quote:
Originally Posted by Satoru Iwata
On the other hand, free-to-play games, if unbalanced, could result in some consumers paying extremely large amounts of money, and we can certainly not expect to build a good relationship with our consumers in this fashion. In order to have a favorable long-term relationship, we would like to offer free-to-play games that are balanced and reasonable.
Quote:
Originally Posted by Unximad
Eurocenter Games remains attached to the values of indies game developer and to the service our playerbase community.
Reply With Quote
  #8  
Old 12-24-2010, 04:25 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by N01ze View Post
And everwind. Even though it sucks so far xD They pretty much started from scratch but are trying to get it on cydia
They've been telling people they're in talks with Apple and have been approved by everyone (they tried to tell Az i approved them before?). They tell this to anyone who logins in so they ask us on Classic iPhone and we deny it and explain the issue.

Each Graal iPhone server has it's dedicated app which slightly ruins the chances of getting it working on Cydia
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 08:17 AM.


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