Warning: preg_replace_callback(): Requires argument 2, '$func['entity_fix']('\2')', to be a valid callback in /nfs/c01/h06/mnt/10927/domains/dragonprime.net/html/Sources/Load.php(225) : runtime-created function on line 3

Warning: preg_replace_callback(): Requires argument 2, '$func['entity_fix']('\2')', to be a valid callback in /nfs/c01/h06/mnt/10927/domains/dragonprime.net/html/Sources/Load.php(225) : runtime-created function on line 3
Different World
DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • September 21, 2019, 07:08:08 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Resource Pages

Pages: [1]   Go Down
Author Topic: Different World  (Read 3986 times)
0 Members and 1 Guest are viewing this topic.
« on: May 01, 2005, 08:09:52 PM »

Okay, well i've been running an 0.9.7 server for a while and it helped me learn a lot more about PHP than I ever thought possible. And after delaying for as long as possible it's ALMOST time for me to get my hands dirty on the new version.

In any case, I'm planning to modify the theme/setting of the next game I set up, which entails changing most of the default places and character names, as well as the more obvious stuff like weapons and armour. The dragon itself will probably even change, once I decide what sort of villain I'd prefer my new world to be terrorised by.

Anyway I'm babbling, so I'll try and get to the point. Basically I am interested to know if many other people have attempted to perform this sort of "complete" alteration of the original lotgd theme. Is the practice generally frowned upon as it involves modifying the core code?

Also, if anyone has experience in this sort of conversion and has any tips to share, or common mistakes I might avoid in this undertaking, any advice would be appreciated.

Many thanks.

« Reply #1 on: May 01, 2005, 08:32:11 PM »

Well, i'm working on making a complete alteration myself, and havn't gotten to far.

I can tell you that modifying core is frowned upon, but i do it all the time. Its mostly frowned upon because it has to be changed at every update, but if you dont plan on updating, then you should be ok.
Mod God
Offline Offline

Posts: 3598

short, sweet and to the point

View Profile
« Reply #2 on: May 01, 2005, 08:46:18 PM »

aye, others of us hath made some changes to make our servers into worlds that are different from the one of the core. as nexus points out, ye must, for the sake of thy sanity, keep track of any changes ye make to the files as they shall be overwritten upon any code upgrades ye shall make.

another thing, keep in mind the license and the provision that ye will need to make available all files of the core ye make changes to upon request by anyone who shouldst request it.

i strongly suggest ye hath two servers. one for development and one that is the live one. that way ye can make all the changes upon the dev server first then push them to the live. that provides the least amount of disruption to the players when upgrades are made.

Uuma ma ten rashwe, ta tuluva a lle

Play the latest beta version here on LoGD DragonPrime - Axebridge
Global Moderator
Mod God
Offline Offline

Posts: 4647

Be aware of the squirrel!

View Profile WWW
« Reply #3 on: May 01, 2005, 09:55:17 PM »

If your different world only consists of textual changes, then you don't even have to change any core file, as you can use the translation to to give the original english text an english alternative... No problem here...

Whereas changing the core code will make you go insane (even if keeping track of the changes... Wink )

Running for more than three years now:
« Reply #4 on: May 01, 2005, 10:13:15 PM »

I see... I will definitely investigate using the translation method further, as I can see how manually altering everything in the core could be an express ticket to a mental health institute.

And yes, one thing I learnt from my experiences with 0.9.7 is that the importance of keeping backups cannot be underestimated. Tongue

Thanks for the replies everyone.

Offline Offline

Posts: 267

Life's a lich and then you don't die...damn unlife

View Profile
« Reply #5 on: May 02, 2005, 02:27:02 AM »

* Lightbringer blinks at the idea of using the Translation Tool so

Why didn't I think of that?  Huh

________________________ _____________________

Dwellings Project
Mod God
Offline Offline

Posts: 796

Wogga! Meep!

View Profile WWW
« Reply #6 on: May 05, 2005, 07:36:23 AM »

Although 0.9.7 isn't officially supported *hint* Tongue
A few good tips to save modifying too much;
  • Comment out things instead of deleting them
  • Don't put code all in one page! Use includes.
Say I had a few things I wanted to add to village.php.
I'd make a file called 'village.php' in a subdirectory called 'mods'. The village.php would have this in it:
if (!isset($type))$type="";
switch (
$type) {
// this is for before the commentary.
Then if you wanted something before the commentary, add this into 'village.php':
if (file_exists("mods/village.php")) include_once("mods/village.php");
Not trying to be patronising... just trying to help.
Pages: [1]   Go Up
Jump to:  

DragonPrime Notices
Play LoGD on Dragonprime

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
77 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search