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
Better SphereServer
Author Message
xantier
Journeyman
*

Posts: 51
Likes Given: 4
Likes Received: 5 in 3 posts
Joined: Mar 2012
Reputation: 0



Post: #15
RE: Better SphereServer
Crashes are usually caused by poorly written scripts in sphere. But only crash i get without writing any script is network threads. It is pretty buggy, someone has written and put it in sources like a spaghetti code. Till that time, I had no crashes except infinite loops caused by me.

Sphereserver doesn't need advertisement, almost everyone in uo knows sphere. There are billions of platforms for it. but as i know in my country, nobody uses last nightly builds. Because they are nightly builds, so simple. almost until 5 years ago, everyone was using 0.55i in turkey. Because it was simply stable. the people i know, ran 100-150 player shards with 2009 release.

Devs usually want us to code our own features but It is not "healthy" to code vital, core things using sphere scripting. Because it is not something compiled to binary, it is simply interpreted by sphereserver. That's why i always report those. For example, osi-like stamina check system. I had created an item with timerd=1 to make it a global timer, so every second, every player is checked 10 times. It is not something wise to do with sphere scripting. Another example that I wanted to code osi-like item stack system. But hardcoded LOS checks blocked me in @dropon, @pickup triggers, i directly edited drop pickup packets but that really costed so expensive in performance. Another example, I tried to code custom Notoriety flags. But we can't override them. I wanted some people to be seen "orange". Yeah I would make those people join some enemy guilds but what about other players ? Not wise. Another example, I wanted to make osi-like criminal system. "Attacking is a crime". I personally suggested this to shiryux, and he added, thanks to him. But It has magically disappeared in some builds ?! I don't want to code this with sphere scripting because there may be some hardcoded checks, memory flags etc. I didn't want to deal with bugs. Another, still present bug is Walkcheck code. You can get stuck in shores or can't pass many areas in t2a lands, which are normally past. Since we can't code a walkcheck system..

It is always to make core things in binary. Emulators usually provide options for it, I mean sphere.ini. Because you can't compile your sphere scripts, unlike in c# - runuo. If you can't, then it is wiser to add things internally then provide options for it. Scripting is only needed when the system is too much flexible that you can't provide options for each, like guildstone system.


----

I once wanted to help fixing those things 2 years ago, by sending developer application. Because i had adressed many bug fixes using my old 0.99f sphere sources, which still present. so i thought i could fix them easily. I was accepted but i was 16 and couldn't sign that thing, so shiryux was accepted, thanks to god someone was finally hired to development staff after years. I am now on my "legal" age and I can sign that contract but development staff doesn't seem to have empty slot. poor luck Tongue I will send application again as soon as there is an empty slot. Even i criticize many things, Sphereserver is vital for my programming education like every uo emulators are, for me.
08-25-2012 03:21 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Better SphereServer - JeBu - 08-22-2012, 05:46 PM
RE: Better SphereServer - darksun84 - 08-22-2012, 09:45 PM
RE: Better SphereServer - Rayvolution - 08-23-2012, 10:58 AM
RE: Better SphereServer - darksun84 - 08-23-2012, 01:28 PM
RE: Better SphereServer - JeBu - 08-23-2012, 05:12 PM
RE: Better SphereServer - Rayvolution - 08-23-2012, 10:58 PM
RE: Better SphereServer - Mordaunt - 08-24-2012, 03:05 AM
RE: Better SphereServer - htid4life - 08-24-2012, 10:53 AM
RE: Better SphereServer - Rayvolution - 08-24-2012, 10:56 AM
RE: Better SphereServer - Valios - 08-25-2012, 04:24 AM
RE: Better SphereServer - darksun84 - 08-24-2012, 12:23 PM
RE: Better SphereServer - Mordaunt - 08-25-2012, 09:42 AM
RE: Better SphereServer - Ben - 08-25-2012, 09:58 AM
RE: Better SphereServer - Ben - 08-25-2012, 10:02 AM
RE: Better SphereServer - xantier - 08-25-2012 03:21 PM
RE: Better SphereServer - Lazarus - 08-25-2012, 04:43 PM
RE: Better SphereServer - Shaklaban - 08-25-2012, 06:35 PM
RE: Better SphereServer - Valios - 08-27-2012, 11:35 AM

Forum Jump:


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