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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Insert the Combat scp of s.c.pack in own server.
Author Message
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #1
Insert the Combat scp of s.c.pack in own server.
Hi! first, my english sucks so... try to understand please ^_ ^

I want to use the community files, but... my saveworld get's too many errors and i can't [Because items and NPC'S have's others def's and names]. Because that, i want to put the combat system of the community pack in my own server of 56b last nightly...

How can I do this?

I got the full script: sphere_combat_functions.scp
and the full: The sphere_combat_events.scp
and some little fragment of Sphere_Settings.scp [For options combat]

Code:
[DEFNAME SPHERE_COMMUNITY_PACK_SETTINGS]

///////////////////////////////////////////////////////////////
//////// Combat System Settings
///////////////////////////////////////////////////////////////
// Formulas or main system used in here. It will vary from expansion to expansion.
// 0 = Default: Use Sphere's default system.
// 1 = Custom: Use different settings from different expansions
// 2 = Ultima Online: Renaissance
// 3 = Ultima Online: Age of Shadows
scp.Combat_FormulasUsed=3

// VELOCIDAD DE GOLPE
// 0 = Default. 1 = UO:R. 2 = AOS.
scp.Combat_HitSpeed=2

// CHANCE DE GOLPE
// 0 = Default. 1 = UO:R. 2 = AOS.
scp.Combat_HitChance=0

// CHANCE DE BLOQUEAR EL GOLPE
// 0 = Default. 1 = UO:R. 2 = AOS.
scp.Combat_BlockChance=2

// DAÑO BASE
// 0 = Default. 1 = UO:R. 2 = AOS.
scp.Combat_BaseDamage=2

// BONUS DAÑO
// 0 = Default. 1 = UO:R. 2 = AOS.
scp.Combat_DamageBonus=2

// SPELL DAMAGE BONUS DE AOS?
// 0 = No. 1 = AOS.
scp.Combat_SpellBonus=1

// Use or not the Age of Shadows Resistances.
// Note that this will be used only if scp.Combat_FormulasUsed is 1
// Automatically used if it is 3.
scp.Combat_UseResistances=3

// The cap for resistances used in the elemental fighting formula.
// From 0 to 100. Default = 70 (EA-Like).
scp.Combat_ResistancesCap=70

// If set to 1, combat system will use the body's damage when polymorph
scp.Combat_PolymorphDamage=1

[eof]

I put the flags in the sphere.ini like this:
Code:
EventsPlayer = e_PlayerCombatEvent
and changes the spheretables.scp to add the scripts [the folder of the new scripts]

and when I will to hit in game with a weapon, i get this error:

Code:
04:12:ERROR:(sphere_combat_functions.scp,98)Can't resolve <max -32, 13>
04:12:ERROR:(sphere_combat_functions.scp,120)Undefined symbol ''
04:12:ERROR:(sphere_combat_functions.scp,123)Undefined symbol ''
04:12:ERROR:(sphere_combat_functions.scp,38)Undefined symbol ''
04:12:ERROR:(sphere_combat_functions.scp,43)Undefined symbol ''
04:12:ERROR:(sphere_combat_functions.scp,128)Can't resolve <max 101,2>
04:12:ERROR:(sphere_combat_functions.scp,98)Can't resolve <max -32, 13>
04:12:ERROR:(sphere_combat_functions.scp,120)Undefined symbol ''
04:12:ERROR:(sphere_combat_functions.scp,123)Undefined symbol ''
04:12:ERROR:(sphere_combat_functions.scp,38)Undefined symbol ''
04:12:ERROR:(sphere_combat_functions.scp,43)Undefined symbol ''
04:12:ERROR:(sphere_combat_functions.scp,128)Can't resolve <max 101,2>


Anyone can help me to add the full custom combat and get work in my shard? and obviusly, I want the settings to test the best option...
I don't want to do all sphereworld again and i don't know how to build a new combat scp... I m noob in this and I want a functional server for private use, to pvp ^_^

Thanks for reading!

P.S. [And, if anyone can help me, how can i add the special moves too of the community pack and get work in my shard? i can't -.- so nooooooooooob]

[Image: 2hy9q0y.png]
(This post was last modified: 07-07-2012 05:20 PM by Lazarus.)
07-07-2012 05:17 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Insert the Combat scp of s.c.pack in own server. - Lazarus - 07-07-2012 05:17 PM

Forum Jump:


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