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-nmm6 (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-nmm6 (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-nmm6 (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
Some questions and problems
Author Message
mrkarlo
Journeyman
*

Posts: 160
Likes Given: 3
Likes Received: 6 in 5 posts
Joined: Mar 2012
Reputation: 1



Post: #1
Some questions and problems
hey,
1. I have a problem. I can't see some monsters. Im using client 2.0.3 and this monsters from Renaissance, like skeletons and other simple monsters. Spawn gems recognised like "unused tiles". Please help.

2. I need to do some thing. How to make all items like gold, reagents, cloths and other stockable items that their value (amount) in pile does not exceed the value of 50k or for example 60k. But I need only 50k.

Happy Easter!
04-04-2015 11:14 PM
Find all posts by this user Like Post Quote this message in a reply
mrkarlo
Journeyman
*

Posts: 160
Likes Given: 3
Likes Received: 6 in 5 posts
Joined: Mar 2012
Reputation: 1



Post: #2
RE: Some questions and problems
Sphere 56c, client 2.0.3
04-05-2015 08:50 PM
Find all posts by this user Like Post Quote this message in a reply
dagger4k
Journeyman
*

Posts: 194
Likes Given: 1
Likes Received: 12 in 12 posts
Joined: Mar 2012
Reputation: 0



Post: #3
RE: Some questions and problems
You want to play around with these in the sphere ini

Code:
// FeatureT2A, used to control T2A expansion features ( default 03 )
// FEATURE_T2A_UPDATE           01 // Monster and Lost lands
// FEATURE_T2A_CHAT             02 // In game chat
FeatureT2A = 03

// FeatureLBR, used to control LBR expansion features ( default 0 )
// FEATURE_LBR_UPDATE           01 // Lbr Monsters
// FEATURE_LBR_SOUND            02 // MP3 instead of MIDI
FeatureLBR = 0

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

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

// 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 = 0

// FeatureKR, used to control KR expansion features ( default 0 ) (still not complete but usable)
// FEATURE_KR_UPDATE_A          01 // Basic KR features
// FEATURE_KR_UPDATE_B          02 // Basic KR features
//FeatureKR = 0

// FeatureSA, used to control SA expansion features ( default 0 )
// FEATURE_SA_UPDATE            01 // Unlocks gargoyle character creation and housing items
// FEATURE_SA_MOVEMENT          02 // Activates new movement packets (not good)
//FeatureSA = 0


Obviously the 203 client can only handle certain things (unless you want to hack sphere. )

As for the stacks, I'm not sure. It would make a lot more sense having 50k denominations rather than 65k. Will have to wait for someone to shed some light on this one.

maybe something like
Code:
@ItemDropOn_Item
if (<eval <src.morep>>50000>)
act.bounce
return 1
endif


Please note I haven't touched sphere scripting in a while and I didn't test this at all. Just some inspiration
(This post was last modified: 04-05-2015 11:41 PM by dagger4k.)
04-05-2015 11:34 PM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #4
RE: Some questions and problems
For the items/monsters issue my guess is that you do not have a proper uo installation and some files are corrupted.

For the max amount I added recently a new variable for [ITEMDEFS ], set MaxAmount=50000 in each itemdef and you are done. There's no way to handle it by script in that way because the 'bounce' and the 'cont' placements are automatically 'filling' each stack to the max possible amount.
04-06-2015 04:14 AM
Find all posts by this user Like Post Quote this message in a reply
mrkarlo
Journeyman
*

Posts: 160
Likes Given: 3
Likes Received: 6 in 5 posts
Joined: Mar 2012
Reputation: 1



Post: #5
RE: Some questions and problems
Big thanx! About second question ok. What about first question? This pic shows - spawn gem and invisible skeleton.

[Image: 28lxgti.png]
04-06-2015 05:25 AM
Find all posts by this user Like Post Quote this message in a reply
dagger4k
Journeyman
*

Posts: 194
Likes Given: 1
Likes Received: 12 in 12 posts
Joined: Mar 2012
Reputation: 0



Post: #6
RE: Some questions and problems
As Xun said, maybe try and re-install sphere. I've found It's worth installing Mondains legacy and then dropping the 203 client straight back in
04-06-2015 12:17 PM
Find all posts by this user Like Post Quote this message in a reply
mrkarlo
Journeyman
*

Posts: 160
Likes Given: 3
Likes Received: 6 in 5 posts
Joined: Mar 2012
Reputation: 1



Post: #7
RE: Some questions and problems
Ok thanx, I w try!
04-07-2015 10:39 PM
Find all posts by this user Like Post Quote this message in a reply
mrkarlo
Journeyman
*

Posts: 160
Likes Given: 3
Likes Received: 6 in 5 posts
Joined: Mar 2012
Reputation: 1



Post: #8
RE: Some questions and problems
In Sphere 56b all is ok, this problem occurs only in 56c. Im asking whyyyy
04-15-2015 04:25 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #9
RE: Some questions and problems
Maybe you have mixed script files from both Sphere56b and Sphere56c:

Skeleton knight chardef is 01047 (a custom value, it actually use the 039 id from anim.mul) in Sphere56b, while in Sphere56c is 093 ( a proper id entry from the anim.mul)

Skeleton gem icon (the spawn gem) is 020e7 in Sphere56b, while is 025bc in Sphere56c.
(This post was last modified: 04-15-2015 06:15 AM by darksun84.)
04-15-2015 06:12 AM
Find all posts by this user Like Post Quote this message in a reply
mrkarlo
Journeyman
*

Posts: 160
Likes Given: 3
Likes Received: 6 in 5 posts
Joined: Mar 2012
Reputation: 1



Post: #10
RE: Some questions and problems
darksun ok thanx, what shell I do?

we are very close to solve this problem
(This post was last modified: 04-15-2015 11:27 PM by mrkarlo.)
04-15-2015 11:23 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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