The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding NPCs to the server from SE and ML
Author Message
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #4
RE: Adding NPCs to the server from SE and ML
In Sphere.ini there is a setting:

// Default setting for all accounts specifying default resdisp.
AutoResDisp=1

I think the numbers mean:
0=Beta client (1.x.x)
1=The Second Age (2.x.x)
2=Lord Blackthorn's Revenge (3.x.x)
3=Age of Shadows (4.x.x)
4=Samurai Empire (4.5.x)
5=Mondain's Legacy (5.x.x)
6=Kingdom Reborn (6.x.x)
7=Stygian Abyss (7.x.x)

I don't think there was a significant difference for High Seas, thus no 8 is necessary.

This setting limits how the server sends you animations etc... It affects new characters only, so if you already created a character and you want to keep it, you need to fix the value in game using a GM or an object. For example:

.xset account.resdisp 5

...or an make a dialog like this that people can use:

Code:
[DIALOG d_resdisp]
0,0
page 0
resizepic 0 0 2620 460 300
gumppictiled 5 5 450 290 2604
gumppictiled 5 5 450 25 2624 //top secion
gumppictiled 5 36 230 260 2624 //bottom left secion
gumppictiled 220 36 235 260 2624 //bottom right secion
IF !(<TAG0.profilegumpwithback>==1)
   checkertrans 5 5 450 290
ENDIF

dtext 15  7 025 Current ResDisp Setting: <SRC.ACCOUNT.RESDISP>
dtext 40  40 1152 0 Pre-T2A
dtext 230 40 1152 for client 1.x.x not available
dtext 40  60 1152 1 The 2nd Age
dtext 230 60 1152 for client 2.x.x not available
//button 17 82 2117 2118 1 0 2
dtext 40  80 1152 2 Lord Blackthorn's Revenge
dtext 230 80 1152 for client 3.x.x not available
//button 17 102 2117 2118 1 0 3
dtext 40  100 1152 3 Age Of Shadows
dtext 230 100 1152 for client 4.x.x not available
dtext 230 120 1152 tooltips, combat skills
//button 17 142 2117 2118 1 0 4
dtext 40  140 1152 4 Samurai Empire
dtext 230 140 1152 for client 4.5.x not available
dtext 230 160 1152 new skills, spells, and items
button 17 182 2117 2118 1 0 5
dtext 40  180 1152 5 Mondain's Legacy
dtext 230 180 1152 for client 5.x.x
dtext 230 200 1152 elf class, skills, spells, and items
button 17 222 2117 2118 1 0 6
dtext 40  220 1152 6 Kingdom Reborn (untested)
dtext 230 220 1152 for client 6.x.x
dtext 230 240 1152 new skills, spells, and items
button 17 262 2117 2118 1 0 7
dtext 40  260 1152 7 Stygian Abyss (untested)
dtext 230 260 1152 for client 7.x.x (or enhanced client)
dtext 230 280 1152 gargoyle class, skills, spells, and items

[DIALOG d_resdisp BUTTON]
OnButton=0
SRC.SYSMESSAGE @color_text ResDisp cancelled, you are currently at ResDisp <SRC.ACCOUNT.RESDISP>

OnButton=1 7
IF (<SRC.ACCOUNT.RESDISP>==<ARGN>)
   SRC.SYSMESSAGE @color_text You are already at ResDisp <dARGN>
   SRC.DIALOG d_resdisp
ELSE
   SRC.ACCOUNT.RESDISP <ARGN>
   SRC.SYSMESSAGE @color_text You must restart your client for the change to ResDisp <dARGN> to take effect
ENDIF
(This post was last modified: 04-12-2013 01:04 AM by RanXerox.)
04-12-2013 01:04 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Adding NPCs to the server from SE and ML - RanXerox - 04-12-2013 01:04 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)