SphereCommunity
Adding NPCs to the server from SE and ML - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Adding NPCs to the server from SE and ML (/Thread-Adding-NPCs-to-the-server-from-SE-and-ML)

Pages: 1 2


Adding NPCs to the server from SE and ML - UltimaAku - 04-11-2013 09:48 PM

hey there, my Inside UO and Axis Recognise the ML and SE creatures, from the anim.mul but my server does not. How can i get it so my server recognises these creatures?


RE: Adding NPCs to the server from SE and ML - Mordaunt - 04-11-2013 11:15 PM

Turn these on in sphere.ini

Code:
// FeatureSE, used to control SE expansion features ( default 0 )
// FEATURE_SE_UPDATE            01 // Basic SE features
// FEATURE_SE_NINJASAM          02 // Ninja and Samurai
FeatureSE = 01|02

// FeatureML, used to control ML expansion features ( default 0 )
// FEATURE_ML_UPDATE            01 // Basic ML features
// FEATURE_ML_NINTHAGE          02 // Unlocks ninth age house designer items
FeatureML = 03



RE: Adding NPCs to the server from SE and ML - UltimaAku - 04-12-2013 12:17 AM

done, but its not working, im summoning a red man :/


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

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



RE: Adding NPCs to the server from SE and ML - UltimaAku - 04-12-2013 04:44 AM

WORKED! Thank you very much! more rep for you! Big Grin


RE: Adding NPCs to the server from SE and ML - UltimaAku - 04-16-2013 07:35 AM

OK, so ML creatures work and SA work, BTR works but AOS creatures dont. They can be seen from Axis but when summoned they don't appear as what they are supposed to (bone daemon appears as a skeleton).


RE: Adding NPCs to the server from SE and ML - RanXerox - 04-16-2013 08:09 AM

What do you have for FeatureAOS in Sphere.ini file?


RE: Adding NPCs to the server from SE and ML - UltimaAku - 04-16-2013 08:52 AM

FeatureAOS = 0x01|0x02


RE: Adding NPCs to the server from SE and ML - RanXerox - 04-16-2013 08:54 AM

Sphere script doesn't use 0x to indicate a hex number


RE: Adding NPCs to the server from SE and ML - UltimaAku - 04-16-2013 08:56 AM

ah? well it it reads this so i just followed it:

// FeatureAOS, used to control AOS expansion features ( default 0 )
// FEATURE_AOS_UPDATE_A 0x01 // AOS Monsters, Map
// FEATURE_AOS_UPDATE_B 0x02 // Tooltip, Fightbook, Necro/paladin on creation, Single/Six char selection screen, Skills, Newer spellbook support
// FEATURE_AOS_POPUP 0x04 // PopUp Menus
// FEATURE_AOS_DAMAGE 0x08
FeatureAOS = 0x01|0x02

should i change it to 03?