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
3 new little problems
Author Message
massis87
Journeyman
*

Posts: 82
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jan 2017
Reputation: 0

D&W 8thAge

Post: #1
Brick 3 new little problems
1) NPC AI:

my npc, with brain brain_monster, always cast spells, ALWAYS and ALL. lel.
My question is, flag 04, how it works?
If i disable it, my npc cast spell only with spellbook and addspell (int magery ecc) or they dont cast anyway? there is a sort of npc event ai settings in script master for change this AI? Any idea to fix this problem without rescript npc combat system?

2) SHIELDS T_SHIELD

With my versione of sphere (56c benedictum), shields dont grants armor, or they grants but lower, with 100 parring and armor=60 i take 4. Doubt .
spherewiki dont help me, revisions too. any idea? or a sort of fix here? i dont wanna put armor= 4000 on all my shields if is possible fix it in another way.
Ah, with attr magic ecc ecc s_enchanced works great.

3) Clients logged in.

No error in console simply disconnected
My server kick out players ramdomly when i took 60+ players.

Tnx for attention, enjoy. Bye

There are worse ways to understand the sense of the word: no. Ranting
(This post was last modified: 03-18-2017 05:39 PM by massis87.)
03-18-2017 05:32 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: 3 new little problems
1) you can check all AI flags on sphere.ini, NPCAI flag 04 is NPC_AI_EXTRA, which is used to enable some extra AI actions like: try to find/equip weapons/shields on combat or light up torches at night

2) shields are used mostly to parry attacks, not to increase AR/resist. So using shields you won't get too much AR increased but on the other hand you will parry (block) more attacks, which is the same of resist 100% of the damage

3) probably this is a network issue, because sphere can handle a lot of clients at the same time, but bad things will happen if you try to host it on an small AWS cloud with slow network. Some cloud/VPS hosting have connection limits on plans, usually cheap plans have cheap performance and only allow 50~100 connections. So try check your hosting limits, or you test an upgrade on your plan to check if it will fix this problem
03-20-2017 10:08 AM
Find all posts by this user Like Post Quote this message in a reply
zottolo
Journeyman
*

Posts: 87
Likes Given: 8
Likes Received: 12 in 11 posts
Joined: Dec 2015
Reputation: 0



Post: #3
RE: 3 new little problems
ciao beli!

About shields cloacks and various armor shoes you can fix that with
[itemdef blablabla]
all your things
armor= 0
type= t_armor or t_hide_armor (if i'm not wrong)

on=@equip
src.modar += value

on=@unequip
src.modar -= value

you can start from here and remodulating your entire armor set value.
(This post was last modified: 03-21-2017 05:03 PM by zottolo.)
03-21-2017 05:02 PM
Find all posts by this user Like Post Quote this message in a reply
massis87
Journeyman
*

Posts: 82
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jan 2017
Reputation: 0

D&W 8thAge

Post: #4
RE: 3 new little problems
(03-21-2017 05:02 PM)zottolo Wrote:  on=@equip
src.modar += value

on=@unequip
src.modar -= value

Confused

There are worse ways to understand the sense of the word: no. Ranting
03-21-2017 11:49 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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