DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • January 20, 2018, 01:17:28 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1] 2 3   Go Down
  Print  
Author Topic: Race - Gnome  (Read 9203 times)
0 Members and 1 Guest are viewing this topic.
enderwiggin
Guest
« on: January 09, 2005, 11:38:45 PM »

I just wrote this at work with notepad.  Largely, I copied and pasted code from existing races since I really don't know PHP.  I am behind a proxy server, and can't upload this via FTP and test it out.  So, this is untested code.

I should also note that I am very sleep deprived.  Please, take a look and give me some feedback since this is my first module.

The Gnome race is obsessed with gems and other such crystals.  Their natural attunement with gems allow them to find gems more often (customizable).  In addition, Gnomes form a bond with their gem collection.  They get bonus hit points each newday based upon the number of gems they have, and their current level.

However, their obsession with all things metaphysical doesn't leave much time to persue the martial arts, so they have a penalty to attack.

Gnomes, do however, have their own city.

Many thanks go to the many coders who came before me.  Without their code, I'd have no starting basis to even attempt to learn.

Version 1.32
http://dragonprime.net/users/enderwiggin/racegnome.zip
« Last Edit: March 12, 2005, 02:33:09 AM by enderwiggin » Logged
Talisman
Administrator
Mod God
*****
Offline Offline

Posts: 5477



View Profile WWW
« Reply #1 on: January 10, 2005, 12:03:17 AM »

After reading your host of warnings preceding the introduction of your new race, I would strongly urge you to hold off on uploading such things until after you've had a chance to test the file on your own server.  Waiting another few hours or a day for the file won't kill us.  But releasing untested and buggy files doesn't really look good on a programmer, ye know?

And although I'm posting this comment here, it applies to a number of contributors within this realm...and is meant in a helpful way.
Logged

Play the latest beta version here on DragonPrime
enderwiggin
Guest
« Reply #2 on: January 10, 2005, 12:09:11 AM »

I don't expect anyone to run it.  I'm posting it merely for critique.  A more experienced set of eyes will likely notice problems that I can't see.

And even if I can get it to run and install, that doesn't mean it's coded 'properly'.

I intend to upload and test it tomorrow, but that's not stopping people from taking a look sooner if they desire.  And in my defense, I did preface this as untested code rather than upload it without warning and expect others to beta-test it unknowingly.
Logged
enderwiggin
Guest
« Reply #3 on: January 10, 2005, 04:20:46 PM »

Updated!

Now there are two versions of the module.  One gives the Gnomes their own city, and the other has the Gnomes sharing a city with the Dwarves.  Sichae also noticed a small bug, I noticed a typo, and I also made another small change that will hopefully help with translation readiness.  However, I can't say that I fully understand the requisites for translation readiness.

Specifically I moved the use of $city within an output line to a %s placeholder for the variable.  I did upload the first version to my server and was going to test it tonight, but now I know it had a bug.  Once again, I have no access to FTP at work, so it will have to wait another night for me to test it.

Feedback is still always appreciated.
Logged
enderwiggin
Guest
« Reply #4 on: January 11, 2005, 01:50:25 PM »

Updated!  Sorry i haven't had time or the ability to test the code for the past few days since I can't FTP from work, and I haven't been home but to sleep.

It now installs, and at a cursory glance seems to work.  I can however access my game from work, so tonight I will be testing the script out.

Feedback is always appreciated, adn thanks go to Sichea and Dannic for spotting bugs.
Logged
enderwiggin
Guest
« Reply #5 on: January 15, 2005, 09:33:56 AM »

Updated and tested!

Version 1.1 is bursting with fruit flavor!  I caught an ugly bug from before, but all should be well now.  I also made the module more translation friendly.

Same link.
Logged
enderwiggin
Guest
« Reply #6 on: February 14, 2005, 04:29:13 AM »

Updated! 1.2
http://dragonprime.net/users/enderwiggin/racegnome.zip
Logged
Dannic
Guest
« Reply #7 on: February 16, 2005, 04:39:00 PM »

My users aren't getting their home city set properly.  Any Idea why for this one?
Logged
enderwiggin
Guest
« Reply #8 on: February 16, 2005, 04:43:01 PM »

Are you using the version where the Gnomes have their own city, or share it with the Dwarves?
Logged
Dannic
Guest
« Reply #9 on: February 16, 2005, 04:55:02 PM »

sorry bout that.  Using the one with their own city.
Logged
enderwiggin
Guest
« Reply #10 on: February 16, 2005, 05:10:45 PM »

I think I got it fixed.  I have village-gnome instead of village-Gnome.  I'm uploading it now!  It also now supports Lonny's version check!
Logged
umk
Member
Militia
**
Offline Offline

Posts: 97


PHP Student


View Profile WWW
« Reply #11 on: March 09, 2005, 11:05:30 PM »

in line 38 for gnome shared city
Code:
module_addhook("battle-victory")

missing a semicolon ; at the end
Logged

enderwiggin
Guest
« Reply #12 on: March 09, 2005, 11:25:40 PM »

That's odd.  It shouldn't install if it's missing a semi-colon.  I'll check it out and fix it here in a bit.
Logged
umk
Member
Militia
**
Offline Offline

Posts: 97


PHP Student


View Profile WWW
« Reply #13 on: March 09, 2005, 11:28:45 PM »

yes it didn't :p
it kept giving parse errors in manage modules...
Logged

enderwiggin
Guest
« Reply #14 on: March 12, 2005, 02:33:39 AM »

Sorry it took me so long, but it's updated and uploaded now!

v1.32
http://dragonprime.net/users/enderwiggin/racegnome.zip
Logged
Pages: [1] 2 3   Go Up
  Print  
 
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
14 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search