Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   iPhone functions & Disabling Classic stuff (https://forums.graalonline.com/forums/showthread.php?t=134261286)

xAndrewx 12-10-2010 07:45 PM

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)

Admins 12-10-2010 11:03 PM

The disablenpchits etc. require the latest iPhone client (5.308 or so)

PowerProNL 12-22-2010 08:19 PM

Nice!!! useful too! thanks! +rep

12171217 12-22-2010 11:32 PM

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.

MattKan 12-23-2010 03:04 AM

Quote:

Originally Posted by 12171217 (Post 1617600)
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

N01ze 12-24-2010 04:00 AM

And everwind. Even though it sucks so far xD They pretty much started from scratch but are trying to get it on cydia

MattKan 12-24-2010 04:07 AM

Quote:

Originally Posted by N01ze (Post 1617822)
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..

Twinny 12-24-2010 04:25 AM

Quote:

Originally Posted by N01ze (Post 1617822)
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 :rolleyes:


All times are GMT +2. The time now is 01:33 AM.

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